Page MenuHomePhabricator

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

Authored by epriestley on Feb 3 2021, 10:11 PM.
Tags
None
Referenced Files
F13188170: D21540.diff
Sat, May 11, 5:04 AM
F13184791: D21540.id.diff
Fri, May 10, 11:59 PM
Unknown Object (File)
Tue, May 7, 8:17 AM
Unknown Object (File)
Fri, May 3, 8:01 AM
Unknown Object (File)
Thu, Apr 25, 1:22 PM
Unknown Object (File)
Thu, Apr 25, 1:59 AM
Unknown Object (File)
Sat, Apr 20, 5:32 PM
Unknown Object (File)
Fri, Apr 19, 10:23 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.