aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--composer.json5
2 files changed, 4 insertions, 2 deletions
diff --git a/.gitignore b/.gitignore
index f56382cc7a2..c2210c1fa06 100644
--- a/.gitignore
+++ b/.gitignore
@@ -162,6 +162,7 @@ tests/acceptance/vendor/
composer.phar
/lib/composer/bin
+/lib/composer/bamarni
/vendor-bin/**/vendor
./.htaccess
diff --git a/composer.json b/composer.json
index dcbd908c026..3082f5c7a4a 100644
--- a/composer.json
+++ b/composer.json
@@ -11,6 +11,7 @@
}
},
"autoload": {
+ "exclude-from-classmap": ["**/bamarni/composer-bin-plugin/**"],
"files": [
"lib/public/Log/functions.php"
],
@@ -48,11 +49,11 @@
"scripts": {
"post-install-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all install",
- "composer dump-autoload"
+ "composer dump-autoload --no-dev"
],
"post-update-cmd": [
"[ $COMPOSER_DEV_MODE -eq 0 ] || composer bin all update --ansi",
- "composer dump-autoload"
+ "composer dump-autoload --no-dev"
],
"cs:fix": "php-cs-fixer fix",
"cs:check": "php-cs-fixer fix --dry-run --diff",