Skip to content

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

Merged
merged 6 commits into from
Feb 15, 2018
Merged

Add Diff v3 backport #7

merged 6 commits into from
Feb 15, 2018

Conversation

keradus
Copy link
Member

@keradus keradus commented Feb 1, 2018

No description provided.

@keradus
Copy link
Member Author

keradus commented Feb 2, 2018

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!',

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?

Copy link
Member Author

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]);

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?

Copy link
Member Author

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

@SpacePossum SpacePossum self-assigned this Feb 5, 2018
@SpacePossum SpacePossum merged commit 78bb099 into master Feb 15, 2018
@SpacePossum SpacePossum deleted the differ3 branch February 15, 2018 16:59
@SpacePossum
Copy link

thanks @keradus ! :D

@keradus
Copy link
Member Author

keradus commented Feb 15, 2018

new release? :>

@SpacePossum
Copy link

v1.3.0 is done ^_^

@keradus
Copy link
Member Author

keradus commented Feb 15, 2018

Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants