Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/phpunit/require-iterable-data-provider

In the lint-strict preset. Needs the phpunit extension. Unsafe fix: it can change behavior.

What it does

The return type of PHPUnit data provider must be iterable.

Configuration

[lint.rules]
"phpunit/require-iterable-data-provider" = "error"

To skip it in some files, add an override or a @pun-ignore-file comment.

Replaces

More lint/phpunit rules · Edit this page

Last updated on

Was this page helpful?