Skip to content

Commit

Permalink
Support SF7 (#509)
Browse files Browse the repository at this point in the history
* update composer.json and add WebProfilerBundle to the test app

* update dependencies to SF7 compatible versions

---------

Co-authored-by: bocharsky-bw <bocharsky.bw@gmail.com>
  • Loading branch information
Growiel and bocharsky-bw authored Aug 22, 2024
1 parent 0a8120d commit 0b3eaaa
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Tests/Functional/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Test\KernelTestCase;
use Symfony\Bundle\TwigBundle\TwigBundle;
use Symfony\Bundle\WebProfilerBundle\WebProfilerBundle;
use Symfony\Component\HttpKernel\Kernel;
use Translation\Bundle\TranslationBundle;

Expand Down Expand Up @@ -45,6 +46,7 @@ protected function setUp(): void

$kernel->addTestBundle(TwigBundle::class);
$kernel->addTestBundle(TranslationBundle::class);
$kernel->addTestBundle(WebProfilerBundle::class);

$this->testKernel = $kernel;

Expand Down
31 changes: 16 additions & 15 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,36 @@
],
"require": {
"php": "^8.1",
"symfony/framework-bundle": "^5.3 || ^6.0",
"symfony/validator": "^5.3 || ^6.0",
"symfony/translation": "^5.3 || ^6.0",
"symfony/twig-bundle": "^5.3 || ^6.0",
"symfony/finder": "^5.3 || ^6.0",
"symfony/intl": "^5.3 || ^6.0",
"symfony/console": "^5.3 || ^6.0",
"symfony/framework-bundle": "^5.3 || ^6.0 || ^7.0",
"symfony/validator": "^5.3 || ^6.0 || ^7.0",
"symfony/translation": "^5.3 || ^6.0 || ^7.0",
"symfony/twig-bundle": "^5.3 || ^6.0 || ^7.0",
"symfony/finder": "^5.3 || ^6.0 || ^7.0",
"symfony/intl": "^5.3 || ^6.0 || ^7.0",
"symfony/console": "^5.3 || ^6.0 || ^7.0",

"php-translation/symfony-storage": "^2.1",
"php-translation/extractor": "^2.0",
"nyholm/nsa": "^1.1",
"twig/twig": "^2.14.4 || ^3.3",
"symfony/asset": "^5.3 || ^6.0"
"symfony/asset": "^5.3 || ^6.0 || ^7.0"
},
"require-dev": {
"symfony/phpunit-bridge": "^5.2 || ^6.0",
"symfony/phpunit-bridge": "^5.2 || ^6.0 || ^7.0",
"bamarni/composer-bin-plugin": "^1.3",
"php-translation/translator": "^1.0",
"php-http/curl-client": "^1.7 || ^2.0",
"php-http/message": "^1.11",
"php-http/message-factory": "^1.0.2",
"symfony/twig-bridge": "^5.3 || ^6.0",
"symfony/dependency-injection": "^5.3 || ^6.0",
"symfony/web-profiler-bundle": "^5.3 || ^6.0",
"matthiasnoback/symfony-dependency-injection-test": "^4.1",
"matthiasnoback/symfony-config-test": "^4.1",
"symfony/twig-bridge": "^5.3 || ^6.0 || ^7.0",
"symfony/dependency-injection": "^5.3 || ^6.0 || ^7.0",
"symfony/web-profiler-bundle": "^5.3 || ^6.0 || ^7.0",
"matthiasnoback/symfony-dependency-injection-test": "^5.1",
"matthiasnoback/symfony-config-test": "^5.2",
"nyholm/psr7": "^1.1",
"nyholm/symfony-bundle-test": "^2.0",
"phpstan/phpstan": "^1.11"
"phpstan/phpstan": "^1.11",
"phpunit/phpunit": "^9.6"
},
"suggest": {
"php-http/httplug-bundle": "To easier configure your httplug clients."
Expand Down

0 comments on commit 0b3eaaa

Please sign in to comment.