Passed
Pull Request — master (#38)
by giu
04:13
created
templates/Tickets/add.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <div class="col">
2 2
 <?php
3
-	echo $this->Form->create($ticket, ['templates'=>'bs4form']);
4
-	echo $this->Form->control('title');
5
-	echo $this->Form->control('description');
6
-	echo $this->Form->control('tickettype_id', ['options' => $types, 'label'=>'Type of ticket']);
7
-	echo $this->Form->control('ticketstatus_id', ['options' => $statuses, 'label' => 'Status']);
8
-	echo $this->Form->submit(__('Submit'));
9
-	echo $this->Form->end();
3
+    echo $this->Form->create($ticket, ['templates'=>'bs4form']);
4
+    echo $this->Form->control('title');
5
+    echo $this->Form->control('description');
6
+    echo $this->Form->control('tickettype_id', ['options' => $types, 'label'=>'Type of ticket']);
7
+    echo $this->Form->control('ticketstatus_id', ['options' => $statuses, 'label' => 'Status']);
8
+    echo $this->Form->submit(__('Submit'));
9
+    echo $this->Form->end();
10 10
 ?>
11 11
 </div>
Please login to merge, or discard this patch.
config/routes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 /** @var \Cake\Routing\RouteBuilder $routes */
45 45
 $routes->setRouteClass(DashedRoute::class);
46 46
 
47
-$routes->scope('/', function (RouteBuilder $builder) {
47
+$routes->scope('/', function(RouteBuilder $builder) {
48 48
 
49 49
     $builder->prefix('admin', function($routes) {
50 50
         $routes->connect('/', ['controller' => 'Users', 'action' => 'index']);
Please login to merge, or discard this patch.
src/Controller/Admin/UsersController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
 
15 15
     public function beforeFilter(EventInterface $event) {
16 16
         parent::beforeFilter($event);
17
-        $this->Auth->allow('add','login','logout');
17
+        $this->Auth->allow('add', 'login', 'logout');
18 18
     }
19 19
 
20 20
     /**
Please login to merge, or discard this patch.