Zend Framework

Zend_Tool create controller missing fully-qualified namespace

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: Next Major Release
  • Fix Version/s: Next Major Release
  • Component/s: Zend_Tool
  • Labels:
    None

Description

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

i.e. it creates:

namespace Core;

class IndexController extends Zend\Controller\Action
{

and should be:

namespace Core;

class IndexController extends \Zend\Controller\Action
{

Activity

Hide
Rob Allen added a comment -
Show
Rob Allen added a comment - Fixed: http://github.com/akrabat/zf2/commit/c26c2d91f644aabb5198a70163531dc0037b61b5 Pull request issued.
Hide
Rob Allen added a comment -

Merged to zf2

Show
Rob Allen added a comment - Merged to zf2

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: