Skip to content

Commit 5c21934

Browse files
committed
Bump the min Symfony version to 6.4 and PHP to 8.1
1 parent 178c58d commit 5c21934

File tree

3 files changed

+11
-13
lines changed

3 files changed

+11
-13
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
php: [ '7.4', '8.0', '8.1', '8.2', '8.3', '8.4' ]
44+
php: [ '8.1', '8.2', '8.3', '8.4' ]
4545
name_suffix: ['']
4646
stability: ['stable']
4747
composer_flags: ['']
4848
include:
49-
- php: '7.4'
49+
- php: '8.1'
5050
name_suffix: ' (lowest deps)'
5151
stability: 'stable'
5252
composer_flags: '--prefer-lowest'

composer.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
}
1313
],
1414
"require": {
15-
"php": "^7.4 || ^8.0",
16-
"symfony/cache": "^5.4 || ^6.0 || ^7.0",
17-
"symfony/config": "^5.4 || ^6.0 || ^7.0",
18-
"symfony/dependency-injection": "^5.4 || ^6.0 || ^7.0",
19-
"symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0",
20-
"symfony/http-kernel": "^5.4 || ^6.0 || ^7.0",
15+
"php": "^8.1",
16+
"symfony/cache": "^6.4 || ^7.0",
17+
"symfony/config": "^6.4 || ^7.0",
18+
"symfony/dependency-injection": "^6.4 || ^7.0",
19+
"symfony/event-dispatcher": "^6.4 || ^7.0",
20+
"symfony/http-kernel": "^6.4 || ^7.0",
2121
"gedmo/doctrine-extensions": "^3.20.0"
2222
},
2323
"require-dev": {
@@ -26,9 +26,9 @@
2626
"phpstan/phpstan-phpunit": "^2.0",
2727
"phpstan/phpstan-strict-rules": "^2.0",
2828
"phpstan/phpstan-symfony": "^2.0",
29-
"symfony/mime": "^5.4 || ^6.0 || ^7.0",
29+
"symfony/mime": "^6.4 || ^7.0",
3030
"symfony/phpunit-bridge": "^v6.4.1 || ^7.0.1",
31-
"symfony/security-core": "^5.4 || ^6.0 || ^7.0"
31+
"symfony/security-core": "^6.4 || ^7.0"
3232
},
3333
"suggest": {
3434
"doctrine/doctrine-bundle": "to use the ORM extensions",

src/DependencyInjection/Compiler/ReaderPass.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ public function process(ContainerBuilder $container): void
2020
return;
2121
}
2222

23-
if (\PHP_VERSION_ID >= 80000) {
24-
$container->register('.stof_doctrine_extensions.reader', AttributeReader::class);
25-
}
23+
$container->register('.stof_doctrine_extensions.reader', AttributeReader::class);
2624
}
2725
}

0 commit comments

Comments
 (0)