diff --git a/composer.json b/composer.json index 1a556a4..5e02d02 100644 --- a/composer.json +++ b/composer.json @@ -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": "^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", diff --git a/src/analyzer/Config/Configuration.php b/src/analyzer/Config/Configuration.php index 008f2c9..5a8e883 100644 --- a/src/analyzer/Config/Configuration.php +++ b/src/analyzer/Config/Configuration.php @@ -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')) { diff --git a/src/analyzer/composer.json b/src/analyzer/composer.json index 8b30ae7..1cb6eec 100644 --- a/src/analyzer/composer.json +++ b/src/analyzer/composer.json @@ -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": "^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"