x Sorry, these patches are not available anymore due to data migration. Please run a fresh inspection.
Completed
Pull Request — master (#15)
by
unknown
05:21
created
app/src/Common/Config/Settings.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $settings['accessToken']['iss'] = @getenv('AUTH_ISS');
40 40
 
41 41
         // Adjust error reporting
42
-        if (@stripos($settings['params']['env'],  'dev') !== false) {
42
+        if (@stripos($settings['params']['env'], 'dev') !== false) {
43 43
             $settings['displayErrorDetails'] = true;
44 44
         }
45 45
 
Please login to merge, or discard this patch.
config/acl.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
             Acl::GUARD_TYPE_ROUTE => [
50 50
                 // resource, [roles as array], [privileges as array]
51 51
                 ['/api/token', ['guest'], [Acl::PRIVILEGE_POST]],
52
-                ['/api/user',  ['user'],  [Acl::PRIVILEGE_GET]],
52
+                ['/api/user', ['user'], [Acl::PRIVILEGE_GET]],
53 53
             ],
54 54
 
55 55
             /**
@@ -61,15 +61,15 @@  discard block
 block discarded – undo
61 61
              */
62 62
             Acl::GUARD_TYPE_CALLABLE => [
63 63
                 // resource, [roles as array], [privileges as array]
64
-                ['App\Controller\CrudController',              ['user']],
65
-                ['App\Controller\CrudController:actionIndex',  ['user']],
66
-                ['App\Controller\CrudController:actionGet',    ['user']],
64
+                ['App\Controller\CrudController', ['user']],
65
+                ['App\Controller\CrudController:actionIndex', ['user']],
66
+                ['App\Controller\CrudController:actionGet', ['user']],
67 67
                 ['App\Controller\CrudController:actionCreate', ['user']],
68 68
                 ['App\Controller\CrudController:actionUpdate', ['user']],
69 69
                 ['App\Controller\CrudController:actionDelete', ['user']],
70 70
 
71
-                ['App\Controller\UserController:actionIndex',  ['user']],
72
-                ['App\Controller\UserController:actionGet',    ['user']],
71
+                ['App\Controller\UserController:actionIndex', ['user']],
72
+                ['App\Controller\UserController:actionGet', ['user']],
73 73
                 ['App\Controller\UserController:actionCreate', ['admin']],
74 74
                 ['App\Controller\UserController:actionUpdate', ['admin']],
75 75
                 ['App\Controller\UserController:actionDelete', ['admin']],
Please login to merge, or discard this patch.