Closed MrMeshok closed 1 day ago
Is it not possible to have something compatible like Symfony did with TypeInfo with https://github.com/symfony/symfony/pull/58804 ?
Is it not possible to have something compatible like Symfony did with TypeInfo with symfony/symfony#58804 ?
It's definitely possible, I just did quick fix, this issue probably gonna show up then someone does composer update
in their project. Also phpstan/phpdoc-parser should stay in composer.json so this doesn't happen again
@Korbeil I changed PR to add support to v2 instead of locking to v1
I noticed locally that random test started to fail, turns out it's because phpdocumentor/type-resolver added support for phpstan/phpdoc-parser v2, but this library not ready for phpdoc-parser v2. I chose minimal version of 1.13 because minimal version of phpdocumentor/type-resolver required it so there should be no changes to
composer update --prefer-lowest