Skip to content

Conversation

@jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Jul 25, 2025

Composer: raise the minimum supported versions of all CS dependencies

... to benefit from new functionality and to ensure all minimum versions are versions compatible with PHPCS 4.0 (in so far as currently available - VariableAnalysis, WordPressCS and PHPCompatibility are not yet compatible with PHPCS 4.0).

Includes updating the README which was missed for the previous Composer update.

Refs:

Performance/FetchingRemoteData: remove redundant method

This method was introduced in PR #855 as a temporary stop-gap to allow for supporting PHP 8.1+ first class callables.

As of WPCS 3.2.0, first class callables are no longer passed to the process_no_parameters() method, but to the new dedicated process_first_class_callable() method, so this method is no longer needed.

jrfnl added 2 commits July 25, 2025 03:59
... to benefit from new functionality and to ensure all minimum versions are versions compatible with PHPCS 4.0 (in so far as currently available - VariableAnalysis, WordPressCS and PHPCompatibility are not yet compatible with PHPCS 4.0).

Includes updating the README which was missed for the previous Composer update.

Refs:
* https://github.com/PHPCSStandards/PHPCSUtils/releases
* https://github.com/PHPCSStandards/PHP_CodeSniffer/releases
* https://github.com/PHPCSStandards/PHPCSExtra/releases
* https://github.com/sirbrillig/phpcs-variable-analysis/releases
* https://github.com/PHPCSStandards/PHPCSDevTools/releases
* https://github.com/WordPress/WordPress-Coding-Standards/releases
This method was introduced in PR 855 as a temporary stop-gap to allow for supporting PHP 8.1+ first class callables.

As of WPCS 3.2.0, first class callables are no longer passed to the `process_no_parameters()` method, but to the new dedicated `process_first_class_callable()` method, so this method is no longer needed.
@jrfnl jrfnl added this to the 3.1.0 milestone Jul 25, 2025
@jrfnl jrfnl requested a review from a team as a code owner July 25, 2025 02:02
@GaryJones GaryJones merged commit 1753c9f into develop Jul 25, 2025
42 checks passed
@GaryJones GaryJones deleted the feature/composer-update-minimum-versions branch July 25, 2025 08:43
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.

3 participants