Skip to content

Commit d28ad22

Browse files
committed
Fix sniff remarks.
1 parent 5236050 commit d28ad22

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Gitonomy/Git/Parser/LogParser.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ protected function doParse()
7878
}
7979
}
8080

81-
protected function consumeUnsupportedLinesToNewLine() {
81+
protected function consumeUnsupportedLinesToNewLine()
82+
{
8283
// Consume any unsupported lines that may appear in the log output. For
8384
// example, gitbutler headers or other custom metadata but this should
8485
// work regardless of the content.

tests/Gitonomy/Git/Tests/LogTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ public function testFirstMessageEmpty()
9696

9797
public function testParsesCommitsWithAndWithoutGitButlerHeaders(): void
9898
{
99-
$logContent = <<<EOT
99+
$logContent = <<<'EOT'
100100
commit 1111111111111111111111111111111111111111
101101
tree abcdefabcdefabcdefabcdefabcdefabcdefabcd
102102
author John Doe <[email protected]> 1620000000 +0000

0 commit comments

Comments
 (0)