1
0
mirror of https://github.com/Intervention/image.git synced 2025-01-18 04:38:26 +01:00

Draft additional code standard rule set

This commit is contained in:
Oliver Vogel 2024-01-29 19:50:12 +01:00
parent 0884461b4c
commit 0bc81ca1e4
No known key found for this signature in database
GPG Key ID: 1B19D214C02D69BB

View File

@ -2,6 +2,39 @@
<ruleset name="Intervention/image">
<rule ref="PSR12"/>
<!-- <rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/> -->
<!-- <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.ModernClassNameReference"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/> -->
<!-- <rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/> -->
<!-- <rule ref="SlevomatCodingStandard.Complexity.Cognitive"/> -->
<!-- <rule ref="SlevomatCodingStandard.Files.TypeNameMatchesFileName"> -->
<!-- <properties> -->
<!-- <property name="rootNamespaces" type="array"> -->
<!-- <element key="src" value="Intervention\Image"/> -->
<!-- <element key="tests" value="Intervention\Image\Tests"/> -->
<!-- </property> -->
<!-- </properties> -->
<!-- </rule> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UnusedUses"/> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UseDoesNotStartWithBackslash"/> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UseFromSameNamespace"/> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UseSpacing"/> -->
<!-- <rule ref="SlevomatCodingStandard.Namespaces.UselessAlias"/> -->
<!-- <rule ref="SlevomatCodingStandard.Strings.DisallowVariableParsing"/> -->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes"> -->
<!-- <properties> -->
<!-- <property name="spacesCountAroundEqualsSign" value="0" /> -->
<!-- </properties> -->
<!-- </rule> -->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/> -->
<!-- <rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/> -->
<arg name="colors"/>
<arg value="p"/>