Skip to content

Commit 96d86c1

Browse files
committed
Generic/ESLint: fix tests
The ESLint project has released a new major, which is breaking test runs for PHPCS 3.x. As support for JS has been dropped in PHPCS 4.x anyway and the sniff is formally deprecated, investing time in making the tests cross-version compatible is not justifiable. This commit fixes the ESLint version used in the tests to the last release in the _previous_ major. This should get the tests passing again. Refs: * https://eslint.org/blog/2026/02/eslint-v10.0.0-released/
1 parent 9c42a80 commit 96d86c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ jobs:
218218
run: >
219219
npm install -g --fund false
220220
csslint
221-
eslint
221+
eslint@9.x
222222
jshint
223223
224224
# Install dependencies and handle caching in one go.

0 commit comments

Comments
 (0)