Commit 4e7e62c
committed
Fix PHPCS missing coverage info error
Apparently the DataProvider-Attribute prevents the missing coverage
info Sniff from correctly parsing the @Covers annotation in the PHPDoc
comment. I have rewritten the data provider as recommended on
moodledev.io.
References: https://moodledev.io/docs/5.1/guides/testing#make-use-of-the-dataprovider-functionality1 parent 319a670 commit 4e7e62c
1 file changed
+14
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
30 | | - | |
31 | 29 | | |
32 | 30 | | |
33 | 31 | | |
| |||
64 | 62 | | |
65 | 63 | | |
66 | 64 | | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
68 | 68 | | |
69 | | - | |
70 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
71 | 79 | | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
| 83 | + | |
75 | 84 | | |
76 | 85 | | |
77 | | - | |
78 | 86 | | |
79 | 87 | | |
80 | 88 | | |
| |||
0 commit comments