Skip to content

Commit 052f7bf

Browse files
author
Vincent Langlet
committed
🔧 Only check style in src and tests folder
1 parent 6a0270a commit 052f7bf

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

Symfony3Custom/ruleset.xml

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,12 @@
33
<!-- See http://symfony.com/doc/current/contributing/code/standards.html -->
44
<description>The Symfony3Custom coding standard.</description>
55

6+
<!-- We should only be concerned by src and tests folder -->
7+
<exclude-pattern>*/app/*</exclude-pattern>
8+
<exclude-pattern>*/var/*</exclude-pattern>
9+
<exclude-pattern>*/vendor/*</exclude-pattern>
10+
<exclude-pattern>*/web/*</exclude-pattern>
11+
612
<!-- There should not be any code in the bundle Resources directory. -->
713
<exclude-pattern>*/Resources/*</exclude-pattern>
814

@@ -13,20 +19,16 @@
1319
<!-- Include the whole PSR-2 (so PSR-1) standard -->
1420
<rule ref="PSR2"/>
1521

16-
<!-- ****************** -->
17-
<!-- *** OVERRIDE *** -->
18-
<!-- ****************** -->
19-
2022
<!-- Override SuperfluousWhitespace to not ignore blank lines -->
2123
<rule ref="Squiz.WhiteSpace.SuperfluousWhitespace">
2224
<properties>
2325
<property name="ignoreBlankLines" value="false"/>
2426
</properties>
2527
</rule>
2628

27-
<!-- ************** -->
28-
<!-- *** ZEND *** -->
29-
<!-- ************** -->
29+
<!-- **************** -->
30+
<!-- *** OTHERS *** -->
31+
<!-- **************** -->
3032

3133
<!-- Complete with some of ZEND standard -->
3234
<rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman">
@@ -40,10 +42,6 @@
4042
<exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/>
4143
</rule>
4244

43-
<!-- **************** -->
44-
<!-- *** OTHERS *** -->
45-
<!-- **************** -->
46-
4745
<!-- Rules added by djoos/Symfony2-coding-standard-->
4846
<rule ref="Generic.Formatting.SpaceAfterCast"/>
4947
<rule ref="Generic.Functions.CallTimePassByReference"/>

0 commit comments

Comments
 (0)