@@ -107,40 +107,38 @@ composer-update: ## [COMPOSER] Executes <composer update> inside the container
107107# ##
108108
109109.PHONY : check-syntax
110- check-syntax : # # [QA] Executes <check-syntax [filter=app] > inside the container
110+ check-syntax : # # [QA] Executes <check-syntax> inside the container <filter=[app|path]>
111111 @$(eval filter ?= 'app')
112112 @vendor/bin/parallel-lint --colors -e php -j 10 $(filter )
113113 $(call taskDone)
114114
115115.PHONY : check-style
116- check-style : # # [QA] Executes <check-style [filter=app] > inside the container
116+ check-style : # # [QA] Executes <check-style> inside the container <filter=[app|path]>
117117 @$(eval filter ?= 'app')
118118 @vendor/bin/phpcs -p --colors --standard=phpcs.xml $(filter )
119119 $(call taskDone)
120120
121121.PHONY : fix-style
122- fix-style : # # [QA] Executes <fix-style [filter=app] > inside the container
122+ fix-style : # # [QA] Executes <fix-style> inside the container <filter=[app|path]>
123123 @$(eval filter ?= 'app')
124124 @vendor/bin/phpcbf -p --colors --standard=phpcs.xml $(filter )
125125 $(call taskDone)
126126
127127.PHONY : phpstan
128- phpstan : # # [QA] Executes <phpstan [filter=app] > inside the container
128+ phpstan : # # [QA] Executes <phpstan> inside the container <filter=[app|path]>
129129 @$(eval filter ?= 'app')
130130 @vendor/bin/phpstan analyse --ansi --memory-limit=1G --no-progress --configuration=phpstan.neon $(filter )
131131 $(call taskDone)
132132
133133.PHONY : tests
134- tests : # # [QA] Executes <phpunit -- testsuite=[testsuite= Unit] -- filter=[filter=.]> inside the container
134+ tests : # # [QA] Executes <phpunit> inside the container < testsuite=[Unit|...]> < filter=[.|method + filename]>
135135 @$(eval testsuite ?= 'Unit')
136136 @$(eval filter ?= '.')
137137 @vendor/bin/phpunit --testsuite=$(testsuite ) --filter=$(filter ) --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(RANDOM_ORDER_SEED )
138138 $(call taskDone)
139139
140140.PHONY : coverage
141- coverage : # # [QA] Executes <phpunit --coverage-html=[folder=./coverage]> inside the container
142- @$(eval folder ?= './coverage')
143- @rm -Rf $(folder ) || true
144- @mkdir $(folder )
145- @vendor/bin/phpunit --coverage-html=$(folder ) --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(RANDOM_ORDER_SEED )
141+ coverage : # # [QA] Executes <phpunit with pcov coverage support> inside the container
142+ @rm -Rf /coverage/*
143+ @vendor/bin/phpunit --coverage-html=/coverage --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(RANDOM_ORDER_SEED )
146144 $(call taskDone)
0 commit comments