Skip to content

Commit 8cdec45

Browse files
author
Vincent Langlet
committed
🔧 Change ruleset.xml
1 parent 2608604 commit 8cdec45

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

Symfony3Custom/ruleset.xml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
<rule ref="PSR1"/>
1212
<!-- Include the whole PSR-2 standard -->
1313
<rule ref="PSR2"/>
14-
<!--
1514

15+
<!--
1616
See the [documented coding standard](http://symfony.com/doc/current/contributing/code/standards.html)
1717
1818
This CodeSniffer standard does not yet enforce the following:
@@ -26,9 +26,7 @@
2626
# Naming Conventions
2727
2828
* Use underscores for option, argument, parameter names;
29-
3029
-->
31-
3230
<rule ref="Generic.ControlStructures.InlineControlStructure"/>
3331
<rule ref="Generic.Formatting.SpaceAfterCast"/>
3432
<rule ref="Generic.Functions.CallTimePassByReference"/>
@@ -69,7 +67,7 @@
6967
<severity>0</severity>
7068
</rule>
7169

72-
<!-- In practice, Symfony3Custom spaces multiline function calls differently than Zend -->
70+
<!-- In practice, Symfony spaces multiline function calls differently than Zend -->
7371
<rule ref="PEAR.Functions.FunctionCallSignature.ContentAfterOpenBracket">
7472
<severity>0</severity>
7573
</rule>
@@ -80,6 +78,7 @@
8078
<severity>0</severity>
8179
</rule>
8280

81+
<!-- Params comments are not required -->
8382
<rule ref="Symfony3Custom.Commenting.FunctionComment.MissingParamComment">
8483
<severity>0</severity>
8584
</rule>
@@ -88,11 +87,7 @@
8887
<severity>0</severity>
8988
</rule>
9089

91-
<!-- Endouble customizing -->
92-
<rule ref="Symfony3Custom.Commenting">
93-
<exclude name="Symfony3Custom.Commenting.ClassComment"/>
94-
</rule>
95-
90+
<!-- Some customizing -->
9691
<rule ref="Squiz.Strings.ConcatenationSpacing">
9792
<properties>
9893
<property name="spacing" value="1"/>
@@ -111,7 +106,6 @@
111106
<property name="ignoreBlankLines" value="false"/>
112107
</properties>
113108
</rule>
114-
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines">
115-
<severity>5</severity>
116-
</rule>
109+
110+
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace.EmptyLines" />
117111
</ruleset>

0 commit comments

Comments
 (0)