We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bf22f12 + 655a9ea commit 95fe893Copy full SHA for 95fe893
src/Domain/HistoryAnalyser/UnifiedDiffParser/Parser.php
@@ -54,7 +54,7 @@ public function parseDiff(string $diffAsString): FileMutations
54
*/
55
private function getLines(string $diffAsString): array
56
{
57
- $lines = explode(\PHP_EOL, $diffAsString);
+ $lines = explode("\n", $diffAsString);
58
59
// Strip trailing empty lines from diff
60
do {
0 commit comments