This commit is contained in:
2025-07-28 15:21:30 +03:00
parent fdcd78d422
commit 473ab059e2

View File

@@ -26,6 +26,21 @@
<exclude name="PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace"/>
</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.Commenting.ClassComment.Missing" />
<exclude name="Symfony.Commenting.FunctionComment.Missing" />
<exclude name="Symfony.Commenting.License.Warning" />
<exclude name="Symfony.Functions.Arguments.Invalid" />
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidInterfaceName" />
<exclude name="Symfony.Commenting.Annotations.Invalid" />
<exclude name="Symfony.Errors.ExceptionMessage.Invalid" />
<exclude name="Symfony.NamingConventions.ValidClassName.InvalidTraitName" />
<exclude name="Squiz.Strings.ConcatenationSpacing.PaddingFound" />
</rule>
<!-- Force array element indentation with 4 spaces -->
<rule ref="Generic.Arrays.ArrayIndent"/>
<!-- Forbid `array(...)` -->