1- .PHONY : clean code-style coverage help test static-analysis update-dependencies pcov-enable pcov-disable infection-testing
1+ .PHONY : clean code-style coverage help test static-analysis install-dependencies install-dependencies-lowest update-dependencies pcov-enable pcov-disable infection-testing
22.DEFAULT_GOAL := test
33
44PHPUNIT = ./vendor/bin/phpunit -c ./phpunit.xml
@@ -38,6 +38,7 @@ infection-testing:
3838 cp -f build/logs/phpunit/junit.xml build/logs/phpunit/coverage/junit.xml
3939 sudo php-ext-disable pcov
4040 ${INFECTION} --coverage=build/logs/phpunit/coverage --min-msi=91 --threads=` nproc`
41+ sudo php-ext-enable pcov
4142
4243pcov-enable :
4344 sudo php-ext-enable pcov
@@ -50,14 +51,15 @@ help:
5051 # make <target> [OPTION=value]
5152 #
5253 # Targets:
53- # clean Cleans the coverage and the vendor directory
54- # code-style Check codestyle using phpcs
55- # coverage Generate code coverage (html, clover)
56- # help You're looking at it!
57- # test (default) Run all the tests with phpunit
58- # static-analysis Run static analysis using phpstan
59- # infection-testing Run infection/mutation testing
60- # install-dependencies Run composer install
61- # update-dependencies Run composer update
62- # pcov-enable Enable pcov
63- # pcov-disable Disable pcov
54+ # clean Cleans the coverage and the vendor directory
55+ # code-style Check codestyle using phpcs
56+ # coverage Generate code coverage (html, clover)
57+ # help You're looking at it!
58+ # test (default) Run all the tests with phpunit
59+ # static-analysis Run static analysis using phpstan
60+ # infection-testing Run infection/mutation testing
61+ # install-dependencies Run composer install
62+ # install-dependencies-lowest Run composer install with --prefer-lowest
63+ # update-dependencies Run composer update
64+ # pcov-enable Enable pcov
65+ # pcov-disable Disable pcov
0 commit comments