Skip to content

Commit

Permalink
Make bundle compatible with Symfony 5 (#14)
Browse files Browse the repository at this point in the history
* make bundle compatible with Symfony5

* raise minimum symfony version
  • Loading branch information
juliusstoerrle authored and Minishlink committed Dec 11, 2019
1 parent 0c3b1fe commit c6018b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
5 changes: 2 additions & 3 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,9 @@ class Configuration implements ConfigurationInterface
*/
public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('minishlink_web_push');
$treeBuilder = new TreeBuilder('minishlink_web_push');

$rootNode
$treeBuilder->getRootNode()
->children()
->arrayNode('api_keys')
->addDefaultsIfNotSet()
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"minishlink/web-push": "^4.0.0"
},
"require-dev": {
"symfony/framework-bundle": "^3.0|^4.0",
"symfony/framework-bundle": "^4.2|^5.0",
"phpunit/phpunit": "^7.1",
"symfony/phpunit-bridge": "^4.0",
"symfony/phpunit-bridge": "^5.0",
"matthiasnoback/symfony-dependency-injection-test": "^3.0"
},
"target-dir": "Minishlink/Bundle/WebPushBundle",
Expand Down

0 comments on commit c6018b4

Please sign in to comment.