Skip to content

with latest phpstan version, issue with get_terms() definition #287

Open
@jcvignoli

Description

@jcvignoli

Hi,

The latest PHPStan release seems to check @internal phpdoc comments.

get_terms() has such a comment, meant to address a parameter.

I believe it should be removed, since it makes phpstan to fail as soon as the function is used, with the following error:


 ------ ---------------------------------------- 
  126    Call to internal function get_terms().  
         🪪  function.internal                   
 ------ ------------------------

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