Skip to content

Commit fb90b04

Browse files
committed
AC-8834::2.4.7-Beta1-Composer Integration Test Failures-PHP 8.2-fixes for static test failures
1 parent 16d2c9e commit fb90b04

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Model/System/Config/Backend/Catalog/Url/Rewrite/SuffixTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
* @magentoAppArea adminhtml
3333
* @magentoDbIsolation enabled
3434
* @magentoAppIsolation enabled
35+
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
3536
*/
3637
class SuffixTest extends TestCase
3738
{

dev/tests/integration/testsuite/Magento/Framework/ObjectManager/ObjectManagerTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,25 +12,25 @@ class ObjectManagerTest extends \PHPUnit\Framework\TestCase
1212
/**#@+
1313
* Test class with type error
1414
*/
15-
const TEST_CLASS_WITH_TYPE_ERROR = \Magento\Framework\ObjectManager\TestAsset\ConstructorWithTypeError::class;
15+
public const TEST_CLASS_WITH_TYPE_ERROR = \Magento\Framework\ObjectManager\TestAsset\ConstructorWithTypeError::class;
1616

1717
/**#@+
1818
* Test classes for basic instantiation
1919
*/
20-
const TEST_CLASS = \Magento\Framework\ObjectManager\TestAsset\Basic::class;
20+
public const TEST_CLASS = \Magento\Framework\ObjectManager\TestAsset\Basic::class;
2121

22-
const TEST_CLASS_INJECTION = \Magento\Framework\ObjectManager\TestAsset\BasicInjection::class;
22+
public const TEST_CLASS_INJECTION = \Magento\Framework\ObjectManager\TestAsset\BasicInjection::class;
2323

2424
/**#@-*/
2525

2626
/**#@+
2727
* Test classes and interface to test preferences
2828
*/
29-
const TEST_INTERFACE = \Magento\Framework\ObjectManager\TestAsset\TestAssetInterface::class;
29+
public const TEST_INTERFACE = \Magento\Framework\ObjectManager\TestAsset\TestAssetInterface::class;
3030

31-
const TEST_INTERFACE_IMPLEMENTATION = \Magento\Framework\ObjectManager\TestAsset\InterfaceImplementation::class;
31+
public const TEST_INTERFACE_IMPLEMENTATION = \Magento\Framework\ObjectManager\TestAsset\InterfaceImplementation::class;
3232

33-
const TEST_CLASS_WITH_INTERFACE = \Magento\Framework\ObjectManager\TestAsset\InterfaceInjection::class;
33+
public const TEST_CLASS_WITH_INTERFACE = \Magento\Framework\ObjectManager\TestAsset\InterfaceInjection::class;
3434

3535
/**#@-*/
3636

dev/tests/integration/testsuite/Magento/Framework/ProfilerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<?php
22
/**
3-
* Test case for \Magento\Framework\Profiler
4-
*
53
* Copyright © Magento, Inc. All rights reserved.
64
* See COPYING.txt for license details.
75
*/

0 commit comments

Comments
 (0)