mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
c724f0739a
* It is not need to check the same thing twice * One if condition instead of two ifs * Ternary codition instead of checking if variable is null * Returning early to avoid unnecessary conditional levels * It is not needed to put an else as the if before already has returned * Changing ternary conditional to PHP 5.2 * Removing some not needed conditions in the if, also changed to return false (instead of NULL) to follow the code block docs * Changing to check before if the class_exists so we make sure that class was autoloaded before the condition Squash of commits in https://github.com/cakephp/cakephp/pull/1034 |
||
---|---|---|
.. | ||
Command | ||
Templates | ||
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 |