cakephp/cakephp — pull request #846 by dogmatic69 (2012-09-14 18:30:19+00:00)
Title: Type checks

converting `$foo == null` / `$foo == false` to `!$foo`

converting `$foo == ""` / `$foo == 0` to `!$foo` (and a few `$foo === 0`)

converting `if($foo == true)` to `if($foo)`

strict type checks and removing some duplicate `count()` calls