Test Setup Failed
Push — master ( 3a1761...2fc4ab )
by Mohamed
17:58 queued 11:22
created
app/Mail/IncorrectTemplate.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -11,11 +11,11 @@
 block discarded – undo
11 11
 {
12 12
     use Queueable, SerializesModels;
13 13
 
14
-     /**
15
-     * Create a new message instance.
16
-     *
17
-     * @return void
18
-     */
14
+        /**
15
+         * Create a new message instance.
16
+         *
17
+         * @return void
18
+         */
19 19
     public function __construct($file)
20 20
     {
21 21
 
Please login to merge, or discard this patch.
app/helpers.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -23,9 +23,9 @@
 block discarded – undo
23 23
 }
24 24
 
25 25
 function clean($string) {
26
-   $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
26
+    $string = str_replace(' ', '-', $string); // Replaces all spaces with hyphens.
27 27
 
28
-   return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
28
+    return preg_replace('/[^A-Za-z0-9\-]/', '', $string); // Removes special chars.
29 29
 }
30 30
 
31 31
 
Please login to merge, or discard this patch.
app/Http/Controllers/ImportExport.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -29,9 +29,9 @@  discard block
 block discarded – undo
29 29
 
30 30
     }
31 31
 
32
-     /**
33
-    * @return \Illuminate\Support\Collection
34
-    */
32
+        /**
33
+         * @return \Illuminate\Support\Collection
34
+         */
35 35
     public function importExportView()
36 36
     {
37 37
         if(Auth::user()->super_admin ){
@@ -45,11 +45,11 @@  discard block
 block discarded – undo
45 45
 
46 46
    
47 47
     /**
48
-    * @return \Illuminate\Support\Collection
49
-    */
48
+     * @return \Illuminate\Support\Collection
49
+     */
50 50
     public function export(Request $request) 
51 51
     {
52
-         $request->validate([
52
+            $request->validate([
53 53
                 'class' => 'required'
54 54
             ]);
55 55
         return Excel::download(new UsersExport($request->input('class')), 'users.xlsx');
@@ -58,8 +58,8 @@  discard block
 block discarded – undo
58 58
 
59 59
 
60 60
     /**
61
-    * @return \Illuminate\Support\Collection
62
-    */
61
+     * @return \Illuminate\Support\Collection
62
+     */
63 63
     public function import(Request $request)
64 64
     {
65 65
 
Please login to merge, or discard this patch.
app/Http/Controllers/FilesController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
                 }
81 81
 
82 82
             })
83
-             ->editColumn('error', function ($data) {
83
+                ->editColumn('error', function ($data) {
84 84
                 if(\App::environment('local') || \App::environment('stage')){
85 85
                     return '<a href="/download/'.$data->filename.'">'.$data->classRoom->name.'</a>';
86 86
 
Please login to merge, or discard this patch.
app/Http/Controllers/DashboardViewsController.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
          * `select total from students_count_view  where institution_id = $id`
16 16
          * `select male from students_count_view  where institution_id = $id`
17 17
          * `select female from students_count_view  where institution_id = $id`
18
-        **/
18
+         **/
19 19
         DashboardViews::createOrUpdateStudentCount();
20 20
 
21 21
         /**
@@ -48,10 +48,10 @@  discard block
 block discarded – undo
48 48
          */
49 49
         DashboardViews::createOrUpdateStudentsCountByGrade();
50 50
 
51
-         /**
52
-         * Students count by BMI
53
-         * select * from students_count_by_bmi_view where institution_id = $id
54
-         */
51
+            /**
52
+             * Students count by BMI
53
+             * select * from students_count_by_bmi_view where institution_id = $id
54
+             */
55 55
         DashboardViews::createOrUpdateStudentCountByBMI();
56 56
 
57 57
         /**
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/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.
app/Models/Security_user.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -152,12 +152,12 @@
 block discarded – undo
152 152
             ->get()->toArray();
153 153
     }
154 154
 
155
-     /**
156
-     * First level search for students
157
-     *
158
-     * @param array $student
159
-     * @return array
160
-     */
155
+        /**
156
+         * First level search for students
157
+         *
158
+         * @param array $student
159
+         * @return array
160
+         */
161 161
     public function getStudentCount($student)
162 162
     {
163 163
         return $this
Please login to merge, or discard this patch.
app/Exports/ExaminationStudentsExport.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -37,8 +37,8 @@
 block discarded – undo
37 37
     }
38 38
     
39 39
     /**
40
-    * @return \Illuminate\Support\Collection
41
-    */
40
+     * @return \Illuminate\Support\Collection
41
+     */
42 42
     public function query()
43 43
     {
44 44
         return Examination_student::query()->whereNotNull('nsid')
Please login to merge, or discard this patch.