Skip to content

Commit

Permalink
Add support for Symfony 5/6
Browse files Browse the repository at this point in the history
  • Loading branch information
dimegalev committed Oct 2, 2023
1 parent 8c5613d commit f29f66c
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 12 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

[unreleased]
## [2.0.0] - 2022-06-21
### Added
- Symfony 5.0/6.0 support

### Changed
- PHP minimum version to 7.2.5
- lightsaml/lightsaml to litesaml/lightsaml
- src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php (fixed node declaration)

### Removed
- Support for symfony <= 4.x

## 1.3.0 2018-05-23

* profile services made public, so they are not automatically removed and that they can be get from container
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@
}
},
"require": {
"php": ">=5.5.1",
"symfony/framework-bundle": "~2.7|~3.0|~4.0",
"symfony/dependency-injection": "~2.7|~3.0|~4.0",
"symfony/yaml": "~2.7|~3.0|~4.0",
"lightsaml/lightsaml": "~1.1"
"php": ">=7.2.5",
"symfony/framework-bundle": "~5.0|~6.0",
"symfony/dependency-injection": "~5.0|~6.0",
"symfony/yaml": "~5.0|~6.0",
"litesaml/lightsaml": "~3.0"
},
"require-dev": {
"symfony/browser-kit": "~2.7|~3.0|~4.0",
"symfony/finder": "~2.7|~3.0|~4.0",
"symfony/filesystem": "~2.7|~3.0|~4.0",
"symfony/routing": "~2.7|~3.0|~4.0",
"phpunit/phpunit": "^5.7"
"symfony/browser-kit": "~5.0|~6.0",
"symfony/finder": "~5.0|~6.0",
"symfony/filesystem": "~5.0|~6.0",
"symfony/routing": "~5.0|~6.0",
"phpunit/phpunit": "~8.4|~9.5"
},
"config": {
"bin-dir": "bin"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$root = $treeBuilder->root('light_saml_symfony_bridge');
$treeBuilder = new TreeBuilder('light_saml_symfony_bridge');
$root = $treeBuilder->getRootNode();

$root->children()
->arrayNode('own')
Expand Down

0 comments on commit f29f66c

Please sign in to comment.