Skip to content

Commit 3c3045b

Browse files
authored
Merge pull request #54 from person-unko/add-symfony-7-support
Add Symfony 7 support
2 parents fc61549 + 0458799 commit 3c3045b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ class Configuration implements ConfigurationInterface
2424
/**
2525
* {@inheritdoc}
2626
*/
27-
public function getConfigTreeBuilder()
27+
public function getConfigTreeBuilder(): TreeBuilder
2828
{
2929
if (method_exists(TreeBuilder::class, 'getRootNode')) {
3030
$treeBuilder = new TreeBuilder('florianv_swap');

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
},
1818
"require": {
1919
"php": "^7.1.3|^8.0",
20-
"symfony/framework-bundle": "~3.0|~4.0|~5.0|~6.0",
20+
"symfony/framework-bundle": "~3.0|~4.0|~5.0|~6.0|~7.0",
2121
"florianv/swap": "^4.0"
2222
},
2323
"require-dev": {
2424
"php-http/guzzle6-adapter": "^1.0",
2525
"php-http/message": "^1.7",
26-
"symfony/cache": "~3.0|~4.0|~5.0|~6.0",
26+
"symfony/cache": "~3.0|~4.0|~5.0|~6.0|~7.0",
2727
"phpunit/phpunit": "~5.7|~6.0|~7.0|~8.0|~9.0",
2828
"nyholm/psr7": "^1.1"
2929
},

0 commit comments

Comments
 (0)