File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 1
1
# Coding Standard Rules
2
2
## From PSR2
3
3
4
- We imported the [ PSR2 Standard] ( ./standards/psr2.md ) with this override :
4
+ We imported the [ PSR2 Standard] ( ./standards/psr2.md ) with these overrides :
5
5
6
6
- There MUST NOT be trailing whitespace at the end of blank lines
7
7
@@ -29,10 +29,8 @@ We mainly respect the [Symfony Standard](./standards/symfony.md) but
29
29
30
30
- Declare all the arguments on the same line as the method/function name, no matter how many arguments there are
31
31
32
- - We do not currently check these rules :
32
+ - We do not currently check this rule :
33
33
34
- - Exception and error message strings must be concatenated using ` sprintf `
35
- - Calls to ` trigger_error ` with type ` E_USER_DEPRECATED ` must be switched to opt-in via ` @ ` operator
36
34
- Do not use ` else ` , ` elseif ` , ` break ` after ` if ` and ` case ` conditions which return or throw something
37
35
38
36
## Others
Original file line number Diff line number Diff line change @@ -96,11 +96,15 @@ Not checked because of the limit of 120 characters per line
96
96
97
97
- Exception and error message strings must be concatenated using ` sprintf `
98
98
99
- Not covered
99
+ ```
100
+ <rule ref="Symfony3Custom.Errors.ExceptionMessage" />
101
+ ```
100
102
101
103
- Calls to ` trigger_error ` with type ` E_USER_DEPRECATED ` must be switched to opt-in via ` @ ` operator
102
104
103
- Not covered
105
+ ```
106
+ <rule ref="Symfony3Custom.Errors.UserDeprecated" />
107
+ ```
104
108
105
109
- Do not use ` else ` , ` elseif ` , ` break ` after ` if ` and ` case ` conditions which return or throw something
106
110
You can’t perform that action at this time.
0 commit comments