phpstan ingore for Error Handlung function
This commit is contained in:
@@ -32,7 +32,8 @@ function MyErrorHandler(
|
|||||||
int $line,
|
int $line,
|
||||||
array $context = []
|
array $context = []
|
||||||
): bool {
|
): bool {
|
||||||
if (!(error_reporting() & $type) && SHOW_ALL_ERRORS == false) {
|
/** @phpstan-ignore-next-line cannot check show all errors constant */
|
||||||
|
if (!(error_reporting() & $type) && SHOW_ALL_ERRORS === false) {
|
||||||
// This error code is not included in error_reporting
|
// This error code is not included in error_reporting
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user