mirror of
https://github.com/Intervention/image.git
synced 2025-08-31 01:29:51 +02:00
Add to phpcs ruleset
This commit is contained in:
@@ -17,6 +17,8 @@
|
||||
<rule ref="Generic.Metrics.NestingLevel"/>
|
||||
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/>
|
||||
<rule ref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation"/>
|
||||
<rule ref="SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed"/>
|
||||
<rule ref="SlevomatCodingStandard.Arrays.MultiLineArrayEndBracketPlacement"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/>
|
||||
@@ -26,6 +28,26 @@
|
||||
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/>
|
||||
<rule ref="SlevomatCodingStandard.Classes.ClassStructure">
|
||||
<properties>
|
||||
<property name="methodGroups" type="array">
|
||||
<element key="phpunit" value="setUp"/>
|
||||
</property>
|
||||
<property name="groups" type="array">
|
||||
<element value="uses"/>
|
||||
<element value="enum cases"/>
|
||||
<element value="public constants"/>
|
||||
<element value="constants"/>
|
||||
<element value="public static properties, protected static properties, private static properties"/>
|
||||
<element value="public properties, protected properties, private properties"/>
|
||||
<element value="constructor"/>
|
||||
<element value="phpunit"/>
|
||||
<element value="static constructors"/>
|
||||
<element value="methods"/>
|
||||
<element value="magic methods"/>
|
||||
</property>
|
||||
</properties>
|
||||
</rule>
|
||||
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
|
||||
<properties>
|
||||
<property name="rootNamespaces" type="array">
|
||||
|
Reference in New Issue
Block a user