Update S126 to add an exception

Description

has evolve and provide the following exception:

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

Activity

Fixed
Pinned fields
Click on the next to a field label to start pinning.

Details

Assignee

Reporter

Fix versions

Due date

Priority

Sentry

Created January 15, 2019 at 9:06 AM
Updated October 16, 2024 at 2:38 PM
Resolved January 7, 2021 at 5:20 PM