File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,10 @@ phpcbf_local_exec="phpcbf.phar"
2424phpcbf_command=" php $phpcbf_local_exec "
2525
2626# Check vendor/bin/phpcbf
27- phpcbf_vendor_command=" php vendor/bin/phpcbf"
27+ phpcbf_vendor_command=" vendor/bin/phpcbf"
2828phpcbf_global_command=" phpcbf"
2929if [ -f " $phpcbf_vendor_command " ]; then
30- phpcbf_command=$phpcbf_vendor_command
30+ phpcbf_command=" php $phpcbf_vendor_command "
3131else
3232 if hash phpcbf 2> /dev/null; then
3333 phpcbf_command=$phpcbf_global_command
Original file line number Diff line number Diff line change @@ -24,11 +24,11 @@ phpcs_local_exec="phpcs.phar"
2424phpcs_command=" php $phpcs_local_exec "
2525
2626# Check vendor/bin/phpcs
27- phpcs_vendor_command=" php vendor/bin/phpcs"
27+ phpcs_vendor_command=" vendor/bin/phpcs"
2828phpcs_global_command=" phpcs"
2929
3030if [ -f " $phpcs_vendor_command " ]; then
31- phpcs_command=$phpcs_vendor_command
31+ phpcs_command=" php $phpcs_vendor_command "
3232elif type -P ' phpcs' ; then
3333 phpcs_command=' phpcs'
3434elif type -P ' phpcs.phar' ; then
You can’t perform that action at this time.
0 commit comments