Skip to content

Commit d6c32a9

Browse files
committed
chore: compatibility with symfony 7 (#FRAM-176)
1 parent 349df36 commit d6c32a9

2 files changed

Lines changed: 9 additions & 10 deletions

File tree

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public function __construct($debug = false)
2424
$this->debug = (bool) $debug;
2525
}
2626

27-
public function getConfigTreeBuilder()
27+
public function getConfigTreeBuilder(): TreeBuilder
2828
{
2929
$treeBuilder = new TreeBuilder('bdf_queue');
3030
$treeBuilder->getRootNode()

composer.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,21 @@
1313
"require": {
1414
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
1515
"b2pweb/bdf-queue": "~1.4",
16-
"symfony/config": "^6.0",
17-
"symfony/dependency-injection": "^6.0",
18-
"symfony/expression-language": "^6.0",
19-
"symfony/framework-bundle": "^6.0"
16+
"symfony/config": "^6.0|~7.0",
17+
"symfony/dependency-injection": "^6.0|~7.0",
18+
"symfony/expression-language": "^6.0|~7.0",
19+
"symfony/framework-bundle": "^6.0|~7.0"
2020
},
2121
"require-dev": {
2222
"phpunit/phpunit": "~9.0",
23-
"symfony/phpunit-bridge": "^6.0",
24-
"symfony/yaml": "^6.0",
25-
"symfony/console": "^6.0",
23+
"symfony/phpunit-bridge": "^6.0|~7.0",
24+
"symfony/yaml": "^6.0|~7.0",
25+
"symfony/console": "^6.0|~7.0",
2626
"b2pweb/bdf-prime-bundle": "~1.2",
2727
"friendsofphp/php-cs-fixer": "~3.0"
2828
},
2929
"conflict": {
30-
"doctrine/instantiator": "~2.0",
31-
"doctrine/doctrine-bundle": ">=2.9"
30+
"doctrine/instantiator": "~2.0"
3231
},
3332
"autoload": {
3433
"psr-4": { "Bdf\\QueueBundle\\": "" },

0 commit comments

Comments
 (0)