Tags: cakephp/log
Tags
Fix bugs, typos and loose comparisons (#19199) * Fix bugs, typos and loose comparisons Bugs: - PluginConfig: sprintf format "%ss" -> "%s" (extra 's') - ExceptionTrap: loose comparison == -> === for object comparison - Route: loose comparison != -> !== for value comparison Typos: - Router: "reverser routing" -> "reverse routing" - Router/functions: "can be name any" -> "can be any" (4 occurrences) - ValidatorAwareTrait: "does not exists" -> "does not exist" - Validation: "and and arrays" -> "and arrays" (2 occurrences) - Message: "no should more" -> "should not exceed", "no must more" -> "must not exceed" - Mailer: "Render instance" -> "Renderer instance" - TransportRegistry: "cache engine" -> "transport" (3 occurrences) - I18n: "based of" -> "based on" (2 occurrences), "configure" -> "configured" - ErrorHandlerMiddleware: "contructor" -> "constructor" - Log: "Cake Logs's" -> "Cake Log's" - HelperRegistry: "Sets The IO" -> "Sets the IO" - FileConfigTrait: "with ../" -> "with .." (matches actual check) - Hash: "file in" -> "find in" - CookieCryptTrait: "keep keys are" -> "keep keys in" * Fix Cache documentation errors - Cache.php: Remove non-existent XcacheEngine, fix "MemcacheEngine" -> "MemcachedEngine" - MemcachedEngine.php: Fix "MemcacheEngine" -> "MemcachedEngine" - ApcuEngine.php: Fix "APC" -> "APCu" * Fix inconsistent @return docblocks - ArrayLog/ConsoleLog: Remove contradictory "success of write" from @return void - ArrayEngine/ApcuEngine: Fix redundant "True Returns true" -> "True on success" * Update test to match corrected error message * Revert Route.php loose comparison change (intentional for type coercion)
PreviousNext