You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If there is a space character in the path to the PHP_BINARY, phpcs-diff will fail.
Presumably other unescaped but valid path characters would have the same effect.
Path to the PHP_BINARY in my environment (macOS)...
If there is a space character in the path to the
PHP_BINARY
,phpcs-diff
will fail.Presumably other unescaped but valid path characters would have the same effect.
Path to the
PHP_BINARY
in my environment (macOS)...'/Users/user_name/Library/Application Support/Local/lightning-services/php-8.0.30+0/bin/darwin-arm64/bin/php'
The
phpcs-diff
failure looks like this...I am able to resolve this for my environment by using
escapeshellarg
onPHP_BINARY
at line 220 of\PhpcsDiff\PhpcsDiff::runPhpcs()
like so...The text was updated successfully, but these errors were encountered: