Skip to content

Commit af8bbaa

Browse files
committed
bump minimum version to php 8.1
1 parent ef87b47 commit af8bbaa

4 files changed

Lines changed: 14 additions & 29 deletions

File tree

.github/workflows/code_checks.yaml

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -43,25 +43,9 @@ jobs:
4343
runs-on: ubuntu-latest
4444
strategy:
4545
matrix:
46-
php: ['7.4', '8.0', '8.1', '8.2', '8.3', '8.4']
47-
symfony: ['^3.4', '^4.0', '^5.0', '^6.0', '^7.0']
46+
php: ['8.1', '8.2', '8.3', '8.4']
47+
symfony: ['^6.0', '^7.0', '^8.0']
4848
exclude:
49-
- symfony: ^3.4
50-
php: 8.1
51-
- symfony: ^3.4
52-
php: 8.2
53-
- symfony: ^3.4
54-
php: 8.3
55-
- symfony: ^3.4
56-
php: 8.4
57-
- symfony: ^4.0
58-
php: 8.1
59-
- symfony: ^4.0
60-
php: 8.2
61-
- symfony: ^4.0
62-
php: 8.3
63-
- symfony: ^4.0
64-
php: 8.4
6549
- symfony: ^6.0
6650
php: 7.4
6751
- symfony: ^7.0
@@ -70,6 +54,12 @@ jobs:
7054
php: 8.0
7155
- symfony: ^7.0
7256
php: 8.1
57+
- symfony: ^8.0
58+
php: 8.1
59+
- symfony: ^8.0
60+
php: 8.2
61+
- symfony: ^8.0
62+
php: 8.3
7363
fail-fast: false
7464
name: PHPUnit (PHP ${{ matrix.php }}) (Symfony ${{ matrix.symfony }})
7565
steps:
@@ -106,7 +96,7 @@ jobs:
10696
timeout-minutes: 5
10797
env:
10898
APP_DEBUG: '1' # https://github.com/phpstan/phpstan-symfony/issues/37
109-
SYMFONY_REQUIRE: '^5.0'
99+
SYMFONY_REQUIRE: '^6.4'
110100
SYMFONY_PHPUNIT_VERSION: '9.5'
111101
steps:
112102
- name: Checkout
@@ -115,7 +105,7 @@ jobs:
115105
- name: Setup PHP
116106
uses: shivammathur/setup-php@v2
117107
with:
118-
php-version: '7.4'
108+
php-version: '8.1'
119109
tools: flex
120110
coverage: xdebug
121111
ini-values: memory_limit=-1
@@ -125,9 +115,4 @@ jobs:
125115
composer update --no-interaction --no-progress --ansi
126116
127117
- name: Run code coverage
128-
run: vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
129-
130-
- name: Send code coverage
131-
run: |
132-
wget https://scrutinizer-ci.com/ocular.phar
133-
php ocular.phar code-coverage:upload --format=php-clover coverage.clover
118+
run: vendor/bin/phpunit --coverage-text

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ With [composer](https://getcomposer.org), require:
3131

3232
| Bundle Version | Symfony Version | PHP Version |
3333
|----------------|-----------------|-------------|
34-
| 0.3.x | 6.4, 7.x, 8.x |7.4 |
34+
| 0.3.x | 6.4, 7.x, 8.x |8.1 |
3535
| 0.2.x | 3.4, 4.x, 5.x, 6.x, 7.x | ≥7.4 |
3636
| 0.1.x | 3.4, 4.x, 5.x | ≥7.1 |
3737

Tests/ReCaptcha/RequestMethod/CurlPostTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
use PHPUnit\Framework\TestCase;
4343

4444
/**
45-
* @covers \Karser\Recaptcha3Bundle\Tests\ReCaptcha\RequestMethod\CurlPost
45+
* @covers \Karser\Recaptcha3Bundle\ReCaptcha\RequestMethod\CurlPost
4646
*/
4747
class CurlPostTest extends TestCase
4848
{

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
}
3636
],
3737
"require": {
38-
"php": ">=7.4",
38+
"php": ">=8.1",
3939
"ext-json": "*",
4040
"symfony/form": "^6.4|^7.0|^8.0",
4141
"symfony/framework-bundle": "^6.4|^7.0|^8.0",

0 commit comments

Comments
 (0)