Skip to content

@phpstan-all-methods-pure is ignored for methods declared by @method #15322

Description

@rarila

Bug report

@phpstan-all-methods-pure is ignored for magic methods declared by @method.
Works as expected with real methods.

Code snippet that reproduces the problem

https://phpstan.org/r/ab32cd43-840c-4310-b3f0-97d9d1195065

Expected output

The flag should also have an effect on methods declared by @method and so no error should be reported.

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

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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