Skip to content

Commit 022e7d0

Browse files
MCLOUD-13147: Added PHP8.4 deprecation fixes for test
1 parent eedbfcc commit 022e7d0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Test/Integration/BuildComposeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function testBuild(string $directory, array $options): void
7171
*
7272
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
7373
*/
74-
public function buildDataProvider(): array
74+
public static function buildDataProvider(): array
7575
{
7676
return [
7777
'cloud-base' => [

src/Test/Integration/BuildCustomComposeTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function testBuild(string $directory, array $arguments): void
6969
*
7070
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
7171
*/
72-
public function buildDataProvider(): array
72+
public static function buildDataProvider(): array
7373
{
7474
return [
7575
'cloud-base' => [

tests/integration/Container.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Container extends \Magento\CloudDocker\App\Container
2929
public static function getInstance(
3030
string $root,
3131
string $magentoBasePath,
32-
string $toolsBasePath = null
32+
?string $toolsBasePath = null
3333
): self {
3434
$key = crc32($root . $magentoBasePath . $toolsBasePath);
3535

0 commit comments

Comments
 (0)