We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
./vendor/bin
Hey
If you've setup your bin-dir to be outside of vendor the script fails to find phpcs. Getting the configured the bin directory is documented here: https://getcomposer.org/doc/articles/vendor-binaries.md
bin-dir
vendor
phpcs
Suggested fix would be in src/PhpCodeSnifferRunner/Runner.php to replace line 20 with:
src/PhpCodeSnifferRunner/Runner.php
global $_composer_bin_dir; $cliCommand = sprintf('%s/phpcs -q --report=json --basepath=%s', $_composer_bin_dir, escapeshellarg($basePath));
Thanks
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hey
If you've setup your
bin-dir
to be outside ofvendor
the script fails to findphpcs
. Getting the configured the bin directory is documented here:https://getcomposer.org/doc/articles/vendor-binaries.md
Suggested fix would be in
src/PhpCodeSnifferRunner/Runner.php
to replace line 20 with:Thanks
The text was updated successfully, but these errors were encountered: