Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Critical
-
Resolution: Duplicate
-
Affects Version/s: 1.10.6, 1.10.7
-
Fix Version/s: None
-
Component/s: Zend_Tool
-
Labels:None
Description
When you add an action to a controller that already has data in it, the closing curly brace before the function's closing on each function gets removed and the functions get some strange new indentation on everything but the first line.
I've been bitten by this a few times and thought it was fixed by now. I also thought I reported this before, but I can't see a bug report for it.
Issue Links
| This issue duplicates: | ||||
| ZF-9501 | zf tool create action breaks the php code in controller |
|
|
|
Steps to reproduce the issue:
> zf create project test
> Changed IndexController - indexAction to:
> cd test
> zf create action foo
And the IndexController looks this way: