File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,6 @@ We mainly respect the [Symfony Standard](./symfony.md) but
33
33
- We do not currently check these rules:
34
34
35
35
- Always use identical comparison unless you need type juggling
36
- - Use Yoda conditions when checking a variable against an expression
37
36
- Exception and error message strings must be concatenated using ` sprintf `
38
37
- Calls to ` trigger_error ` with type ` E_USER_DEPRECATED ` must be switched to opt-in via ` @ ` operator
39
38
- Do not use ` else ` , ` elseif ` , ` break ` after ` if ` and ` case ` conditions which return or throw something
Original file line number Diff line number Diff line change @@ -36,7 +36,9 @@ Not covered
36
36
37
37
- Use Yoda conditions when checking a variable against an expression
38
38
39
- Not covered
39
+ ```
40
+ <rule ref="Symfony3Custom.Formatting.YodaCondition" />
41
+ ```
40
42
41
43
- Add a comma after each array item in a multi-line array, even after the last one
42
44
You can’t perform that action at this time.
0 commit comments