Skip to content

Commit 60a167b

Browse files
committed
Makefile: Disable xdebug in dev tools
1 parent f361e35 commit 60a167b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Makefile

Lines changed: 4 additions & 4 deletions
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 \
@@ -79,10 +79,10 @@ lint:
7979
src tests
8080

8181
cs:
82-
composer install --working-dir build-cs && php build-cs/vendor/bin/phpcs
82+
composer install --working-dir build-cs && XDEBUG_MODE=off php build-cs/vendor/bin/phpcs
8383

8484
cs-fix:
85-
php build-cs/vendor/bin/phpcbf
85+
XDEBUG_MODE=off php build-cs/vendor/bin/phpcbf
8686

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

0 commit comments

Comments
 (0)