mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correct casing of class names.
This commit is contained in:
parent
839aecbad6
commit
fca8a01c15
2 changed files with 4 additions and 4 deletions
|
@ -145,7 +145,7 @@ class CommandTask extends AppShell {
|
|||
$name = Inflector::camelize($name);
|
||||
$pluginDot = Inflector::camelize($pluginDot);
|
||||
$class = $name . 'Shell';
|
||||
APP::uses($class, $pluginDot . 'Console/Command');
|
||||
App::uses($class, $pluginDot . 'Console/Command');
|
||||
|
||||
$Shell = new $class();
|
||||
$Shell->plugin = trim($pluginDot, '.');
|
||||
|
|
|
@ -49,7 +49,7 @@ class AssetDispatcherTest extends CakeTestCase {
|
|||
App::build(array(
|
||||
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
|
||||
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
|
||||
), APP::RESET);
|
||||
), App::RESET);
|
||||
|
||||
$request = new CakeRequest('theme/test_theme/ccss/cake.generic.css');
|
||||
$event = new CakeEvent('DispatcherTest', $this, compact('request', 'response'));
|
||||
|
@ -153,7 +153,7 @@ class AssetDispatcherTest extends CakeTestCase {
|
|||
App::build(array(
|
||||
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
|
||||
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
|
||||
), APP::RESET);
|
||||
), App::RESET);
|
||||
|
||||
$response = $this->getMock('CakeResponse', array('_sendHeader'));
|
||||
$request = new CakeRequest('theme/test_theme/../../../../../../VERSION.txt');
|
||||
|
@ -175,7 +175,7 @@ class AssetDispatcherTest extends CakeTestCase {
|
|||
App::build(array(
|
||||
'Plugin' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'Plugin' . DS),
|
||||
'View' => array(CAKE . 'Test' . DS . 'test_app' . DS . 'View' . DS)
|
||||
), APP::RESET);
|
||||
), App::RESET);
|
||||
|
||||
$response = $this->getMock('CakeResponse', array('_sendHeader', 'send'));
|
||||
$request = new CakeRequest('theme/test_theme/%2e./%2e./%2e./%2e./%2e./%2e./VERSION.txt');
|
||||
|
|
Loading…
Reference in a new issue