Skip to content

Composer: raise the minimum supported PHPCS/Utils versions - #378

Merged
sirbrillig merged 1 commit into
trunkfrom
feature/composer-raise-minimum-phpcs
Aug 18, 2026
Merged

Composer: raise the minimum supported PHPCS/Utils versions#378
sirbrillig merged 1 commit into
trunkfrom
feature/composer-raise-minimum-phpcs

Conversation

@jrfnl

@jrfnl jrfnl commented Aug 16, 2026

Copy link
Copy Markdown
Collaborator

PHP_CodeSniffer released security versions the other week, so unless security advisories would be actively ignored, CI will fail on a failure to install for lowest. Along the same lines, PHPCSUtils released a security version a week before that.

As it would be prudent to encourage users to upgrade anyhow, I'm proposing to raise the minimum supported PHPCS/Utils versions to get round the CI issue. Alternatively, it could be chosen to not raise the minimum version, but to ignore the security advisories in CI. As the difference between the "old" vs "new" versions for PHPCS is relatively small, I'm suggesting to just bump the versions.

Includes updating the README and the GHA workflows to match.

Refs:

PHP_CodeSniffer released security versions the other week, so unless security advisories would be actively ignored, CI will fail on a failure to install for `lowest`.
Along the same lines, PHPCSUtils released a security version a week before that.

As it would be prudent to encourage users to upgrade anyhow, I'm proposing to raise the minimum supported PHPCS/Utils versions to get round the CI issue.
Alternatively, it could be chosen to not raise the minimum version, but to ignore the security advisories in CI. As the difference between the "old" vs "new" versions for PHPCS is relatively small, I'm suggesting to just bump the versions.

Includes updating the README and the GHA workflows to match.

Refs:
* https://github.com/PHPCSStandards/PHP_CodeSniffer/releases#release-3.13.6
* https://github.com/PHPCSStandards/PHP_CodeSniffer/releases#release-4.0.2
* https://github.com/PHPCSStandards/PHPCSUtils/releases
@jrfnl jrfnl added this to the 3.0 milestone Aug 16, 2026
@sirbrillig
sirbrillig merged commit 6e37b12 into trunk Aug 18, 2026
76 checks passed
@sirbrillig
sirbrillig deleted the feature/composer-raise-minimum-phpcs branch August 18, 2026 14:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants