upd
This commit is contained in:
@@ -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(...)` -->
|
||||
|
||||
Reference in New Issue
Block a user