Commit 4553e3a
committed
[TASK] Avoid using
According to the PHPUnit documentation [1], `@covers` annotations
are only recommended to reference classes (and global functions),
but not methods from classes.
Also sort the `@covers` annotations.
Note: This will probably artificially increase our calculated
code coverage numbers until we migrate our tests to more
focused unit tests.
Closes #809
[1] https://docs.phpunit.de/en/8.5/annotations.html#covers@covers annotations referencing methods1 parent 7c6845f commit 4553e3a
File tree
3 files changed
+19
-28
lines changed- config
- tests
- RuleSet
3 files changed
+19
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
39 | 40 | | |
40 | 41 | | |
41 | 42 | | |
| |||
971 | 972 | | |
972 | 973 | | |
973 | 974 | | |
974 | | - | |
975 | | - | |
976 | 975 | | |
977 | 976 | | |
978 | 977 | | |
| |||
985 | 984 | | |
986 | 985 | | |
987 | 986 | | |
988 | | - | |
989 | | - | |
990 | 987 | | |
991 | 988 | | |
992 | 989 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments