Permalink
Browse files

Adding a few class loading related changes to make the ApiGenerator p…

…lugin happy
  • Loading branch information...
1 parent 8acd980 commit fff42e92ed1b3ec28c9f99fbf6e77525a189f411 @lorenzo lorenzo committed Sep 30, 2011
@@ -15,6 +15,8 @@
* @since CakePHP(tm) v 1.3
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
+
+App::uses('Shell', 'Console');
/**
* Base class for Bake Tasks.
*
@@ -15,7 +15,7 @@
* @since CakePHP(tm) v 2.0
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
-require 'PHPUnit/TextUI/TestRunner.php';
+require_once 'PHPUnit/TextUI/TestRunner.php';
PHP_CodeCoverage_Filter::getInstance()->addFileToBlacklist(__FILE__, 'DEFAULT');
@@ -17,7 +17,7 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
-require 'PHPUnit/TextUI/Command.php';
+require_once 'PHPUnit/TextUI/Command.php';
App::uses('CakeTestRunner', 'TestSuite');
App::uses('CakeTestLoader', 'TestSuite');

0 comments on commit fff42e9

Please sign in to comment.