Skip to content

Commit 44f56a9

Browse files
author
Vincent Langlet
committed
📚 Update doc
1 parent 7663364 commit 44f56a9

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

docs/standards.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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

docs/standards/symfony.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)