소스 검색

Scrutinizer Auto-Fixes

This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Scrutinizer Auto-Fixer 7 년 전
부모
커밋
0b2747f659
4개의 변경된 파일185개의 추가작업 그리고 185개의 파일을 삭제
  1. 1 1
      main/announcements/announcements.php
  2. 2 2
      main/auth/inscription.php
  3. 181 181
      main/inc/lib/course.lib.php
  4. 1 1
      plugin/studentfollowup/posts.php

+ 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

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 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')
 ;

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.