Commit 4460411
Tests: simplify the PHPCS setup method [1] (#115)
- Remove the `$sniffFiles` parameter which doesn't change between calls to the method anyway and replace it with a class constant and a call to `realpath()` within the function.
- Remove the `getSniffFiles()` method which is now no longer needed.
- Adjust all calls to the `prepareLocalFileForSniffs()` method to remove the parameter.1 parent 4dd368f commit 4460411
File tree
2 files changed
+65
-64
lines changed- VariableAnalysis/Tests
- CodeAnalysis
2 files changed
+65
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
16 | 21 | | |
17 | 22 | | |
18 | 23 | | |
| |||
35 | 40 | | |
36 | 41 | | |
37 | 42 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| |||
0 commit comments