Skip to content

Commit

Permalink
Add compatibility with Symfony 7
Browse files Browse the repository at this point in the history
  • Loading branch information
wouterj authored and scheb committed Nov 10, 2024
1 parent 8b66ade commit 9332029
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
"nikic/php-parser": "^4.0|^5.0",
"phpunit/php-text-template": "^1.2.1|^2.0|^3.0",
"psr/log": "^1.0|^2.0|^3.0",
"symfony/finder": "^3.4|^4.1|^5.0|^6.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0"
"symfony/finder": "^3.4|^4.1|^5.0|^6.0|^7.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"require-dev": {
"escapestudios/symfony2-coding-standard": "^3.9",
Expand Down
2 changes: 1 addition & 1 deletion src/analyzer/Config/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ class Configuration implements ConfigurationInterface
{
public const CONFIG_ROOT = '';

public function getConfigTreeBuilder()
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder(self::CONFIG_ROOT);
if (method_exists($treeBuilder, 'getRootNode')) {
Expand Down
8 changes: 4 additions & 4 deletions src/analyzer/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"nikic/php-parser": "^4.0|^5.0",
"phpunit/php-text-template": "^1.2.1|^2.0|^3.0",
"scheb/tombstone-core": "self.version",
"symfony/finder": "^3.4|^4.1|^5.0|^6.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0"
"symfony/finder": "^3.4|^4.1|^5.0|^6.0|^7.0",
"symfony/config": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/console": "^3.4|^4.0|^5.0|^6.0|^7.0",
"symfony/yaml": "^3.4|^4.0|^5.0|^6.0|^7.0"
},
"bin": [
"tombstone-analyzer"
Expand Down

0 comments on commit 9332029

Please sign in to comment.