'Uncaught ccc',
new \
ErrorException('ccc'
)],
[ 'Uncaught Error: Class "App\Controller\ClassDoesNotExist" not found',
new \
Error('Class "App\Controller\ClassDoesNotExist" not found'
),
"Attempted to load class \"ClassDoesNotExist\" from namespace \"App\Controller\".\nDid you forget a \"use\" statement for another namespace?",
],
];
} public function testBootstrappingLogger() { $bootLogger =
new BufferingLogger();
$handler =
new ErrorHandler($bootLogger);
$loggers =
[ \E_DEPRECATED =>
[$bootLogger, LogLevel::INFO
],
\E_USER_DEPRECATED =>
[$bootLogger, LogLevel::INFO
],
\E_NOTICE =>
[$bootLogger, LogLevel::WARNING
],
\E_USER_NOTICE =>
[$bootLogger, LogLevel::WARNING
],
\E_STRICT =>
[$bootLogger, LogLevel::WARNING
],
\E_WARNING =>
[$bootLogger, LogLevel::WARNING
],
\E_USER_WARNING =>
[$bootLogger, LogLevel::WARNING
],
\E_COMPILE_WARNING =>
[$bootLogger, LogLevel::WARNING
],