Skip to content

Commit 7f1db1a

Browse files
author
Vincent Langlet
committed
📚 Update doc
1 parent ebdbd15 commit 7f1db1a

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

docs/standards.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

docs/standards/symfony.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)