|
8 | 8 | */ |
9 | 9 | class ErrorException extends \ErrorException implements NamedException |
10 | 10 | { |
11 | | - protected static $ourNames = [E_COMPILE_ERROR => 'PHP Compile Error', |
12 | | - E_COMPILE_WARNING => 'PHP Compile Warning', |
13 | | - E_CORE_ERROR => 'PHP Core Error', |
14 | | - E_CORE_WARNING => 'PHP Core Warning', |
15 | | - E_DEPRECATED => 'PHP Deprecated Warning', |
16 | | - E_ERROR => 'PHP Fatal Error', |
17 | | - E_NOTICE => 'PHP Notice', |
18 | | - E_PARSE => 'PHP Parse Error', |
19 | | - E_RECOVERABLE_ERROR => 'PHP Recoverable Error', |
20 | | - E_STRICT => 'PHP Strict Warning', |
21 | | - E_USER_DEPRECATED => 'PHP User Deprecated Warning', |
22 | | - E_USER_ERROR => 'PHP User Error', |
23 | | - E_USER_NOTICE => 'PHP User Notice', |
24 | | - E_USER_WARNING => 'PHP User Warning', |
25 | | - E_WARNING => 'PHP Warning']; |
| 11 | + protected static array $ourNames = [E_COMPILE_ERROR => 'PHP Compile Error', |
| 12 | + E_COMPILE_WARNING => 'PHP Compile Warning', |
| 13 | + E_CORE_ERROR => 'PHP Core Error', |
| 14 | + E_CORE_WARNING => 'PHP Core Warning', |
| 15 | + E_DEPRECATED => 'PHP Deprecated Warning', |
| 16 | + E_ERROR => 'PHP Fatal Error', |
| 17 | + E_NOTICE => 'PHP Notice', |
| 18 | + E_PARSE => 'PHP Parse Error', |
| 19 | + E_RECOVERABLE_ERROR => 'PHP Recoverable Error', |
| 20 | + E_STRICT => 'PHP Strict Warning', |
| 21 | + E_USER_DEPRECATED => 'PHP User Deprecated Warning', |
| 22 | + E_USER_ERROR => 'PHP User Error', |
| 23 | + E_USER_NOTICE => 'PHP User Notice', |
| 24 | + E_USER_WARNING => 'PHP User Warning', |
| 25 | + E_WARNING => 'PHP Warning']; |
26 | 26 |
|
27 | 27 | //-------------------------------------------------------------------------------------------------------------------- |
| 28 | + |
28 | 29 | /** |
29 | 30 | * {@inheritdoc} |
30 | 31 | * |
|
0 commit comments