Skip to content

Commit 4175051

Browse files
authored
Merge pull request #3437 from kdambekalns/bugfix/drop-e-strict-constant
BUGFIX: Drop use of `E_STRICT` to fix PHP 8.4 deprecation
2 parents c52cf6f + 3dc6ff7 commit 4175051

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

Neos.Flow/Classes/Error/ErrorHandler.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,6 @@ public function handleError(int $errorLevel, string $errorMessage, string $error
7272
E_USER_ERROR => 'User Error',
7373
E_USER_WARNING => 'User Warning',
7474
E_USER_NOTICE => 'User Notice',
75-
E_STRICT => 'Runtime Notice',
7675
E_RECOVERABLE_ERROR => 'Catchable Fatal Error'
7776
];
7877

Neos.Flow/Configuration/Development/Settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Neos:
2929
logException: true
3030

3131
errorHandler:
32-
exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%', '%E_STRICT%']
32+
exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%']
3333

3434
log:
3535
psr3:

Neos.Flow/Configuration/Testing/Settings.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Neos:
2020
exceptionHandler:
2121
className: 'Neos\Flow\Error\DebugExceptionHandler'
2222
errorHandler:
23-
exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%', '%E_STRICT%']
23+
exceptionalErrors: ['%E_USER_ERROR%', '%E_RECOVERABLE_ERROR%', '%E_WARNING%', '%E_NOTICE%', '%E_USER_WARNING%', '%E_USER_NOTICE%']
2424

2525
log:
2626
psr3:

0 commit comments

Comments
 (0)