Skip to content

Generic/ESLint: fix tests#1375

Merged
jrfnl merged 1 commit into3.xfrom
feature/fix-eslint-tests
Feb 21, 2026
Merged

Generic/ESLint: fix tests#1375
jrfnl merged 1 commit into3.xfrom
feature/fix-eslint-tests

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Feb 21, 2026

Description

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:

Suggested changelog entry

N/A

@jrfnl jrfnl added this to the 3.13.6 milestone Feb 21, 2026
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/
@jrfnl jrfnl force-pushed the feature/fix-eslint-tests branch from 96d86c1 to 7e0cf97 Compare February 21, 2026 00:31
@jrfnl jrfnl merged commit 75bae8a into 3.x Feb 21, 2026
81 checks passed
@jrfnl jrfnl deleted the feature/fix-eslint-tests branch February 21, 2026 01:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant