2024-01-17 22:33:40 +01:00
|
|
|
<?xml version="1.0"?>
|
2024-01-31 17:15:53 +01:00
|
|
|
<ruleset name="Intervention">
|
|
|
|
<file>src/</file>
|
|
|
|
<file>tests/</file>
|
|
|
|
<arg name="colors"/>
|
|
|
|
<arg value="p"/>
|
2024-01-17 22:33:40 +01:00
|
|
|
|
|
|
|
<rule ref="PSR12"/>
|
2024-01-31 16:24:59 +01:00
|
|
|
<rule ref="Generic.Arrays.ArrayIndent"/>
|
2024-01-30 17:25:45 +01:00
|
|
|
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
|
|
|
|
<rule ref="Generic.Formatting.SpaceAfterCast"/>
|
2024-01-31 16:24:59 +01:00
|
|
|
<rule ref="Generic.Formatting.SpaceAfterNot">
|
|
|
|
<properties>
|
|
|
|
<property name="spacing" value="0" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
2024-01-30 17:25:45 +01:00
|
|
|
<rule ref="Generic.Metrics.NestingLevel"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.Arrays.SingleLineArrayWhitespace"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Arrays.DisallowImplicitArrayCreation"/>
|
2024-01-30 17:25:45 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.ClassConstantVisibility"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.Classes.ClassMemberSpacing"/>
|
2024-01-31 16:24:59 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.ConstantSpacing"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.Classes.MethodSpacing"/>
|
2024-01-31 17:15:53 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.ModernClassNameReference"/>
|
2024-01-31 16:24:59 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.ParentCallSpacing"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.Classes.PropertyDeclaration"/>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.RequireSelfReference"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Classes.TraitUseDeclaration"/>
|
2024-01-30 17:25:45 +01:00
|
|
|
<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>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Namespaces.DisallowGroupUse"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Namespaces.MultipleUsesPerLine"/>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Namespaces.UnusedUses">
|
|
|
|
<properties>
|
|
|
|
<property name="searchAnnotations" value="true" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
|
|
|
<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"/>
|
2024-01-30 17:25:45 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.DeclareStrictTypes">
|
|
|
|
<properties>
|
|
|
|
<property name="spacesCountAroundEqualsSign" value="0" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.LongTypeHints"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.NullableTypeForNullDefaultValue"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ParameterTypeHintSpacing"/>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.ReturnTypeHintSpacing"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.TypeHints.UnionTypeHintFormat">
|
|
|
|
<properties>
|
|
|
|
<property name="withSpaces" value="no" />
|
|
|
|
<property name="nullPosition" value="first" />
|
|
|
|
</properties>
|
|
|
|
</rule>
|
2024-01-30 17:25:45 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.PHP.UselessSemicolon"/>
|
2024-01-31 16:42:14 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Whitespaces.DuplicateSpaces"/>
|
|
|
|
<rule ref="SlevomatCodingStandard.Variables.UnusedVariable"/>
|
2024-02-01 16:22:25 +01:00
|
|
|
<rule ref="SlevomatCodingStandard.Variables.UselessVariable"/>
|
2024-01-17 22:33:40 +01:00
|
|
|
</ruleset>
|