Completed
Branch master (f15b87)
by AJ
01:45
created
src/Shell/SubdomainsInstallShell.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
 							$subdomains[] = $subdomain;
82 82
 							$valid = true;
83 83
 							$this->out();
84
-						}else{
84
+						} else{
85 85
 							$valid = false;
86 86
 							$this->out();
87 87
 							$this->_io->out('<error>Invalid Subdomain.</error>');
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('InflectedRoute');
33 33
 			});
34 34
 			
Please login to merge, or discard this patch.
src/Routing/SubdomainRouteTrait.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -19,8 +19,7 @@
 block discarded – undo
19 19
 use Cake\Routing\Router;
20 20
 use Cake\Core\Configure;
21 21
 
22
-trait SubdomainRouteTrait
23
-{
22
+trait SubdomainRouteTrait {
24 23
  	
25 24
 	private function _getSubdomains() {
26 25
 	
Please login to merge, or discard this patch.
src/Routing/Route/DashedRoute.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Cake\Routing\Route\DashedRoute as CakeDashedRoute;
19 19
 use Multidimensional\Subdomains\Routing\SubdomainRouteTrait;
20 20
 
21
-class DashedRoute extends CakeDashedRoute
22
-{
21
+class DashedRoute extends CakeDashedRoute {
23 22
     use SubdomainRouteTrait;
24 23
 }
25 24
\ No newline at end of file
Please login to merge, or discard this patch.
src/Routing/Route/Route.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Cake\Routing\Route\Route as CakeRoute;
19 19
 use Multidimensional\Subdomains\Routing\SubdomainRouteTrait;
20 20
 
21
-class Route extends CakeRoute
22
-{
21
+class Route extends CakeRoute {
23 22
     use SubdomainRouteTrait;
24 23
 }
25 24
\ No newline at end of file
Please login to merge, or discard this patch.
src/Routing/Route/InflectedRoute.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,6 @@
 block discarded – undo
18 18
 use Cake\Routing\Route\InflectedRoute as CakeInflectedRoute;
19 19
 use Multidimensional\Subdomains\Routing\SubdomainRouteTrait;
20 20
 
21
-class InflectedRoute extends CakeInflectedRoute
22
-{
21
+class InflectedRoute extends CakeInflectedRoute {
23 22
     use SubdomainRouteTrait;
24 23
 }
25 24
\ No newline at end of file
Please login to merge, or discard this patch.
src/Shell/Helper/HeaderHelper.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -17,10 +17,8 @@
 block discarded – undo
17 17
 
18 18
 use Cake\Console\Helper;
19 19
 
20
-class HeaderHelper extends Helper
21
-{
22
-    public function output($args = null)
23
-    {
20
+class HeaderHelper extends Helper {
21
+    public function output($args = null) {
24 22
         $this->_io->out("\n\n");
25 23
         $this->_io->styles('header', ['text' => 'green']);
26 24
 
Please login to merge, or discard this patch.