Skip to content

Commit

Permalink
symfony 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan RICHTER committed Jan 26, 2020
1 parent d691bc2 commit 97d4caf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('star_rating');
$treeBuilder = new TreeBuilder('star_rating');
$rootNode = $treeBuilder->buildTree();

// Here you should define the parameters that are allowed to
// configure your bundle. See the documentation linked above for
// more information on that topic.

return $treeBuilder;
}
}
}
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"twig/twig": "^2.4"
},
"require-dev": {
"symfony/framework-bundle": ">=4.0"
"symfony/framework-bundle": ">=5.0"
},
"autoload": {
"psr-4": { "Brokoskokoli\\StarRatingBundle\\": "" }
Expand Down

0 comments on commit 97d4caf

Please sign in to comment.