Repository navigation
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
2ef4b86 to
9332fcd
Compare
|
Size Change: 0 B Total Size: 1.11 MB ℹ️ View Unchanged
|
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
9332fcd to
59a838e
Compare
59a838e to
c5ce039
Compare
Part of #82934.
What?
Removes the
spatie/phpunit-watcherdev dependency fromcomposer.jsonandcomposer.lock, along with thetest:watchComposer script and thetest-php:watchnpm script that only ran it. It also deletesphpunit-watcher.yml.distand removes the watcher instructions fromdocs/contributors/code/testing-overview.md.Why?
The PHPUnit matrix in #84403 adds PHP
5.6and7.0jobs.spatie/phpunit-watcherrequires PHP 7.2+ and pulls insymfony/polyfill-php80,symfony/stringandsymfony/deprecation-contracts. Their bootstrap files are listed invendor/composer/autoload_files.php, so PHP has to parse them before theirPHP_VERSION_IDguards run.php -lon the installed files inphp:5.6-cli(5.6.40) andphp:7.0-cli(7.0.33):autoload_files.phpentrysymfony/polyfill-php80/bootstrap.php255255symfony/string/Resources/functions.php255255symfony/deprecation-contracts/function.php2550phpunit/bootstrap.phprequiresvendor/autoload.php, so those jobs fail before any test runs.Removing the package in a workflow step doesn't work on this branch, because it commits a
composer.lock:composer remove spatie/phpunit-watcher --dev --no-updateonly editscomposer.json, and the followingcomposer installwarns that the lock is out of date and installs the package again from the lock.wp/6.0makes the same change in #84272.How?
composer.lockwas regenerated withcomposer update spatie/phpunit-watcher(a partial update, not a fullcomposer update), which reported0 installs, 0 updates, 22 removals:spatie/phpunit-watcher's dependency tree;symfony/polyfill-ctypestays because other packages still require it.content-hash,plugin-api-version(2.1.0→2.9.0), andplatform,platform-devandstability-flagswritten as{}instead of[].Testing
With #84406's
config.platform.phpon top:composer installexits0with no lock warning.vendor/spatieandvendor/symfony/polyfill-php80are gone.vendor/composer/autoload_files.phppassesphp -lunder PHP 5.6 and 7.0.Use of AI Tools
This PR was created by Claude Code under my supervision. All code should be treated as AI-produced and not yet reviewed by a human until this PR is marked Ready for Review.
🤖 Generated with Claude Code