Skip to content

Commit 4fb8e8f

Browse files
authored
ACP2E-3632: Add support of php 8.4 to QPT (#182)
* ACP2E-3632: Add support of php 8.4 to QPT * ACP2E-3632: Add support of php 8.4 to QPT
1 parent bc2723e commit 4fb8e8f

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
}
1212
},
1313
"require": {
14-
"php": "^7.2 || ^8.0",
14+
"php": "^8.0",
1515
"ext-json": "*",
1616
"magento/magento-cloud-patches": "^1.0.11"
1717
},
@@ -22,7 +22,7 @@
2222
"codeception/module-phpbrowser": "^1.0 || ^3.0",
2323
"codeception/module-rest": "^1.2 || ^3.0",
2424
"consolidation/robo": "^1.2 || ^2.0 || ^3.0",
25-
"phpunit/phpunit": "^8.5 || ^9.5",
25+
"phpunit/phpunit": "^10",
2626
"composer/semver": "@stable",
2727
"phpmd/phpmd": "@stable",
2828
"squizlabs/php_codesniffer": "^3.0"

src/Test/Integrity/Testsuite/CategoriesIntegrityTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ public function testCategoriesIntegrity()
6060

6161
if (!empty($errors)) {
6262
$this->fail(implode(PHP_EOL, $errors));
63+
} else {
64+
$this->assertTrue(true);
6365
}
6466
}
6567

src/Test/Integrity/Testsuite/MetadataTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ public function testLogPatterns()
7878

7979
if (!empty($errors)) {
8080
$this->fail(implode(PHP_EOL, $errors));
81+
} else {
82+
$this->assertTrue(true);
8183
}
8284
}
8385

tests/integrity/phpunit.xml.dist

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22

33
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/6.1/phpunit.xsd"
4+
xsi:noNamespaceSchemaLocation="http://schema.phpunit.de/10.5/phpunit.xsd"
55
colors="true"
66
columns="max"
77
bootstrap="../../autoload.php"
8-
beStrictAboutTestsThatDoNotTestAnything="false"
98
>
109
<testsuites>
1110
<testsuite name="Integrity">

0 commit comments

Comments
 (0)