HomeSealhub

Detect and correct "final private" methods in lint

Description

Detect and correct "final private" methods in lint

Summary:
Ref T13588. Marking a method "final private" has never been meaningful, and is an error in PHP8.

Add static analysis to detect (and correct) this issue.

Test Plan: Added unit tests, will lint "phabricator/".

Maniphest Tasks: T13588

Differential Revision: https://secure.phabricator.com/D21539

Details

Provenance
epriestleyAuthored on Feb 3 2021, 22:46
kuba-orlikPushed on Jan 24 2022, 10:17
Parents
R118:e2b6439a734b: Allow lint to correct the spelling of builtin symbols
Branches
Unknown
Tags
Unknown

Event Timeline