1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-17 20:28:21 +01:00

Setup phpcs rules

This commit is contained in:
Oliver Vogel 2024-01-31 16:24:59 +01:00
parent 5444c6682c
commit c94701212f
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB

View File

@ -3,15 +3,15 @@
<rule ref="PSR12"/>
<!-- <rule ref="Generic.Arrays.ArrayIndent"/> -->
<rule ref="Generic.Arrays.ArrayIndent"/>
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
<rule ref="Generic.Formatting.SpaceAfterCast"/>
<!-- <rule ref="Generic.Formatting.SpaceAfterNot"> -->
<!-- <properties> -->
<!-- <property name="spacing" value="0" /> -->
<!-- </properties> -->
<!-- </rule> -->
<rule ref="Generic.Formatting.SpaceAfterNot">
<properties>
<property name="spacing" value="0" />
</properties>
</rule>
<rule ref="Generic.Metrics.NestingLevel"/>
@ -19,11 +19,11 @@
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
<!-- <rule ref="SlevomatCodingStandard.Classes.ClassStructure"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/> -->
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/>
<rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/>
<!-- <rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/> -->
<rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/>
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
<!-- <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> -->
<rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName">
<properties>