Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Report callables with no prototype specified #2872

Closed
@dktapps

Description

Feature request

In line with the requirement for generic objects, arrays and general type specification in level 6, it would be nice to have a rule which reports generic callable or Closure usage without specifying an expected signature in the PHPDoc.

ex. this should report an error about the prototype not being specified: https://phpstan.org/r/029b8b4c-5cd2-4d1b-85b0-f1544837dd79

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /