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

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

Open
bitwombat opened this issue Nov 1, 2016 · 0 comments
Open

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

bitwombat opened this issue Nov 1, 2016 · 0 comments

Comments

@bitwombat
Copy link

bitwombat commented Nov 1, 2016

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant