File tree Expand file tree Collapse file tree 4 files changed +4
-16
lines changed
tests/Fixtures/ConfigurationBundle/DependencyInjection Expand file tree Collapse file tree 4 files changed +4
-16
lines changed Original file line number Diff line number Diff line change 17
17
- ' lowest'
18
18
symfony :
19
19
- ' 4.4.*'
20
- - ' 5.0 .*'
20
+ - ' 5.3 .*'
21
21
- ' 6.0.*'
22
22
exclude :
23
23
- php : ' 7.2'
33
33
symfony : ' 4.4.*'
34
34
- php : ' 7.4'
35
35
symfony : ' 6.0.*'
36
- - php : ' 8.0'
37
- symfony : ' 3.4.*'
38
36
- php : ' 8.0'
39
37
symfony : ' 4.4.*'
40
38
fail-fast : false
Original file line number Diff line number Diff line change @@ -25,11 +25,6 @@ parameters:
25
25
count : 1
26
26
path : src/BaseBundleTestCase.php
27
27
28
- -
29
- message : " #^Comparison operation \"\\ >\\ =\" between 50306 and 30300 is always true\\ .$#"
30
- count : 1
31
- path : src/config/parameters.php
32
-
33
28
-
34
29
message : " #^Comparison operation \"\\ >\\ =\" between 50306 and 50100 is always true\\ .$#"
35
30
count : 1
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
- // If sf 3.3 and no annotations is installed, then disable it.
4
- if (\ Symfony \ Component \ HttpKernel \Kernel:: VERSION_ID >= 30300 && !class_exists ('Doctrine\Common\Annotations\Annotation ' )) {
3
+ // If annotations aren't installed, disable it.
4
+ if (!class_exists ('Doctrine\Common\Annotations\Annotation ' )) {
5
5
$ container ->loadFromExtension ('framework ' , [
6
6
'annotations ' => ['enabled ' => false ],
7
7
]);
Original file line number Diff line number Diff line change @@ -13,12 +13,7 @@ final class Configuration implements ConfigurationInterface
13
13
public function getConfigTreeBuilder ()
14
14
{
15
15
$ tree = new TreeBuilder ('configuration ' );
16
-
17
- if (method_exists ($ tree , 'getRootNode ' )) {
18
- $ root = $ tree ->getRootNode ();
19
- } else {
20
- $ root = $ tree ->root ('configuration ' );
21
- }
16
+ $ root = $ tree ->getRootNode ();
22
17
23
18
$ root
24
19
->children ()
You can’t perform that action at this time.
0 commit comments