Browse Source

Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Scrutinizer Auto-Fixer 7 years ago
parent
commit
0b2747f659

+ 1 - 1
main/announcements/announcements.php

@@ -485,7 +485,7 @@ switch ($action) {
 
         $defaults['email_ann'] = true;
 
-        $form->addElement('text', 'title', get_lang('EmailTitle'),  array( "onkeypress" => "return event.keyCode != 13;") ); //do not submit on enter
+        $form->addElement('text', 'title', get_lang('EmailTitle'), array("onkeypress" => "return event.keyCode != 13;")); //do not submit on enter
         $form->addRule('title', get_lang('ThisFieldIsRequired'), 'required');
         $form->addElement('hidden', 'id');
         $htmlTags = "<b>".get_lang('Tags')."</b><br /><br />";

+ 2 - 2
main/auth/inscription.php

@@ -113,7 +113,7 @@ if ($user_already_registered_show_terms === false) {
             'email',
             sprintf(
                 get_lang('UsernameMaxXCharacters'),
-                (string)USERNAME_MAX_LENGTH
+                (string) USERNAME_MAX_LENGTH
             ),
             'maxlength',
             USERNAME_MAX_LENGTH
@@ -163,7 +163,7 @@ if ($user_already_registered_show_terms === false) {
             'username',
             sprintf(
                 get_lang('UsernameMaxXCharacters'),
-                (string)USERNAME_MAX_LENGTH
+                (string) USERNAME_MAX_LENGTH
             ),
             'maxlength',
             USERNAME_MAX_LENGTH

File diff suppressed because it is too large
+ 181 - 181
main/inc/lib/course.lib.php


+ 1 - 1
plugin/studentfollowup/posts.php

@@ -38,7 +38,7 @@ $qb
     ->select('p')
     ->from('ChamiloPluginBundle:StudentFollowUp\CarePost', 'p')
     ->addCriteria($criteria)
-    ->setFirstResult($pageSize * ($currentPage-1))
+    ->setFirstResult($pageSize * ($currentPage - 1))
     ->setMaxResults($pageSize)
     ->orderBy('p.createdAt', 'desc')
 ;

Some files were not shown because too many files changed in this diff