Test Setup Failed
Pull Request — master (#566)
by Mohamed
11:56
created
app/Console/Commands/UpdateClassEntriyWithZeroId.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
         ->get()->toArray();
51 51
         if(count($students)>0){
52 52
             array_walk($students,array($this,'process'));
53
-        }else{
53
+        } else{
54 54
             echo "all are updated \r\n";
55 55
         }
56 56
     }
Please login to merge, or discard this patch.
app/Console/Commands/ImportStudents.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -141,7 +141,7 @@
 block discarded – undo
141 141
             if(env('APP_ENV') == 'stage'){
142 142
                 $query->where('contact_types.contact_option_id', '=', 5)
143 143
                 ->where('contact_types.name', '=', 'TestEmail');
144
-            }else{
144
+            } else{
145 145
                 $query->where('contact_types.contact_option_id', '!=', 5);
146 146
             }
147 147
             
Please login to merge, or discard this patch.
app/Console/Commands/RemoveDuplicatedGuardians.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
                t1.created < t2.created AND
60 60
                t1.student_id = t2.student_id AND
61 61
                t1.guardian_id = t1.guardian_id");
62
-       }catch(\Exception $e){
62
+       } catch(\Exception $e){
63 63
            dd($e);
64 64
        }
65 65
     }
Please login to merge, or discard this patch.