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)
Apr 26 2025, 2:59 PM
Unknown Object (File)
Apr 3 2025, 10:24 AM
Unknown Object (File)
Mar 26 2025, 9:53 PM
Unknown Object (File)
Mar 26 2025, 12:03 AM
Unknown Object (File)
Mar 20 2025, 9:35 AM
Unknown Object (File)
Mar 17 2025, 11:14 PM
Unknown Object (File)
Mar 13 2025, 8:59 PM
Unknown Object (File)
Mar 10 2025, 5:27 PM
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.