Skip to content

Fatal errors emitted upon autoload are swallowed within regular analysis, PHPStan reports no issues even when present #11826

@janedbal

Description

@janedbal

Bug report

See reproduction repository: https://github.com/janedbal/phpstan-swallows-fatal-error

Code snippet that reproduces the problem

No response

Expected output

Error reported, analysis aborted (just like with --debug).

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

No response

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