This issue is raised when increment/decrement operators are used on any other type of variable than numbers or strings.
// Bad practice
$object = new stdClass;
$object++;
$date = date('j. n. Y')++;
$array = [1, 2, 3];
$array++;
// Recommended
$i = 1;
$i++;
$text = 'abc';
$text++;