PhpStorm 2019.3 Help

Code Inspection: Missing parameter list

Reports missing parameter lists in a classes' instantiations.

According to the PSR-12 specification, when instantiating a new class, parentheses MUST always be present even when there are no arguments passed to the constructor.

Reports missing parameter lists in a classes' instantiations.

See PSR-12: Extended Coding Style (php-fig.org) for details.

Last modified: 15 January 2020