mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +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 | ||
Templates | ||
AppShell.php | ||
cake | ||
cake.bat | ||
cake.php | ||
ConsoleErrorHandler.php | ||
ConsoleInput.php | ||
ConsoleInputArgument.php | ||
ConsoleInputOption.php | ||
ConsoleInputSubcommand.php | ||
ConsoleOptionParser.php | ||
ConsoleOutput.php | ||
HelpFormatter.php | ||
Shell.php | ||
ShellDispatcher.php | ||
TaskCollection.php |