Page MenuHomePhabricator

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

Authored by epriestley on Feb 3 2021, 10:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sep 4 2026, 8:49 AM
Unknown Object (File)
Aug 30 2026, 3:16 AM
Unknown Object (File)
Aug 30 2026, 3:16 AM
Unknown Object (File)
Aug 11 2026, 3:39 AM
Unknown Object (File)
Jul 12 2026, 5:03 AM
Unknown Object (File)
Jun 23 2026, 8:39 AM
Unknown Object (File)
Jun 21 2026, 10:41 AM
Unknown Object (File)
Jun 19 2026, 9:36 PM
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.