Completed
Push — master ( 651a4a...8c09b3 )
by Pierre
03:26
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.
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/Db/Factory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@
 block discarded – undo
84 84
             $id = $this->identity($slot, $dbname);
85 85
             $this->pool[$id] = $adapter->getConnection();
86 86
         } catch (\PDOException $e) {
87
-            $exMsg = self::LOGGER_PREFIX .  ' connection failed';
87
+            $exMsg = self::LOGGER_PREFIX . ' connection failed';
88 88
             $this->logger->warn($exMsg);
89 89
             throw new \Exception($exMsg, $e->getCode());
90 90
         }
Please login to merge, or discard this patch.
src/App/Component/Migration/Users.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -122,7 +122,7 @@
 block discarded – undo
122 122
     {
123 123
         $csvArray = (new Accounts($this->container))->toArray();
124 124
         $fields = self::MIG_FIELDS;
125
-        $insertDatas = array_map(function ($values) use ($fields) {
125
+        $insertDatas = array_map(function($values) use ($fields) {
126 126
             return array_combine($fields, $values);
127 127
         }, $csvArray);
128 128
         return $insertDatas;
Please login to merge, or discard this patch.
src/App/Model/Users.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
      */
76 76
     public function getById(int $uid): array
77 77
     {
78
-        $userById = array_filter($this->accounts, function ($user) use ($uid) {
78
+        $userById = array_filter($this->accounts, function($user) use ($uid) {
79 79
             return $user['id'] === $uid;
80 80
         });
81 81
         return $userById;
Please login to merge, or discard this patch.
src/App/Component/Console/Terminal.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
                 $matcher = explode(self::_S, self::_S . $ttyDims);
63 63
             } else {
64 64
                 $ttyDims = Process::readFromProcess(self::TTY_DIM_COMMAND_1);
65
-                $ttyDims  = 'speed 38400 baud; rows 96; columns 126; line = 0;';
65
+                $ttyDims = 'speed 38400 baud; rows 96; columns 126; line = 0;';
66 66
                 //var_dump($ttyDims);
67 67
                 if (preg_match('/(\d+)+;.\w{7}.(\d+)+;/', $ttyDims, $matches)) {
68 68
                     $matcher = $matches;
Please login to merge, or discard this patch.
src/App/Component/Math/Graph/Path/Floydwarshall.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -104,7 +104,7 @@
 block discarded – undo
104 104
         $this->path = [];
105 105
         $this->searchPath($srcIdx, $dstIdx);
106 106
         $path = ($withNames)
107
-            ? array_map(function ($v) {
107
+            ? array_map(function($v) {
108 108
                 return $this->nodeNames[$v];
109 109
             }, $this->path)
110 110
             : $this->path;
Please login to merge, or discard this patch.