Completed
Push — master ( f3d414...a522f9 )
by Park Jong-Hun
09:11
created
core/ErrorReporter/ErrorReporterRegister.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,13 +33,13 @@
 block discarded – undo
33 33
         /**
34 34
          * @var ErrorReporter $reporter
35 35
          */
36
-        set_exception_handler(function ($exception) {
36
+        set_exception_handler(function($exception) {
37 37
             foreach ($this->errorReporters as $reporter) {
38 38
                 $reporter->report($exception);
39 39
             }
40 40
         });
41 41
 
42
-        set_error_handler(function ($errno, $errstr, $errfile, $errline, array $errcontext) {
42
+        set_error_handler(function($errno, $errstr, $errfile, $errline, array $errcontext) {
43 43
             throw new ErrorException($errstr, 0, $errno, $errfile, $errline);
44 44
         });
45 45
     }
Please login to merge, or discard this patch.
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.
app/Auth/config/permission.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'Test.admin' => [ 'Admin' ]
4
+    'Test.admin' => ['Admin']
5 5
 ];
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.
core/Utils/ArrayUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     public static function find(array $arr, $str)
8 8
     {
9 9
         foreach ($arr as $item) {
10
-            if(self::isMatchedString($item, $str)) {
10
+            if (self::isMatchedString($item, $str)) {
11 11
                 return $item;
12 12
             }
13 13
         }
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.