-
Notifications
You must be signed in to change notification settings - Fork 3
Add Diff v3 backport #7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
ping @SpacePossum , please decide ;) |
@@ -232,7 +232,7 @@ public function diffToArray($from, $to, LongestCommonSubsequence $lcs = null) | |||
|
|||
if ($this->detectUnmatchedLineEndings($fromMatches, $toMatches)) { | |||
$diff[] = array( | |||
'#Warning: Strings contain different line endings!', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@keradus why was change needed for v3.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i copy-pasted v1 from original repo as well, that was the change from there
@@ -158,7 +158,7 @@ public function diffToArray($from, $to, LongestCommonSubsequenceCalculator $lcs | |||
} | |||
|
|||
if ($this->detectUnmatchedLineEndings($diff)) { | |||
\array_unshift($diff, ["#Warning: Strings contain different line endings!\n", 3]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@keradus same here, not sure why this change is needed for v3.0?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i copy-pasted v2 from original repo as well, that was the change from there
thanks @keradus ! :D |
new release? :> |
v1.3.0 is done ^_^ |
Thanks ! |
No description provided.