mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
"Removing unneeded :"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@6327 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
028c5ab75d
commit
92fedc4f76
1 changed files with 2 additions and 2 deletions
|
@ -648,7 +648,7 @@ class ModelTask extends Shell {
|
|||
$filename = Inflector::underscore($className).'.test.php';
|
||||
$this->out("\nBaking unit test for $className...");
|
||||
|
||||
$header = '$Id' . ':';
|
||||
$header = '$Id';
|
||||
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $className ." Test cases generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
||||
return $this->createFile($path . $filename, $content);
|
||||
}
|
||||
|
@ -813,7 +813,7 @@ class ModelTask extends Shell {
|
|||
$out .= "}\n";
|
||||
$path = TESTS . DS . 'fixtures' . DS;
|
||||
$filename = Inflector::underscore($model).'_fixture.php';
|
||||
$header = '$Id' . ':';
|
||||
$header = '$Id';
|
||||
$content = "<?php \n/* SVN FILE: $header$ */\n/* ". $model ." Fixure generated on: " . date('Y-m-d H:m:s') . " : ". time() . "*/\n{$out}?>";
|
||||
$this->out("\nBaking test fixture for $model...");
|
||||
if ($this->createFile($path . $filename, $content)) {
|
||||
|
|
Loading…
Add table
Reference in a new issue