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

lint/phpunit/require-internal

Not in any set. Safe fix. Runs when phpunit is installed.

What it does

All PHPUnit test classes should be marked as internal.

Configuration

[lint.rules]
"phpunit/require-internal" = "error"

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

Options

Name Type Allowed values Default Upstream name
types list abstract, final, normal ["normal", "final"] types

Replaces

More lint/phpunit rules · Edit this page

Last updated on

Was this page helpful?