Skip to content

Commit b8a1585

Browse files
authored
Allow Symfony 7 Components (Case 169220) (#17)
- Disallow PHP < 7.0 as we use return types from now.
1 parent ac42120 commit b8a1585

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
class Configuration implements ConfigurationInterface
1515
{
16-
public function getConfigTreeBuilder()
16+
public function getConfigTreeBuilder(): TreeBuilder
1717
{
1818
$treeBuilder = new TreeBuilder('webfactory_legacy_integration');
1919

composer.json

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,16 @@
2121
"doctrine/annotations": "~1.0",
2222
"psr/container": "^1.0",
2323
"psr/log": "^1.0",
24-
"symfony/config": "^4.3|^5.0|^6.0",
25-
"symfony/dependency-injection": "^4.3|^5.0|^6.0",
26-
"symfony/framework-bundle": "3.4.*|^4.0|^5.0|^6.0",
27-
"symfony/http-foundation": "^4.0|^5.0|^6.0",
28-
"symfony/http-kernel": "^4.3|^5.0|^6.0",
29-
"symfony/service-contracts": "^1.0|^2.0",
24+
"symfony/config": "^4.3|^5.0|^6.0|^7.0",
25+
"symfony/dependency-injection": "^4.3|^5.0|^6.0|^7.0",
26+
"symfony/framework-bundle": "3.4.*|^4.0|^5.0|^6.0|^7.0",
27+
"symfony/http-foundation": "^4.0|^5.0|^6.0|^7.0",
28+
"symfony/http-kernel": "^4.3|^5.0|^6.0|^7.0",
29+
"symfony/service-contracts": "^1.0|^2.0|^3.0",
3030
"twig/twig": "^1.34|^2.0|^3.0",
3131
"webfactory/dom": "~1.0, >= 1.0.15"
32+
},
33+
"conflict": {
34+
"php": "<7.0"
3235
}
33-
3436
}

0 commit comments

Comments
 (0)