Skip to content

Commit 799fcbe

Browse files
committed
Use Composer-installed PHPUnit for make test
1 parent 869710a commit 799fcbe

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

Makefile

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
.PHONY: composer test
22

33
COMPOSER_ARGS=update --no-interaction --prefer-source
4-
PHPUNIT_ARGS=--process-isolation
54

65
composer:
76
@command -v composer >/dev/null 2>&1; \
@@ -15,12 +14,4 @@ composer:
1514
fi
1615

1716
test: composer
18-
@command -v phpunit >/dev/null 2>&1; \
19-
if test $$? -eq 0; then \
20-
phpunit $(PHPUNIT_ARGS); \
21-
elif test -r phpunit.phar; then \
22-
php phpunit.phar $(PHPUNIT_ARGS); \
23-
else \
24-
echo >&2 "Cannot find phpunit; aborting."; \
25-
false; \
26-
fi
17+
vendor/bin/phpunit

0 commit comments

Comments
 (0)