PhpStorm 2019.3 Help

Code Inspection: Suspicious name combination

Reports assignments and function calls where the name of the variable to whicha value is assigned or the function parameter does not seem to match the name of the value assigned to it.For example:

var x = 0; var y = x;
var x = 0, y = 0; var rc = new Rectangle(y, x, 20, 20);
The configuration pane allows to specify the names which should not be used together: the error is reportedif the parameter name or assignment target name contains words from one group and the name of the assigned or passedvariable contains words from a different group.

Last modified: 20 February 2020