Skip to content

Commit ecc9239

Browse files
Merge pull request sebastianbergmann#9 from GrahamCampbell/tweaks
Minor Tweaks
2 parents 1e09170 + e89960a commit ecc9239

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

.travis.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,16 @@
11
language: php
22

33
before_script:
4-
- composer install --prefer-source
4+
- composer self-update
5+
- composer install --no-interaction --prefer-source --dev
56

67
php:
7-
- 5.4
8+
- 5.3.3
89
- 5.3
10+
- 5.4
11+
- 5.5
12+
- 5.6
13+
- hhvm
914

1015
notifications:
1116
email: false

src/Parser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function parse($string)
6363
$diffs = array();
6464
$diff = null;
6565
$collected = array();
66-
66+
6767
for ($i = 0; $i < $lineCount; ++$i) {
6868
if (preg_match('(^---\\s+(?P<file>\\S+))', $lines[$i], $fromMatch) &&
6969
preg_match('(^\\+\\+\\+\\s+(?P<file>\\S+))', $lines[$i + 1], $toMatch)) {
@@ -133,7 +133,7 @@ private function parseFileDiff(Diff $diff, array $lines)
133133
array_unshift($lines, $last);
134134
}
135135
}
136-
136+
137137
$diff->setChunks($chunks);
138138
}
139139
}

src/autoload.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ function($class) {
2020
}
2121
}
2222
);
23-
// @codeCoverageIgnoreEnd
23+
// @codeCoverageIgnoreEnd

0 commit comments

Comments
 (0)