Skip to content

Commit 6aee55c

Browse files
committed
MCLOUD-11659: Add php 8.3 to magento-cloud-docker
1 parent e8a99f2 commit 6aee55c

File tree

5 files changed

+5
-4
lines changed

5 files changed

+5
-4
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
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
},

config/services.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
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">

src/Compose/ProductionBuilder/Service/ElasticSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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())

src/Compose/ProductionBuilder/Service/OpenSearch.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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())

tests/static/phpstan.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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:

0 commit comments

Comments
 (0)