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 |
wp/6.1 branch Actions: Remove the spatie/phpunit-watcher dev dependency
desrosj/gutenberg#607
|
Size Change: 0 B Total Size: 1.26 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. |
8608b05 to
5dceb05
Compare
|
Size Change: 0 B Total Size: 1.26 MB ℹ️ View Unchanged
|
5dceb05 to
3eca5a8
Compare
|
Size Change: 0 B Total Size: 1.26 MB ℹ️ View Unchanged
|
3eca5a8 to
51fbf15
Compare
Part of #82932.
What?
Removes the
spatie/phpunit-watcherdev dependency: drops it fromrequire-devincomposer.json, drops thetest:watchComposer script (keeping"test": "phpunit"), and drops thetest:php:watchnpm script frompackage.jsonthat called it. This branch commits nocomposer.lock, so there is no lock to regenerate. It also deletesphpunit-watcher.yml.distand removes the watcher instructions fromdocs/contributors/code/testing-overview.md.Why?
The PHPUnit matrix added by the PR below this one (#84248) includes PHP
5.6and7.0legs.spatie/phpunit-watcherpulls insymfony/polyfill-php80through itssymfony/*dependencies, and that package'sbootstrap.phpis a Composerfilesautoload entry written in PHP 7.1+ syntax. Loadingvendor/autoload.phpon PHP5.6or7.0is therefore a parse error before any test runs.spatie/phpunit-watcheronly backs the localcomposer test:watchconvenience command, which CI never runs. Removing it outright fixes the crash on every matrix leg, rather than adding a workflow step that removes it from the Composer dependency set on older PHP versions only.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