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 11# Coding Standard Rules
22## From PSR2
33
4- We imported the [ PSR2 Standard] ( ./standards/psr2.md ) with this override :
4+ We imported the [ PSR2 Standard] ( ./standards/psr2.md ) with these overrides :
55
66- There MUST NOT be trailing whitespace at the end of blank lines
77
@@ -29,10 +29,8 @@ We mainly respect the [Symfony Standard](./standards/symfony.md) but
2929
3030 - Declare all the arguments on the same line as the method/function name, no matter how many arguments there are
3131
32- - We do not currently check these rules :
32+ - We do not currently check this rule :
3333
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
3634 - Do not use ` else ` , ` elseif ` , ` break ` after ` if ` and ` case ` conditions which return or throw something
3735
3836## 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
9696
9797- Exception and error message strings must be concatenated using ` sprintf `
9898
99- Not covered
99+ ```
100+ <rule ref="Symfony3Custom.Errors.ExceptionMessage" />
101+ ```
100102
101103- Calls to ` trigger_error ` with type ` E_USER_DEPRECATED ` must be switched to opt-in via ` @ ` operator
102104
103- Not covered
105+ ```
106+ <rule ref="Symfony3Custom.Errors.UserDeprecated" />
107+ ```
104108
105109- Do not use ` else ` , ` elseif ` , ` break ` after ` if ` and ` case ` conditions which return or throw something
106110
You can’t perform that action at this time.
0 commit comments