Skip to content

Commit 1205bd2

Browse files
committed
Add support for symfony 8
1 parent 96debdd commit 1205bd2

5 files changed

Lines changed: 524 additions & 421 deletions

File tree

.github/workflows/continuous-integration.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,6 @@ jobs:
1313
uses: "nucleos/actions/.github/workflows/continuous-integration.yml@main"
1414
with:
1515
PHP_EXTENSIONS: "mbstring, json, mongodb"
16+
SYMFONY_VERSIONS: "7.4,8.0"
1617
secrets:
1718
CODECOV_TOKEN: "${{ secrets.CODECOV_TOKEN }}"

composer.json

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -38,36 +38,36 @@
3838
"php": "^8.3",
3939
"doctrine/persistence": "^4.0.0",
4040
"nucleos/user-bundle": "^3.7 || ^4.0",
41-
"symfony/config": "^6.4 || ^7.0",
42-
"symfony/dependency-injection": "^6.4 || ^7.0",
43-
"symfony/event-dispatcher": "^6.4 || ^7.0",
41+
"symfony/config": "^7.4 || ^8.0",
42+
"symfony/dependency-injection": "^7.4 || ^8.0",
43+
"symfony/event-dispatcher": "^7.4 || ^8.0",
4444
"symfony/event-dispatcher-contracts": "^1.0 || ^2.0 || ^3.0",
45-
"symfony/form": "^6.4 || ^7.0",
46-
"symfony/framework-bundle": "^6.4 || ^7.0",
47-
"symfony/http-foundation": "^6.4 || ^7.0",
48-
"symfony/http-kernel": "^6.4 || ^7.0",
49-
"symfony/intl": "^6.4 || ^7.0",
50-
"symfony/mailer": "^6.4 || ^7.0",
51-
"symfony/mime": "^6.4 || ^7.0",
52-
"symfony/options-resolver": "^6.4 || ^7.0",
53-
"symfony/routing": "^6.4 || ^7.0",
54-
"symfony/security-core": "^6.4 || ^7.0",
55-
"symfony/translation": "^6.4 || ^7.0",
45+
"symfony/form": "^7.4 || ^8.0",
46+
"symfony/framework-bundle": "^7.4 || ^8.0",
47+
"symfony/http-foundation": "^7.4 || ^8.0",
48+
"symfony/http-kernel": "^7.4 || ^8.0",
49+
"symfony/intl": "^7.4 || ^8.0",
50+
"symfony/mailer": "^7.4 || ^8.0",
51+
"symfony/mime": "^7.4 || ^8.0",
52+
"symfony/options-resolver": "^7.4 || ^8.0",
53+
"symfony/routing": "^7.4 || ^8.0",
54+
"symfony/security-core": "^7.4 || ^8.0",
55+
"symfony/translation": "^7.4 || ^8.0",
5656
"symfony/translation-contracts": "^1.0 || ^2.0 || ^3.0",
57-
"symfony/twig-bridge": "^6.4 || ^7.0",
58-
"symfony/twig-bundle": "^6.4 || ^7.0",
59-
"symfony/validator": "^6.4 || ^7.0",
57+
"symfony/twig-bridge": "^7.4 || ^8.0",
58+
"symfony/twig-bundle": "^7.4 || ^8.0",
59+
"symfony/validator": "^7.4 || ^8.0",
6060
"twig/twig": "^2.14 || ^3.1"
6161
},
6262
"require-dev": {
6363
"dama/doctrine-test-bundle": "^8.0",
6464
"doctrine/doctrine-bundle": "^2.18 || ^3.0",
6565
"doctrine/orm": "^2.18 || ^3.0",
6666
"ergebnis/composer-normalize": "^2.0.1",
67-
"symfony/browser-kit": "^6.4 || ^7.0",
68-
"symfony/css-selector": "^6.4 || ^7.0",
69-
"symfony/doctrine-bridge": "^6.4 || ^7.0",
70-
"symfony/yaml": "^6.4 || ^7.0"
67+
"symfony/browser-kit": "^7.4 || ^8.0",
68+
"symfony/css-selector": "^7.4 || ^8.0",
69+
"symfony/doctrine-bridge": "^7.4 || ^8.0",
70+
"symfony/yaml": "^7.4 || ^8.0"
7171
},
7272
"conflict": {
7373
"doctrine/doctrine-bundle": "<2.18",

tests/App/config/config.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@
3232

3333
$containerConfigurator->extension('twig', ['strict_variables' => true]);
3434

35-
$containerConfigurator->extension('twig', ['exception_controller' => null]);
36-
3735
$containerConfigurator->extension('doctrine', ['dbal' => ['url' => 'sqlite:///%kernel.cache_dir%/data.db', 'logging' => false]]);
3836

3937
if (method_exists(Connection::class, 'getEventManager')) {

vendor-bin/tools/composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"phpstan/phpstan-strict-rules": "^2.0.0",
1414
"phpstan/phpstan-symfony": "^2.0.0",
1515
"phpunit/phpunit": "^12.0.0",
16-
"symfony/phpunit-bridge": "^7.0"
16+
"symfony/phpunit-bridge": "^8.0"
1717
},
1818
"config": {
1919
"allow-plugins": {
@@ -23,7 +23,7 @@
2323
},
2424
"extra": {
2525
"symfony": {
26-
"require": "6.4.*"
26+
"require": "7.4.*"
2727
}
2828
}
2929
}

0 commit comments

Comments
 (0)