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)
Sun, Feb 9, 12:28 AM
Unknown Object (File)
Fri, Feb 7, 6:38 AM
Unknown Object (File)
Mon, Feb 3, 2:15 AM
Unknown Object (File)
Fri, Jan 31, 4:40 AM
Unknown Object (File)
Tue, Jan 21, 9:15 AM
Unknown Object (File)
Sat, Jan 18, 8:03 AM
Unknown Object (File)
Jan 9 2025, 3:23 PM
Unknown Object (File)
Dec 29 2024, 3:50 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.