mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
aa7448e3ed
Uncaught exceptions on the console would result in exit code 0. This is not helpful in *nix scripting. - Update the ConsoleErrorHandler to not inherit from the web error handler. - Make ErrorHandler::_mapErrorCode() public as it isn't overly private. - Make ConsoleErrorHandler methods instance methods so mocking can be done. - Add a _stop method to correctly exit. - Update tests. |
||
---|---|---|
.. | ||
Command | ||
AllConsoleLibsTest.php | ||
AllConsoleTest.php | ||
AllShellsTest.php | ||
AllTasksTest.php | ||
ConsoleErrorHandlerTest.php | ||
ConsoleOptionParserTest.php | ||
ConsoleOutputTest.php | ||
HelpFormatterTest.php | ||
ShellDispatcherTest.php | ||
TaskCollectionTest.php |