Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added support to symfony 5/6 #33

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@
/*.phar
/*.cache

tests/LightSaml/SymfonyBridgeBundle/Tests/Functional/cache/*
tests/LightSaml/SymfonyBridgeBundle/Tests/Functional/cache/*

/.idea
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand Down
26 changes: 16 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand All @@ -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"
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