RSPEC-1862 creates a secondary location on the first occurrence of the same condition. This location can be quite far from the primary location and developers will expect to navigate to it in SonarLint. Thus we need to add a message to this secondary location.
The secondary location message is already provided in the RSPEC.
- contributes to
-
MMF-2203 PHP: Secondary Locations should have a message to help users investigate issues
-
- Closed
-
- is related to
-
RSPEC-1862 Related "if/else if" statements should not have the same condition
- Active