Philip Ardery
Philip Ardery
If I find some time I will look into that and comment back here.
well, that was easier than I thought: https://github.com/arderyp/phpstan-issue-262 @ondrejmirtes
should we open this back up @ondrejmirtes?
``` $ composer require symfony/http-foundation Info from https://repo.packagist.org: #StandWithUkraine ./composer.json has been updated Running composer update symfony/http-foundation Loading composer repositories with package information Info from https://repo.packagist.org: #StandWithUkraine Updating dependencies Nothing...
Hey @ondrejmirtes, I believe part of the confusions here is stemming from the fact that you were expecting an object of type `Symfony\Component\HttpFoundation\InputBag`, but it looks like that wasn't introduced...
I plan to this summer, but it's a major version upgrade, not a simple composer update and call it a day. Glad the newer versions play more nicely with typing...
Good question @TomBrunner I haven't heard back from maintainers on my suggested improvements for typed getters on the `*Bag` objects: https://github.com/symfony/symfony/issues/45775
I've gotten around the error with the following stub, but not sure if its the correct approach: ```
Yeah, I'm using the following: ``` #phpstan.neon doctrine: objectManagerLoader: tests/object-manager.php ``` ``` #tests/object-manager.php
*fixed typo in original post*