Skip to content
Snippets Groups Projects
Commit 7339bf3e authored by Camille Simiand's avatar Camille Simiand
Browse files

Add composer scripts

- php-cs-fixer
- phpstan
- unit tests (phpunit)

For now, scripts are running to check only on src/ directory

To run the CI script:
`composer run ci`
parent 1726e57c
No related branches found
No related tags found
1 merge request!7Add composer scripts
......@@ -92,7 +92,15 @@
],
"post-update-cmd": [
"@auto-scripts"
]
],
"ci": [
"@php-cs-fixer",
"@phpstan",
"@unit-tests"
],
"php-cs-fixer": "tools/php-cs-fixer/vendor/bin/php-cs-fixer fix src/",
"phpstan": "vendor/bin/phpstan analyse src/",
"unit-tests": "php ./vendor/bin/phpunit"
},
"conflict": {
"symfony/symfony": "*"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment