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
F14751478: D12135.id.diff
Tue, Jan 21, 12:34 PM
Unknown Object (File)
Thu, Jan 16, 12:50 PM
Unknown Object (File)
Thu, Jan 9, 1:41 PM
Unknown Object (File)
Thu, Jan 9, 12:48 PM
Unknown Object (File)
Tue, Jan 7, 4:50 AM
Unknown Object (File)
Sat, Dec 28, 3:59 PM
Unknown Object (File)
Dec 16 2024, 3:03 AM
Unknown Object (File)
Dec 15 2024, 7:22 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.