forked from chrisboulton/php-diff
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
22 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
@@ -98,11 +98,11 @@ public function render() | |
return $html; | ||
} | ||
|
||
|
||
/** | ||
* Generates a string representation of a predefined table and its head with | ||
* titles from options. | ||
* | ||
* | ||
* @return string Html code representation of the table's header. | ||
*/ | ||
private function generateTableHeader() | ||
|
@@ -120,7 +120,7 @@ private function generateTableHeader() | |
|
||
/** | ||
* Generates a string representation of empty table body. | ||
* | ||
* | ||
* @return string Html code representing empty table body. | ||
*/ | ||
private function generateSkippedTable() | ||
|
@@ -132,10 +132,10 @@ private function generateSkippedTable() | |
$html .= '</tbody>'; | ||
return $html; | ||
} | ||
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines of text with no difference. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of text with no difference. | ||
*/ | ||
|
@@ -156,7 +156,7 @@ private function generateTableRowsEqual(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where new text was added. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of added text. | ||
*/ | ||
|
@@ -176,7 +176,7 @@ private function generateTableRowsInsert(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where text was removed. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of removed text. | ||
*/ | ||
|
@@ -196,7 +196,7 @@ private function generateTableRowsDelete(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where text was partially modified. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of modified. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
@@ -99,7 +99,7 @@ public function render() | |
/** | ||
* Generates a string representation of a predefined table and its head with | ||
* titles from options. | ||
* | ||
* | ||
* @return string Html code representation of the table's header. | ||
*/ | ||
private function generateTableHeader() | ||
|
@@ -116,7 +116,7 @@ private function generateTableHeader() | |
|
||
/** | ||
* Generates a string representation of empty table body. | ||
* | ||
* | ||
* @return string Html code representing empty table body. | ||
*/ | ||
private function generateSkippedTable() | ||
|
@@ -130,7 +130,7 @@ private function generateSkippedTable() | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines of text with no difference. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of text with no difference. | ||
*/ | ||
|
@@ -152,7 +152,7 @@ private function generateTableRowsEqual(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where new text was added. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of added text. | ||
*/ | ||
|
@@ -173,7 +173,7 @@ private function generateTableRowsInsert(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where text was removed. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of removed text. | ||
*/ | ||
|
@@ -194,7 +194,7 @@ private function generateTableRowsDelete(&$change) | |
|
||
/** | ||
* Generates a string representation of one or more rows of a table of lines, where text was partially modified. | ||
* | ||
* | ||
* @param array &$change Array with data about changes. | ||
* @return string Html code representing one or more rows of modified. | ||
*/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ | |
* @author Chris Boulton <[email protected]> | ||
* @copyright (c) 2009 Chris Boulton | ||
* @license New BSD License http://www.opensource.org/licenses/bsd-license.php | ||
* @version 1.2 | ||
* @version 1.3 | ||
* @link https://github.com/JBlond/php-diff | ||
*/ | ||
|
||
|