File tree Expand file tree Collapse file tree 5 files changed +14
-8
lines changed
tests/Fixtures/ConfigurationBundle/DependencyInjection/Compiler Expand file tree Collapse file tree 5 files changed +14
-8
lines changed Original file line number Diff line number Diff line change 26
26
- ' 6.3.*'
27
27
- ' 6.4.*'
28
28
- ' 7.0.*'
29
+ include :
30
+ - php : ' 8.4'
31
+ symfony : ' 8.0.*'
29
32
exclude :
30
33
- php : ' 7.2'
31
34
symfony : ' 6.0.*'
Original file line number Diff line number Diff line change 14
14
],
15
15
"require" : {
16
16
"php" : " ^7.2.5 || ^8.0" ,
17
- "symfony/dependency-injection" : " ^5.4 || ^6.0 || ^7.0" ,
18
- "symfony/filesystem" : " ^5.4 || ^6.0 || ^7.0" ,
19
- "symfony/framework-bundle" : " ^5.4 || ^6.0 || ^7.0" ,
20
- "symfony/http-kernel" : " ^5.4 || ^6.0 || ^7.0" ,
21
- "symfony/yaml" : " ^5.4 || ^6.0 || ^7.0"
17
+ "symfony/dependency-injection" : " ^5.4 || ^6.0 || ^7.0 || ^8.0 " ,
18
+ "symfony/filesystem" : " ^5.4 || ^6.0 || ^7.0 || ^8.0 " ,
19
+ "symfony/framework-bundle" : " ^5.4 || ^6.0 || ^7.0 || ^8.0 " ,
20
+ "symfony/http-kernel" : " ^5.4 || ^6.0 || ^7.0 || ^8.0 " ,
21
+ "symfony/yaml" : " ^5.4 || ^6.0 || ^7.0 || ^8.0 "
22
22
},
23
23
"require-dev" : {
24
24
"phpunit/phpunit" : " ^8.5 || ^9.4"
40
40
},
41
41
"extra" : {
42
42
"branch-alias" : {
43
- "dev-master" : " 2.0 -dev"
43
+ "dev-master" : " 3.x -dev"
44
44
}
45
45
},
46
46
"scripts" : {
Original file line number Diff line number Diff line change 1
1
<?php
2
2
3
+ if (!method_exists ('Symfony\Bundle\FrameworkBundle\Console\Application ' , 'add ' )) {
4
+ return ; // Symfony 8+
5
+ }
3
6
// If annotations aren't installed, disable it.
4
7
if (!class_exists ('Doctrine\Common\Annotations\Annotation ' )) {
5
8
$ container ->loadFromExtension ('framework ' , [
Original file line number Diff line number Diff line change 7
7
8
8
class DeRegisterSomethingPass implements CompilerPassInterface
9
9
{
10
- public function process (ContainerBuilder $ container )
10
+ public function process (ContainerBuilder $ container ): void
11
11
{
12
12
if ($ container ->hasDefinition ('something ' )) {
13
13
$ container ->removeDefinition ('something ' );
Original file line number Diff line number Diff line change 8
8
9
9
class RegisterSomethingPass implements CompilerPassInterface
10
10
{
11
- public function process (ContainerBuilder $ container )
11
+ public function process (ContainerBuilder $ container ): void
12
12
{
13
13
if ($ container ->hasDefinition ('something ' )) {
14
14
return ;
You can’t perform that action at this time.
0 commit comments