cakephp/cakephp — pull request #622 by pixelistik (2012-04-23 10:58:03+00:00)
Title: CakeTestSuite::addTestDirectory() ignore non-php files

CakeTestSuite::addTestDirectory() and addTestDirectoryRecursive() now ignore any files that do not end in .php

This avoids any stray non-php files being parsed, especially tilde-style backup files that end in .php~

Improves #2031