Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

cleaning up some ;;

  • Loading branch information...
commit 58b5c0d77dd7a5002046a05dadd46902016ed1d5 1 parent 9b4e08e
gwoo authored
View
2  cake/libs/i18n.php
@@ -251,7 +251,7 @@ function __bindTextDomain($domain) {
$this->__noLocale = true;
$core = true;
$merge = array();
- $searchPaths = App::path('locales');;
+ $searchPaths = App::path('locales');
$plugins = App::objects('plugin');
if (!empty($plugins)) {
View
6 cake/tests/cases/dispatcher.test.php
@@ -954,7 +954,7 @@ function testBaseUrlAndWebrootWithModRewrite() {
$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 @@ function testBaseUrlAndWebrootWithModRewrite() {
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 @@ function testBaseUrlAndWebrootWithModRewrite() {
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';
View
2  cake/tests/cases/libs/controller/controller.test.php
@@ -995,7 +995,7 @@ function testReferer() {
'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'] = '';
View
2  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')
));
View
2  cake/tests/lib/code_coverage_manager.php
@@ -229,7 +229,7 @@ function reportCaseHtml($testObjectFile, $coverageData, $execCodeLines) {
} else {
$class = 'ignored';
}
- $report .= $manager->__paintCodeline($class, $num, $line);;
+ $report .= $manager->__paintCodeline($class, $num, $line);
}
return $manager->__paintHeader($lineCount, $coveredCount, $report);
}
Please sign in to comment.
Something went wrong with that request. Please try again.