Skip to content

Commit

Permalink
Remove Symfony 5.4 and PHP 8.0 support
Browse files Browse the repository at this point in the history
  • Loading branch information
hlecorche committed Nov 22, 2024
1 parent 8e07a12 commit ef22b79
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@ jobs:
matrix:
include:
#Mini (for each Symfony version)
- php-version: '8.0'
symfony-version: '5.4.*'
composer-flags: '--prefer-stable --prefer-lowest'
description: 'with SF 5.4.* lowest'
- php-version: '8.1'
symfony-version: '6.4.*'
composer-flags: '--prefer-stable --prefer-lowest'
Expand All @@ -32,12 +28,6 @@ jobs:
description: 'with SF 7.1.* lowest'

#Symfony versions
- php-version: '8.3'
symfony-version: '5.4.*'
description: 'with SF 5.4.*'
- php-version: '8.3'
symfony-version: '5.4.*@dev'
description: 'with SF 5.4.* dev'
- php-version: '8.3'
symfony-version: '6.4.*'
description: 'with SF 6.4.*'
Expand All @@ -61,7 +51,6 @@ jobs:
description: 'with SF 7.2.* dev'

#PHP versions
- php-version: '8.0'
- php-version: '8.1'
- php-version: '8.2'
- php-version: '8.3'
Expand All @@ -72,7 +61,7 @@ jobs:
coding-standards: true

#Static Analysis (min PHP version)
- php-version: '8.0'
- php-version: '8.1'
description: 'with Static Analysis'
static-analysis: true

Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'@Symfony' => true,
'@Symfony:risky' => true,
'@DoctrineAnnotation' => true,
'@PHP80Migration' => true,
'@PHP81Migration' => true,
'@PHP80Migration:risky' => true,
'@PHPUnit84Migration:risky' => true,
'array_syntax' => ['syntax' => 'short'],
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"psr-4": { "Ecommit\\Paginator\\Tests\\": "tests/" }
},
"require": {
"php": "^8.0",
"symfony/options-resolver": "^5.4|^6.4|^7.0"
"php": "^8.1",
"symfony/options-resolver": "^6.4|^7.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "^3.0",
Expand Down

0 comments on commit ef22b79

Please sign in to comment.