Uploaded image for project: 'SonarSlang'
  1. SonarSlang
  2. SONARSLANG-446

Update S126 to not raise issues on cases where there is return/break/...

    XMLWordPrintable

    Details

      Description

      RSPEC-126 has been modified to add exception:

      Exceptions

      When all branches of an if-else if end with return, break or throw, the code that comes after the if implicitly behaves as if it was in an else clause. This rule will therefore ignore that case.

      The rule should be updated to cover these cases.

        Attachments

          Activity

            People

            Assignee:
            amelie.renard Amélie Renard
            Reporter:
            christophe.zurn Christophe Zurn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: