Skip to content

Commit

Permalink
Merge pull request #7 from lucassabreu/fix-deprecations
Browse files Browse the repository at this point in the history
(fix): remove depretations and symfony 5 support
  • Loading branch information
lucassabreu authored Dec 5, 2020
2 parents 09adf73 + 86b120c commit b6dcdf3
Show file tree
Hide file tree
Showing 3 changed files with 785 additions and 560 deletions.
6 changes: 3 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('simonetti_ping');
$treeBuilder = new TreeBuilder('simonetti_ping');
$rootNode = $treeBuilder->getRootNode();
$rootNode
->children()
->scalarNode('lock_name')
Expand All @@ -20,4 +20,4 @@ public function getConfigTreeBuilder()
return $treeBuilder;
}

}
}
19 changes: 10 additions & 9 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,19 @@
],
"require": {
"php": "^7.0.0|^8",
"symfony/config": "^4",
"symfony/console": "^4",
"symfony/framework-bundle": "^4",
"symfony/http-foundation": "^4",
"symfony/http-kernel": "^4",
"symfony/lock": "^4"
"symfony/config": "^3|^4|^5",
"symfony/console": "^3|^4|^5",
"symfony/framework-bundle": "^3|^4|^5",
"symfony/http-foundation": "^3|^4|^5",
"symfony/http-kernel": "^3|^4|^5",
"symfony/lock": "^3|^4|^5"
},
"require-dev": {
"psr/log": "~1.0",
"symfony/phpunit-bridge": "^3.4",
"symfony/var-dumper": "^3.4",
"symfony/yaml": "^3.4"
"symfony/debug": "*",
"symfony/phpunit-bridge": "*",
"symfony/var-dumper": "*",
"symfony/yaml": "*"
},
"config": {
"sort-packages": true
Expand Down
Loading

0 comments on commit b6dcdf3

Please sign in to comment.