Skip to content

Commit

Permalink
update composer setup
Browse files Browse the repository at this point in the history
  • Loading branch information
famoser committed Mar 14, 2020
1 parent d3a9e4b commit d099009
Show file tree
Hide file tree
Showing 4 changed files with 596 additions and 658 deletions.
11 changes: 10 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"symfony/yaml": "^4.0"
},
"require-dev": {
"brainmaestro/composer-git-hooks": "^2.6",
"deployer/deployer": "^6.1",
"friendsofphp/php-cs-fixer": "^2.7",
"symfony/browser-kit": "^4.0",
Expand All @@ -51,7 +52,7 @@
},
"config": {
"platform": {
"php": "^7.2"
"php": "7.2"
},
"preferred-install": {
"*": "dist"
Expand Down Expand Up @@ -100,6 +101,14 @@
"symfony": {
"id": "01C1WTEKAQ8E4EGPA14JTQ2WHZ",
"allow-contrib": false
},
"hooks": {
"pre-commit": [
"echo committing as $(git config user.name)",
"./vendor/bin/php-cs-fixer fix --config=.php_cs",
"git update-index --again"
],
"post-merge": "composer install"
}
}
}
Loading

0 comments on commit d099009

Please sign in to comment.