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 dev dependencies #376

Merged
merged 2 commits into from
Apr 7, 2024

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Apr 7, 2024

Summary

This PR can be summarized in the following changelog entry:

  • Update dev dependencies

Relevant technical choices:

Composer: update dev dependencies

Nearly all dev dependencies have had new releases. This commit updates the plugin to use the new versions.

For linting, the upgrade will get us preliminary PHP 8.4 support.
For testing, the upgrades will get us continued support for running the tests via a PHAR file after the latest PHPUnit releases, as well as preliminary PHP 8.4 support.
For CS, the upgrades will get us improved syntax support for PHP 8.3, more documentation and a range of bug fixes.

CS/check thresholds: require exact match for thresholds

This changes the implementation of the coding standards threshold check to require that both the YOASTCS_THRESHOLD_ERRORS environment variable, as well as the YOASTCS_THRESHOLD_WARNINGS environment variable match the current status exactly.

This prevents PR A fixing some issues and forgetting to update the threshold, which then would allow PR B to introduce new issues.

Test instructions

This PR can be tested by following these steps:

  • N/A

Nearly all dev dependencies have had new releases. This commit updates the plugin to use the new versions.

For linting, the upgrade will get us preliminary PHP 8.4 support.
For testing, the upgrades will get us continued support for running the tests via a PHAR file after the latest PHPUnit releases, as well as preliminary PHP 8.4 support.
For CS, the upgrades will get us improved syntax support for PHP 8.3, more documentation and a range of bug fixes.
This changes the implementation of the coding standards threshold check to require that both the `YOASTCS_THRESHOLD_ERRORS` environment variable, as well as the `YOASTCS_THRESHOLD_WARNINGS` environment variable match the current status exactly.

This prevents PR A fixing some issues and forgetting to update the threshold, which then would allow PR B to introduce new issues.
@jrfnl jrfnl added yoast cs/qa changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog labels Apr 7, 2024
@jrfnl jrfnl added this to the 3.2 milestone Apr 7, 2024
Copy link

composer.lock

Dev Package changes

Package Operation From To About
antecedent/patchwork upgrade 2.1.27 2.1.28 diff
phar-io/manifest upgrade 2.0.3 2.0.4 diff
php-parallel-lint/php-parallel-lint upgrade v1.3.2 v1.4.0 diff
phpcsstandards/phpcsutils upgrade 1.0.9 1.0.10 diff
phpstan/phpdoc-parser upgrade 1.24.5 1.28.0 diff
phpunit/php-code-coverage upgrade 7.0.15 7.0.17 diff
phpunit/php-file-iterator upgrade 2.0.5 2.0.6 diff
phpunit/php-timer upgrade 2.1.3 2.1.4 diff
phpunit/phpunit upgrade 8.5.36 8.5.38 diff
sebastian/code-unit-reverse-lookup upgrade 1.0.2 1.0.3 diff
sebastian/diff upgrade 3.0.4 3.0.6 diff
sebastian/environment upgrade 4.2.4 4.2.5 diff
sebastian/exporter upgrade 3.1.5 3.1.6 diff
sebastian/global-state upgrade 3.0.3 3.0.5 diff
sebastian/object-enumerator upgrade 3.0.4 3.0.5 diff
sebastian/object-reflector upgrade 1.1.2 1.1.3 diff
sebastian/recursion-context upgrade 3.0.1 3.0.2 diff
sebastian/resource-operations upgrade 2.0.2 2.0.3 diff
sebastian/type upgrade 1.1.4 1.1.5 diff
slevomat/coding-standard upgrade 8.14.1 8.15.0 diff
squizlabs/php_codesniffer upgrade 3.8.0 3.9.1 diff
theseer/tokenizer upgrade 1.2.2 1.2.3 diff
wp-coding-standards/wpcs upgrade 3.0.1 3.1.0 diff
yoast/phpunit-polyfills upgrade 1.1.0 1.1.1 diff
yoast/yoastcs upgrade 3.0.0 3.1.0 diff

Settings · Docs · Powered by Private Packagist

@jrfnl jrfnl changed the title Jrf/composer update dev dependencies Composer: update dev dependencies Apr 7, 2024
@jrfnl jrfnl merged commit c3b5d32 into develop Apr 7, 2024
14 checks passed
@jrfnl jrfnl deleted the JRF/composer-update-dev-dependencies branch April 7, 2024 04:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog: non-user-facing Needs to be included in the 'Non-userfacing' category in the changelog yoast cs/qa
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant