Issues

ZF-10321: Zend_Tool create controller missing fully-qualified namespace

Issue Type: Bug Created: 2010-08-16T07:37:40.000+0000 Last Updated: 2010-09-04T13:01:24.000+0000 Status: Resolved Fix version(s): - Next Major Release ()

Reporter: Rob Allen (rob) Assignee: Rob Allen (rob) Tags: - Zend_Tool

Related issues: Attachments:

Description

zf create controller creates a controller file where the leading slash is missing on the extends section.

i.e. it creates:

<pre class="highlight">
namespace Core;

class IndexController extends Zend\Controller\Action
{

and should be:

<pre class="highlight">
namespace Core;

class IndexController extends \Zend\Controller\Action
{

Comments

Posted by Rob Allen (rob) on 2010-08-16T09:54:27.000+0000

Fixed: http://github.com/akrabat/zf2/… Pull request issued.

Posted by Rob Allen (rob) on 2010-09-04T13:01:17.000+0000

Merged to zf2

Have you found an issue?

See the Overview section for more details.

Copyright

© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.

Contacts