Passed
Branch master (ac6157)
by Oleg
13:06
created
cli/Console.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
         }
66 66
 
67 67
         /** @var ConsoleCommand $command */
68
-        $command = new $command (['container' => $this->container, 'args' => $this->args]);
68
+        $command = new $command(['container' => $this->container, 'args' => $this->args]);
69 69
         $command->execute();
70 70
 
71 71
         return $command;
Please login to merge, or discard this patch.
Micro.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@
 block discarded – undo
132 132
         if (!$this->loaded) {
133 133
             $this->initializeContainer();
134 134
 
135
-            $this->addListener('kernel.kill', function (array $params) {
135
+            $this->addListener('kernel.kill', function(array $params) {
136 136
                 if ($params['container']->kernel->isDebug() && !$params['container']->request->isCli()) {
137 137
                     // Add timer into page
138 138
                     echo '<div class=debug_timer>', (microtime(true) - $params['container']->kernel->getStartTime()), '</div>';
Please login to merge, or discard this patch.
mvc/models/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -370,7 +370,7 @@
 block discarded – undo
370 370
                 if (self::$primaryKey) {
371 371
                     $where .= '`' . self::$primaryKey . '` = :' . self::$primaryKey;
372 372
                 } else {
373
-                    throw new Exception ($this->container,
373
+                    throw new Exception($this->container,
374 374
                         'In table ' . static::tableName() . ' option `id` not defined/not use.'
375 375
                     );
376 376
                 }
Please login to merge, or discard this patch.
mvc/controllers/RichController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
         $view = null;
74 74
         if ($actionClass) {
75 75
             /** @var \Micro\Mvc\Action $cl */
76
-            $cl = new $actionClass ($this->container);
76
+            $cl = new $actionClass($this->container);
77 77
             $view = $cl->run();
78 78
         } else {
79 79
             $view = $this->{'action' . ucfirst($name)}();
Please login to merge, or discard this patch.
base/Autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
      */
113 113
     private static function CamelCaseToLowerNamespace($path)
114 114
     {
115
-        $classNameArr = array_map(function ($val) {
115
+        $classNameArr = array_map(function($val) {
116 116
             return lcfirst($val);
117 117
         }, explode('\\', $path));
118 118
 
Please login to merge, or discard this patch.