---
title: "format/phpunit"
pagination: false
---

{/* Generated by scripts/gen-rule-docs.py. Edit mapping.toml, not this file. */}

PHPUnit (ecosystem: on when composer.lock has phpunit/phpunit). Also in [lint](/docs/rules/lint/phpunit) (111).

**[fqcn-annotation](/docs/rules/format/phpunit/fqcn-annotation)**

PHPUnit annotations should be a FQCNs including a root namespace.

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