Add and configure php-cs-fixer
This commit is contained in:
parent
f3da42fce9
commit
a701ec46b3
4 changed files with 647 additions and 1 deletions
|
@ -16,6 +16,7 @@
|
|||
"scripts": {
|
||||
"dev": "composer run-script generate",
|
||||
"generate": "sculpin generate --clean --no-interaction",
|
||||
"lint": "php-cs-fixer fix",
|
||||
"prod": "composer run-script generate -- --env prod",
|
||||
"test": [
|
||||
"composer run test:unit"
|
||||
|
@ -34,6 +35,7 @@
|
|||
}
|
||||
},
|
||||
"require-dev": {
|
||||
"friendsofphp/php-cs-fixer": "^2.15",
|
||||
"phpunit/phpunit": "^8.1"
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue