From d81f562b712f2387fa02290bf2ca86392ab356f2 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Wed, 11 Oct 2006 20:21:25 +0000 Subject: Aktualisierung auf Version 1.8.1 --- includes/normal/CleanUpTest.php | 2 +- includes/normal/RandomTest.php | 6 +++--- includes/normal/UtfNormal.php | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'includes/normal') 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>/', $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; -- cgit v1.2.3-54-g00ecf