matt-allan/laravel-code-style

Permission Denied

HDVinnie opened this issue · 2 comments

Describe the bug
When trying to run vendor/bin/php-cs-fixer fix --dry-run --diff I get the following error -bash: vendor/bin/php-cs-fixer: Permission denied.

To Reproduce
Steps to reproduce the behavior:

  1. Install Package composer require matt-allan/laravel-code-style --dev
  2. Copy Config Over php artisan vendor:publish --provider="MattAllan\LaravelCodeStyle\ServiceProvider"
  3. Run vendor/bin/php-cs-fixer fix --dry-run --diff as explain in README
  4. See error

I should note this is using root account on a DO droplet.

Ok running it as php ./vendor/bin/php-cs-fixer fix --dry-run --diff fixed the issue. Maybe README should be updated?