Skip to content

Commit ccd8813

Browse files
committed
Add spaces around assignment operators
1 parent 1b7e035 commit ccd8813

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Text/Diff/Engine/native.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ function diff($from_lines, $to_lines)
7474
}
7575

7676
// Ignore lines which do not exist in both files.
77-
$xhash=[];
77+
$xhash = [];
7878
for ($xi = $skip; $xi < $n_from - $endskip; $xi++) {
7979
$xhash[$from_lines[$xi]] = 1;
8080
}
81-
$yhash=[];
81+
$yhash = [];
8282
for ($yi = $skip; $yi < $n_to - $endskip; $yi++) {
8383
$line = $to_lines[$yi];
8484
if (($this->ychanged[$yi] = empty($xhash[$line]))) {
@@ -173,7 +173,7 @@ function _diag($xoff, $xlim, $yoff, $ylim, $nchunks)
173173
= array($yoff, $ylim, $xoff, $xlim);
174174
}
175175

176-
$ymatches=array();
176+
$ymatches = array();
177177
if ($flip) {
178178
for ($i = $ylim - 1; $i >= $yoff; $i--) {
179179
$ymatches[$this->xv[$i]][] = $i;

0 commit comments

Comments
 (0)