PHP_CodeSniffer 4.x no longer supports CSS files

Created on 12 May 2025, 20 days ago

Problem/Motivation

PHP_CodeSniffer will drop support for CSS files in the upcoming 4.x version. We need to decide if we will also drop support, or continue supporting CSS files, for example by adopting some CSS linting framework.

We are being notified in the logs with deprecation warnings:

Squiz.CSS.SemicolonSpacing
   This sniff has been deprecated since v3.9.0 and will be removed in v4.0.0. Support for scanning CSS files will be
   removed completely in v4.0.0.
🌱 Plan
Status

Active

Version

8.3

Component

Coder Sniffer

Created by

🇧🇬Bulgaria pfrenssen Sofia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024