From 752271b2588001d6ce344e8790838c1f96128f74 Mon Sep 17 00:00:00 2001 From: Andrey Savchenko Date: Thu, 9 Jun 2022 15:03:29 +0300 Subject: [PATCH] Adjusted down to PHPUnit 8 for PHP 7.2 --- .github/workflows/tests.yml | 2 +- README.md | 2 +- phpunit.xml | 29 ++++++++++++++--------------- 3 files changed, 16 insertions(+), 17 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index bc5af1c..0eb3948 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,7 +16,7 @@ jobs: uses: shivammathur/setup-php@v2 with: php-version: '7.2' - tools: phpunit:9,psalm + tools: phpunit:8,psalm - name: Setup problem matchers for PHPUnit run: echo "::add-matcher::${{ runner.tool_cache }}/phpunit.json" diff --git a/README.md b/README.md index 558065c..16caa05 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,7 @@ API requests need to be authenticated as admin for performance data to be sent. ## Tests -Tests require [Brain Monkey](https://github.com/Brain-WP/BrainMonkey) (included in dependencies) and PHPUnit 9 (not included). +Tests require [Brain Monkey](https://github.com/Brain-WP/BrainMonkey) (included in dependencies) and PHPUnit 8 (not included). ```bash phpunit diff --git a/phpunit.xml b/phpunit.xml index c11b319..4368eb9 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -1,16 +1,15 @@ - - - - - src - - - src/mustache/cache - - - - - tests - - + + + + tests + + + + + src + + src/mustache/cache + + +