Summary: Self explanatory/
Test Plan: `arc lint`
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: aurelijus, Korvin, epriestley
Differential Revision: https://secure.phabricator.com/D10943
if ($bin) {
if (Filesystem::binaryExists($bin)) {
$this->phpunitBinary = $bin;
- }
- else {
+ } else {
$this->phpunitBinary = Filesystem::resolvePath($bin, $project_root);
}
}
if (intval($line->getAttribute('hits')) == 0) {
$coverage .= 'U';
- }
- else if (intval($line->getAttribute('hits')) > 0) {
+ } else if (intval($line->getAttribute('hits')) > 0) {
$coverage .= 'C';
}
if (!$commits) {
throw new ArcanistUsageException(
'This revision has not been committed yet!');
- }
- else if (count($commits) > 1) {
+ } else if (count($commits) > 1) {
throw new ArcanistUsageException(
'The revision you provided has multiple commits!');
}