Page MenuHomePhabricator

Remove "final" from "private" methods in Phabricator
ClosedPublic

Authored by epriestley on Feb 3 2021, 10:11 PM.
Tags
None
Referenced Files
F15492182: D21540.id51272.diff
Sat, Apr 12, 12:07 PM
F15488588: D21540.id51273.diff
Thu, Apr 10, 11:47 PM
F15488088: D21540.id51272.diff
Thu, Apr 10, 7:19 PM
F15484505: D21540.id.diff
Wed, Apr 9, 6:41 PM
F15481632: D21540.diff
Tue, Apr 8, 10:16 PM
F15475643: D21540.id51273.diff
Sun, Apr 6, 9:16 PM
F15436822: D21540.id51272.diff
Tue, Mar 25, 4:37 PM
F15425712: D21540.diff
Sun, Mar 23, 5:37 AM
Subscribers
None

Details

Summary

Ref T13588. This has never been meaningful, but a "final private" method is specifically forbidden in PHP8.

Remove meaningless "final" from these methods, per new lint checks.

Test Plan

Ran arc lint --everything to identify affected methods, then ... | xargs -n1 arc lint --apply-patches.

Diff Detail

Repository
rP Phabricator
Branch
final1
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 25086
Build 34616: Run Core Tests
Build 34615: arc lint + arc unit

Event Timeline

This revision was not accepted when it landed; it landed in state Needs Review.Feb 3 2021, 10:13 PM
epriestley requested review of this revision.
This revision was automatically updated to reflect the committed changes.