mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Removed end of generated file whitespace from plugin bake task. Closes #5102
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7341 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
8bbc0d7078
commit
2e5532348d
1 changed files with 2 additions and 2 deletions
|
@ -164,7 +164,7 @@ class PluginTask extends Shell {
|
||||||
$out = "<?php\n\n";
|
$out = "<?php\n\n";
|
||||||
$out .= "class {$plugin}AppController extends AppController {\n\n";
|
$out .= "class {$plugin}AppController extends AppController {\n\n";
|
||||||
$out .= "}\n\n";
|
$out .= "}\n\n";
|
||||||
$out .= "?>\n";
|
$out .= "?>";
|
||||||
$this->createFile($this->path . $pluginPath. DS . $controllerFileName, $out);
|
$this->createFile($this->path . $pluginPath. DS . $controllerFileName, $out);
|
||||||
|
|
||||||
$modelFileName = $pluginPath . '_app_model.php';
|
$modelFileName = $pluginPath . '_app_model.php';
|
||||||
|
@ -172,7 +172,7 @@ class PluginTask extends Shell {
|
||||||
$out = "<?php\n\n";
|
$out = "<?php\n\n";
|
||||||
$out .= "class {$plugin}AppModel extends AppModel {\n\n";
|
$out .= "class {$plugin}AppModel extends AppModel {\n\n";
|
||||||
$out .= "}\n\n";
|
$out .= "}\n\n";
|
||||||
$out .= "?>\n";
|
$out .= "?>";
|
||||||
$this->createFile($this->path . $pluginPath . DS . $modelFileName, $out);
|
$this->createFile($this->path . $pluginPath . DS . $modelFileName, $out);
|
||||||
|
|
||||||
$this->hr();
|
$this->hr();
|
||||||
|
|
Loading…
Reference in a new issue