Skip to content

Error in json.stub #9574

Closed
Closed
@WalkingDexter

Description

@WalkingDexter

Bug report

After updating to 1.10.22 I get an error every time I run phpstan analyze (see the attached screenshot). This problem is also present in 1.10.23. In PHPStan configuration I have the phpVersion parameter with the 70100 value. If I change the value to 70200 or higher the problem disappears. As I can see, the 70100 value also must be supported.

After a short investigation I found that the problem is related to this change phpstan/phpstan-src@828b269.

Screenshot_20230705_115945

Code snippet that reproduces the problem

No response

Expected output

No error.

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