Skip to content

Commit

Permalink
Merge pull request #6 from wallabag/support-symfony-5
Browse files Browse the repository at this point in the history
Support Symfony 5
  • Loading branch information
yguedidi authored Dec 24, 2023
2 parents c32a948 + ebdf91d commit 8dac52d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
matrix:
php: [7.4, 8.0, 8.1, 8.2]
symfony-version: [4.4.*]
symfony-version: [4.4.*, 5.4.*]
composer-flags: ['', '--prefer-lowest']
fail-fast: true
steps:
Expand Down
4 changes: 2 additions & 2 deletions DependencyInjection/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ public function __construct(bool $debug)

public function getConfigTreeBuilder()
{
$treeBuilder = new TreeBuilder();
$rootNode = $treeBuilder->root('rulerz');
$treeBuilder = new TreeBuilder('rulerz');
$rootNode = $treeBuilder->getRootNode();

$this->addCacheConfig($rootNode);
$this->addDebugConfig($rootNode);
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"php": ">=7.4",
"wallabag/rulerz": "dev-master",
"wallabag/rulerz-bridge": "dev-master",
"symfony/framework-bundle": "^4.4"
"symfony/framework-bundle": "^4.4|^5.4"
},
"require-dev": {
"phpunit/phpunit": "^8.5.16",
"symfony/phpunit-bridge": "^4.4",
"symfony/phpunit-bridge": "^4.4|^5.4",
"mikey179/vfsstream": "^1.6.11",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"liip/rmt": "^1.2"
Expand Down

0 comments on commit 8dac52d

Please sign in to comment.