Completed
Push — master ( dcb8e1...d3e625 )
by AJ
01:53
created
src/Shell/Helper/HeaderHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
 use Cake\Console\Helper;
19 19
 
20 20
 class HeaderHelper extends Helper {
21
-    public function output($args = null) {
21
+    public function output ($args = null) {
22 22
         $this->_io->out("\n\n");
23 23
         $this->_io->styles('header', ['text' => 'green']);
24 24
 
Please login to merge, or discard this patch.
src/Routing/SubdomainRouteTrait.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
 
22 22
 trait SubdomainRouteTrait {
23 23
  	
24
-    private function _getSubdomains() {
24
+    private function _getSubdomains () {
25 25
 	
26 26
         $validConfiguration = Configure::check('Multidimensional/Subdomains.subdomains');
27 27
 		
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 		
40 40
     }
41 41
 
42
-    private function _getPrefixAndHost(array $context = []) {
42
+    private function _getPrefixAndHost (array $context = []) {
43 43
         if (empty($context['_host'])) {
44 44
             $request = Router::getRequest(true) ?: Request::createFromGlobals();
45 45
             $host = $request->host();
@@ -54,12 +54,12 @@  discard block
 block discarded – undo
54 54
         }
55 55
     }
56 56
 
57
-    private function _checkPrefix($prefix) {
57
+    private function _checkPrefix ($prefix) {
58 58
         $routePrefix = isset($this->defaults['prefix']) ? $this->defaults['prefix'] : false;
59 59
         return $prefix === $routePrefix;
60 60
     }
61 61
 
62
-    public function parse($url, $method = '') {
62
+    public function parse ($url, $method = '') {
63 63
         list($prefix) = $this->_getPrefixAndHost();
64 64
         if (!$this->_checkPrefix($prefix)) {
65 65
             return false;
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         return parent::parse($url, $method);
68 68
     }
69 69
 
70
-    public function match(array $url, array $context = []) {
70
+    public function match (array $url, array $context = []) {
71 71
         if (!isset($url['prefix'])) {
72 72
             $url['prefix'] = false;
73 73
         }
Please login to merge, or discard this patch.
config/routes.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
 		
29 29
         foreach ($subdomains AS $prefix) {
30 30
 			
31
-            Router::scope('/', ['prefix' => $prefix], function($routes) { 
31
+            Router::scope('/', ['prefix' => $prefix], function($routes) {
32 32
                 $routes->fallbacks('DashedRoute');
33 33
 
34 34
             });
Please login to merge, or discard this patch.
config/subdomains.default.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 /*/
24 24
 
25 25
 return array(
26
-  'Multidimensional/Subdomains' => 
26
+    'Multidimensional/Subdomains' => 
27 27
     array('subdomains' =>
28 28
 array('{SUBDOMAIN_1}', '{SUBDOMAIN_2}', /*...*/ '{SUBDOMAIN_N}')
29 29
 )
Please login to merge, or discard this patch.
src/Shell/SubdomainsInstallShell.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
 
21 21
 class SubdomainsInstallShell extends Shell {
22 22
     
23
-public function main() {
23
+public function main () {
24 24
 
25 25
 $subdomains = array();
26 26
 
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
 
138 138
 }
139 139
 
140
-private function _modifyArray(array $array) {
140
+private function _modifyArray (array $array) {
141 141
 
142 142
 return array_combine(range(1, count($array)), array_values($array)); ;
143 143
 
Please login to merge, or discard this patch.