From 40815e5b3831835f7c63fddd1472b0a6aef1be81 Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 3 Nov 2018 11:02:19 +0100 Subject: [PATCH] Ensured phpunit is run using phpdbg, to avoid the requirement on xdebug --- composer.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 81b2f8c3..5a704aa7 100644 --- a/composer.json +++ b/composer.json @@ -112,15 +112,15 @@ "@test:unit:ci", "@test:func" ], - "test:unit": "phpunit --order-by=random --coverage-php build/coverage-unit.cov", - "test:unit:ci": "phpunit --order-by=random --coverage-php build/coverage-unit.cov --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml", - "test:func": "phpunit --order-by=random -c phpunit-func.xml --coverage-php build/coverage-func.cov", + "test:unit": "phpdbg -qrr vendor/bin/phpunit --order-by=random --coverage-php build/coverage-unit.cov", + "test:unit:ci": "phpdbg -qrr vendor/bin/phpunit --order-by=random --coverage-php build/coverage-unit.cov --coverage-clover=build/clover.xml --coverage-xml=build/coverage-xml --log-junit=build/phpunit.junit.xml", + "test:func": "phpdbg -qrr vendor/bin/phpunit --order-by=random -c phpunit-func.xml --coverage-php build/coverage-func.cov", "test:pretty": [ "@test", "phpcov merge build --html build/html" ], - "test:unit:pretty": "phpunit --coverage-html build/coverage --order-by=random", + "test:unit:pretty": "phpdbg -qrr vendor/bin/phpunit --coverage-html build/coverage --order-by=random", "infect": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered", "infect:ci": "infection --threads=4 --min-msi=60 --log-verbosity=2 --only-covered --coverage=build",