Skip to content

Commit

Permalink
Add method generateLinesIgnore
Browse files Browse the repository at this point in the history
Currently the line is commented out, because the method is not required
 until the deprecation period for missing this method is over.
  • Loading branch information
DigiLive authored and DigiLive committed Dec 18, 2020
1 parent 9403eba commit 75f5ce0
Showing 1 changed file with 17 additions and 7 deletions.
24 changes: 17 additions & 7 deletions lib/jblond/Diff/Renderer/SubRendererInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,13 +41,6 @@ public function generateDiffHeader(): string;
*/
public function generateBlockHeader(array $changes): string;

/**
* Generate a string representation of lines that are skipped in the diff view.
*
* @return string Representation of skipped lines.
*/
public function generateSkippedLines(): string;

/**
* Generate a string representation of lines without differences between both versions.
*
Expand All @@ -69,6 +62,23 @@ public function generateLinesEqual(array $changes): string;
*/
public function generateLinesInsert(array $changes): string;

/**
* Generate a string representation of lines that are skipped in the diff view.
*
* @return string Representation of skipped lines.
*/
public function generateSkippedLines(): string;

/**
* Generate a string representation of lines with ignored differences between both versions.
*
* @param array $changes Contains the op-codes about the changes between two blocks of text.
*
* @return string Text with no difference.
* @todo: Uncomment once deprecation period is over.
*/
// public function generateLinesIgnore(array $changes): string;

/**
* Generate a string representation of lines that are removed from the 2nd version.
*
Expand Down

0 comments on commit 75f5ce0

Please sign in to comment.