Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix coding standards errors.

  • Loading branch information...
commit f963e378b599ca0dc03aeee8811a4d0b011dbc50 1 parent 6e0cf0d
@markstory markstory authored
View
14 app/Config/Schema/i18n.php
@@ -1,11 +1,5 @@
<?php
/**
- * This is i18n Schema file
- *
- * Use it to configure database for i18n
- *
- * PHP 5
- *
* CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
* Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
*
@@ -19,13 +13,15 @@
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
-/*
+/**
*
* Using the Schema command line utility
- * cake schema run create i18n
*
+ * Use it to configure database for i18n
+ *
+ * cake schema run create i18n
*/
-class i18nSchema extends CakeSchema {
+class I18nSchema extends CakeSchema {
public $name = 'i18n';
View
2  app/webroot/index.php
@@ -72,7 +72,7 @@
// for built-in server
if (php_sapi_name() == 'cli-server') {
- $_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
+ $_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
View
2  lib/Cake/Console/Templates/skel/webroot/index.php
@@ -74,7 +74,7 @@
// for built-in server
if (php_sapi_name() == 'cli-server') {
- $_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
+ $_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
}
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
View
2  lib/Cake/Test/Case/Utility/ValidationTest.php
@@ -1785,7 +1785,7 @@ public function testUrl() {
$this->assertTrue(Validation::url('http://underscore_subdomain.example.org'));
$this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com'));
$this->assertFalse(Validation::url('http://www.underscore_domain.org'));
- $this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
+ $this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
$this->assertTrue(Validation::url('http://www.zwischenraume.de'));
Please sign in to comment.
Something went wrong with that request. Please try again.