Test Failed
Push — master ( 57f449...4c5775 )
by Park Jong-Hun
06:46
created
config/error.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 return [
4 4
     'displayErrors' => true,
5
-    'enableReporters' => [ 'Html' ],
5
+    'enableReporters' => ['Html'],
6 6
 
7 7
     'reporters' => [
8 8
         'Html' => [
Please login to merge, or discard this patch.
core/ControllerDispatcher/Dispatcher.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
     }
72 72
 
73 73
     private function validateRoutePath() {
74
-        if(RequestMatcher::getControllerProc() === null) {
74
+        if (RequestMatcher::getControllerProc() === null) {
75 75
             throw new RoutePathNotFound(
76 76
                 sprintf('Route path not found: %s (%s)',
77 77
                     $this->request->getUri()->getPath(),
Please login to merge, or discard this patch.
config/parameter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     P::type(EntityManagerInterface::class)
38 38
         ->lazy(function() { return DatabaseManager::getEntityManager(); }),
39 39
 
40
-    P::lazyCallback(function () {
40
+    P::lazyCallback(function() {
41 41
         $result = [];
42 42
         foreach (RequestMatcher::getUrlNameMatching() as $name => $value) {
43 43
             $result[] = P::name($name)->value($value);
Please login to merge, or discard this patch.
app/Bootstrap/DispatcherBootstrap.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $viewClassName = get_class($viewRenderer->resolveView($controllerResult));
50 50
 
51
-        if(array_search($viewClassName, $this->env['viewPrefix']['applyView']) === false) {
51
+        if (array_search($viewClassName, $this->env['viewPrefix']['applyView']) === false) {
52 52
             return $controllerResult;
53 53
         }
54 54
 
Please login to merge, or discard this patch.
app/ViewEngine/TwigView.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -123,7 +123,7 @@
 block discarded – undo
123 123
     {
124 124
         $pos = strrpos($this->getFile(), '/');
125 125
 
126
-        if($pos === false) {
126
+        if ($pos === false) {
127 127
             return $file . $this->settings['postfix'];
128 128
         }
129 129
 
Please login to merge, or discard this patch.
core/Utils/ArrayUtils.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@
 block discarded – undo
16 16
         foreach ($arr as $key => $value) {
17 17
             $item = is_int($key) ? $value : $key;
18 18
 
19
-            if(is_string($item) === false) {
19
+            if (is_string($item) === false) {
20 20
                 throw new InvalidArgumentException('Given array contain not string key');
21 21
             }
22 22
 
23
-            if(self::isMatchedString($item, $str)) {
23
+            if (self::isMatchedString($item, $str)) {
24 24
                 return $item;
25 25
             }
26 26
         }
Please login to merge, or discard this patch.
app/Auth/PermissionManager/DatabasePermissionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         $allPermission = $this->getAllPermission() ?: [];
24 24
         $operationKey = ArrayUtils::find($allPermission, $operation);
25 25
 
26
-        if($operationKey === false) {
26
+        if ($operationKey === false) {
27 27
             return null;
28 28
         }
29 29
 
Please login to merge, or discard this patch.
app/Auth/PermissionManager/FileBasePermissionManager.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         $operationKey = ArrayUtils::find($this->permission, $operation);
23 23
 
24
-        if($operationKey === false) {
24
+        if ($operationKey === false) {
25 25
             return null;
26 26
         }
27 27
 
Please login to merge, or discard this patch.
app/Auth/config/permission.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'Admin\\*' => [ 'Admin' ],
5
-    'Test.admin' => [ 'Admin' ],
4
+    'Admin\\*' => ['Admin'],
5
+    'Test.admin' => ['Admin'],
6 6
 ];
Please login to merge, or discard this patch.