diff --git a/src/lint/linter/ArcanistXHPASTLinter.php b/src/lint/linter/ArcanistXHPASTLinter.php index 2bd9063d..178577bc 100644 --- a/src/lint/linter/ArcanistXHPASTLinter.php +++ b/src/lint/linter/ArcanistXHPASTLinter.php @@ -487,9 +487,9 @@ final class ArcanistXHPASTLinter extends ArcanistBaseXHPASTLinter { $classes = $root->selectDescendantsOfType('n_CLASS_NAME'); foreach ($classes as $node) { - $name = strtolower($node->getConcreteString()); - $version = idx($compat_info['interfaces'], $name); - $version = idx($compat_info['classes'], $name, $version); + $name = $node->getConcreteString(); + $version = idx($compat_info['interfaces'], strtolower($name)); + $version = idx($compat_info['classes'], strtolower($name), $version); if ($version && version_compare($version['min'], $required, '>')) { $this->raiseLintAtNode( $node,