Test Setup Failed
Push — master ( b6a675...9d9db2 )
by
unknown
14:08
created
app/Http/Controllers/CloneController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
     public function array_walk($shift, $count, $params)
42 42
     {
43 43
         try{
44
-           DB::beginTransaction();
44
+            DB::beginTransaction();
45 45
             array_walk($shift, array($this, 'process'), $params);
46 46
             DB::commit();
47 47
         }catch(\Exception $e){
Please login to merge, or discard this patch.
app/Console/Commands/UpdateClassEntriyWithZeroId.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
     public function process($student)
76 76
     {
77
-       try{
77
+        try{
78 78
         $wrongStudentsClass = Institution_class_student::where('institution_id', $student['institution_id'])
79 79
             ->whereRaw('institution_class_id not in (select id from institution_classes where institution_id ='.$student['institution_id'].' )')
80 80
             ->orWhere('institution_class_id', 0)
@@ -143,8 +143,8 @@  discard block
 block discarded – undo
143 143
                 $this->output->writeln("student record  :".$student['student_id'] );
144 144
             }
145 145
         }
146
-       }catch(\Exception $e){
146
+        }catch(\Exception $e){
147 147
             dd($e);
148
-       }
148
+        }
149 149
     }
150 150
 }
Please login to merge, or discard this patch.
app/Providers/AppServiceProvider.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,11 +25,11 @@
 block discarded – undo
25 25
      *
26 26
      * @return void
27 27
      */
28
-     public function boot()
29
-     {
30
-         //
31
-         if(!(\App::environment('local'))) {
32
-             URL::forceScheme('https');
33
-         }
34
-     }
28
+        public function boot()
29
+        {
30
+            //
31
+            if(!(\App::environment('local'))) {
32
+                URL::forceScheme('https');
33
+            }
34
+        }
35 35
 }
Please login to merge, or discard this patch.
app/Models/Institution_class_student.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -140,7 +140,7 @@
 block discarded – undo
140 140
     }
141 141
 
142 142
     public static function createOrUpdate($studentId,$params,$file){
143
-       return  self::create([
143
+        return  self::create([
144 144
             'student_id' => $studentId,
145 145
             'institution_class_id' => $params['institution_class']->id,
146 146
             'education_grade_id' => $params['institution_grade']->education_grade_id,
Please login to merge, or discard this patch.