Lukáš Unger
Lukáš Unger
Hello, just interested in the status of this. I could really use it. Also, what do you think about using composer extra for this? Would be quite convenient and would...
Nope, of course it's not a whole class 😊 It's just an excerpt to show the issue. The problem seems to be [here](https://github.com/consistence/coding-standard/blob/fb48c3d51bce30877454903139b96ecbe19ec14d/Consistence/Sniffs/Exceptions/ExceptionDeclarationSniff.php#L119).
I am actually thinking about straight up disallowing the get on containers. What are your thoughts about that? Otherwise, this one might currrently be tough to fix. I have some...
I will try to look into it.
> Isn't that reported by Symfony during container compilation? Yep, it should be. I don't think it's necessary to implement any checks here, especially because you should always recompile the...
Actually you might be right. There might not be an error until you instantiate the service (or any other service that depends on it, even indirectly). Feel free to explore...
Be sure to check out https://phpstan.org/developing-extensions/extension-types.
Are you using https://github.com/phpstan/phpstan-symfony#analysis-of-symfony-console-commands?
I haven't had a chance to look at this yet. It would be much appreciated if you guys could try to debug it, and maybe send a PR. If not,...
Thanks, I'll look into it.