Test Setup Failed
Push — master ( 88ad80...dd7f24 )
by Mohamed
13:08 queued 06:21
created
app/Console/Commands/CloneConfigData.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
         if(count($shift) > 0){
67 67
             // processParallel($function,$shift, $this->argument('max'),$params);
68 68
             array_walk($shift,$function,$params);
69
-        }else{
69
+        } else{
70 70
             $this->output->writeln('Nothing to clone');
71 71
         }
72 72
         $this->end_time = microtime(TRUE);
Please login to merge, or discard this patch.
app/Console/Commands/cleanConfig.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
57 57
 
58 58
         if($year == '2019' || $year == '2018/19'){
59 59
             die('Academic Year 2019 or earlier can`t be deleted');
60
-        }else{
60
+        } else{
61 61
             $this->clone->cleanConfig($params);
62 62
         }
63 63
     }
Please login to merge, or discard this patch.
app/Http/Controllers/CloneController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
            DB::beginTransaction();
45 45
             array_walk($shift, array($this, 'process'), $params);
46 46
             DB::commit();
47
-        }catch(\Exception $e){
47
+        } catch(\Exception $e){
48 48
             $this->output->writeln('Terminating ' . $shift['institution_id']);
49 49
             DB::rollBack();
50 50
         }
Please login to merge, or discard this patch.
app/Console/Commands/CallPromotionCommand.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
         ];
57 57
         if(in_array($mode,['AL','1-5','SP','6-11'])){
58 58
             array_walk($institutions,array($this,'callPromotion'),$params);
59
-        }else{
59
+        } else{
60 60
             die('The give mode not support');
61 61
         }
62 62
        
Please login to merge, or discard this patch.