Skip to content

Check of ini_get should be keeped in mind #3382

@alexander-schranz

Description

@alexander-schranz

Bug report

If you check for ini_get in inside an if statement like here in symfony and access it later the check before is not kept in mind and so phpstan will fail.

Code snippet that reproduces the problem

https://phpstan.org/r/57150eac-dde7-4f08-b05d-549720c8e5ea

Expected output

No Errors

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions