Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Composer: update minimum requirements for various dependencies #376

Merged
merged 2 commits into from
Apr 4, 2024

Conversation

jrfnl
Copy link
Collaborator

@jrfnl jrfnl commented Apr 4, 2024

Composer: update minimum requirements for various dependencies

PHP Parallel Lint has released a version which fixes a PHP 8.4 incompatibility (and fixes some bugs).

PHP_CodeSnifer has released three new versions in the mean time. The most important changes are:

  • Support for PHP 8.3 typed class constants.
  • Support for PHP 8.3 readonly anonymous classes.
  • A new sniff: Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence - this sniff is included in WPCS 3.1.0.
  • New feature adding the ability to deprecate sniffs in a user friendly manner.
  • Lots of new sniff documentation.
  • Various performance improvements.
  • Range of bugfixes.

PHPCSUtils has released a version with compatibility fixes for PHP 8.4.

WPCS has released a version with updates related to the WP 6.5 release and three new sniffs (from PHPCS itself + PHPCSExtra).

Slevomat has released a version with mostly bugfixes.

Refs:

YoastCS ruleset: remove two sniffs which are now in WPCS

WPCS 3.1.0 includes the Universal.PHP.LowercasePHPTag (Core) and the Universal.CodeAnalysis.NoDoubleNegative (Extra) sniffs, so no need to explicitly require those anymore for YoastCS.

PHP Parallel Lint has released a version which fixes a PHP 8.4 incompatibility (and fixes some bugs).

PHP_CodeSnifer has released three new versions in the mean time. The most important changes are:
* Support for PHP 8.3 typed class constants.
* Support for PHP 8.3 readonly anonymous classes.
* A new sniff: `Generic.CodeAnalysis.RequireExplicitBooleanOperatorPrecedence` - this sniff is included in WPCS 3.1.0.
* New feature adding the ability to deprecate sniffs in a user friendly manner.
* Lots of new sniff documentation.
* Various performance improvements.
* Range of bugfixes.

PHPCSUtils has released a version with compatibility fixes for PHP 8.4.

WPCS has released a version with updates related to the WP 6.5 release and three new sniffs (from PHPCS itself + PHPCSExtra).

Slevomat has released a version with mostly bugfixes.

Refs:
* https://github.com/php-parallel-lint/PHP-Parallel-Lint/releases/tag/v1.4.0
* https://github.com/phpcsstandards/php_codesniffer/releases
* https://github.com/PHPCSStandards/PHPCSUtils/releases/tag/1.0.10
* https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/3.1.0
* https://github.com/slevomat/coding-standard/releases/tag/8.15.0
WPCS 3.1.0 includes the `Universal.PHP.LowercasePHPTag` (Core) and the `Universal.CodeAnalysis.NoDoubleNegative` (Extra) sniffs, so no need to explicitly require those anymore for YoastCS.
@jrfnl jrfnl added this to the 3.1.0 milestone Apr 4, 2024
@jrfnl jrfnl merged commit ac8a41b into develop Apr 4, 2024
29 checks passed
@jrfnl jrfnl deleted the feature/composer-update-requirements branch April 4, 2024 16:01
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