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

format/phpunit/fqcn-annotation

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

What it does

PHPUnit annotations should be a FQCNs including a root namespace.

Configuration

[format.rules]
"phpunit/fqcn-annotation" = true

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

Replaces

More format/phpunit rules · Edit this page

Last updated on

Was this page helpful?