Page MenuHomePhabricator

Add a linter rule to detect duplicate `case` statements
ClosedPublic

Authored by joshuaspence on Jan 3 2015, 4:11 AM.
Tags
None
Referenced Files
F15407327: D11171.id26820.diff
Tue, Mar 18, 4:56 PM
F15389993: D11171.diff
Sat, Mar 15, 5:49 AM
Unknown Object (File)
Feb 18 2025, 3:16 PM
Unknown Object (File)
Feb 8 2025, 12:43 AM
Unknown Object (File)
Feb 8 2025, 12:43 AM
Unknown Object (File)
Feb 8 2025, 12:43 AM
Unknown Object (File)
Feb 2 2025, 1:50 PM
Unknown Object (File)
Jan 28 2025, 2:20 AM
Subscribers

Details

Summary

Fixes T6843. Adds a linter rule to ArcanistXHPASTLinter to detect duplicate case statements within a switch statement.

Test Plan

Added test cases.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable