File tree Expand file tree Collapse file tree 5 files changed +5
-4
lines changed
src/Compose/ProductionBuilder/Service Expand file tree Collapse file tree 5 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 26
26
"codeception/module-rest" : " ^1.2" ,
27
27
"consolidation/robo" : " ^1.2 || ^2.0" ,
28
28
"phpmd/phpmd" : " @stable" ,
29
- "phpstan/phpstan" : " ^0.12 " ,
29
+ "phpstan/phpstan" : " ^1.8 " ,
30
30
"phpunit/phpunit" : " ^8.5 || ^9.5" ,
31
31
"squizlabs/php_codesniffer" : " ^3.0"
32
32
},
Original file line number Diff line number Diff line change 9
9
<prototype namespace =" Magento\CloudDocker\" resource =" ../src/*" exclude =" ../src/{Test}" />
10
10
<service id =" Magento\CloudDocker\App\Container" autowire =" false" />
11
11
<service id =" Magento\CloudDocker\App\ContainerInterface" alias =" container" />
12
+ <service id =" Psr\Container\ContainerInterface" alias =" container" />
12
13
<service id =" Magento\CloudDocker\App\ContainerException" autowire =" false" />
13
14
<service id =" Magento\CloudDocker\Compose\BuilderFactory" >
14
15
<argument key =" $strategies" type =" collection" >
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ public function getConfig(Config $config): array
73
73
return $ this ->serviceFactory ->create (
74
74
$ this ->getServiceName (),
75
75
$ config ->getServiceVersion ($ this ->getServiceName ()),
76
- ! empty ( $ esEnvVars ) ? ['environment ' => $ esEnvVars] : [ ],
76
+ ['environment ' => $ esEnvVars ],
77
77
$ config ->getServiceImage ($ this ->getServiceName ()),
78
78
$ config ->getCustomRegistry (),
79
79
$ config ->getServiceImagePattern ($ this ->getServiceName ())
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public function getConfig(Config $config): array
84
84
return $ this ->serviceFactory ->create (
85
85
$ this ->getServiceName (),
86
86
$ this ->getVersion ($ config ),
87
- ! empty ( $ osEnvVars ) ? ['environment ' => $ osEnvVars] : [ ],
87
+ ['environment ' => $ osEnvVars ],
88
88
$ config ->getServiceImage ($ this ->getServiceName ()),
89
89
$ config ->getCustomRegistry (),
90
90
$ config ->getServiceImagePattern ($ this ->getServiceName ())
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ parameters:
2
2
level : 5
3
3
paths :
4
4
- ../../src
5
- excludes_analyse :
5
+ excludePaths :
6
6
- ../../src/Test/*
7
7
reportUnmatchedIgnoredErrors : false
8
8
ignoreErrors :
You can’t perform that action at this time.
0 commit comments