Pattern: Malformed class declaration
Issue: -
Checks the declaration of the class and its inheritance is correct.
By default, this rule ensures that the class names are indented 4 spaces, but you can change the size of the indent by setting the indent
property.
<rule ref="PSR2.Classes.ClassDeclaration">
<properties>
<property name="indent" value="2" />
</properties>
</rule>