We use Bower and Grunt.
After running bower install
, I get a bower_components/phpcs
directory.
My grunt task is set up as such:
phpcbf: {
application: {
src: ['*.php']
},
options: {
bin: 'bower_components/phpcs',
}
}
However, when I run grunt phpcbf
, I get the error bower_components/phpcs: is a directory.
Is it even possible to run this without doing the pear or composer install?
I switched the bin's path to the binary and it worked just fine
bin: 'bower_components/phpcs/scripts/phpcs'