projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Security update for Core, with self-updated composer
[yaffs-website]
/
vendor
/
psy
/
psysh
/
src
/
Psy
/
Exception
/
ErrorException.php
diff --git
a/vendor/psy/psysh/src/Psy/Exception/ErrorException.php
b/vendor/psy/psysh/src/Psy/Exception/ErrorException.php
index 66c172c6ceeb247a74bb8e5514245f2a50507311..85820ac8c24a567ff670b892ad6ce367c8d47c5d 100644
(file)
--- a/
vendor/psy/psysh/src/Psy/Exception/ErrorException.php
+++ b/
vendor/psy/psysh/src/Psy/Exception/ErrorException.php
@@
-37,19
+37,33
@@
class ErrorException extends \ErrorException implements Exception
}
switch ($severity) {
}
switch ($severity) {
+ case E_STRICT:
+ $type = 'Strict error';
+ break;
+
+ case E_NOTICE:
+ case E_USER_NOTICE:
+ $type = 'Notice';
+ break;
+
case E_WARNING:
case E_CORE_WARNING:
case E_COMPILE_WARNING:
case E_USER_WARNING:
case E_WARNING:
case E_CORE_WARNING:
case E_COMPILE_WARNING:
case E_USER_WARNING:
- $type = '
w
arning';
+ $type = '
W
arning';
break;
break;
- case E_STRICT:
- $type = 'Strict error';
+ case E_DEPRECATED:
+ case E_USER_DEPRECATED:
+ $type = 'Deprecated';
+ break;
+
+ case E_RECOVERABLE_ERROR:
+ $type = 'Recoverable fatal error';
break;
default:
break;
default:
- $type = '
e
rror';
+ $type = '
E
rror';
break;
}
break;
}