Completed
Push — 1.11.x ( c5cfcc...1cf9be )
by José
46:45 queued 17:54
created
main/exercise/exercise.class.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -3032,7 +3032,7 @@  discard block
 block discarded – undo
3032 3032
                     $label = get_lang('NextQuestion');
3033 3033
                     $class = 'btn btn-primary';
3034 3034
                 }
3035
-				$class .= ' question-validate-btn'; // used to select it with jquery
3035
+                $class .= ' question-validate-btn'; // used to select it with jquery
3036 3036
                 if ($this->type == ONE_PER_PAGE) {
3037 3037
                     if ($questionNum != 1) {
3038 3038
                         if ($this->showPreviousButton()) {
@@ -3079,7 +3079,7 @@  discard block
 block discarded – undo
3079 3079
                         $all_label = get_lang('EndTest');
3080 3080
                         $class = 'btn btn-warning';
3081 3081
                     }
3082
-					$class .= ' question-validate-btn'; // used to select it with jquery
3082
+                    $class .= ' question-validate-btn'; // used to select it with jquery
3083 3083
                     $all_button[] = Display::button(
3084 3084
                         'validate_all',
3085 3085
                         $all_label,
@@ -5010,7 +5010,7 @@  discard block
 block discarded – undo
5010 5010
 
5011 5011
         //Fixes multiple answer question in order to be exact
5012 5012
         //if ($answerType == MULTIPLE_ANSWER || $answerType == GLOBAL_MULTIPLE_ANSWER) {
5013
-       /* if ($answerType == GLOBAL_MULTIPLE_ANSWER) {
5013
+        /* if ($answerType == GLOBAL_MULTIPLE_ANSWER) {
5014 5014
             $diff = @array_diff($answer_correct_array, $real_answers);
5015 5015
 
5016 5016
             // All good answers or nothing works like exact
@@ -5576,7 +5576,7 @@  discard block
 block discarded – undo
5576 5576
             '#student_complete_name#' => $user_info['complete_name'],
5577 5577
             '#course#' => $courseInfo['title']
5578 5578
         ];
5579
-         if ($origin != 'learnpath' && $sendEnd) {
5579
+            if ($origin != 'learnpath' && $sendEnd) {
5580 5580
             $msg .= '<br /><a href="#url#">'.get_lang('ClickToCommentAndGiveFeedback').'</a>';
5581 5581
             $variables['#url#'] = $url;
5582 5582
         }
@@ -7304,8 +7304,8 @@  discard block
 block discarded – undo
7304 7304
     }
7305 7305
 
7306 7306
     /**
7307
-    * @return string
7308
-    */
7307
+     * @return string
7308
+     */
7309 7309
     public function get_formated_title()
7310 7310
     {
7311 7311
         if (api_get_configuration_value('save_titles_as_html')) {
Please login to merge, or discard this patch.
main/ticket/tickets.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -343,7 +343,7 @@
 block discarded – undo
343 343
         echo '<div class="actions">';
344 344
         echo '<a href="'.api_get_path(WEB_CODE_PATH).'ticket/new_ticket.php?project_id='.$projectId.'">'.
345 345
                 Display::return_icon('add.png', get_lang('Add'), '', '32').
346
-             '</a>';
346
+                '</a>';
347 347
         echo '</div>';
348 348
     }
349 349
 }
Please login to merge, or discard this patch.
main/inc/lib/exercise_show_functions.lib.php 1 patch
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -478,19 +478,19 @@  discard block
 block discarded – undo
478 478
         <?php
479 479
     }
480 480
 
481
-     /**
482
-     * Display the answers to a multiple choice question
483
-     *
484
-     * @param integer Answer type
485
-     * @param integer Student choice
486
-     * @param string  Textual answer
487
-     * @param string  Comment on answer
488
-     * @param string  Correct answer comment
489
-     * @param integer Exercise ID
490
-     * @param integer Question ID
491
-     * @param boolean Whether to show the answer comment or not
492
-     * @return void
493
-     */
481
+        /**
482
+         * Display the answers to a multiple choice question
483
+         *
484
+         * @param integer Answer type
485
+         * @param integer Student choice
486
+         * @param string  Textual answer
487
+         * @param string  Comment on answer
488
+         * @param string  Correct answer comment
489
+         * @param integer Exercise ID
490
+         * @param integer Question ID
491
+         * @param boolean Whether to show the answer comment or not
492
+         * @return void
493
+         */
494 494
     public static function display_multiple_answer_combination_true_false(
495 495
         $feedback_type,
496 496
         $answerType,
@@ -556,7 +556,7 @@  discard block
 block discarded – undo
556 556
             <?php
557 557
             //@todo replace this harcoded value
558 558
             if ($studentChoice) {
559
-                 $color = "black";
559
+                    $color = "black";
560 560
                 if ($studentChoice == $answerCorrect) {
561 561
                     $color = "green";
562 562
                 }
@@ -578,12 +578,12 @@  discard block
 block discarded – undo
578 578
     }
579 579
 
580 580
     /**
581
-    * @param $feedback_type
582
-    * @param $exe_id
583
-    * @param $questionId
584
-    * @param null $questionScore
585
-    * @param int $results_disabled
586
-    */
581
+     * @param $feedback_type
582
+     * @param $exe_id
583
+     * @param $questionId
584
+     * @param null $questionScore
585
+     * @param int $results_disabled
586
+     */
587 587
     public static function displayAnnotationAnswer(
588 588
         $feedback_type,
589 589
         $exe_id,
Please login to merge, or discard this patch.
main/session/index.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -550,7 +550,7 @@
 block discarded – undo
550 550
         }
551 551
     }
552 552
 <?php
553
-     //Displays js code to use a jqgrid
553
+        //Displays js code to use a jqgrid
554 554
     echo Display::grid_js(
555 555
         'courses',
556 556
         '',
Please login to merge, or discard this patch.
main/inc/lib/message.lib.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -226,8 +226,8 @@
 block discarded – undo
226 226
     {
227 227
         if (!empty($aboutUserInfo)) {
228 228
             $criteria = [
229
-              'userReceiverId' => $aboutUserInfo['id'],
230
-              'msgStatus' => MESSAGE_STATUS_CONVERSATION
229
+                'userReceiverId' => $aboutUserInfo['id'],
230
+                'msgStatus' => MESSAGE_STATUS_CONVERSATION
231 231
             ];
232 232
             $repo = Database::getManager()->getRepository('ChamiloCoreBundle:Message');
233 233
             $messages = $repo->findBy($criteria, ['sendDate' => 'DESC']);
Please login to merge, or discard this patch.
main/inc/lib/tracking.lib.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -3927,8 +3927,8 @@  discard block
 block discarded – undo
3927 3927
 
3928 3928
         $condition_session = '';
3929 3929
         if (isset($session_id)) {
3930
-             $session_id = intval($session_id);
3931
-             $condition_session = ' AND f.session_id = '.$session_id;
3930
+                $session_id = intval($session_id);
3931
+                $condition_session = ' AND f.session_id = '.$session_id;
3932 3932
         }
3933 3933
 
3934 3934
         $groupId = intval($groupId);
@@ -5032,10 +5032,10 @@  discard block
 block discarded – undo
5032 5032
                     ) {
5033 5033
                         $settings = isset($columnSetting[1]) ? $columnSetting[1] : [];
5034 5034
                         $html .= Display::tag(
5035
-                             'th',
5036
-                             $columnSetting[0],
5037
-                             $settings
5038
-                         );
5035
+                                'th',
5036
+                                $columnSetting[0],
5037
+                                $settings
5038
+                            );
5039 5039
                     }
5040 5040
                 }
5041 5041
 
@@ -6137,9 +6137,9 @@  discard block
 block discarded – undo
6137 6137
     }
6138 6138
 
6139 6139
     /**
6140
-    * @param FormValidator $form
6141
-    * @return mixed
6142
-    */
6140
+     * @param FormValidator $form
6141
+     * @return mixed
6142
+     */
6143 6143
     public static function setUserSearchForm($form)
6144 6144
     {
6145 6145
         global $_configuration;
Please login to merge, or discard this patch.
main/document/create_document.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -346,7 +346,7 @@
 block discarded – undo
346 346
 // new document created
347 347
 
348 348
 if (!$is_certificate_mode &&
349
-	!DocumentManager::is_my_shared_folder($userId, $dir, $current_session_id)
349
+    !DocumentManager::is_my_shared_folder($userId, $dir, $current_session_id)
350 350
 ) {
351 351
     $folders = DocumentManager::get_all_document_folders(
352 352
         $_course,
Please login to merge, or discard this patch.
main/dropbox/dropbox_init.inc.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@
 block discarded – undo
216 216
             $javascript .= "'".$dropbox_person->sentWork[$i]->title."'";
217 217
         }
218 218
     }
219
-	$javascript .= ");
219
+    $javascript .= ");
220 220
 
221 221
 		function checkfile(str)
222 222
 		{
Please login to merge, or discard this patch.
main/document/edit_paint.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -117,7 +117,7 @@
 block discarded – undo
117 117
 }
118 118
 
119 119
 $is_allowedToEdit = api_is_allowed_to_edit(null, true) || $groupRights ||
120
-	DocumentManager::is_my_shared_folder(api_get_user_id(), $dir, $current_session_id);
120
+    DocumentManager::is_my_shared_folder(api_get_user_id(), $dir, $current_session_id);
121 121
 
122 122
 if (!$is_allowedToEdit) {
123 123
     api_not_allowed(true);
Please login to merge, or discard this patch.