PhpStorm 2019.3 Help

Code Inspection: Pointless arithmetic expression

Reports pointless arithmetic expressions. Such expressions include adding or subtracting zero, multiplying byzero or one, division by one, and shift by zero. Such expressions may be the result of automated refactoringsnot completely followed through to completion, and in any case are unlikely to be what the developerintended to do.

Last modified: 20 February 2020