这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Nov 1, 2025

Composer: update to PHPCSDevCS 1.2.0

PHPCSDevCS allows for PHPCS 4.0 and includes PHPCompatibility 10.0.0-alpha1 and a range of sniffs from PHPCSExtra.

This also means that we can now scan files without a file extension (if explicitly requested), so the bin script can now be scanned.

Includes minor documentation update in the ruleset and some small CS fixes.

Refs:

GH Actions: run CS check against PHPCS 4.x dev

jrfnl added 2 commits November 1, 2025 00:23
PHPCSDevCS allows for PHPCS 4.0 and includes PHPCompatibility 10.0.0-alpha1 and a range of sniffs from PHPCSExtra.

This also means that we can now scan files without a file extension (if explicitly requested), so the `bin` script can now be scanned.

Includes minor documentation update in the ruleset and some small CS fixes.

Refs:
* https://github.com/PHPCSStandards/PHPCSDevCS/releases/tag/1.2.0
* squizlabs/PHP_CodeSniffer 2916
* PHPCSStandards/PHP_CodeSniffer 1022
@jrfnl jrfnl added this to the 1.x Next milestone Nov 1, 2025
@jrfnl jrfnl merged commit b938754 into stable Nov 1, 2025
86 checks passed
@jrfnl jrfnl deleted the feature/devcs-compatible branch November 1, 2025 00:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants