Skip to content

Commit 2b17326

Browse files
committed
minor #196 Update dependency constraints in order to allow some major versions (phansys)
This PR was merged into the 3.x branch. Discussion ---------- |Q |A | |--- |---| |Branch |3.x| |Bug fix? |no | |New feature? |no | |BC breaks? |no | |Deprecations?|no | |Tests pass? |yes| |Fixed tickets|n/a| |License |MIT| |Doc PR |n/a| Related to #157. Commits ------- fefb62e Update dependency constraints in order to allow some major versions
2 parents 035360e + fefb62e commit 2b17326

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

DependencyInjection/Configuration.php

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,14 +31,9 @@ class Configuration implements ConfigurationInterface
3131
public function getConfigTreeBuilder()
3232
{
3333
$treeBuilder = new TreeBuilder('hackzilla_ticket');
34-
if (method_exists($treeBuilder, 'getRootNode')) {
35-
$rootNode = $treeBuilder->getRootNode();
36-
} else {
37-
// BC layer for symfony/config 4.1 and older
38-
$rootNode = $treeBuilder->root('hackzilla_ticket');
39-
}
4034

41-
$rootNode
35+
$treeBuilder
36+
->getRootNode()
4237
->children()
4338
->enumNode('translation_domain')
4439
->values(['HackzillaTicketBundle', 'messages'])

composer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,20 @@
3131
"doctrine/orm": "^2.4.8",
3232
"doctrine/persistence": "^1.3 || ^2.1",
3333
"knplabs/knp-paginator-bundle": "^4.0 || ^5.0",
34-
"symfony/config": "^4.4",
34+
"symfony/config": "^4.4 || ^5.2",
3535
"symfony/console": "^4.4",
36-
"symfony/dependency-injection": "^4.4",
36+
"symfony/dependency-injection": "^4.4 || ^5.2",
3737
"symfony/event-dispatcher": "^4.4",
38-
"symfony/form": "^4.4",
38+
"symfony/form": "^4.4 || ^5.2",
3939
"symfony/framework-bundle": "^4.4",
4040
"symfony/http-foundation": "^4.4 || ^5.1",
4141
"symfony/http-kernel": "^4.4",
4242
"symfony/options-resolver": "^4.4 || ^5.1",
43+
"symfony/routing": "^4.4 || ^5.2",
4344
"symfony/security-bundle": "^4.4",
4445
"symfony/translation": "^4.4",
4546
"symfony/twig-bundle": "^4.4",
46-
"symfony/validator": "^4.4",
47+
"symfony/validator": "^4.4 || ^5.2",
4748
"symfony/yaml": "^4.4 || ^5.1",
4849
"twig/twig": "^2.12.1"
4950
},

0 commit comments

Comments
 (0)