Skip to content

Commit 210ccdf

Browse files
authored
Merge pull request #94 from magento-commerce/develop
MCLOUD-12025 Cloud Tools Release
2 parents 4f857ef + 1275c04 commit 210ccdf

File tree

6 files changed

+33
-9
lines changed

6 files changed

+33
-9
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"symfony/process": "^2.1||^4.1||^5.0||^6.0",
2222
"symfony/proxy-manager-bridge": "^3.3||^4.3||^5.0||^6.0",
2323
"symfony/yaml": "^3.3||^4.0||^5.0||^6.0",
24-
"monolog/monolog": "^1.25||^2.3",
24+
"monolog/monolog": "^1.25||^2.3||^2.7",
2525
"magento/quality-patches": "^1.1.0"
2626
},
2727
"require-dev": {

src/Application.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(ContainerInterface $container)
3737
/**
3838
* @inheritdoc
3939
*/
40-
protected function getDefaultCommands()
40+
protected function getDefaultCommands(): array
4141
{
4242
return array_merge(parent::getDefaultCommands(), [
4343
$this->container->get(Command\Apply::class),

src/ApplicationEce.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function __construct(ContainerInterface $container)
3737
/**
3838
* @inheritdoc
3939
*/
40-
protected function getDefaultCommands()
40+
protected function getDefaultCommands(): array
4141
{
4242
return array_merge(parent::getDefaultCommands(), [
4343
$this->container->get(Command\Ece\Apply::class),
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
declare(strict_types=1);
7+
8+
namespace Magento\CloudPatches\Test\Functional\Acceptance;
9+
10+
/**
11+
* @group php82
12+
*/
13+
class Acceptance82Cest extends AcceptanceCest
14+
{
15+
/**
16+
* @return array
17+
*/
18+
protected function patchesDataProvider(): array
19+
{
20+
return [
21+
['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6'],
22+
['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6-p1'],
23+
['templateVersion' => '2.4.7-beta', 'magentoVersion' => null],
24+
];
25+
}
26+
}

src/Test/Functional/Acceptance/AcceptanceCest.php

+2-4
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
namespace Magento\CloudPatches\Test\Functional\Acceptance;
99

1010
/**
11-
* @group php82
11+
* @group php83
1212
*/
1313
class AcceptanceCest extends AbstractCest
1414
{
@@ -49,9 +49,7 @@ public function testPatches(\CliTester $I, \Codeception\Example $data): void
4949
protected function patchesDataProvider(): array
5050
{
5151
return [
52-
['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6'],
53-
['templateVersion' => '2.4.6', 'magentoVersion' => '2.4.6-p1'],
54-
['templateVersion' => '2.4.7-beta', 'magentoVersion' => null],
52+
['templateVersion' => '2.4.7-beta-test', 'magentoVersion' => '2.4.7-beta401'],
5553
];
5654
}
5755
}

src/Test/Functional/Acceptance/PatchApplierCest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
use Magento\CloudDocker\Test\Functional\Codeception\Docker;
1111

1212
/**
13-
* @group php82
13+
* @group php83
1414
*/
1515
class PatchApplierCest extends AbstractCest
1616
{
@@ -21,7 +21,7 @@ public function _before(\CliTester $I): void
2121
{
2222
parent::_before($I);
2323

24-
$this->prepareTemplate($I, '2.4.6');
24+
$this->prepareTemplate($I, '2.4.7-beta-test');
2525
$I->copyFileToWorkDir('files/debug_logging/.magento.env.yaml', '.magento.env.yaml');
2626
}
2727

0 commit comments

Comments
 (0)