diff --git a/.gitignore b/.gitignore index b62210a..c6ee057 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,6 @@ /*.phar /*.cache -tests/LightSaml/SymfonyBridgeBundle/Tests/Functional/cache/* \ No newline at end of file +tests/LightSaml/SymfonyBridgeBundle/Tests/Functional/cache/* + +/.idea \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 575482c..cf9a38a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,16 @@ # 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 diff --git a/composer.json b/composer.json index fcdde70..ad5311e 100644 --- a/composer.json +++ b/composer.json @@ -10,6 +10,12 @@ "email": "tmilos@gmail.com", "homepage": "http://github.com/tmilos", "role": "Developer" + }, + { + "name": "Takieddine Messaoudi", + "email": "tmessaoudi@smart-team.tn", + "homepage": "https://www.smart-team.tn", + "role": "Developer" } ], "autoload": { @@ -19,18 +25,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" diff --git a/src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php b/src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php index a4cc7d6..28b62f2 100644 --- a/src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php +++ b/src/LightSaml/SymfonyBridgeBundle/DependencyInjection/Configuration.php @@ -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')