Skip to content

Commit e566ce4

Browse files
committed
fix(Makefile): disable XDebug when running PHPUnit
1 parent 94ce468 commit e566ce4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,11 @@ phpstan: ## [QA] Executes <phpstan> inside the container <filter=[app|path]>
134134
tests: ## [QA] Executes <phpunit> inside the container <testsuite=[Unit|...]> <filter=[.|method + filename]>
135135
@$(eval testsuite ?= 'Unit')
136136
@$(eval filter ?= '.')
137-
@vendor/bin/phpunit --testsuite=$(testsuite) --filter=$(filter) --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(RANDOM_ORDER_SEED)
137+
@XDEBUG_MODE=off 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
141141
coverage: ## [QA] Executes <phpunit with pcov coverage support> inside the container
142142
@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)
143+
@XDEBUG_MODE=off vendor/bin/phpunit --coverage-html=/coverage --configuration=phpunit.xml --coverage-text --testdox --colors --order-by=random --random-order-seed=$(RANDOM_ORDER_SEED)
144144
$(call taskDone)

0 commit comments

Comments
 (0)