mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +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 |
||
---|---|---|
.. | ||
Cache | ||
Config | ||
Configure | ||
Console | ||
Controller | ||
Core | ||
Error | ||
Event | ||
I18n | ||
Log | ||
Model | ||
Network | ||
Routing | ||
Test | ||
TestSuite | ||
Utility | ||
View | ||
basics.php | ||
bootstrap.php | ||
LICENSE.txt | ||
VERSION.txt |