diff --git a/src/lint/linter/ArcanistLinter.php b/src/lint/linter/ArcanistLinter.php index d2695148..6bb02e5d 100644 --- a/src/lint/linter/ArcanistLinter.php +++ b/src/lint/linter/ArcanistLinter.php @@ -574,8 +574,10 @@ abstract class ArcanistLinter extends Phobject { case 'standard': $standards = (array)$value; - foreach ($standards as $standard) { - $standard = ArcanistLinterStandard::getStandard($value, $this); + foreach ($standards as $standard_name) { + $standard = ArcanistLinterStandard::getStandard( + $standard_name, + $this); foreach ($standard->getLinterConfiguration() as $k => $v) { $this->setLinterConfigurationValue($k, $v);