Page MenuHomePhabricator

Add a linter rule for `abstract` methods within an `interface`
ClosedPublic

Authored by joshuaspence on Nov 23 2015, 9:24 PM.
Tags
None
Referenced Files
F19799352: D14562.diff
Fri, Feb 27, 11:37 PM
F19509067: D14562.diff
Jan 10 2026, 2:31 PM
F19016117: D14562.id35220.diff
Nov 23 2025, 2:54 AM
F18855431: D14562.id35220.diff
Nov 1 2025, 5:16 AM
F18852992: D14562.id35220.diff
Oct 31 2025, 1:29 PM
F18838083: D14562.id35260.diff
Oct 27 2025, 9:09 AM
F18804544: D14562.diff
Oct 18 2025, 9:24 AM
F18790700: D14562.diff
Oct 15 2025, 5:19 PM
Subscribers

Details

Summary

interfaces cannot contain abstract methods. This construct will cause a PHP fatal error:

Access type for interface method SomeInterface::someMethod() must be omitted
Test Plan

Added test cases.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

joshuaspence retitled this revision from to Add a linter rule for `abstract` methods within an `interace`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.
epriestley edited edge metadata.
This revision is now accepted and ready to land.Nov 25 2015, 2:57 PM
epriestley retitled this revision from Add a linter rule for `abstract` methods within an `interace` to Add a linter rule for `abstract` methods within an `interface`.Nov 25 2015, 3:07 PM
epriestley edited edge metadata.
This revision was automatically updated to reflect the committed changes.