Skip to content

Commit 0cd6324

Browse files
staabmondrejmirtes
authored andcommitted
Makefile: Disable xdebug in dev tools
1 parent 2cb89ae commit 0cd6324

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

+4-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
build: cs tests phpstan
44

55
tests:
6-
php vendor/bin/paratest --runner WrapperRunner --no-coverage
6+
XDEBUG_MODE=off php vendor/bin/paratest --runner WrapperRunner --no-coverage
77

88
tests-integration:
99
php vendor/bin/paratest --runner WrapperRunner --no-coverage --group exec
@@ -18,7 +18,7 @@ tests-golden-reflection:
1818
php vendor/bin/paratest --runner WrapperRunner --no-coverage tests/PHPStan/Reflection/ReflectionProviderGoldenTest.php
1919

2020
lint:
21-
php vendor/bin/parallel-lint --colors \
21+
XDEBUG_MODE=off php vendor/bin/parallel-lint --colors \
2222
--exclude tests/PHPStan/Analyser/data \
2323
--exclude tests/PHPStan/Analyser/nsrt \
2424
--exclude tests/PHPStan/Rules/Methods/data \
@@ -80,10 +80,10 @@ lint:
8080
src tests
8181

8282
cs:
83-
composer install --working-dir build-cs && php build-cs/vendor/bin/phpcs
83+
composer install --working-dir build-cs && XDEBUG_MODE=off php build-cs/vendor/bin/phpcs
8484

8585
cs-fix:
86-
php build-cs/vendor/bin/phpcbf
86+
XDEBUG_MODE=off php build-cs/vendor/bin/phpcbf
8787

8888
phpstan:
8989
php bin/phpstan clear-result-cache -q && php -d memory_limit=448M bin/phpstan

0 commit comments

Comments
 (0)