Skip to content

Composer: update minimum version PHPCSUtils + PHPCSExtra - #2770

Merged
jrfnl merged 1 commit into
developfrom
feature/composer-update-versions
Jul 27, 2026
Merged

Composer: update minimum version PHPCSUtils + PHPCSExtra#2770
jrfnl merged 1 commit into
developfrom
feature/composer-update-versions

Conversation

@jrfnl

@jrfnl jrfnl commented Jul 27, 2026

Copy link
Copy Markdown
Member

Description

PHPCSUtils has just released version 1.2.3, which includes a security fix which is relevant for two sniffs which are included in PHPCSExtra, which has released version 1.5.1 in response.

With that in mind, I'm bumping the minimum supported PHPCSUtils and PHPCSExtra versions to encourage users of to upgrade the underlying dependencies.

Why does a version bump help ?

Well, it only helps when a new version of WordPressCS is released, which is what I intend to do next.
Once that's done, it helps as Composer will now show WordPressCS as a direct dependency which is outdated, while PHPCSUtils/PHPCSExtra would only show as an indirect dependency which is outdated, which doesn't have the same urgency for people to update.

Refs:

Suggested changelog entry

  • The minimum required PHPCSUtils version to 1.2.3 (was 1.2.2). [#xx]
  • The minimum required PHPCSExtra version to 1.5.1 (was 1.5.0). [#xx]

PHPCSUtils has just released version 1.2.3, which includes a security fix which is relevant for two sniffs which are included in PHPCSExtra, which has released version 1.5.1 in response.

With that in mind, I'm bumping the minimum supported PHPCSUtils and PHPCSExtra versions to encourage users of to upgrade the underlying dependencies.

Why does a version bump help ?

Well, it only helps when a new version of WordPressCS is released, which is what I intend to do next.
Once that's done, it helps as Composer will now show WordPressCS as a direct dependency which is outdated, while PHPCSUtils/PHPCSExtra would only show as an indirect dependency which is outdated, which doesn't have the same urgency for people to update.

Refs:
* https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.2.3
* https://github.com/PHPCSStandards/PHPCSExtra/releases/tag/1.5.1
@jrfnl jrfnl added this to the 3.4.x milestone Jul 27, 2026
@jrfnl
jrfnl merged commit 54719c0 into develop Jul 27, 2026
42 checks passed
@jrfnl
jrfnl deleted the feature/composer-update-versions branch July 27, 2026 11:36
@jrfnl jrfnl mentioned this pull request Jul 27, 2026
43 tasks
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