From 1aad7f0abd3bf9cdcf2cf1f7e97043de9c6728ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Mon, 13 Feb 2023 08:55:42 +0000 Subject: [PATCH 1/2] feat: Support PHPUnit 10 --- .github/workflows/tests.yml | 5 ++--- composer.json | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 36c1b20..30062ee 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -13,6 +13,7 @@ jobs: strategy: matrix: php-version: + - '8.2' - '8.1' - '8.0' - '7.4' @@ -25,9 +26,7 @@ jobs: name: PHP ${{ matrix.php-version }} steps: - name: Checkout - uses: actions/checkout@v2 - with: - ref: ${{ github.head_ref }} + uses: actions/checkout@v3 - name: Install PHP uses: shivammathur/setup-php@v2 diff --git a/composer.json b/composer.json index 2ee9669..ab6db08 100644 --- a/composer.json +++ b/composer.json @@ -22,11 +22,11 @@ }, "require": { "php": ">=5.6", - "php-mock/php-mock": "^2.2", - "phpunit/php-text-template": "^1 || ^2" + "php-mock/php-mock": "^2.4", + "phpunit/php-text-template": "^1 || ^2 || ^3" }, "require-dev": { - "phpunit/phpunit": "^5.7.27 || ^6 || ^7 || ^8 || ^9" + "phpunit/phpunit": "^5.7.27 || ^6 || ^7 || ^8 || ^9 || ^10" }, "archive": { "exclude": ["/tests"] From 029b259bcd7cb25084f78603d8a5a90681a954c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Mon, 13 Feb 2023 09:01:18 +0000 Subject: [PATCH 2/2] Empty-Commit