Summary: It is currently not possible to apply multiple linter standards because `$value` was used instead of `$standard`.
Test Plan: Was able to apply multiple linter standards.
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: eadler, thaiphv, Korvin
Differential Revision: https://secure.phabricator.com/D15212
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);