]> khamidou — GitHub mirrors - arcanist.git/commitdiff
Delete obsolete comment
authorvrana <jakubv@fb.com>
Wed, 5 Sep 2012 04:21:30 +0000 (21:21 -0700)
committervrana <jakubv@fb.com>
Wed, 5 Sep 2012 06:13:43 +0000 (23:13 -0700)
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
src/workflow/ArcanistUnitWorkflow.php

index d2dd3aa4711f8e59e20fb5e5514765a23e93de2f..395585795b344c204c740112129815bc3edaf7c6 100644 (file)
@@ -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(
index 903ed0dec7c8fa99a0295dbb0dbacfcc20b3d8bb..c4eb2e8567eb7880dd6c897df0a194dac1859317 100644 (file)
@@ -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(