diff --git a/cake/libs/i18n.php b/cake/libs/i18n.php index ae814a890..3693bf35d 100644 --- a/cake/libs/i18n.php +++ b/cake/libs/i18n.php @@ -251,7 +251,7 @@ class I18n extends Object { $this->__noLocale = true; $core = true; $merge = array(); - $searchPaths = App::path('locales');; + $searchPaths = App::path('locales'); $plugins = App::objects('plugin'); if (!empty($plugins)) { diff --git a/cake/tests/cases/dispatcher.test.php b/cake/tests/cases/dispatcher.test.php index e0c08aa60..5afb17481 100644 --- a/cake/tests/cases/dispatcher.test.php +++ b/cake/tests/cases/dispatcher.test.php @@ -954,7 +954,7 @@ class DispatcherTest extends CakeTestCase { $expectedWebroot = '/'; $this->assertEqual($expectedWebroot, $Dispatcher->webroot); - $Dispatcher->base = false;; + $Dispatcher->base = false; $_SERVER['DOCUMENT_ROOT'] = '/some/apps/where'; $_SERVER['SCRIPT_FILENAME'] = '/some/apps/where/app/webroot/index.php'; $_SERVER['PHP_SELF'] = '/some/apps/where/app/webroot/index.php'; @@ -967,7 +967,7 @@ class DispatcherTest extends CakeTestCase { Configure::write('App.dir', 'auth'); - $Dispatcher->base = false;; + $Dispatcher->base = false; $_SERVER['DOCUMENT_ROOT'] = '/cake/repo/branches'; $_SERVER['SCRIPT_FILENAME'] = '/cake/repo/branches/demos/auth/webroot/index.php'; $_SERVER['PHP_SELF'] = '/demos/auth/webroot/index.php'; @@ -980,7 +980,7 @@ class DispatcherTest extends CakeTestCase { Configure::write('App.dir', 'code'); - $Dispatcher->base = false;; + $Dispatcher->base = false; $_SERVER['DOCUMENT_ROOT'] = '/Library/WebServer/Documents'; $_SERVER['SCRIPT_FILENAME'] = '/Library/WebServer/Documents/clients/PewterReport/code/webroot/index.php'; $_SERVER['PHP_SELF'] = '/clients/PewterReport/code/webroot/index.php'; diff --git a/cake/tests/cases/libs/controller/controller.test.php b/cake/tests/cases/libs/controller/controller.test.php index 35fc7843d..dce75b632 100644 --- a/cake/tests/cases/libs/controller/controller.test.php +++ b/cake/tests/cases/libs/controller/controller.test.php @@ -995,7 +995,7 @@ class ControllerTest extends CakeTestCase { 'home' ); $result = $Controller->referer($referer, false); - $expected = 'http://' . env('HTTP_HOST') . '/pages/display/home';; + $expected = 'http://' . env('HTTP_HOST') . '/pages/display/home'; $this->assertIdentical($result, $expected); $_SERVER['HTTP_REFERER'] = ''; diff --git a/cake/tests/cases/libs/i18n.test.php b/cake/tests/cases/libs/i18n.test.php index 567a53b46..dc475c8a4 100644 --- a/cake/tests/cases/libs/i18n.test.php +++ b/cake/tests/cases/libs/i18n.test.php @@ -39,7 +39,7 @@ class I18nTest extends CakeTestCase { * @return void */ function setUp() { - $this->_localePaths = App::path('locales');; + $this->_localePaths = App::path('locales'); App::build(array( 'locales' => array(TEST_CAKE_CORE_INCLUDE_PATH . 'tests' . DS . 'test_app' . DS . 'locale') )); diff --git a/cake/tests/lib/code_coverage_manager.php b/cake/tests/lib/code_coverage_manager.php index 1914b72bf..070fe5b17 100644 --- a/cake/tests/lib/code_coverage_manager.php +++ b/cake/tests/lib/code_coverage_manager.php @@ -229,7 +229,7 @@ class CodeCoverageManager { } else { $class = 'ignored'; } - $report .= $manager->__paintCodeline($class, $num, $line);; + $report .= $manager->__paintCodeline($class, $num, $line); } return $manager->__paintHeader($lineCount, $coveredCount, $report); }