psalm / psalm-plugin-symfony

Psalm Plugin for Symfony
MIT License
228 stars 53 forks source link

[v5.x] Fix console handler with named arguments and add more tests #301

Closed mdeboer closed 1 year ago

mdeboer commented 1 year ago

The plugin crashed when using arguments or options with named arguments. The existing tests weren't sufficient to trigger the problem so I wrote some that do.

This also applies to v4.x (see #300)

seferov commented 1 year ago

thank you! It is included here https://github.com/psalm/psalm-plugin-symfony/commit/e9900d2f0186564a30934a2ebcf60481d916ebf0