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 2626 "codeception/module-rest" : " ^1.2" ,
2727 "consolidation/robo" : " ^1.2 || ^2.0" ,
2828 "phpmd/phpmd" : " @stable" ,
29- "phpstan/phpstan" : " ^0.12 " ,
29+ "phpstan/phpstan" : " ^1.8 " ,
3030 "phpunit/phpunit" : " ^8.5 || ^9.5" ,
3131 "squizlabs/php_codesniffer" : " ^3.0"
3232 },
Original file line number Diff line number Diff line change 99 <prototype namespace =" Magento\CloudDocker\" resource =" ../src/*" exclude =" ../src/{Test}" />
1010 <service id =" Magento\CloudDocker\App\Container" autowire =" false" />
1111 <service id =" Magento\CloudDocker\App\ContainerInterface" alias =" container" />
12+ <service id =" Psr\Container\ContainerInterface" alias =" container" />
1213 <service id =" Magento\CloudDocker\App\ContainerException" autowire =" false" />
1314 <service id =" Magento\CloudDocker\Compose\BuilderFactory" >
1415 <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
7373 return $ this ->serviceFactory ->create (
7474 $ this ->getServiceName (),
7575 $ config ->getServiceVersion ($ this ->getServiceName ()),
76- ! empty ( $ esEnvVars ) ? ['environment ' => $ esEnvVars] : [ ],
76+ ['environment ' => $ esEnvVars ],
7777 $ config ->getServiceImage ($ this ->getServiceName ()),
7878 $ config ->getCustomRegistry (),
7979 $ config ->getServiceImagePattern ($ this ->getServiceName ())
Original file line number Diff line number Diff line change @@ -84,7 +84,7 @@ public function getConfig(Config $config): array
8484 return $ this ->serviceFactory ->create (
8585 $ this ->getServiceName (),
8686 $ this ->getVersion ($ config ),
87- ! empty ( $ osEnvVars ) ? ['environment ' => $ osEnvVars] : [ ],
87+ ['environment ' => $ osEnvVars ],
8888 $ config ->getServiceImage ($ this ->getServiceName ()),
8989 $ config ->getCustomRegistry (),
9090 $ config ->getServiceImagePattern ($ this ->getServiceName ())
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ parameters:
22 level : 5
33 paths :
44 - ../../src
5- excludes_analyse :
5+ excludePaths :
66 - ../../src/Test/*
77 reportUnmatchedIgnoredErrors : false
88 ignoreErrors :
You can’t perform that action at this time.
0 commit comments