diff --git a/app/Controller/AppController.php b/app/Controller/AppController.php index a677a0a06..a827969e1 100644 --- a/app/Controller/AppController.php +++ b/app/Controller/AppController.php @@ -18,6 +18,7 @@ * @since CakePHP(tm) v 0.2.9 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('Controller', 'Controller'); /** diff --git a/app/Controller/PagesController.php b/app/Controller/PagesController.php index 3793e7f32..5073f2e1a 100644 --- a/app/Controller/PagesController.php +++ b/app/Controller/PagesController.php @@ -17,6 +17,7 @@ * @since CakePHP(tm) v 0.2.9 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('AppController', 'Controller'); /** diff --git a/app/View/Helper/AppHelper.php b/app/View/Helper/AppHelper.php index 66d1c0284..9097d33f0 100644 --- a/app/View/Helper/AppHelper.php +++ b/app/View/Helper/AppHelper.php @@ -18,6 +18,7 @@ * @since CakePHP(tm) v 0.2.9 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('Helper', 'View'); /** diff --git a/lib/Cake/Controller/Component/Auth/BlowfishPasswordHasher.php b/lib/Cake/Controller/Component/Auth/BlowfishPasswordHasher.php index b3d8fbc5f..0c15fdd16 100644 --- a/lib/Cake/Controller/Component/Auth/BlowfishPasswordHasher.php +++ b/lib/Cake/Controller/Component/Auth/BlowfishPasswordHasher.php @@ -14,6 +14,7 @@ * @since CakePHP(tm) v 2.4.0 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('AbstractPasswordHasher', 'Controller/Component/Auth'); App::uses('Security', 'Utility'); diff --git a/lib/Cake/Controller/Component/Auth/SimplePasswordHasher.php b/lib/Cake/Controller/Component/Auth/SimplePasswordHasher.php index fdd1a41c9..5a42312eb 100644 --- a/lib/Cake/Controller/Component/Auth/SimplePasswordHasher.php +++ b/lib/Cake/Controller/Component/Auth/SimplePasswordHasher.php @@ -14,6 +14,7 @@ * @since CakePHP(tm) v 2.4.0 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('AbstractPasswordHasher', 'Controller/Component/Auth'); App::uses('Security', 'Utility'); diff --git a/lib/Cake/Test/Case/BasicsTest.php b/lib/Cake/Test/Case/BasicsTest.php index cdfcd2c91..b0f603dd4 100644 --- a/lib/Cake/Test/Case/BasicsTest.php +++ b/lib/Cake/Test/Case/BasicsTest.php @@ -17,6 +17,7 @@ */ require_once CAKE . 'basics.php'; + App::uses('Folder', 'Utility'); App::uses('CakeResponse', 'Network'); diff --git a/lib/Cake/Test/Case/Console/TaskCollectionTest.php b/lib/Cake/Test/Case/Console/TaskCollectionTest.php index 978504def..4d5c0a116 100644 --- a/lib/Cake/Test/Case/Console/TaskCollectionTest.php +++ b/lib/Cake/Test/Case/Console/TaskCollectionTest.php @@ -18,6 +18,7 @@ App::uses('TaskCollection', 'Console'); App::uses('Shell', 'Console'); + /** * Extended Task */ diff --git a/lib/Cake/Test/Case/Log/Engine/SyslogLogTest.php b/lib/Cake/Test/Case/Log/Engine/SyslogLogTest.php index 709b04bb8..debdf267c 100644 --- a/lib/Cake/Test/Case/Log/Engine/SyslogLogTest.php +++ b/lib/Cake/Test/Case/Log/Engine/SyslogLogTest.php @@ -15,6 +15,7 @@ * @since CakePHP(tm) v 2.4 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('SyslogLog', 'Log/Engine'); /** diff --git a/lib/Cake/Test/Case/Log/LogEngineCollectionTest.php b/lib/Cake/Test/Case/Log/LogEngineCollectionTest.php index fd8e13073..7c222820f 100644 --- a/lib/Cake/Test/Case/Log/LogEngineCollectionTest.php +++ b/lib/Cake/Test/Case/Log/LogEngineCollectionTest.php @@ -15,6 +15,7 @@ * @since CakePHP(tm) v 2.4 * @license http://www.opensource.org/licenses/mit-license.php MIT License */ + App::uses('LogEngineCollection', 'Log'); App::uses('FileLog', 'Log/Engine'); diff --git a/lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php b/lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php index aa9cabffc..801b159c0 100644 --- a/lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/ContainableBehaviorTest.php @@ -18,6 +18,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php b/lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php index f90526ed7..fe18575b8 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TranslateBehaviorTest.php @@ -15,6 +15,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php index 656af74e7..bff9dbf31 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorAfterTest.php @@ -18,6 +18,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php index 194ebe5bd..3595d4b0d 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorNumberTest.php @@ -20,6 +20,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php index b159ba41d..c7ea1fba2 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorScopedTest.php @@ -20,6 +20,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorUuidTest.php b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorUuidTest.php index 261611e48..d9a44784f 100644 --- a/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorUuidTest.php +++ b/lib/Cake/Test/Case/Model/Behavior/TreeBehaviorUuidTest.php @@ -21,6 +21,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); App::uses('String', 'Utility'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php b/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php index 966da2d74..d4dea6814 100644 --- a/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php +++ b/lib/Cake/Test/Case/Model/BehaviorCollectionTest.php @@ -19,6 +19,7 @@ */ App::uses('AppModel', 'Model'); + require_once dirname(__FILE__) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php index 2f307191c..075268407 100644 --- a/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php +++ b/lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php @@ -23,6 +23,7 @@ App::uses('DboSource', 'Model/Datasource'); App::uses('DboTestSource', 'Model/Datasource'); App::uses('DboSecondTestSource', 'Model/Datasource'); App::uses('MockDataSource', 'Model/Datasource'); + require_once dirname(dirname(__FILE__)) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/Case/Model/ModelIntegrationTest.php b/lib/Cake/Test/Case/Model/ModelIntegrationTest.php index 2eb194289..a5f0e7969 100644 --- a/lib/Cake/Test/Case/Model/ModelIntegrationTest.php +++ b/lib/Cake/Test/Case/Model/ModelIntegrationTest.php @@ -17,6 +17,7 @@ */ require_once dirname(__FILE__) . DS . 'ModelTestBase.php'; + App::uses('DboSource', 'Model/Datasource'); App::uses('DboMock', 'Model/Datasource'); diff --git a/lib/Cake/Test/Case/Model/ModelTestBase.php b/lib/Cake/Test/Case/Model/ModelTestBase.php index 009d87411..06658542b 100644 --- a/lib/Cake/Test/Case/Model/ModelTestBase.php +++ b/lib/Cake/Test/Case/Model/ModelTestBase.php @@ -18,6 +18,7 @@ App::uses('Model', 'Model'); App::uses('AppModel', 'Model'); + require_once dirname(__FILE__) . DS . 'models.php'; /** diff --git a/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php b/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php index 6a0dd45b6..07346eef6 100644 --- a/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php +++ b/lib/Cake/Test/test_app/Model/Datasource/Database/TestLocalDriver.php @@ -1,4 +1,6 @@