Completed
Push — master ( f2fb73...3ae106 )
by Pierre
03:04
created
src/App/Model/Accounts.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
         if (!file_exists($filename)) {
102 102
             $crypt = new Crypt($this->config);
103 103
             $accounts = $this->config->getSettings(Config::_ACCOUNTS);
104
-            $accounts = array_map(function ($acc) use ($crypt) {
104
+            $accounts = array_map(function($acc) use ($crypt) {
105 105
                 $acc[self::_PASSWORD] = $crypt->encrypt(
106 106
                     $acc[self::_PASSWORD],
107 107
                     true
Please login to merge, or discard this patch.
config/dev/middlewares.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
         'exclude' => [
48 48
             'auth/login', 'stat/opcache', 
49 49
             'restful', 'restful/index', 
50
-            'test/pokerelay' , 'test/redis'
50
+            'test/pokerelay', 'test/redis'
51 51
         ],
52 52
     ],
53 53
     After::class => [
Please login to merge, or discard this patch.
src/App/Component/Db/Core.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
                 $v = ($type == \PDO::PARAM_INT) ? (int) $v : $v;
190 190
             }
191 191
             $value = is_array($v) ? serialize($v) : $v;
192
-            $key =  $k;
192
+            $key = $k;
193 193
             try {
194 194
                 $poStatement->bindValue($key, $value, $type);
195 195
             } catch (\PDOException $e) {
Please login to merge, or discard this patch.
src/App/Controllers/Api/V1/Stat.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,14 +41,14 @@
 block discarded – undo
41 41
             $path = dirname(dirname($this->request->getFilename()));
42 42
             $scripts = array_filter(
43 43
                 $status[self::_SCRIPTS],
44
-                function ($val) use ($path) {
44
+                function($val) use ($path) {
45 45
                     return false !== strpos($val['full_path'], $path);
46 46
                 }
47 47
             );
48 48
             $status[self::_SCRIPTS] = array_values($scripts);
49 49
             $bytes = array_reduce(
50 50
                 $status[self::_SCRIPTS],
51
-                function ($stack, $val) {
51
+                function($stack, $val) {
52 52
                     return $stack + (int) $val['memory_consumption'];
53 53
                 }
54 54
             );
Please login to merge, or discard this patch.
src/App/Component/Cache/Redis/Adapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     {
77 77
         if (is_null($this->instance)) {
78 78
             try {
79
-                $this->instance =  new Redis();
79
+                $this->instance = new Redis();
80 80
                 $con = @$this->instance->connect($this->host, $this->port);
81 81
                 if (false === $con) {
82 82
                     throw new \RedisException('Connection refused', 2);
Please login to merge, or discard this patch.