Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
- switches quotes for @continuous-integration/styleci/pr
  • Loading branch information
tolik518 committed Aug 5, 2022
commit f396c08f3df14c14354be505c3f23595f5640cdf
4 changes: 2 additions & 2 deletions src/Gitonomy/Git/Parser/DiffParser.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,10 @@ protected function doParse()

//verifying if the file was deleted or created
if ($this->expects('--- ')) {
$oldName = $this->consumeTo("\n") === "/dev/null" ? '/dev/null' : $oldName;
$oldName = $this->consumeTo("\n") === '/dev/null' ? '/dev/null' : $oldName;
$this->consumeNewLine();
$this->consume('+++ ');
$newName = $this->consumeTo("\n") === "/dev/null" ? '/dev/null' : $newName;
$newName = $this->consumeTo("\n") === '/dev/null' ? '/dev/null' : $newName;
$this->consumeNewLine();
} elseif ($this->expects('Binary files ')) {
$vars = $this->consumeRegexp('/"?(.*?)"? and "?(.*?)"? differ\n/');
Expand Down