Skip to content
This repository was archived by the owner on Jul 1, 2023. It is now read-only.

Commit 51f91a9

Browse files
committed
Merge pull request #20 from grogy/file-format
refactor - added new line to end of file
2 parents 8cfccc3 + 1a24e07 commit 51f91a9

File tree

12 files changed

+16
-16
lines changed

12 files changed

+16
-16
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
/vendor
2-
composer.lock
2+
composer.lock

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ before_script:
1313
script:
1414
- ./vendor/bin/tester tests
1515
- ./parallel-lint --exclude vendor --exclude tests/examples --no-colors .
16-
- ./parallel-lint --exclude vendor --exclude tests/examples .
16+
- ./parallel-lint --exclude vendor --exclude tests/examples .

LICENSE

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@ Copyright (c) 2012, Jakub Onderka
22
All rights reserved.
33

44
Redistribution and use in source and binary forms, with or without
5-
modification, are permitted provided that the following conditions are met:
5+
modification, are permitted provided that the following conditions are met:
66

77
1. Redistributions of source code must retain the above copyright notice, this
8-
list of conditions and the following disclaimer.
8+
list of conditions and the following disclaimer.
99
2. Redistributions in binary form must reproduce the above copyright notice,
1010
this list of conditions and the following disclaimer in the documentation
11-
and/or other materials provided with the distribution.
11+
and/or other materials provided with the distribution.
1212

1313
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
1414
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
@@ -22,5 +22,5 @@ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
2222
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2323

2424
The views and conclusions contained in the software and documentation are those
25-
of the authors and should not be interpreted as representing official policies,
26-
either expressed or implied, of the FreeBSD Project.
25+
of the authors and should not be interpreted as representing official policies,
26+
either expressed or implied, of the FreeBSD Project.

parallel-lint.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,4 +73,4 @@ function showOptions()
7373
} catch (Exception $e) {
7474
echo $e->getMessage(), PHP_EOL;
7575
die(FAILED);
76-
}
76+
}

src/Error.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,4 +231,4 @@ protected function getCodeSnippet($lineNumber, $linesBefore = 2, $linesAfter = 2
231231
$fileContent = file_get_contents($this->filePath);
232232
return $highlighter->getCodeSnippet($fileContent, $lineNumber, $linesBefore, $linesAfter);
233233
}
234-
}
234+
}

src/Output.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,4 +257,4 @@ public function write($string)
257257
$writer->write($string);
258258
}
259259
}
260-
}
260+
}

src/Process.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,4 +208,4 @@ public function isFail()
208208
return parent::isFail();
209209
}
210210
}
211-
}
211+
}

src/Settings.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,4 @@ public function getNext()
147147
$this->next();
148148
return $this->current();
149149
}
150-
}
150+
}

src/exceptions.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,4 @@ public function getPath()
6565
{
6666
return $this->path;
6767
}
68-
}
68+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
<?php
22
$foo ='bar'
3-
echo $foo;
3+
echo $foo;

0 commit comments

Comments
 (0)