From 3f556335f55c19329609f15109fdf00960bd4637 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:21:38 +0300 Subject: [PATCH 1/3] Added PHPUnit 11/12 support --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 5581016..692a7c4 100644 --- a/composer.json +++ b/composer.json @@ -40,7 +40,7 @@ "dragon-code/support": "^6.11.2" }, "require-dev": { - "phpunit/phpunit": "^9.6 || ^10.2" + "phpunit/phpunit": "^9.6 || ^10.0 || ^11.0 || ^12.0" }, "suggest": { "symfony/thanks": "Give thanks (in the form of a GitHub) to your fellow PHP package maintainers" @@ -67,4 +67,4 @@ "preferred-install": "dist", "sort-packages": true } -} \ No newline at end of file +} From da5b1c6da8336e84f699c9e842cb1c717c7728ae Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 02:22:07 +0300 Subject: [PATCH 2/3] Update phpunit.yml --- .github/workflows/phpunit.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index cae023f..9b93528 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: [ "8.0", "8.1" ] + php: [ "8.0", "8.1", "8.2", "8.3", "8.4" ] name: PHP ${{ matrix.php }} @@ -27,5 +27,8 @@ jobs: - name: Install dependencies run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction + - name: Update PHPUnit Configuration + run: vendor/bin/phpunit --migrate-configuration + - name: Execute tests run: sudo vendor/bin/phpunit From 867df4ba5daa00ef6175f7343d4e27870d21c438 Mon Sep 17 00:00:00 2001 From: Andrey Helldar Date: Mon, 24 Feb 2025 18:34:29 +0300 Subject: [PATCH 3/3] Update phpunit.yml --- .github/workflows/phpunit.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 9b93528..8dc94af 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -27,8 +27,5 @@ jobs: - name: Install dependencies run: composer update --prefer-stable --prefer-dist --no-progress --no-interaction - - name: Update PHPUnit Configuration - run: vendor/bin/phpunit --migrate-configuration - - name: Execute tests run: sudo vendor/bin/phpunit