Skip to content

Commit 9d2da33

Browse files
committed
AC-13306::Adobe Commerce 2.4.8 core code is compatible with PHP 8.4
1 parent d2a8213 commit 9d2da33

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/code/Magento/Catalog/Model/CategoryList.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ private function getCollectionProcessor()
105105
{
106106
if (!$this->collectionProcessor) {
107107
$this->collectionProcessor = \Magento\Framework\App\ObjectManager::getInstance()->get(
108-
\Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor::class
108+
'\Magento\Eav\Model\Api\SearchCriteria\CollectionProcessor'
109109
);
110110
}
111111
return $this->collectionProcessor;

dev/tests/static/framework/Magento/TestFramework/CodingStandard/Tool/CodeMessDetector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function canRun()
5252
public function run(array $whiteList)
5353
{
5454
if (empty($whiteList)) {
55-
return \PHPMD\TextUI\Command::EXIT_SUCCESS;
55+
return \PHPMD\TextUI\ExitCode::Success;
5656
}
5757

5858
$commandLineArguments = [

dev/tests/static/testsuite/Magento/Test/Php/LiveCodeTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
use Magento\TestFramework\CodingStandard\Tool\PhpStan;
1717
use Magento\TestFramework\Utility\AddedFiles;
1818
use Magento\TestFramework\Utility\FilesSearch;
19-
use PHPMD\TextUI\Command;
19+
use PHPMD\TextUI\ExitCode;
2020

2121
/**
2222
* Set of tests for static code analysis, e.g. code style, code complexity, copy paste detecting, etc.
@@ -289,7 +289,7 @@ function ($path) use ($ignoreListPattern) {
289289
}
290290

291291
$this->assertEquals(
292-
Command::EXIT_SUCCESS,
292+
ExitCode::Success,
293293
$result,
294294
"PHP Code Mess has found error(s):" . PHP_EOL . $output
295295
);

0 commit comments

Comments
 (0)