Completed
Push — 1.11.x ( 7ffd51...902ebd )
by José
50:21 queued 21:28
created
src/Chamilo/TicketBundle/Entity/Ticket.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -94,12 +94,12 @@
 block discarded – undo
94 94
      */
95 95
     protected $assignedLastUser;
96 96
 
97
-     /**
98
-     * @var Status
99
-     *
100
-     * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Status")
101
-     * @ORM\JoinColumn(name="status_id", referencedColumnName="id")
102
-     **/
97
+        /**
98
+         * @var Status
99
+         *
100
+         * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Status")
101
+         * @ORM\JoinColumn(name="status_id", referencedColumnName="id")
102
+         **/
103 103
     protected $status;
104 104
 
105 105
     /**
Please login to merge, or discard this patch.
src/Chamilo/TicketBundle/Entity/MessageAttachment.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@
 block discarded – undo
56 56
      */
57 57
     protected $filename;
58 58
 
59
-   /**
59
+    /**
60 60
      * @var integer
61 61
      *
62 62
      * @ORM\Column(name="size", type="integer", nullable=false, unique=false)
Please login to merge, or discard this patch.
src/Chamilo/TicketBundle/Entity/Message.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -53,12 +53,12 @@
 block discarded – undo
53 53
      */
54 54
     protected $ipAddress;
55 55
 
56
-     /**
57
-     * @var Ticket
58
-     *
59
-     * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket")
60
-     * @ORM\JoinColumn(name="ticket_id", referencedColumnName="id")
61
-     **/
56
+        /**
57
+         * @var Ticket
58
+         *
59
+         * @ORM\ManyToOne(targetEntity="Chamilo\TicketBundle\Entity\Ticket")
60
+         * @ORM\JoinColumn(name="ticket_id", referencedColumnName="id")
61
+         **/
62 62
     protected $ticket;
63 63
 
64 64
     /**
Please login to merge, or discard this patch.
main/ticket/tutor_report.lib.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
 /**
75 75
  * @param $courseInfo
76
- * @param $weeksCount
76
+ * @param string $weeksCount
77 77
  * @param $page
78 78
  * @return array
79 79
  */
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
 
183 183
 /**
184 184
  * @param $datos
185
- * @param $pagina
185
+ * @param integer $pagina
186 186
  * @return string
187 187
  */
188 188
 function showStudentResult($datos, $pagina)
@@ -201,8 +201,8 @@  discard block
 block discarded – undo
201 201
 
202 202
 /**
203 203
  * @param $data
204
- * @param $numero_semanas
205
- * @return array
204
+ * @param integer $numero_semanas
205
+ * @return string[]
206 206
  */
207 207
 function showStudentResultExport($data, $numero_semanas)
208 208
 {
Please login to merge, or discard this patch.
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,11 +59,11 @@
 block discarded – undo
59 59
     } else {
60 60
         $page = (!isset($_GET['page'])) ? 1 : $_GET['page'];
61 61
 
62
-        Database::query("UPDATE $table_students_report sr SET sr.work_ok = 1
62
+        Database::query("update $table_students_report sr SET sr.work_ok = 1
63 63
 		WHERE CONCAT (sr.user_id,',',sr.week_report_id)
64 64
 		IN (SELECT DISTINCT CONCAT(w.user_id,',',rs.id)
65 65
 		FROM $table_work w  JOIN $table_reporte_semanas rs ON w.parent_id = rs.work_id)");
66
-        Database::query("UPDATE $table_students_report sr SET sr.thread_ok = 1
66
+        Database::query("update $table_students_report sr SET sr.thread_ok = 1
67 67
 		WHERE CONCAT (sr.user_id,',',sr.week_report_id)
68 68
 		IN (SELECT DISTINCT CONCAT(f.poster_id,',',rs.id)
69 69
 		FROM $table_post f  JOIN $table_reporte_semanas rs ON f.thread_id = rs.forum_id)");
Please login to merge, or discard this patch.
main/ticket/course_user_list.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
 $courseSelect = Display::select('course_id', $arrCourseList, 0, array(), false);
39 39
 $courseControl = Display::div($courseSelect, array('class' => 'controls'));
40 40
 
41
-$userDiv = Display::div($userLabel . " " . $userControl, array('class' => 'control-group'));
42
-$courseDiv = Display::div($courseLabel . " " . $courseControl, array('class' => 'control-group'));
41
+$userDiv = Display::div($userLabel." ".$userControl, array('class' => 'control-group'));
42
+$courseDiv = Display::div($courseLabel." ".$courseControl, array('class' => 'control-group'));
43 43
 echo $userDiv;
44 44
 echo $courseDiv;
45 45
 
Please login to merge, or discard this patch.
plugin/azure_active_directory/src/AzureActiveDirectory.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
     /**
37 37
      * Instance the plugin
38 38
      * @staticvar null $result
39
-     * @return Tour
39
+     * @return AzureActiveDirectory
40 40
      */
41 41
     static function create()
42 42
     {
Please login to merge, or discard this patch.
main/admin/legal_list.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -42,10 +42,10 @@
 block discarded – undo
42 42
 // this 2 "mask" function are here just because the SortableTable
43 43
 function get_legal_data_mask($id, $params = null, $row = null)
44 44
 {
45
-	return LegalManager::get_legal_data($id, $params, $row);
45
+    return LegalManager::get_legal_data($id, $params, $row);
46 46
 }
47 47
 function count_mask()
48 48
 {
49
-	return LegalManager::count();
49
+    return LegalManager::count();
50 50
 }
51 51
 Display :: display_footer();
Please login to merge, or discard this patch.
src/Chamilo/CourseBundle/Component/CourseCopy/CourseRecycler.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -619,8 +619,8 @@  discard block
 block discarded – undo
619 619
     }
620 620
 
621 621
     /**
622
-    * Recycle Thematics
623
-    */
622
+     * Recycle Thematics
623
+     */
624 624
     public function recycle_thematic($session_id = 0)
625 625
     {
626 626
         if ($this->course->has_resources(RESOURCE_THEMATIC)) {
@@ -685,8 +685,8 @@  discard block
 block discarded – undo
685 685
     }
686 686
 
687 687
     /**
688
-    * Recycle Attendances
689
-    */
688
+     * Recycle Attendances
689
+     */
690 690
     public function recycle_attendance($session_id = 0)
691 691
     {
692 692
         if ($this->course->has_resources(RESOURCE_ATTENDANCE)) {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
      * course
38 38
      * @param string $backupType 'full_backup' or 'select_items'
39 39
      *
40
-     * @return bool
40
+     * @return false|null
41 41
      *
42 42
      * @assert (null) === false
43 43
      */
Please login to merge, or discard this patch.
main/inc/lib/formvalidator/Rule/HTML.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -25,8 +25,6 @@
 block discarded – undo
25 25
      * Get allowed tags
26 26
      * @param int $mode NO_HTML, STUDENT_HTML, TEACHER_HTML,
27 27
      * STUDENT_HTML_FULLPAGE or TEACHER_HTML_FULLPAGE
28
-     * @param boolean $fullpage If true, the allowed tags for full-page editing
29
-     * are returned.
30 28
      */
31 29
     static function get_allowed_tags($mode)
32 30
     {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,8 +33,7 @@
 block discarded – undo
33 33
         // Include the allowed tags.
34 34
         //include __DIR__.'/allowed_tags.inc.php';
35 35
         global $allowed_tags_student, $allowed_tags_student_full_page, $allowed_tags_teacher, $allowed_tags_teacher_full_page;
36
-        switch ($mode)
37
-        {
36
+        switch ($mode) {
38 37
             case NO_HTML:
39 38
                 return array();
40 39
                 break;
Please login to merge, or discard this patch.