cakephp/cakephp — pull request #4322 by majna (2014-08-20 22:35:34+00:00)
Title: Optimize FileEngine::gc()

SplFileObject constructor throws a RuntimeException if the file does not exist or LogicException for a directory. This means additional checks can be safely removed.