From 466910c7009217681142e6001e2ea9339b0c71ab Mon Sep 17 00:00:00 2001 From: vrana Date: Tue, 4 Sep 2012 21:21:30 -0700 Subject: [PATCH] Delete obsolete comment Summary: HPHP now autoloads in `is_subclass_of()`. I've left the `class_exists()` check as the code is more explicit. Test Plan: // under HPHP function __autoload($c) { echo "$c\n"; } is_subclass_of('C', 'stdClass'); Reviewers: epriestley Reviewed By: epriestley CC: aran, Korvin Differential Revision: https://secure.phabricator.com/D3435 --- src/workflow/ArcanistLintWorkflow.php | 1 - src/workflow/ArcanistUnitWorkflow.php | 1 - 2 files changed, 2 deletions(-) diff --git a/src/workflow/ArcanistLintWorkflow.php b/src/workflow/ArcanistLintWorkflow.php index d2dd3aa4..39558579 100644 --- a/src/workflow/ArcanistLintWorkflow.php +++ b/src/workflow/ArcanistLintWorkflow.php @@ -163,7 +163,6 @@ EOTEXT $paths = $this->selectPathsForWorkflow($paths, $rev); - // is_subclass_of() doesn't autoload under HPHP. if (!class_exists($engine) || !is_subclass_of($engine, 'ArcanistLintEngine')) { throw new ArcanistUsageException( diff --git a/src/workflow/ArcanistUnitWorkflow.php b/src/workflow/ArcanistUnitWorkflow.php index 903ed0de..c4eb2e85 100644 --- a/src/workflow/ArcanistUnitWorkflow.php +++ b/src/workflow/ArcanistUnitWorkflow.php @@ -116,7 +116,6 @@ EOTEXT $paths = $this->selectPathsForWorkflow($paths, $rev); - // is_subclass_of() doesn't autoload under HPHP. if (!class_exists($engine_class) || !is_subclass_of($engine_class, 'ArcanistBaseUnitTestEngine')) { throw new ArcanistUsageException( -- 2.43.0