mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Merge pull request #2350 from tuffz/formatting_app_uses_blocks
formatting app::uses blocks
This commit is contained in:
commit
384c3a815d
22 changed files with 23 additions and 0 deletions
|
@ -18,6 +18,7 @@
|
||||||
* @since CakePHP(tm) v 0.2.9
|
* @since CakePHP(tm) v 0.2.9
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('Controller', 'Controller');
|
App::uses('Controller', 'Controller');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
* @since CakePHP(tm) v 0.2.9
|
* @since CakePHP(tm) v 0.2.9
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('AppController', 'Controller');
|
App::uses('AppController', 'Controller');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
* @since CakePHP(tm) v 0.2.9
|
* @since CakePHP(tm) v 0.2.9
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('Helper', 'View');
|
App::uses('Helper', 'View');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
* @since CakePHP(tm) v 2.4.0
|
* @since CakePHP(tm) v 2.4.0
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('AbstractPasswordHasher', 'Controller/Component/Auth');
|
App::uses('AbstractPasswordHasher', 'Controller/Component/Auth');
|
||||||
App::uses('Security', 'Utility');
|
App::uses('Security', 'Utility');
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
* @since CakePHP(tm) v 2.4.0
|
* @since CakePHP(tm) v 2.4.0
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('AbstractPasswordHasher', 'Controller/Component/Auth');
|
App::uses('AbstractPasswordHasher', 'Controller/Component/Auth');
|
||||||
App::uses('Security', 'Utility');
|
App::uses('Security', 'Utility');
|
||||||
|
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once CAKE . 'basics.php';
|
require_once CAKE . 'basics.php';
|
||||||
|
|
||||||
App::uses('Folder', 'Utility');
|
App::uses('Folder', 'Utility');
|
||||||
App::uses('CakeResponse', 'Network');
|
App::uses('CakeResponse', 'Network');
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
App::uses('TaskCollection', 'Console');
|
App::uses('TaskCollection', 'Console');
|
||||||
App::uses('Shell', 'Console');
|
App::uses('Shell', 'Console');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Extended Task
|
* Extended Task
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* @since CakePHP(tm) v 2.4
|
* @since CakePHP(tm) v 2.4
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('SyslogLog', 'Log/Engine');
|
App::uses('SyslogLog', 'Log/Engine');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
* @since CakePHP(tm) v 2.4
|
* @since CakePHP(tm) v 2.4
|
||||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('LogEngineCollection', 'Log');
|
App::uses('LogEngineCollection', 'Log');
|
||||||
App::uses('FileLog', 'Log/Engine');
|
App::uses('FileLog', 'Log/Engine');
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -15,6 +15,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -21,6 +21,7 @@
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
App::uses('String', 'Utility');
|
App::uses('String', 'Utility');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -19,6 +19,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(__FILE__) . DS . 'models.php';
|
require_once dirname(__FILE__) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -23,6 +23,7 @@ App::uses('DboSource', 'Model/Datasource');
|
||||||
App::uses('DboTestSource', 'Model/Datasource');
|
App::uses('DboTestSource', 'Model/Datasource');
|
||||||
App::uses('DboSecondTestSource', 'Model/Datasource');
|
App::uses('DboSecondTestSource', 'Model/Datasource');
|
||||||
App::uses('MockDataSource', 'Model/Datasource');
|
App::uses('MockDataSource', 'Model/Datasource');
|
||||||
|
|
||||||
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
require_once dirname(dirname(__FILE__)) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -17,6 +17,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
require_once dirname(__FILE__) . DS . 'ModelTestBase.php';
|
require_once dirname(__FILE__) . DS . 'ModelTestBase.php';
|
||||||
|
|
||||||
App::uses('DboSource', 'Model/Datasource');
|
App::uses('DboSource', 'Model/Datasource');
|
||||||
App::uses('DboMock', 'Model/Datasource');
|
App::uses('DboMock', 'Model/Datasource');
|
||||||
|
|
||||||
|
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
App::uses('Model', 'Model');
|
App::uses('Model', 'Model');
|
||||||
App::uses('AppModel', 'Model');
|
App::uses('AppModel', 'Model');
|
||||||
|
|
||||||
require_once dirname(__FILE__) . DS . 'models.php';
|
require_once dirname(__FILE__) . DS . 'models.php';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
App::uses('TestSource', 'TestPlugin.Model/Datasource');
|
App::uses('TestSource', 'TestPlugin.Model/Datasource');
|
||||||
|
|
||||||
class TestLocalDriver extends TestSource {
|
class TestLocalDriver extends TestSource {
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
App::uses('DboSource', 'Model/Datasource');
|
App::uses('DboSource', 'Model/Datasource');
|
||||||
|
|
||||||
class DboDummy extends DboSource {
|
class DboDummy extends DboSource {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
App::uses('DataSource', 'Model/Datasource');
|
App::uses('DataSource', 'Model/Datasource');
|
||||||
|
|
||||||
class TestSource extends DataSource {
|
class TestSource extends DataSource {
|
||||||
|
|
Loading…
Reference in a new issue