File tree 4 files changed +23
-2
lines changed
4 files changed +23
-2
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class VariableCommentUnitTest
120
120
*
121
121
*
122
122
*/
123
- public $ emptyVarDoc = '' ;
123
+ public $ emptyVarDoc = '' ;
124
124
/**
125
125
* @var int
126
126
*/
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ class VariableCommentUnitTest
120
120
*
121
121
*
122
122
*/
123
- public $emptyVarDoc = '';
123
+ public $emptyVarDoc = '';
124
124
125
125
/**
126
126
* @var int
Original file line number Diff line number Diff line change 5
5
6
6
<!-- We should only be concerned by src and tests folder -->
7
7
<exclude-pattern >*/app/*</exclude-pattern >
8
+ <exclude-pattern >*/bin/*</exclude-pattern >
8
9
<exclude-pattern >*/var/*</exclude-pattern >
9
10
<exclude-pattern >*/vendor/*</exclude-pattern >
10
11
<exclude-pattern >*/web/*</exclude-pattern >
31
32
<severity >5</severity >
32
33
</rule >
33
34
35
+ <!-- Override ScopeIndent to check phpDoc comments indent-->
36
+ <rule ref =" Generic.WhiteSpace.ScopeIndent" >
37
+ <properties >
38
+ <property name =" ignoreIndentationTokens" type =" array" >
39
+ <element value =" T_COMMENT" />
40
+ </property >
41
+ </properties >
42
+ </rule >
43
+
34
44
<!-- **************** -->
35
45
<!-- *** OTHERS *** -->
36
46
<!-- **************** -->
Original file line number Diff line number Diff line change @@ -21,6 +21,17 @@ We imported the [PSR2 Standard](./standards/psr2.md) with these overrides:
21
21
</rule>
22
22
```
23
23
24
+ - PhpDoc comments MUSE use an indent of 4 spaces, and MUST NOT use tabs for indenting.
25
+ ```
26
+ <rule ref="Generic.WhiteSpace.ScopeIndent">
27
+ <properties>
28
+ <property name="ignoreIndentationTokens" type="array">
29
+ <element value="T_COMMENT"/>
30
+ </property>
31
+ </properties>
32
+ </rule>
33
+ ```
34
+
24
35
## From symfony
25
36
26
37
We mainly respect the [ Symfony Standard] ( ./standards/symfony.md ) but
You can’t perform that action at this time.
0 commit comments