diff --git a/composer.json b/composer.json index c63fa1eea9932bd822f76e5b007dcc58d8eaad3c..2c2dbb943e86c2f9d6744c167b35bae9f2ff2a16 100644 --- a/composer.json +++ b/composer.json @@ -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": "*"