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
3333- We do not currently check these rules:
3434
3535 - Always use identical comparison unless you need type juggling
36- - Use Yoda conditions when checking a variable against an expression
3736 - Exception and error message strings must be concatenated using ` sprintf `
3837 - Calls to ` trigger_error ` with type ` E_USER_DEPRECATED ` must be switched to opt-in via ` @ ` operator
3938 - 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
3636
3737- Use Yoda conditions when checking a variable against an expression
3838
39- Not covered
39+ ```
40+ <rule ref="Symfony3Custom.Formatting.YodaCondition" />
41+ ```
4042
4143- Add a comma after each array item in a multi-line array, even after the last one
4244
You can’t perform that action at this time.
0 commit comments