mirror of
https://github.com/Intervention/image.git
synced 2025-08-06 22:06:36 +02:00
Setup phpcs rules
This commit is contained in:
20
phpcs.xml
20
phpcs.xml
@@ -3,15 +3,15 @@
|
|||||||
|
|
||||||
<rule ref="PSR12"/>
|
<rule ref="PSR12"/>
|
||||||
|
|
||||||
<!-- <rule ref="Generic.Arrays.ArrayIndent"/> -->
|
<rule ref="Generic.Arrays.ArrayIndent"/>
|
||||||
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
||||||
<rule ref="Generic.Formatting.SpaceAfterCast"/>
|
<rule ref="Generic.Formatting.SpaceAfterCast"/>
|
||||||
|
|
||||||
<!-- <rule ref="Generic.Formatting.SpaceAfterNot"> -->
|
<rule ref="Generic.Formatting.SpaceAfterNot">
|
||||||
<!-- <properties> -->
|
<properties>
|
||||||
<!-- <property name="spacing" value="0" /> -->
|
<property name="spacing" value="0" />
|
||||||
<!-- </properties> -->
|
</properties>
|
||||||
<!-- </rule> -->
|
</rule>
|
||||||
|
|
||||||
<rule ref="Generic.Metrics.NestingLevel"/>
|
<rule ref="Generic.Metrics.NestingLevel"/>
|
||||||
|
|
||||||
@@ -19,11 +19,11 @@
|
|||||||
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
|
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
|
||||||
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
|
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.ClassStructure"/> -->
|
<!-- <rule ref="SlevomatCodingStandard.Classes.ClassStructure"/> -->
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/> -->
|
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/>
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/> -->
|
<rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/>
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/> -->
|
<!-- <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/> -->
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/> -->
|
<rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/>
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/> -->
|
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
|
||||||
<!-- <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> -->
|
<!-- <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> -->
|
||||||
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
|
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
|
||||||
<properties>
|
<properties>
|
||||||
|
Reference in New Issue
Block a user