Skip to content

@since comments removed, some @param missing #247

Open
@kkmuffme

Description

@kkmuffme

#222 and https://github.com/php-stubs/wordpress-stubs/pull/243/files

We used a custom phpstan plugin that used the @since info, but that has been removed with that PR.

In general, I would strongly advice against cosmetic changes to visitors/generators since
a) the size of the stubs file is completely irrelevant for phpstan/psalm, since the stubs we use internally in psalm are much bigger in size and it makes literally no difference in performance
b) it just causes issues for some users and does not provide a real benefit, does it?

e.g. https://github.com/php-stubs/wordpress-stubs/pull/243/files#diff-4dc94858ed12d457b90cbe75a4151de2b69d60a4693fc574a0bf8d4b71923f31L72164 this shouldn't be removed, should it?

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