PHPCSExtra icon indicating copy to clipboard operation
PHPCSExtra copied to clipboard

2.0 | Universal/PrecisionAlignment: drop support for JS/CSS scanning

Open jrfnl opened this issue 7 months ago • 0 comments

PHPCS 4.x drops support for scanning JS/CSS files.

In PHPCSExtra, the only sniff which explicitly has JS/CSS support is the Univeral.WhiteSpace.PrecisionAlignment sniff.

In the next major, the scanning of JS/CSS files should be removed.

Note: as the sniff also scans PHP files, this should not trigger deprecation notices/errors from PHPCS, so there is no urgency.

jrfnl avatar Jun 07 '25 00:06 jrfnl