Skip to content

Commit 75f5ce0

Browse files
committed
Add method generateLinesIgnore
Currently the line is commented out, because the method is not required until the deprecation period for missing this method is over.
1 parent 9403eba commit 75f5ce0

File tree

1 file changed

+17
-7
lines changed

1 file changed

+17
-7
lines changed

lib/jblond/Diff/Renderer/SubRendererInterface.php

Lines changed: 17 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,6 @@ public function generateDiffHeader(): string;
4141
*/
4242
public function generateBlockHeader(array $changes): string;
4343

44-
/**
45-
* Generate a string representation of lines that are skipped in the diff view.
46-
*
47-
* @return string Representation of skipped lines.
48-
*/
49-
public function generateSkippedLines(): string;
50-
5144
/**
5245
* Generate a string representation of lines without differences between both versions.
5346
*
@@ -69,6 +62,23 @@ public function generateLinesEqual(array $changes): string;
6962
*/
7063
public function generateLinesInsert(array $changes): string;
7164

65+
/**
66+
* Generate a string representation of lines that are skipped in the diff view.
67+
*
68+
* @return string Representation of skipped lines.
69+
*/
70+
public function generateSkippedLines(): string;
71+
72+
/**
73+
* Generate a string representation of lines with ignored differences between both versions.
74+
*
75+
* @param array $changes Contains the op-codes about the changes between two blocks of text.
76+
*
77+
* @return string Text with no difference.
78+
* @todo: Uncomment once deprecation period is over.
79+
*/
80+
// public function generateLinesIgnore(array $changes): string;
81+
7282
/**
7383
* Generate a string representation of lines that are removed from the 2nd version.
7484
*

0 commit comments

Comments
 (0)