diff --git a/.github/workflows/php.yml b/.github/workflows/php.yml index 434af4cf..9e1bde79 100644 --- a/.github/workflows/php.yml +++ b/.github/workflows/php.yml @@ -37,4 +37,4 @@ jobs: - name: Run phpunit working-directory: php - run: phpunit tests --filter testNotFaling + run: phpunit --bootstrap vendor/autoload.php tests --filter testNotFailing diff --git a/php/README.md b/php/README.md index e64aba63..03c366cd 100644 --- a/php/README.md +++ b/php/README.md @@ -13,7 +13,7 @@ For PHP 7.1 or above just run: To run the tests just run: ``` -phpunit tests +phpunit --bootstrap vendor/autoload.php tests --filter testNotFailing ``` You need PHP 7.1 or above. diff --git a/php/composer.json b/php/composer.json index eb572cba..5cf579a6 100644 --- a/php/composer.json +++ b/php/composer.json @@ -9,7 +9,8 @@ } ], "require": { - "php": "^7.1.3" + "php": "^7.1.3", + "phpunit/phpunit": "^8" }, "require-dev": { "mockery/mockery": "dev-master"