Skip to content

Invalid/redundant missingType.checkedException since 2.2.6 on FILTER_THROW_ON_FAILURE flag. #15007

Description

@michaljusiega

Bug report

After update by Composer from 2.2.5 to 2.2.6 I got missingType.checkedException issues like in snippet:

Method Service::resolveToBool() throws checked exception _PHPStan_e6d7b5be5\Filter\FilterFailedException but it's missing from the PHPDoc @throws tag.

As you can see, PHPStan requires to attach in PHPDoc a invalid FQCN.

Maybe related to phpstan/phpstan-src#6042

Thank for fix ;)

Code snippet that reproduces the problem

https://phpstan.org/r/b26f2888-ed73-4ed2-ae3f-85bef9789059

Expected output

No error listed.

Did PHPStan help you today? Did it make you happy in any way?

Thank you for awesome package!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions