From a00ca278c61fe53c1f69f3e7d97877a48232bb86 Mon Sep 17 00:00:00 2001 From: Christoph Reiter <reiter.christoph@gmail.com> Date: Thu, 26 Nov 2020 12:28:43 +0100 Subject: [PATCH] Add a coverage command --- .gitignore | 3 ++- composer.json | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 64c2850..abe1897 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 8350be5..5646c0d 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 -- GitLab