Skip to content

Commit 0b3eaaa

Browse files
Support SF7 (#509)
* update composer.json and add WebProfilerBundle to the test app * update dependencies to SF7 compatible versions --------- Co-authored-by: bocharsky-bw <[email protected]>
1 parent 0a8120d commit 0b3eaaa

File tree

2 files changed

+18
-15
lines changed

2 files changed

+18
-15
lines changed

Tests/Functional/BaseTestCase.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
1616
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
1717
use Symfony\Bundle\TwigBundle\TwigBundle;
18+
use Symfony\Bundle\WebProfilerBundle\WebProfilerBundle;
1819
use Symfony\Component\HttpKernel\Kernel;
1920
use Translation\Bundle\TranslationBundle;
2021

@@ -45,6 +46,7 @@ protected function setUp(): void
4546

4647
$kernel->addTestBundle(TwigBundle::class);
4748
$kernel->addTestBundle(TranslationBundle::class);
49+
$kernel->addTestBundle(WebProfilerBundle::class);
4850

4951
$this->testKernel = $kernel;
5052

composer.json

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -11,35 +11,36 @@
1111
],
1212
"require": {
1313
"php": "^8.1",
14-
"symfony/framework-bundle": "^5.3 || ^6.0",
15-
"symfony/validator": "^5.3 || ^6.0",
16-
"symfony/translation": "^5.3 || ^6.0",
17-
"symfony/twig-bundle": "^5.3 || ^6.0",
18-
"symfony/finder": "^5.3 || ^6.0",
19-
"symfony/intl": "^5.3 || ^6.0",
20-
"symfony/console": "^5.3 || ^6.0",
14+
"symfony/framework-bundle": "^5.3 || ^6.0 || ^7.0",
15+
"symfony/validator": "^5.3 || ^6.0 || ^7.0",
16+
"symfony/translation": "^5.3 || ^6.0 || ^7.0",
17+
"symfony/twig-bundle": "^5.3 || ^6.0 || ^7.0",
18+
"symfony/finder": "^5.3 || ^6.0 || ^7.0",
19+
"symfony/intl": "^5.3 || ^6.0 || ^7.0",
20+
"symfony/console": "^5.3 || ^6.0 || ^7.0",
2121

2222
"php-translation/symfony-storage": "^2.1",
2323
"php-translation/extractor": "^2.0",
2424
"nyholm/nsa": "^1.1",
2525
"twig/twig": "^2.14.4 || ^3.3",
26-
"symfony/asset": "^5.3 || ^6.0"
26+
"symfony/asset": "^5.3 || ^6.0 || ^7.0"
2727
},
2828
"require-dev": {
29-
"symfony/phpunit-bridge": "^5.2 || ^6.0",
29+
"symfony/phpunit-bridge": "^5.2 || ^6.0 || ^7.0",
3030
"bamarni/composer-bin-plugin": "^1.3",
3131
"php-translation/translator": "^1.0",
3232
"php-http/curl-client": "^1.7 || ^2.0",
3333
"php-http/message": "^1.11",
3434
"php-http/message-factory": "^1.0.2",
35-
"symfony/twig-bridge": "^5.3 || ^6.0",
36-
"symfony/dependency-injection": "^5.3 || ^6.0",
37-
"symfony/web-profiler-bundle": "^5.3 || ^6.0",
38-
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
39-
"matthiasnoback/symfony-config-test": "^4.1",
35+
"symfony/twig-bridge": "^5.3 || ^6.0 || ^7.0",
36+
"symfony/dependency-injection": "^5.3 || ^6.0 || ^7.0",
37+
"symfony/web-profiler-bundle": "^5.3 || ^6.0 || ^7.0",
38+
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
39+
"matthiasnoback/symfony-config-test": "^5.2",
4040
"nyholm/psr7": "^1.1",
4141
"nyholm/symfony-bundle-test": "^2.0",
42-
"phpstan/phpstan": "^1.11"
42+
"phpstan/phpstan": "^1.11",
43+
"phpunit/phpunit": "^9.6"
4344
},
4445
"suggest": {
4546
"php-http/httplug-bundle": "To easier configure your httplug clients."

0 commit comments

Comments
 (0)