Introduce `composer check` to check the entire project before pushing
This commit is contained in:
parent
097d349e9c
commit
66adc4697d
|
@ -22,6 +22,13 @@
|
||||||
"name": "Erik Tilt"
|
"name": "Erik Tilt"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
"scripts": {
|
||||||
|
"check": [
|
||||||
|
"php-cs-fixer fix --ansi --dry-run --diff",
|
||||||
|
"phpcs --report-width=200 --report-summary --report-full samples/ src/ tests/ --standard=PSR2 -n",
|
||||||
|
"phpunit --color=always"
|
||||||
|
]
|
||||||
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^5.6|^7.0",
|
"php": "^5.6|^7.0",
|
||||||
"ext-mbstring": "*",
|
"ext-mbstring": "*",
|
||||||
|
|
Loading…
Reference in New Issue