Test Setup Failed
Push — master ( 0b72f9...12f44a )
by Php Easy Api
03:43
created
src/resta/Database/Migration/Src/Resource/PushManager/PushingProcess.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -11,19 +11,19 @@  discard block
 block discarded – undo
11 11
      */
12 12
     public function processHandler()
13 13
     {
14
-        return $this->errorHandler(function(){
14
+        return $this->errorHandler(function() {
15 15
             
16
-            foreach ($this->list as $table =>$datas){
16
+            foreach ($this->list as $table =>$datas) {
17 17
 
18
-                foreach ($datas as $data){
18
+                foreach ($datas as $data) {
19 19
 
20
-                    $query = $this->queryBuilder($table,$data);
20
+                    $query = $this->queryBuilder($table, $data);
21 21
 
22 22
                     $query = $query->handle();
23 23
 
24
-                    $status =($query['result']!==false) ? true : false;
24
+                    $status = ($query['result']!==false) ? true : false;
25 25
 
26
-                    $results[]= [
26
+                    $results[] = [
27 27
                         'success'=>$status,
28 28
                         'file'=>$data->getFile(),
29 29
                         'table'=>$table,
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
         {
51 51
             foreach ($objects as $object)
52 52
             {
53
-                if(count($object->getError())){
53
+                if (count($object->getError())) {
54 54
                     return 'error : '.$object->getFile().' -> '.$object->getError()[0].'';
55 55
                 }
56 56
             }
Please login to merge, or discard this patch.