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
Unknown Object (File)
Sat, Aug 8, 9:43 AM
Unknown Object (File)
Jun 26 2026, 3:07 PM
Unknown Object (File)
Feb 18 2026, 3:56 PM
Unknown Object (File)
Feb 15 2026, 6:45 PM
Unknown Object (File)
Feb 13 2026, 10:17 AM
Unknown Object (File)
Jan 20 2026, 8:04 PM
Unknown Object (File)
Nov 6 2025, 5:14 PM
Unknown Object (File)
Oct 23 2025, 4:03 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.