diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2006-10-11 20:21:25 +0000 |
commit | d81f562b712f2387fa02290bf2ca86392ab356f2 (patch) | |
tree | d666cdefbe6ac320827a2c6cb473581b46e22c4c /includes/normal | |
parent | 183851b06bd6c52f3cae5375f433da720d410447 (diff) |
Aktualisierung auf Version 1.8.1
Diffstat (limited to 'includes/normal')
-rw-r--r-- | includes/normal/CleanUpTest.php | 2 | ||||
-rw-r--r-- | includes/normal/RandomTest.php | 6 | ||||
-rw-r--r-- | includes/normal/UtfNormal.php | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/includes/normal/CleanUpTest.php b/includes/normal/CleanUpTest.php index 4e147cfd..30ec6a95 100644 --- a/includes/normal/CleanUpTest.php +++ b/includes/normal/CleanUpTest.php @@ -412,7 +412,7 @@ class CleanUpTest extends PHPUnit_TestCase { } -$suite =& new PHPUnit_TestSuite( 'CleanUpTest' ); +$suite = new PHPUnit_TestSuite( 'CleanUpTest' ); $result = PHPUnit::run( $suite ); echo $result->toString(); diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index 3a5a407b..e2601366 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -65,8 +65,8 @@ function showDiffs( $a, $b ) { $ota = explode( "\n", str_replace( "\r\n", "\n", $a ) ); $nta = explode( "\n", str_replace( "\r\n", "\n", $b ) ); - $diffs =& new Diff( $ota, $nta ); - $formatter =& new TableDiffFormatter(); + $diffs = new Diff( $ota, $nta ); + $formatter = new TableDiffFormatter(); $funky = $formatter->format( $diffs ); preg_match_all( '/<span class="diffchange">(.*?)<\/span>/', $funky, $matches ); foreach( $matches[1] as $bit ) { @@ -104,4 +104,4 @@ while( true ) { $norm = ''; } -?>
\ No newline at end of file +?> diff --git a/includes/normal/UtfNormal.php b/includes/normal/UtfNormal.php index d8641993..af3809d5 100644 --- a/includes/normal/UtfNormal.php +++ b/includes/normal/UtfNormal.php @@ -33,7 +33,7 @@ */ /** */ -require_once 'UtfNormalUtil.php'; +require_once dirname(__FILE__).'/UtfNormalUtil.php'; global $utfCombiningClass, $utfCanonicalComp, $utfCanonicalDecomp; $utfCombiningClass = NULL; |