Skip to content

MutatingScope not being covered by backward compatibility promise #7516

@vojtech-dobes

Description

@vojtech-dobes

Bug report

MethodCallThrowTypeExtension started to complain about MutatingScope not being covered by backward compatibility promise.

I would like to know how to modify the code to avoid this warning.

Code snippet that reproduces the problem

https://phpstan.org/r/5fd1150d-a3e3-478d-af2b-a7b82a4d9193

Expected output

No error reported.

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

It transformed the way we work in PHP, it has incredibly positive impact on our productivity at ContentKing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions