Skip to content

Commit

Permalink
Merge pull request #5 from pixelfederation/upgrade-for-symfony-5
Browse files Browse the repository at this point in the history
Upgrade for symfony and odesk/phystrix
  • Loading branch information
Martin Fris authored Sep 2, 2020
2 parents 3e7d74f + d8015f8 commit 3c32a51
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ class Configuration implements ConfigurationInterface
{
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('phystrix');
$treeBuilder = new TreeBuilder('phystrix');
$rootNode = $treeBuilder->getRootNode();

$rootNode
->useAttributeAsKey('name')
Expand Down
10 changes: 5 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
},
"require": {
"php": ">=7.0",
"odesk/phystrix": "~1.0",
"symfony/http-kernel": "~2.5|~3.0|~4.0",
"symfony/dependency-injection": "~2.5|~3.0|~4.0",
"symfony/config": "~2.5|~3.0|~4.0"
"odesk/phystrix": "^1.0|^2.0",
"symfony/http-kernel": "~4.4|~5.0",
"symfony/dependency-injection": "~4.4|~5.0",
"symfony/config": "~4.4|~5.0"
},
"require-dev": {
"phpunit/phpunit": "~4.2"
"phpunit/phpunit": "^9.2"
}
}

0 comments on commit 3c32a51

Please sign in to comment.