Skip to content

Commit 29e0beb

Browse files
committed
Allow composer to run in local environments even without DB
1 parent c449ca5 commit 29e0beb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed
File renamed without changes.

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@
6868
}
6969
},
7070
"scripts": {
71+
"php-cs-fixer": "php-cs-fixer fix --diff --diff-format=udiff --config=./.php_cs.dist",
7172
"post-root-package-install": [
7273
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
7374
],
@@ -76,7 +77,7 @@
7677
],
7778
"post-autoload-dump": [
7879
"Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
79-
"@php artisan package:discover"
80+
"@php artisan package:discover || true"
8081
]
8182
},
8283
"prefer-stable": true,

0 commit comments

Comments
 (0)