Summary: Minor linter fixes.
Test Plan: `arc lint`
Reviewers: epriestley, #blessed_reviewers
Reviewed By: epriestley, #blessed_reviewers
Subscribers: Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D12836
// Create commit message and execute the commit
$message = $this->buildCommitMessage($commit_hash);
$repository_api->doCommit($message);
- $console->writeOut(pht('Double-check the commit and push when ready.')."\n");
+ $console->writeOut("%s\n",
+ pht('Double-check the commit and push when ready.'));
}
}
return array('hg');
}
- public function run() {
- return parent::run();
- }
-
}
return array('git');
}
- public function run() {
- return parent::run();
- }
-
}
if (preg_match('/^[a-z-]+$/', $name)) {
break;
} else {
- echo pht(
- 'Library name should contain only lowercase letters and hyphens.')."\n";
+ echo phutil_console_format(
+ "%s\n",
+ pht(
+ 'Library name should contain only lowercase letters and hyphens.'));
}
} while (true);