Passed
Push — devel-3.0 ( 218a48...a00b1f )
by Rubén
03:54
created
lib/SP/Http/Json.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
     {
87 87
         if (is_array($data) || is_object($data)) {
88 88
             array_walk_recursive($data,
89
-                function (&$value) {
89
+                function(&$value) {
90 90
                     if (is_object($value)) {
91 91
                         foreach ($value as $property => $v) {
92 92
                             if (is_string($v) && $v !== '') {
Please login to merge, or discard this patch.
lib/SP/Util/Util.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
         /**
69 69
          * @return array
70 70
          */
71
-        $passGen = function () use ($alphabet, $length) {
71
+        $passGen = function() use ($alphabet, $length) {
72 72
             $pass = [];
73 73
             $alphaLength = strlen($alphabet) - 1; //put the length -1 in cache
74 74
 
@@ -232,7 +232,7 @@  discard block
 block discarded – undo
232 232
         $appTmp = APP_PATH . DIRECTORY_SEPARATOR . 'temp';
233 233
         $file = 'syspass.test';
234 234
 
235
-        $checkDir = function ($dir) use ($file) {
235
+        $checkDir = function($dir) use ($file) {
236 236
             if (file_exists($dir . DIRECTORY_SEPARATOR . $file)) {
237 237
                 return $dir;
238 238
             }
@@ -361,7 +361,7 @@  discard block
 block discarded – undo
361 361
             if ($srcClass !== null) {
362 362
                 $serializedOut = preg_replace_callback(
363 363
                     '/:\d+:"\x00' . preg_quote($srcClass, '/') . '\x00(\w+)"/',
364
-                    function ($matches) {
364
+                    function($matches) {
365 365
                         return ':' . strlen($matches[1]) . ':"' . $matches[1] . '"';
366 366
                     },
367 367
                     $serialized);
Please login to merge, or discard this patch.