Completed
Push — master ( e7a4b3...3357eb )
by Park Jong-Hun
02:29
created
core/Event/EventListenerRegister.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
 
37 37
     private function getEventListenerProc($handler)
38 38
     {
39
-        return function (ParameterMap $parameterMap) use ($handler) {
39
+        return function(ParameterMap $parameterMap) use ($handler) {
40 40
             /** @var ProcInterface */
41 41
             $proc = ProcFactory::getProc($handler);
42 42
             $proc->execWithParameterMap($parameterMap);
Please login to merge, or discard this patch.
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.
config/event.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
             'before' => 'App\\EventListener\\Auth\\ValidatorListener.validate'
10 10
         ],
11 11
         'Test.event' => [
12
-            'before' => function () {
12
+            'before' => function() {
13 13
                 echo '<p>before Hook!</p>';
14 14
             },
15
-            'after' => function () {
15
+            'after' => function() {
16 16
                 echo '<p>after Hook!</p>';
17 17
             }
18 18
         ]
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/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.