-
Notifications
You must be signed in to change notification settings - Fork 17
Commit b414752
[OPTIONAL] Composer: raise the minimum supported PHPCS version to 3.8.0
... to prevent end-users from running into trouble with the name change.
The files in the Composer `vendor/bin` will only be replaced when the `replace...` directive is found and that is only available in the 3.8.0 tag.
When the files in the Composer `vendor/bin` are not replaced, they will continue to point to the `vendor/squizlabs/php_codesniffer` directory which will no longer exist, leading to fatal "File not found" errors for end-users trying to run PHPCS/PHPCBF.
Includes updating references to the PHPCS version whenever relevant throughout the codebase.
Note: it should work fine without this change, but may lead to support requests.1 parent cde71c8 commit b414752
3 files changed
+7
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | - | ||
37 | - | ||
36 | + | ||
37 | + | ||
38 | 38 | | |
39 | 39 | | |
40 | - | ||
41 | - | ||
42 | - | ||
43 | - | ||
44 | - | ||
45 | - | ||
46 | - | ||
47 | - | ||
48 | - | ||
49 | - | ||
50 | - | ||
51 | - | ||
52 | - | ||
53 | - | ||
54 | - | ||
55 | - | ||
56 | - | ||
57 | - | ||
58 | - | ||
59 | - | ||
60 | 40 | | |
61 | 41 | | |
62 | 42 | | |
| |||
127 | 107 | | |
128 | 108 | | |
129 | 109 | | |
130 | - | ||
131 | - | ||
110 | + | ||
111 | + | ||
132 | 112 | | |
133 | 113 | | |
134 | 114 | | |
135 | 115 | | |
136 | - | ||
116 | + | ||
137 | 117 | | |
138 | 118 | | |
139 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | - | ||
18 | + | ||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | - | ||
51 | + | ||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments