Skip to content

Commit 363e3eb

Browse files
committed
AC-13346::Deprecation of E_STRICT constant in PHP 8.4
1 parent 651928c commit 363e3eb

File tree

8 files changed

+1
-8
lines changed

8 files changed

+1
-8
lines changed

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,6 @@ function ($errNo, $errStr, $errFile, $errLine) {
141141
E_USER_ERROR => 'User Error',
142142
E_USER_WARNING => 'User Warning',
143143
E_USER_NOTICE => 'User Notice',
144-
E_STRICT => 'Strict',
145144
E_RECOVERABLE_ERROR => 'Recoverable Error',
146145
E_DEPRECATED => 'Deprecated',
147146
E_USER_DEPRECATED => 'User Deprecated',

dev/tests/error_handler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ function ($errNo, $errStr, $errFile, $errLine) {
2525
E_USER_ERROR => 'User Error',
2626
E_USER_WARNING => 'User Warning',
2727
E_USER_NOTICE => 'User Notice',
28-
E_STRICT => 'Strict',
2928
E_RECOVERABLE_ERROR => 'Recoverable Error',
3029
E_DEPRECATED => 'Deprecated',
3130
E_USER_DEPRECATED => 'User Deprecated',

dev/tests/integration/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@ function ($errNo, $errStr, $errFile, $errLine) {
149149
E_USER_ERROR => 'User Error',
150150
E_USER_WARNING => 'User Warning',
151151
E_USER_NOTICE => 'User Notice',
152-
E_STRICT => 'Strict',
153152
E_RECOVERABLE_ERROR => 'Recoverable Error',
154153
E_DEPRECATED => 'Deprecated',
155154
E_USER_DEPRECATED => 'User Deprecated',

dev/tests/static/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ function ($errNo, $errStr, $errFile, $errLine) {
6363
E_USER_ERROR => 'User Error',
6464
E_USER_WARNING => 'User Warning',
6565
E_USER_NOTICE => 'User Notice',
66-
E_STRICT => 'Strict',
6766
E_RECOVERABLE_ERROR => 'Recoverable Error',
6867
E_DEPRECATED => 'Deprecated',
6968
E_USER_DEPRECATED => 'User Deprecated',

dev/tests/unit/framework/bootstrap.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ function ($errNo, $errStr, $errFile, $errLine) {
5454
E_USER_ERROR => 'User Error',
5555
E_USER_WARNING => 'User Warning',
5656
E_USER_NOTICE => 'User Notice',
57-
E_STRICT => 'Strict',
5857
E_RECOVERABLE_ERROR => 'Recoverable Error',
5958
E_DEPRECATED => 'Deprecated',
6059
E_USER_DEPRECATED => 'User Deprecated',

lib/internal/Magento/Framework/App/ErrorHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@ class ErrorHandler
2828
E_USER_ERROR => 'User Error',
2929
E_USER_WARNING => 'User Warning',
3030
E_USER_NOTICE => 'User Notice',
31-
E_STRICT => 'Strict Notice',
3231
E_RECOVERABLE_ERROR => 'Recoverable Error',
3332
E_DEPRECATED => 'Deprecated Functionality',
3433
E_USER_DEPRECATED => 'User Deprecated Functionality',

lib/internal/Magento/Framework/App/Test/Unit/ErrorHandlerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ public static function handlerProviderException()
8282
[E_USER_ERROR, 'User Error'],
8383
[E_USER_WARNING, 'User Warning'],
8484
[E_USER_NOTICE, 'User Notice'],
85-
[E_STRICT, 'Strict Notice'],
8685
[E_RECOVERABLE_ERROR, 'Recoverable Error'],
8786
[E_DEPRECATED, 'Deprecated Functionality'],
8887
[E_USER_DEPRECATED, 'User Deprecated Functionality'],

setup/src/Magento/Setup/Module/Di/Code/Reader/Decorator/Directory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public function __construct(
6969
$this->validator = $validator;
7070
$this->generationDir = $generationDir;
7171

72-
set_error_handler([$this, 'errorHandler'], E_STRICT);
72+
set_error_handler([$this, 'errorHandler'], E_NOTICE);
7373
}
7474

7575
/**

0 commit comments

Comments
 (0)