From 91b252d4ae968c5bd236b2f8cb5e91d84e88b1c6 Mon Sep 17 00:00:00 2001 From: Takieddine Messaoudi Date: Tue, 14 Jun 2022 15:17:35 +0100 Subject: [PATCH 1/2] feature: Upgrade symfony reqs --- composer.json | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/composer.json b/composer.json index fcdde70..a251adc 100644 --- a/composer.json +++ b/composer.json @@ -20,16 +20,16 @@ }, "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" + "symfony/framework-bundle": "~2.7|~3.0|~4.0|~5.0", + "symfony/dependency-injection": "~2.7|~3.0|~4.0|~5.0", + "symfony/yaml": "~2.7|~3.0|~4.0|~5.0", + "lightsaml/lightsaml": "^1.4|^2.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", + "symfony/browser-kit": "~2.7|~3.0|~4.0|~5.0", + "symfony/finder": "~2.7|~3.0|~4.0|~5.0", + "symfony/filesystem": "~2.7|~3.0|~4.0|~5.0", + "symfony/routing": "~2.7|~3.0|~4.0|~5.0", "phpunit/phpunit": "^5.7" }, "config": { From e00863f29c175e0b9136168f898c1101612eb1e7 Mon Sep 17 00:00:00 2001 From: Takieddine Messaoudi Date: Tue, 21 Jun 2022 14:23:55 +0100 Subject: [PATCH 2/2] feature: Upgraded lightsaml and sf --- .gitignore | 4 ++- CHANGELOG.md | 12 +++++++++ composer.json | 26 ++++++++++++------- .../DependencyInjection/Configuration.php | 4 +-- 4 files changed, 33 insertions(+), 13 deletions(-) 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 a251adc..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|~5.0", - "symfony/dependency-injection": "~2.7|~3.0|~4.0|~5.0", - "symfony/yaml": "~2.7|~3.0|~4.0|~5.0", - "lightsaml/lightsaml": "^1.4|^2.0" + "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|~5.0", - "symfony/finder": "~2.7|~3.0|~4.0|~5.0", - "symfony/filesystem": "~2.7|~3.0|~4.0|~5.0", - "symfony/routing": "~2.7|~3.0|~4.0|~5.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')