]> khamidou — GitHub mirrors - arcanist.git/commit
Add a linter rule for extending Phobject
authorJoshua Spence <josh@joshuaspence.com>
Mon, 15 Jun 2015 05:44:00 +0000 (15:44 +1000)
committerJoshua Spence <josh@joshuaspence.com>
Mon, 15 Jun 2015 05:44:45 +0000 (15:44 +1000)
commitac8367a884ff29ffe35db30364290691282fd17d
treec8138e1a90490e7ccb52f7c053924569996bb432
parente97cdc6c9a6cb927ba776e21db91e4bcc532600d
Add a linter rule for extending Phobject

Summary: If I understand correctly, all classes should extend from `Phobject`?

Test Plan: This needs some further work

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: epriestley, Korvin

Differential Revision: https://secure.phabricator.com/D13275
src/lint/linter/ArcanistPhutilXHPASTLinter.php
src/lint/linter/__tests__/phlxhp/extends-phobject.lint-test [new file with mode: 0644]
src/lint/linter/__tests__/phlxhp/ragged-classtree-edges.lint-test