1
0
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:
Oliver Vogel
2024-01-31 16:24:59 +01:00
parent 5444c6682c
commit c94701212f

View File

@@ -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>