aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/diff
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:36:34 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2007-10-05 14:36:34 +0000
commit7de5bb349890d84827d385670c76cd58c40e5b8f (patch)
tree8cf95d27809f5abc61054237d74569e818769a1f /phpBB/includes/diff
parente6c79242e6a7debfccc643a09dfab4a4d7746a8a (diff)
downloadforums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.gz
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.bz2
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.tar.xz
forums-7de5bb349890d84827d385670c76cd58c40e5b8f.zip
dumdidum... sorry. ;)
git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/diff')
-rw-r--r--phpBB/includes/diff/diff.php9
-rw-r--r--phpBB/includes/diff/engine.php7
-rw-r--r--phpBB/includes/diff/renderer.php23
3 files changed, 21 insertions, 18 deletions
diff --git a/phpBB/includes/diff/diff.php b/phpBB/includes/diff/diff.php
index 0308297c4e..0b3d14dbda 100644
--- a/phpBB/includes/diff/diff.php
+++ b/phpBB/includes/diff/diff.php
@@ -1,14 +1,15 @@
<?php
-/**
+/**
*
* @package diff
* @version $Id$
-* @copyright (c) 2006 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2006 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
*/
if (!defined('IN_PHPBB'))
{
@@ -66,7 +67,7 @@ class diff
* </code>
*
* @return diff A Diff object representing the inverse of the original diff.
- * Note that we purposely don't return a reference here, since
+ * Note that we purposely don't return a reference here, since
* this essentially is a clone() method.
*/
function reverse()
diff --git a/phpBB/includes/diff/engine.php b/phpBB/includes/diff/engine.php
index c4802c2257..576839ea60 100644
--- a/phpBB/includes/diff/engine.php
+++ b/phpBB/includes/diff/engine.php
@@ -1,14 +1,15 @@
<?php
-/**
+/**
*
* @package diff
* @version $Id$
-* @copyright (c) 2006 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2006 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
*/
if (!defined('IN_PHPBB'))
{
diff --git a/phpBB/includes/diff/renderer.php b/phpBB/includes/diff/renderer.php
index feb741762a..4157bc2cde 100644
--- a/phpBB/includes/diff/renderer.php
+++ b/phpBB/includes/diff/renderer.php
@@ -1,14 +1,15 @@
<?php
-/**
+/**
*
* @package diff
* @version $Id$
-* @copyright (c) 2006 phpBB Group
-* @license http://opensource.org/licenses/gpl-license.php GNU Public License
+* @copyright (c) 2006 phpBB Group
+* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/
/**
+* @ignore
*/
if (!defined('IN_PHPBB'))
{
@@ -269,7 +270,7 @@ class diff_renderer
* Renders a unified diff
* @package diff
*/
-class diff_renderer_unified extends diff_renderer
+class diff_renderer_unified extends diff_renderer
{
var $_leading_context_lines = 4;
var $_trailing_context_lines = 4;
@@ -284,12 +285,12 @@ class diff_renderer_unified extends diff_renderer
function _block_header($xbeg, $xlen, $ybeg, $ylen)
{
- if ($xlen != 1)
+ if ($xlen != 1)
{
$xbeg .= ',' . $xlen;
}
- if ($ylen != 1)
+ if ($ylen != 1)
{
$ybeg .= ',' . $ylen;
}
@@ -505,7 +506,7 @@ class diff_renderer_inline extends diff_renderer
*
* @package diff
*/
-class diff_renderer_raw extends diff_renderer
+class diff_renderer_raw extends diff_renderer
{
var $_leading_context_lines = 4;
var $_trailing_context_lines = 4;
@@ -520,12 +521,12 @@ class diff_renderer_raw extends diff_renderer
function _block_header($xbeg, $xlen, $ybeg, $ylen)
{
- if ($xlen != 1)
+ if ($xlen != 1)
{
$xbeg .= ',' . $xlen;
}
- if ($ylen != 1)
+ if ($ylen != 1)
{
$ybeg .= ',' . $ylen;
}
@@ -559,7 +560,7 @@ class diff_renderer_raw extends diff_renderer
*
* @package diff
*/
-class diff_renderer_side_by_side extends diff_renderer
+class diff_renderer_side_by_side extends diff_renderer
{
var $_leading_context_lines = 3;
var $_trailing_context_lines = 3;
@@ -647,7 +648,7 @@ class diff_renderer_side_by_side extends diff_renderer
break;
case 'change':
- // Pop the old/new stacks one by one, until both are empty.
+ // Pop the old/new stacks one by one, until both are empty.
$oldsize = sizeof($change['old']);
$newsize = sizeof($change['new']);
$left = $right = '';