diff --git a/.gitignore b/.gitignore index 64c2850084230cad13612c7aefaf71156a991b84..abe1897e082b4fd8a8637cc88a9782bf2ab82975 100644 --- a/.gitignore +++ b/.gitignore @@ -2,4 +2,5 @@ /var /.php_cs /.idea -/*.cache \ No newline at end of file +/*.cache +/_coverage \ No newline at end of file diff --git a/composer.json b/composer.json index 8350be53993a0a1d8cece7efe43911fa25c78f2a..5646c0dd7f478e3827f2d96fe2be49d2d3f87ff7 100644 --- a/composer.json +++ b/composer.json @@ -59,6 +59,9 @@ ], "cs": [ "@php vendor/bin/php-cs-fixer --ansi fix --dry-run --diff --diff-format=udiff" + ], + "coverage": [ + "@php vendor/bin/simple-phpunit --coverage-html _coverage" ] } } \ No newline at end of file