From da440aba4d518a9ffa08c2d18a657a54a28919c9 Mon Sep 17 00:00:00 2001 From: Mehdi Achour Date: Sun, 17 Feb 2019 16:30:12 +0100 Subject: [PATCH] Use phpunit from vendor (#77) --- .travis.yml | 2 +- composer.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 41a90bc..b9cca37 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,4 +27,4 @@ before_script: script: - - phpunit --verbose $PHPUNIT_FLAGS + - ./vendor/bin/phpunit --verbose $PHPUNIT_FLAGS diff --git a/composer.json b/composer.json index 3f92972..e17d7e2 100644 --- a/composer.json +++ b/composer.json @@ -21,6 +21,9 @@ "yiisoft/yii2": ">=2.0.4", "swiftmailer/swiftmailer": "~6.0" }, + "require-dev": { + "phpunit/phpunit": "<7" + }, "repositories": [ { "type": "composer",