Skip to content

Commit 2211da2

Browse files
committed
adds support for symfony 5 / 6
1 parent 8c5613d commit 2211da2

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

composer.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,18 @@
1919
}
2020
},
2121
"require": {
22-
"php": ">=5.5.1",
23-
"symfony/framework-bundle": "~2.7|~3.0|~4.0",
24-
"symfony/dependency-injection": "~2.7|~3.0|~4.0",
25-
"symfony/yaml": "~2.7|~3.0|~4.0",
26-
"lightsaml/lightsaml": "~1.1"
22+
"php": ">=7.2",
23+
"symfony/framework-bundle": "~5.0|~6.0",
24+
"symfony/dependency-injection": "~5.0|~6.0",
25+
"symfony/yaml": "~5.0|~6.0",
26+
"litesaml/lightsaml": "^3.0"
2727
},
2828
"require-dev": {
29-
"symfony/browser-kit": "~2.7|~3.0|~4.0",
30-
"symfony/finder": "~2.7|~3.0|~4.0",
31-
"symfony/filesystem": "~2.7|~3.0|~4.0",
32-
"symfony/routing": "~2.7|~3.0|~4.0",
33-
"phpunit/phpunit": "^5.7"
29+
"symfony/browser-kit": "~5.0|~6.0",
30+
"symfony/finder": "~5.0|~6.0",
31+
"symfony/filesystem": "~5.0|~6.0",
32+
"symfony/routing": "~5.0|~6.0",
33+
"phpunit/phpunit": "~8.4|~9.5"
3434
},
3535
"config": {
3636
"bin-dir": "bin"

src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ class Configuration implements ConfigurationInterface
2323
*/
2424
public function getConfigTreeBuilder()
2525
{
26-
$treeBuilder = new TreeBuilder();
27-
$root = $treeBuilder->root('light_saml_symfony_bridge');
26+
$treeBuilder = new TreeBuilder('light_saml_symfony_bridge');
27+
$root = $treeBuilder->getRootNode();
2828

2929
$root->children()
3030
->arrayNode('own')

0 commit comments

Comments
 (0)