Replace elseif by else if

Summary:
Mostly written by me.
Omit external libraries.

Test Plan: http://phabricator.com/docs/phabricator/article/PHP_Coding_Standards.html

Reviewers: epriestley

Reviewed By: epriestley

CC: aran

Differential Revision: https://secure.phabricator.com/D2104
This commit is contained in:
vrana
2012-04-04 15:06:45 -07:00
parent b8cb52a9da
commit bc61f36beb
5 changed files with 9 additions and 9 deletions

View File

@@ -1355,7 +1355,7 @@ final class DifferentialChangesetParser {
if ($this->old[$ii]['type'] == '\\') {
$o_text = $this->old[$ii]['text'];
$o_attr = ' class="comment"';
} elseif (empty($this->new[$ii])) {
} else if (empty($this->new[$ii])) {
$o_attr = ' class="old old-full"';
} else {
$o_attr = ' class="old"';
@@ -1389,7 +1389,7 @@ final class DifferentialChangesetParser {
if ($this->new[$ii]['type'] == '\\') {
$n_text = $this->new[$ii]['text'];
$n_attr = ' class="comment"';
} elseif (empty($this->old[$ii])) {
} else if (empty($this->old[$ii])) {
$n_attr = ' class="new new-full"';
} else {
$n_attr = ' class="new"';