Test Setup Failed
Push — master ( 70d832...998964 )
by Mohamed
08:08 queued 01:48
created
app/Models/Unique_user_id.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
 
54 54
     public  function updateOrInsertRecord($user)
55 55
     {
56
-       try {
56
+        try {
57 57
             // regenerate unique id if it's not available
58 58
         $uniqueId =  $this->uniqueUserId::isValidUniqueId($user['openemis_no'],9) ? $this->uniqueUserId::getUniqueAlphanumeric() : $user['openemis_no'];
59 59
 
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
                 'unique_id' =>  $uniqueId
70 70
             ]);
71 71
         }
72
-       } catch (\Exception $th) {
73
-           Log::error($th->getMessage());
74
-       }
72
+        } catch (\Exception $th) {
73
+            Log::error($th->getMessage());
74
+        }
75 75
     }
76 76
 }
Please login to merge, or discard this patch.
app/Console/Commands/UpdateStudentsCount.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -27,11 +27,11 @@
 block discarded – undo
27 27
      */
28 28
     protected $description = 'Update the students count male/female';
29 29
 
30
-      /**
31
-     * Create a new command instance.
32
-     *
33
-     * @return void
34
-     */
30
+        /**
31
+         * Create a new command instance.
32
+         *
33
+         * @return void
34
+         */
35 35
     public function __construct()
36 36
     {
37 37
         parent::__construct();
Please login to merge, or discard this patch.
app/Console/Commands/ImportStudents.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -137,9 +137,9 @@
 block discarded – undo
137 137
             ->join('user_contacts', 'uploads.security_user_id', '=', 'user_contacts.security_user_id')
138 138
             ->join('contact_types', 'user_contacts.contact_type_id', '=', 'contact_types.id')
139 139
             //only for UAT
140
-             ->where('contact_types.contact_option_id', '=', 5)
140
+                ->where('contact_types.contact_option_id', '=', 5)
141 141
 //            ->where('contact_types.contact_option_id', '!=', 5)
142
-             ->where('contact_types.name', '=', 'TestEmail')
142
+                ->where('contact_types.name', '=', 'TestEmail')
143 143
             ->limit(1)
144 144
             ->get()->toArray();
145 145
         $node = $this->argument('node');
Please login to merge, or discard this patch.
app/Console/Commands/UpdateViews.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
      */
40 40
     public function handle()
41 41
     {
42
-       $views = new DashboardViewsController();
43
-       $views->callback();
42
+        $views = new DashboardViewsController();
43
+        $views->callback();
44 44
     }
45 45
 }
Please login to merge, or discard this patch.