Skip to content
This repository
Browse code

Fix coding standards errors.

  • Loading branch information...
commit f963e378b599ca0dc03aeee8811a4d0b011dbc50 1 parent 6e0cf0d
Mark Story authored July 26, 2012
14  app/Config/Schema/i18n.php
... ...
@@ -1,11 +1,5 @@
1 1
 <?php
2 2
 /**
3  
- * This is i18n Schema file
4  
- *
5  
- * Use it to configure database for i18n
6  
- *
7  
- * PHP 5
8  
- *
9 3
  * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
10 4
  * Copyright 2005-2012, Cake Software Foundation, Inc. (http://cakefoundation.org)
11 5
  *
@@ -19,13 +13,15 @@
19 13
  * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
20 14
  */
21 15
 
22  
-/*
  16
+/**
23 17
  *
24 18
  * Using the Schema command line utility
25  
- * cake schema run create i18n
26 19
  *
  20
+ * Use it to configure database for i18n
  21
+ *
  22
+ * cake schema run create i18n
27 23
  */
28  
-class i18nSchema extends CakeSchema {
  24
+class I18nSchema extends CakeSchema {
29 25
 
30 26
 	public $name = 'i18n';
31 27
 
2  app/webroot/index.php
@@ -72,7 +72,7 @@
72 72
 
73 73
 // for built-in server
74 74
 if (php_sapi_name() == 'cli-server') {
75  
-	$_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
  75
+	$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
76 76
 }
77 77
 
78 78
 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
2  lib/Cake/Console/Templates/skel/webroot/index.php
@@ -74,7 +74,7 @@
74 74
 
75 75
 // for built-in server
76 76
 if (php_sapi_name() == 'cli-server') {
77  
-	$_SERVER['PHP_SELF'] = '/'.basename(__FILE__);
  77
+	$_SERVER['PHP_SELF'] = '/' . basename(__FILE__);
78 78
 }
79 79
 
80 80
 if (!defined('CAKE_CORE_INCLUDE_PATH')) {
2  lib/Cake/Test/Case/Utility/ValidationTest.php
@@ -1785,7 +1785,7 @@ public function testUrl() {
1785 1785
 		$this->assertTrue(Validation::url('http://underscore_subdomain.example.org'));
1786 1786
 		$this->assertTrue(Validation::url('http://_jabber._tcp.gmail.com'));
1787 1787
 		$this->assertFalse(Validation::url('http://www.underscore_domain.org'));
1788  
-		$this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));		
  1788
+		$this->assertFalse(Validation::url('http://_jabber._tcp.g_mail.com'));
1789 1789
 
1790 1790
 		$this->assertTrue(Validation::url('http://example.com/~userdir/subdir/index.html'));
1791 1791
 		$this->assertTrue(Validation::url('http://www.zwischenraume.de'));

0 notes on commit f963e37

Please sign in to comment.
Something went wrong with that request. Please try again.