Skip to content

protected dataProvider method reported as required to be public #157

@janedbal

Description

@janedbal

There is new check about dataProviders being public introduced in #150, but protected providers work just fine. I just tested private one and that also works (invocation over method reflection used behaind the scenes).

  • Used phpunit/phpunit version: 9.5.26
  • Used phpstan/phpstan-phpunit version: 1.3.2

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