Skip to content

Reflection error after upgrading to 0.12.28-0.12.30 #3522

@esbobkov

Description

@esbobkov

Bug report

Related #3463

but I don't know how to fix if. Adding bootstrapFiles didn't help.

Code snippet that reproduces the problem

Example repo: https://github.com/esbobkov/phpstan-error

clean Symfony install with my class extending Event

composer install
composer phpstan
Line   Event/EntityBeforeUpdateEvent.php                                   
 ------ -------------------------------------------------------------------- 
  9      Reflection error: Psr\EventDispatcher\StoppableEventInterface not   
         found.                                                              
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols  

Expected output

No errors should be reported

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions