Page MenuHomePhabricator

Add a linter rule to determine whether a class should be marked as `abstract`
ClosedPublic

Authored by joshuaspence on Nov 23 2015, 8:57 PM.
Tags
None
Referenced Files
F15402761: D14559.id35214.diff
Tue, Mar 18, 12:13 AM
F15391227: D14559.id35214.diff
Sat, Mar 15, 8:52 AM
F15331780: D14559.diff
Fri, Mar 7, 1:37 PM
F15283112: D14559.diff
Tue, Mar 4, 5:25 AM
Unknown Object (File)
Jan 29 2025, 10:36 PM
Unknown Object (File)
Jan 29 2025, 10:36 PM
Unknown Object (File)
Dec 28 2024, 2:52 PM
Unknown Object (File)
Dec 7 2024, 11:37 AM
Subscribers

Details

Summary

A class containing abstract methods must itself be marked as abstract.

PHP Fatal error:  Class X contains 1 abstract method and must therefore be declared abstract or implement the remaining methods (X::Y) in /home/josh/workspace/github.com/phacility/arcanist/test.php on line 5
Test Plan

Added unit tests.

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 to determine whether a class should be marked as `abstract`.
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 23 2015, 8:57 PM
This revision was automatically updated to reflect the committed changes.