This commit is contained in:
2025-09-25 22:04:44 +03:00
parent d8adb26a37
commit 48b51b9c99
3 changed files with 25 additions and 112 deletions

View File

@@ -29,32 +29,12 @@
</rule>
<!-- Include the whole Symfony standard -->
<rule ref="vendor/escapestudios/symfony2-coding-standard/Symfony/ruleset.xml"><!-- relative path to your ruleset.xml -->
<!-- sniffs to exclude -->
<exclude name="Symfony.Functions.Arguments.Invalid" />
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidInterfaceName" />
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidTraitName" />
<exclude name="Symfony.Errors.ExceptionMessage.Invalid" />
<exclude name="Symfony.Commenting.ClassComment.Missing" />
<exclude name="Symfony.Commenting.License.Warning" />
<exclude name="Symfony.Commenting.FunctionComment.ParamNameNoMatch" />
<exclude name="Symfony.Commenting.FunctionComment.MissingParamTag" />
<exclude name="Symfony.Commenting.FunctionComment.MissingReturn" />
<exclude name="Symfony.Commenting.Annotations.Invalid" />
<exclude name="Symfony.Commenting.FunctionComment.SpacingAfterParamType" />
<exclude name="Squiz.Strings.ConcatenationSpacing.PaddingFound" />
<ruleset name="AcmeProject">
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml"><!-- relative path to your ruleset.xml -->
<!-- sniffs to exclude -->
</rule>
</ruleset>
<exclude name="SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification" />
<exclude name="SlevomatCodingStandard.TypeHints.ParameterTypeHint.MissingTraversableTypeHintSpecification" />
<exclude name="SlevomatCodingStandard.TypeHints.PropertyTypeHint.MissingTraversableTypeHintSpecification" />
<exclude name="SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment.AttributeBeforeDocComment" />
<exclude name="SlevomatCodingStandard.Commenting.InlineDocCommentDeclaration.InvalidFormat" />
</rule>
<!-- Force array element indentation with 4 spaces -->
<rule ref="Generic.Arrays.ArrayIndent"/>