|
3 | 3 | <!-- See http://symfony.com/doc/current/contributing/code/standards.html --> |
4 | 4 | <description>The Symfony3Custom coding standard.</description> |
5 | 5 |
|
| 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 | + |
6 | 12 | <!-- There should not be any code in the bundle Resources directory. --> |
7 | 13 | <exclude-pattern>*/Resources/*</exclude-pattern> |
8 | 14 |
|
|
13 | 19 | <!-- Include the whole PSR-2 (so PSR-1) standard --> |
14 | 20 | <rule ref="PSR2"/> |
15 | 21 |
|
16 | | - <!-- ****************** --> |
17 | | - <!-- *** OVERRIDE *** --> |
18 | | - <!-- ****************** --> |
19 | | - |
20 | 22 | <!-- Override SuperfluousWhitespace to not ignore blank lines --> |
21 | 23 | <rule ref="Squiz.WhiteSpace.SuperfluousWhitespace"> |
22 | 24 | <properties> |
23 | 25 | <property name="ignoreBlankLines" value="false"/> |
24 | 26 | </properties> |
25 | 27 | </rule> |
26 | 28 |
|
27 | | - <!-- ************** --> |
28 | | - <!-- *** ZEND *** --> |
29 | | - <!-- ************** --> |
| 29 | + <!-- **************** --> |
| 30 | + <!-- *** OTHERS *** --> |
| 31 | + <!-- **************** --> |
30 | 32 |
|
31 | 33 | <!-- Complete with some of ZEND standard --> |
32 | 34 | <rule ref="Generic.Functions.OpeningFunctionBraceBsdAllman"> |
|
40 | 42 | <exclude name="Squiz.NamingConventions.ValidVariableName.ContainsNumbers"/> |
41 | 43 | </rule> |
42 | 44 |
|
43 | | - <!-- **************** --> |
44 | | - <!-- *** OTHERS *** --> |
45 | | - <!-- **************** --> |
46 | | - |
47 | 45 | <!-- Rules added by djoos/Symfony2-coding-standard--> |
48 | 46 | <rule ref="Generic.Formatting.SpaceAfterCast"/> |
49 | 47 | <rule ref="Generic.Functions.CallTimePassByReference"/> |
|
0 commit comments