One-per-line trait uses
Reports the cases of several traits being imported via a single use
statement.
According to PSR-12, each individual trait imported into a class MUST be included one-per-line, and each inclusion MUST have its own use
import statement.
See PSR-12: Extended Coding Style (php-fig.org) for details.
Inspection Details | |
---|---|
Available in: | PhpStorm 2023.3, Qodana for PHP 2023.3 |
Plugin: | PHP, 233.SNAPSHOT |
Last modified: 13 July 2023