Commit 3b2f88f
committed
Generic/NoSilencedErrors: improve test coverage
This commit adds two new tests to cover lines of the
Generic.PHP.NoSiliencedErrors that were not covered previously. One has
to do with a sniff property that allows users to set this sniff as an
error instead of a warning (default value) and the other with
calculating $contextLength when its value should be smaller than the
default value of 4.1 parent be32eca commit 3b2f88f
File tree
2 files changed
+8
-1
lines changed- src/Standards/Generic/Tests/PHP
2 files changed
+8
-1
lines changedLines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
51 | 52 | | |
52 | 53 | | |
53 | 54 | | |
| |||
0 commit comments