mirror of
https://we.phorge.it/source/arcanist.git
synced 2024-12-01 19:22:41 +01:00
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
This commit is contained in:
parent
a802a90123
commit
466910c700
2 changed files with 0 additions and 2 deletions
|
@ -163,7 +163,6 @@ EOTEXT
|
||||||
|
|
||||||
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
||||||
|
|
||||||
// is_subclass_of() doesn't autoload under HPHP.
|
|
||||||
if (!class_exists($engine) ||
|
if (!class_exists($engine) ||
|
||||||
!is_subclass_of($engine, 'ArcanistLintEngine')) {
|
!is_subclass_of($engine, 'ArcanistLintEngine')) {
|
||||||
throw new ArcanistUsageException(
|
throw new ArcanistUsageException(
|
||||||
|
|
|
@ -116,7 +116,6 @@ EOTEXT
|
||||||
|
|
||||||
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
$paths = $this->selectPathsForWorkflow($paths, $rev);
|
||||||
|
|
||||||
// is_subclass_of() doesn't autoload under HPHP.
|
|
||||||
if (!class_exists($engine_class) ||
|
if (!class_exists($engine_class) ||
|
||||||
!is_subclass_of($engine_class, 'ArcanistBaseUnitTestEngine')) {
|
!is_subclass_of($engine_class, 'ArcanistBaseUnitTestEngine')) {
|
||||||
throw new ArcanistUsageException(
|
throw new ArcanistUsageException(
|
||||||
|
|
Loading…
Reference in a new issue