Permission Denied
HDVinnie opened this issue · 2 comments
HDVinnie commented
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:
- Install Package
composer require matt-allan/laravel-code-style --dev
- Copy Config Over
php artisan vendor:publish --provider="MattAllan\LaravelCodeStyle\ServiceProvider"
- Run
vendor/bin/php-cs-fixer fix --dry-run --diff
as explain in README - See error
HDVinnie commented
I should note this is using root account on a DO droplet.
HDVinnie commented
Ok running it as php ./vendor/bin/php-cs-fixer fix --dry-run --diff
fixed the issue. Maybe README should be updated?