Skip to content

Commit

Permalink
Makefile: Disable xdebug in dev tools
Browse files Browse the repository at this point in the history
  • Loading branch information
staabm committed Oct 6, 2024
1 parent eb6a95a commit 7d104a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
build: cs tests phpstan

tests:
php vendor/bin/paratest --runner WrapperRunner --no-coverage
XDEBUG_MODE=off php vendor/bin/paratest --runner WrapperRunner --no-coverage

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

lint:
php vendor/bin/parallel-lint --colors \
XDEBUG_MODE=off php vendor/bin/parallel-lint --colors \
--exclude tests/PHPStan/Analyser/data \
--exclude tests/PHPStan/Analyser/nsrt \
--exclude tests/PHPStan/Rules/Methods/data \
Expand Down Expand Up @@ -79,10 +79,10 @@ lint:
src tests

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

cs-fix:
php build-cs/vendor/bin/phpcbf
XDEBUG_MODE=off php build-cs/vendor/bin/phpcbf

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

0 comments on commit 7d104a1

Please sign in to comment.