Merge pull request #2350 from tuffz/formatting_app_uses_blocks

formatting app::uses blocks
This commit is contained in:
Mark Story 2013-12-14 12:37:02 -08:00
commit 384c3a815d
22 changed files with 23 additions and 0 deletions

View file

@ -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');
/**

View file

@ -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');
/**

View file

@ -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');
/**

View file

@ -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');

View file

@ -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');

View file

@ -17,6 +17,7 @@
*/
require_once CAKE . 'basics.php';
App::uses('Folder', 'Utility');
App::uses('CakeResponse', 'Network');

View file

@ -18,6 +18,7 @@
App::uses('TaskCollection', 'Console');
App::uses('Shell', 'Console');
/**
* Extended Task
*/

View file

@ -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');
/**

View file

@ -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');

View file

@ -18,6 +18,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -15,6 +15,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -18,6 +18,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -20,6 +20,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -20,6 +20,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -21,6 +21,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
App::uses('String', 'Utility');
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
/**

View file

@ -19,6 +19,7 @@
*/
App::uses('AppModel', 'Model');
require_once dirname(__FILE__) . DS . 'models.php';
/**

View file

@ -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';
/**

View file

@ -17,6 +17,7 @@
*/
require_once dirname(__FILE__) . DS . 'ModelTestBase.php';
App::uses('DboSource', 'Model/Datasource');
App::uses('DboMock', 'Model/Datasource');

View file

@ -18,6 +18,7 @@
App::uses('Model', 'Model');
App::uses('AppModel', 'Model');
require_once dirname(__FILE__) . DS . 'models.php';
/**

View file

@ -1,4 +1,6 @@
<?php
App::uses('TestSource', 'TestPlugin.Model/Datasource');
class TestLocalDriver extends TestSource {
}

View file

@ -1,4 +1,5 @@
<?php
App::uses('DboSource', 'Model/Datasource');
class DboDummy extends DboSource {

View file

@ -1,4 +1,5 @@
<?php
App::uses('DataSource', 'Model/Datasource');
class TestSource extends DataSource {