Skip to content

Commit

Permalink
Merge pull request #4 from moufmouf/symfony5
Browse files Browse the repository at this point in the history
Adding compatibility with Symfony 5
  • Loading branch information
moufmouf authored Nov 25, 2019
2 parents 32dd838 + f602efa commit e4f6c91
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 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('tdbm');
$treeBuilder = new TreeBuilder('tdbm');
$rootNode = $treeBuilder->getRootNode();

$rootNode
->children()
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@
"require" : {
"php" : ">=7.1",
"thecodingmachine/tdbm" : "~5.1.0",
"doctrine/doctrine-bundle": "^1.9",
"doctrine/doctrine-bundle": "^1.9 || ^2",
"doctrine/orm": "^1 || ^2"
},
"require-dev": {
"roave/security-advisories": "dev-master",
"symfony/security-bundle": "^4.1.9",
"symfony/yaml": "^4.1.9",
"symfony/security-bundle": "^4.1.9 || ^5",
"symfony/yaml": "^4.1.9 || ^5",
"phpunit/phpunit": "^7.5.6",
"phpstan/phpstan": "^0.11.4"
"phpstan/phpstan-shim": "^0.11.4"
},
"scripts": {
"phpstan": "phpstan analyse TdbmBundle.php DependencyInjection/ Resources/ -c phpstan.neon --level=7 --no-progress"
Expand Down

0 comments on commit e4f6c91

Please sign in to comment.