Skip to content

Commit decb1fb

Browse files
committed
Add support of php 8.4 to cloud-patches
1 parent 9a77a83 commit decb1fb

File tree

3 files changed

+335
-0
lines changed

3 files changed

+335
-0
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
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 php84
12+
*/
13+
class Acceptance84Cest extends AcceptanceCest
14+
{
15+
/**
16+
* @return array
17+
*/
18+
protected function patchesDataProvider(): array
19+
{
20+
return [
21+
['templateVersion' => '2.4.8', 'magentoVersion' => '2.4.8'],
22+
];
23+
}
24+
}

tests/unit/phpunit.xml.dist

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@
1111
<directory suffix="Test.php">../../src/Test/Unit</directory>
1212
</testsuite>
1313
</testsuites>
14+
<source>
15+
<include>
16+
<directory>../../src</directory>
17+
</include>
18+
</source>
1419

1520
<php>
1621
<ini name="date.timezone" value="UTC"/>

0 commit comments

Comments
 (0)