Completed
Push — master ( 7ee34d...c3ef57 )
by Oleg
03:16
created
micro/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 \Micro\cli\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/file/FileHelper.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
 
126 126
         $dir = opendir($src);
127 127
         if (!$dir) {
128
-            throw new Exception('Unable to read dir: '. $src);
128
+            throw new Exception('Unable to read dir: ' . $src);
129 129
         }
130 130
 
131 131
         while (false !== ($file = readdir($dir))) {
Please login to merge, or discard this patch.
micro/mvc/controllers/RichController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
         $view = null;
55 55
         if ($actionClass) {
56 56
             /** @var \Micro\mvc\Action $cl */
57
-            $cl = new $actionClass ($this->container);
57
+            $cl = new $actionClass($this->container);
58 58
             $view = $cl->run();
59 59
         } else {
60 60
             $view = $this->{'action' . ucfirst($name)}();
Please login to merge, or discard this patch.
micro/mvc/models/Model.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -372,7 +372,7 @@
 block discarded – undo
372 372
                 if (self::$primaryKey) {
373 373
                     $where .= '`' . self::$primaryKey . '` = :' . self::$primaryKey;
374 374
                 } else {
375
-                    throw new Exception ($this->container,
375
+                    throw new Exception($this->container,
376 376
                         'In table ' . static::tableName() . ' option `id` not defined/not use.'
377 377
                     );
378 378
                 }
Please login to merge, or discard this patch.
micro/resolver/HMVCResolver.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             throw new Exception('Controller ' . $cls . ' not found');
56 56
         }
57 57
 
58
-        return new $cls ($this->container, $this->getModules());
58
+        return new $cls($this->container, $this->getModules());
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.
micro/base/Autoload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
      */
106 106
     private static function CamelCaseToLowerNamespace($path)
107 107
     {
108
-        $classNameArr = array_map(function ($val) {
108
+        $classNameArr = array_map(function($val) {
109 109
             return lcfirst($val);
110 110
         }, explode('\\', $path));
111 111
 
Please login to merge, or discard this patch.