Closed joemcgill closed 1 week ago
This came up while helping @davidperezgar run PHPUnit tests locally, see https://github.com/WordPress/plugin-check/issues/466#issuecomment-2179449685
The Unit tests seem to be failing due to an old version of the wp-env package. I've raised a separate PR that should fix that issue here: #474.
Thanks, all!
Nice! thanks!!!
That will prevent a lot of users having random problem when using unit tests...
This fixes the path passed to
wp-env
via the --env-cwd arg whenpwd
returns a file path containing a space.Testing instructions
~/Local Sites/plugin-check
.npm run lint-php
and see that it's trying to run from/var/www/html/wp-content/plugins/Local
/var/www/html/wp-content/plugins/plugin-check