Completed
Push — master ( c68144...d8c2c6 )
by Daniel
02:46
created
source/CommonCode.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -194,7 +194,7 @@  discard block
 block discarded – undo
194 194
         curl_setopt($chanel, CURLOPT_FAILONERROR, true);
195 195
         $rspJsonFromClient = curl_exec($chanel);
196 196
         if (curl_errno($chanel)) {
197
-            $aReturn['info']     = $this->setArrayToJson([
197
+            $aReturn['info'] = $this->setArrayToJson([
198 198
                 '#'           => curl_errno($chanel),
199 199
                 'description' => curl_error($chanel)
200 200
             ]);
@@ -477,7 +477,7 @@  discard block
 block discarded – undo
477 477
                 ->ignoreUnreadableDirs(true)
478 478
                 ->followLinks()
479 479
                 ->in($sourcePath);
480
-        $sFiles     = [];
480
+        $sFiles = [];
481 481
         foreach ($iterator as $file) {
482 482
             $relativePathFile = str_replace($sourcePath, '', $file->getRealPath());
483 483
             if (!file_exists($targetPath . $relativePathFile)) {
@@ -517,7 +517,7 @@  discard block
 block discarded – undo
517 517
                     ->ignoreUnreadableDirs(true)
518 518
                     ->followLinks()
519 519
                     ->in($inputArray['path']);
520
-            $aFiles   = null;
520
+            $aFiles = null;
521 521
             foreach ($iterator as $file) {
522 522
                 if ($file->getATime() < strtotime($inputArray['dateRule'])) {
523 523
                     $aFiles[] = $file->getRealPath();
@@ -660,7 +660,7 @@  discard block
 block discarded – undo
660 660
      */
661 661
     private function setJsonErrorInPlainEnglish()
662 662
     {
663
-        $knownErrors  = [
663
+        $knownErrors = [
664 664
             JSON_ERROR_NONE           => null,
665 665
             JSON_ERROR_DEPTH          => 'Maximum stack depth exceeded',
666 666
             JSON_ERROR_STATE_MISMATCH => 'Underflow or the modes mismatch',
Please login to merge, or discard this patch.