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

lint/phpunit/add-see-test-tag

Not in any preset. In Rector’s rector/rector-preset set. Needs the phpunit extension. Safe fix.

What it does

Add @see annotation test of the class for faster jump to test. Make it FQN, so it stays in the annotation, not in the PHP source code.

Configuration

[lint.rules]
"phpunit/add-see-test-tag" = "error"

To skip it in some files or lines, add an override or an ignore comment.

Replaces

More lint/phpunit rules · Edit this page

Last updated on

Was this page helpful?