diff --git a/.php_cs b/.php_cs.dist similarity index 100% rename from .php_cs rename to .php_cs.dist diff --git a/composer.json b/composer.json index 987d7d05d..d8e88ef3f 100644 --- a/composer.json +++ b/composer.json @@ -68,6 +68,7 @@ } }, "scripts": { + "php-cs-fixer": "php-cs-fixer fix --diff --diff-format=udiff --config=./.php_cs.dist", "post-root-package-install": [ "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" ], @@ -76,7 +77,7 @@ ], "post-autoload-dump": [ "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", - "@php artisan package:discover" + "@php artisan package:discover || true" ] }, "prefer-stable": true,