From 7c0fcdc3cc79bbb2c2f1e717df789806873a9d60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Sat, 10 Feb 2024 21:19:50 +0000 Subject: [PATCH 1/2] feat: Support for PHPUnit 11 --- .github/workflows/tests.yml | 15 +++++++++++++++ composer.json | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a6eb00d..4ed3092 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -23,6 +23,7 @@ jobs: - '7.1' - '7.0' phpunit-version: + - '11.0.0' - '10.5.0' - '10.4.0' - '10.3.0' @@ -148,6 +149,8 @@ jobs: phpunit-version: '6.0.0' # PHP 8.1 Exclusions + - php-version: '8.1' + phpunit-version: '11.0.0' - php-version: '8.1' phpunit-version: '9.4.0' - php-version: '8.1' @@ -194,6 +197,8 @@ jobs: phpunit-version: '6.0.0' # PHP 8.0 Exclusions + - php-version: '8.0' + phpunit-version: '11.0.0' - php-version: '8.0' phpunit-version: '10.5.0' - php-version: '8.0' @@ -248,6 +253,8 @@ jobs: phpunit-version: '6.0.0' # PHP 7.4 Exclusions + - php-version: '7.4' + phpunit-version: '11.0.0' - php-version: '7.4' phpunit-version: '10.5.0' - php-version: '7.4' @@ -288,6 +295,8 @@ jobs: phpunit-version: '6.0.0' # PHP 7.3 Exclusions + - php-version: '7.3' + phpunit-version: '11.0.0' - php-version: '7.3' phpunit-version: '10.5.0' - php-version: '7.3' @@ -302,6 +311,8 @@ jobs: phpunit-version: '10.0.0' # PHP 7.2 Exclusions + - php-version: '7.2' + phpunit-version: '11.0.0' - php-version: '7.2' phpunit-version: '10.5.0' - php-version: '7.2' @@ -330,6 +341,8 @@ jobs: phpunit-version: '9.0.0' # PHP 7.1 Exclusions + - php-version: '7.1' + phpunit-version: '11.0.0' - php-version: '7.1' phpunit-version: '10.5.0' - php-version: '7.1' @@ -370,6 +383,8 @@ jobs: phpunit-version: '8.0.0' # PHP 7.0 Exclusions + - php-version: '7.0' + phpunit-version: '11.0.0' - php-version: '7.0' phpunit-version: '10.5.0' - php-version: '7.0' diff --git a/composer.json b/composer.json index 5c64c89..c09b6a9 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ }, "require": { "php": ">=7", - "phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17", + "phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11", "php-mock/php-mock-integration": "^2.2.1" }, "require-dev": { From 414d8c12104295584439939ac1881961d90d2888 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Bundyra?= Date: Sat, 10 Feb 2024 21:38:34 +0000 Subject: [PATCH 2/2] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index c09b6a9..9218934 100644 --- a/composer.json +++ b/composer.json @@ -20,7 +20,7 @@ "require": { "php": ">=7", "phpunit/phpunit": "^6 || ^7 || ^8 || ^9 || ^10.0.17 || ^11", - "php-mock/php-mock-integration": "^2.2.1" + "php-mock/php-mock-integration": "^2.3" }, "require-dev": { "mockery/mockery": "^1.3.6"