Skip to content

Mistake in rule description #3249

@Androoha1

Description

@Androoha1

The rule:
https://getrector.com/rule-detail/func-call-to-new-rector

The rule internally checks that the values of the configuration array are strings. But an array is given in the configuration example on that page.

Also the helper function name is different, it's "collect" now, not "collection".

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