diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index ae8c566..5e6b792 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -35,14 +35,10 @@ jobs: fail-fast: false matrix: include: - - description: 'Symfony 6.4' - php: '8.1' - symfony: 6.4.* - dependencies: lowest - max_deprecations: 0 - description: 'Symfony 6.4' php: '8.2' symfony: 6.4.* + dependencies: lowest max_deprecations: 0 - description: 'Symfony 7.4' php: '8.3' @@ -54,7 +50,11 @@ jobs: max_deprecations: 0 - description: 'Symfony 8.1' php: '8.5' - symfony: 8.1.*@dev + symfony: 8.1.* + max_deprecations: 0 + - description: 'Symfony 8.2' + php: '8.6' + symfony: 8.2.*@dev max_deprecations: 0 name: PHP ${{ matrix.php }} tests (${{ matrix.description }}) steps: diff --git a/composer.json b/composer.json index 3b91df4..03698de 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ } ], "require": { - "php": "^8.1", + "php": "^8.2", "google/recaptcha": "^1.3", "symfony/config": "^6.4 || ^7.4 || ^8.0", "symfony/dependency-injection": "^6.4 || ^7.4 || ^8.0", @@ -25,8 +25,8 @@ "symfony/validator": "^6.4 || ^7.4 || ^8.0" }, "require-dev": { - "phpunit/phpunit": "^10.5 || ^11.5 || ^12.5", - "symfony/http-client-contracts": "^3.5", + "phpunit/phpunit": "^11.5 || ^12.5 || ^13.3", + "symfony/http-client-contracts": "^3.7", "symfony/phpunit-bridge": "^7.4" }, "conflict": { diff --git a/tests/Recaptcha/RecaptchaVerifierTest.php b/tests/Recaptcha/RecaptchaVerifierTest.php index b53c9ed..8eead9c 100644 --- a/tests/Recaptcha/RecaptchaVerifierTest.php +++ b/tests/Recaptcha/RecaptchaVerifierTest.php @@ -64,10 +64,6 @@ public function testVerifyFailure(): void public function testVerifyRecaptchaValueSubmitted(): void { - if (\PHP_VERSION_ID < 80200) { - self::markTestSkipped('Avoid notice.'); - } - $this->expectException(RecaptchaException::class); $request = new Request();