Page MenuHomePhabricator

Add a linter rule for unnecessary use of the `final` modifier
ClosedPublic

Authored by joshuaspence on Mar 23 2015, 1:13 PM.
Tags
None
Referenced Files
F18878410: D12135.diff
Nov 6 2025, 5:14 PM
F18822078: D12135.id.diff
Oct 23 2025, 4:03 AM
F18781020: D12135.id29162.diff
Oct 12 2025, 9:03 PM
F18628695: D12135.diff
Sep 16 2025, 7:05 AM
F18110120: D12135.id29162.diff
Aug 11 2025, 4:21 PM
F18097064: D12135.diff
Aug 8 2025, 10:54 AM
F18084615: D12135.id29181.diff
Aug 5 2025, 4:25 PM
F18057142: D12135.id29162.diff
Aug 4 2025, 8:55 AM
Subscribers

Details

Summary

Ref T7409. This was based on rhttps://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/Standards/Generic/Sniffs/CodeAnalysis/UnnecessaryFinalModifierSniff.php.

Test Plan

Added unit tests.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add a linter rule for unnecessary use of the `final` modifier.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Mar 23 2015, 1:14 PM
This revision was automatically updated to reflect the committed changes.