File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -102,7 +102,7 @@ more data provider methods (``additionProvider()`` in the example shown below).
102
102
provider method to be used is specified using the ``PHPUnit\Framework\Attributes\DataProvider ``
103
103
or the ``PHPUnit\Framework\Attributes\DataProviderExternal `` attribute.
104
104
105
- A data provider method must be ``public `` and ``static ``.
105
+ A data provider method must be ``public `` and ``static `` and its name must not start with `` test `` .
106
106
It must return a value that is `iterable <https://www.php.net/manual/en/language.types.iterable.php >`_,
107
107
either an array or an object that implements the ``Traversable `` interface. In each iteration step,
108
108
it must yield an array. For each of these arrays, the test method will be called with the contents
You can’t perform that action at this time.
0 commit comments