Skip to content

Commit 8231eee

Browse files
committed
AC-1723: Revert changes added for temporary ignoring Deprecations in PHP 8.1
- remove excessive call to error_reporting()
1 parent 1ec47f8 commit 8231eee

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

dev/tests/api-functional/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
require_once __DIR__ . '/../../../../app/bootstrap.php';
1111
require_once __DIR__ . '/autoload.php';
1212

13-
error_reporting(E_ALL);
1413
$testsBaseDir = dirname(__DIR__);
1514
$integrationTestsDir = realpath("{$testsBaseDir}/../integration");
1615
$fixtureBaseDir = $integrationTestsDir . '/testsuite';

dev/tests/integration/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
require_once __DIR__ . '/../../../../app/bootstrap.php';
1414
require_once __DIR__ . '/autoload.php';
1515

16-
error_reporting(E_ALL);
1716
// phpcs:ignore Magento2.Functions.DiscouragedFunction
1817
$testsBaseDir = dirname(__DIR__);
1918
$fixtureBaseDir = $testsBaseDir. '/testsuite';

dev/tests/setup-integration/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
//to handle different types of errors on CI
1313
require __DIR__ . '/../../error_handler.php';
1414

15-
error_reporting(E_ALL);
1615
$testsBaseDir = dirname(__DIR__);
1716
$integrationTestsDir = realpath("{$testsBaseDir}/../integration");
1817
$fixtureBaseDir = $integrationTestsDir . '/testsuite';

dev/tests/static/framework/bootstrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Magento\Framework\View\Design\Theme\ThemePackageFactory;
1616

1717
require __DIR__ . '/autoload.php';
18-
error_reporting(E_ALL);
18+
1919
if (!defined('TESTS_TEMP_DIR')) {
2020
define('TESTS_TEMP_DIR', dirname(__DIR__) . '/tmp');
2121
}

0 commit comments

Comments
 (0)