Inspectopedia Help

Parameters number mismatch declaration

Reports the function/method calls that take more parameters than specified in their declaration.

Inspection options

Option

Type

Default

Ignore functions/methods with last parameter $_

Checkbox

true

Ignore functions/methods with func_get_arg/func_get_args call

Checkbox

true

Inspection Details

Available in:

PhpStorm 2023.3, Qodana for PHP 2023.3

Plugin:

PHP, 233.SNAPSHOT

Last modified: 13 July 2023