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
F14029192: D14559.id35223.diff
Fri, Nov 8, 7:58 PM
F14029191: D14559.id.diff
Fri, Nov 8, 7:58 PM
F14025153: D14559.diff
Thu, Nov 7, 2:46 PM
F14019646: D14559.id35214.diff
Tue, Nov 5, 11:05 PM
F14003912: D14559.id35214.diff
Sat, Oct 26, 12:39 PM
F13980382: D14559.diff
Sat, Oct 19, 10:19 AM
F13980373: D14559.id.diff
Sat, Oct 19, 10:15 AM
F13980372: D14559.id35214.diff
Sat, Oct 19, 10:15 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.