Skip to content
This repository was archived by the owner on Dec 7, 2019. It is now read-only.
This repository was archived by the owner on Dec 7, 2019. It is now read-only.

zftool config list seems to be executing MVC code... #138

@bitwombat

Description

@bitwombat

I ran zftool config list on my app and got this:

PHP Fatal error: Call to undefined method Zend\Console\Response::setStatusCode() in /data/www/che-app/vendor/digitaledgeit/zf2-authorisation-module/src/DeitAuthorisationModule/View/ViewStrategy.php

The problem seems to be that zftool is a) executing all sorts of code and b) in a CLI environment which means this method is seeing a Zend\Console\Response object, instead of its usual Zend\Http\Response

Maybe there's some sort of error, violation or smell in my design? Or is this a zftool bug?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions