diff --git a/.scrutinizer.yml b/.scrutinizer.yml index c7f61ce016..7871042e41 100644 --- a/.scrutinizer.yml +++ b/.scrutinizer.yml @@ -10,69 +10,69 @@ build: command: "php -v" dependencies: override: - - "php -v" + - "php -v" checks: php: true filter: excluded_paths: - - 'app/config/*' - - 'app/SymfonyRequirements.php' - - 'documentation/*' - - 'app/Migrations/*' - - 'app/Resources/*' - - 'main/admin/db.php' - - 'main/admin/ldap_synchro.php' - - 'main/auth/cas/lib/*' - - 'main/auth/shibboleth/*' - - 'main/auth/openid/*' - - 'main/chat/emoji_strategy.php' - - 'main/default_course_document' - - 'main/document/Wami.swf' - - 'main/fonts/*' - - 'main/inc/ajax/Wami.swf' - - 'main/inc/lib/browser/*' - - 'main/inc/lib/freemindflashbrowser/*' - - 'main/inc/lib/internationalization_database/*' - - 'main/inc/lib/javascript/*' - - 'main/inc/lib/kses-0.2.2/*' - - 'main/inc/lib/mimetex/*' - - 'main/inc/lib/nanogong/*' - - 'main/inc/lib/nusoap/*' - - 'main/inc/lib/opengraph/*' - - 'main/inc/lib/ppt2png/*' - - 'main/inc/lib/phpseclib' - - 'main/inc/lib/pear/*' - - 'main/inc/lib/phpmailer/*' - - 'main/inc/lib/phpseclib/*' - - 'main/inc/lib/portfolio.class.php' - - 'main/inc/lib/svg-edit/*' - - 'main/inc/lib/swfobject/*' - - 'main/inc/lib/wami-recorder/*' - - 'main/inc/lib/xajax/*' - - 'main/lp/packaging/*' - - 'main/template/*' - - 'main/img/*' - - 'main/lang/*' - - 'plugin/buycourses/src/Culqi/*' - - 'plugin/buycourses/src/Requests/*' - - 'plugin/buycourses/src/paypalfunctions.php' - - 'plugin/buycourses/src/Requests.php' - - 'plugin/vchamilo/cli/*' - - 'plugin/kannelsms/vendor/*' - - 'plugin/clockworksms/vendor/*' - - 'plugin/pens/lib/' - - 'plugin/bbb/lib/bbb_api.php' - - 'plugin/ims_lti/OAuthSimple.php' - - 'plugin/sepe/src/wsse/*' - - 'plugin/test2pdf/class/*' - - 'plugin/jcapture/lib/*' - - 'plugin/jcapture/src/*' - - 'tests/*' - - 'var/cache/*' - - 'var/log/*' - - 'vendor/*' - - 'web/*' - - 'public/libs/*' - - 'public/img/*' + - 'app/config/*' + - 'app/SymfonyRequirements.php' + - 'documentation/*' + - 'app/Migrations/*' + - 'app/Resources/*' + - 'main/admin/db.php' + - 'main/admin/ldap_synchro.php' + - 'main/auth/cas/lib/*' + - 'main/auth/shibboleth/*' + - 'main/auth/openid/*' + - 'main/chat/emoji_strategy.php' + - 'main/default_course_document' + - 'main/document/Wami.swf' + - 'main/fonts/*' + - 'main/inc/ajax/Wami.swf' + - 'main/inc/lib/browser/*' + - 'main/inc/lib/freemindflashbrowser/*' + - 'main/inc/lib/internationalization_database/*' + - 'main/inc/lib/javascript/*' + - 'main/inc/lib/kses-0.2.2/*' + - 'main/inc/lib/mimetex/*' + - 'main/inc/lib/nanogong/*' + - 'main/inc/lib/nusoap/*' + - 'main/inc/lib/opengraph/*' + - 'main/inc/lib/ppt2png/*' + - 'main/inc/lib/phpseclib' + - 'main/inc/lib/pear/*' + - 'main/inc/lib/phpmailer/*' + - 'main/inc/lib/phpseclib/*' + - 'main/inc/lib/portfolio.class.php' + - 'main/inc/lib/svg-edit/*' + - 'main/inc/lib/swfobject/*' + - 'main/inc/lib/wami-recorder/*' + - 'main/inc/lib/xajax/*' + - 'main/lp/packaging/*' + - 'main/template/*' + - 'main/img/*' + - 'main/lang/*' + - 'plugin/buycourses/src/Culqi/*' + - 'plugin/buycourses/src/Requests/*' + - 'plugin/buycourses/src/paypalfunctions.php' + - 'plugin/buycourses/src/Requests.php' + - 'plugin/vchamilo/cli/*' + - 'plugin/kannelsms/vendor/*' + - 'plugin/clockworksms/vendor/*' + - 'plugin/pens/lib/' + - 'plugin/bbb/lib/bbb_api.php' + - 'plugin/ims_lti/OAuthSimple.php' + - 'plugin/sepe/src/wsse/*' + - 'plugin/test2pdf/class/*' + - 'plugin/jcapture/lib/*' + - 'plugin/jcapture/src/*' + - 'tests/*' + - 'var/cache/*' + - 'var/log/*' + - 'vendor/*' + - 'web/*' + - 'public/libs/*' + - 'public/img/*' diff --git a/main/admin/skill_translate.php b/main/admin/skill_translate.php index 6beb4c9097..8b847774e2 100644 --- a/main/admin/skill_translate.php +++ b/main/admin/skill_translate.php @@ -2,7 +2,6 @@ /* For licensing terms, see /license.txt */ use Chamilo\CoreBundle\Component\Utils\ChamiloApi; -use Chamilo\CoreBundle\Entity\ExtraField; use Chamilo\CoreBundle\Entity\Language; use Chamilo\CoreBundle\Entity\Skill; diff --git a/main/auth/profile.php b/main/auth/profile.php index 89e9eb50ad..9713695837 100755 --- a/main/auth/profile.php +++ b/main/auth/profile.php @@ -398,7 +398,7 @@ function is_profile_editable() /** * Upload a submitted user production. * - * @param $user_id User id + * @param $user_id User id * * @return The filename of the new production or FALSE if the upload has failed */ diff --git a/main/calendar/ical_export.php b/main/calendar/ical_export.php index fe8aa17489..be801df04c 100755 --- a/main/calendar/ical_export.php +++ b/main/calendar/ical_export.php @@ -90,7 +90,7 @@ if (!empty($event)) { $s2 = $s; if ($M2 > 60) { $M2 = $M2 - 60; - $h2 += 1; + $h2++; } } else { list($y2, $m2, $d2, $h2, $M2, $s2) = preg_split('/[\s:-]/', $event['end_date']); @@ -129,7 +129,7 @@ if (!empty($event)) { $s2 = $s; if ($M2 > 60) { $M2 = $M2 - 60; - $h2 += 1; + $h2++; } } else { list($y2, $m2, $d2, $h2, $M2, $s2) = preg_split('/[\s:-]/', $event['end_date']); diff --git a/main/exercise/Draggable.php b/main/exercise/Draggable.php index 0aaa96e3a1..2211e0f326 100644 --- a/main/exercise/Draggable.php +++ b/main/exercise/Draggable.php @@ -79,7 +79,7 @@ class Draggable extends Question $defaults['orientation'] = 'h'; } - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $matches[$i] = $i; } @@ -111,7 +111,7 @@ class Draggable extends Question echo Display::return_message(get_lang('YouHaveToCreateAtLeastOneAnswer'), 'normal'); } - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $renderer = &$form->defaultRenderer(); $renderer->setElementTemplate( '{error}{element}', @@ -182,13 +182,13 @@ class Draggable extends Question $position = 0; $objAnswer = new Answer($this->id); // Insert the options - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $position++; $objAnswer->createAnswer($position, 0, '', 0, $position); } // Insert the answers - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $position++; $answer = $form->getSubmitValue('answer['.$i.']'); $matches = $form->getSubmitValue('matches['.$i.']'); diff --git a/main/exercise/MatchingDraggable.php b/main/exercise/MatchingDraggable.php index b32d1c8103..0a8a027704 100644 --- a/main/exercise/MatchingDraggable.php +++ b/main/exercise/MatchingDraggable.php @@ -81,12 +81,12 @@ class MatchingDraggable extends Question } if (empty($matches)) { - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { // fill the array with A, B, C..... $matches[$i] = chr(64 + $i); } } else { - for ($i = $counter; $i <= $nb_options; ++$i) { + for ($i = $counter; $i <= $nb_options; $i++) { // fill the array with A, B, C..... $matches[$i] = chr(64 + $i); } @@ -121,7 +121,7 @@ class MatchingDraggable extends Question 'Height' => '125', ]; - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $renderer = &$form->defaultRenderer(); $renderer->setElementTemplate( '{error}{element}', @@ -174,7 +174,7 @@ class MatchingDraggable extends Question echo Display::return_message(get_lang('YouHaveToCreateAtLeastOneAnswer'), 'normal'); } - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { $renderer = &$form->defaultRenderer(); $renderer->setElementTemplate( @@ -232,14 +232,14 @@ class MatchingDraggable extends Question $objAnswer = new Answer($this->id); // Insert the options - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { $position++; $option = $form->getSubmitValue("option[$i]"); $objAnswer->createAnswer($option, 0, '', 0, $position); } // Insert the answers - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $position++; $answer = $form->getSubmitValue("answer[$i]"); $matches = $form->getSubmitValue("matches[$i]"); diff --git a/main/exercise/UniqueAnswerImage.php b/main/exercise/UniqueAnswerImage.php index 39e003ebc9..984cb4ad58 100644 --- a/main/exercise/UniqueAnswerImage.php +++ b/main/exercise/UniqueAnswerImage.php @@ -122,7 +122,7 @@ class UniqueAnswerImage extends UniqueAnswer echo Display::return_message(get_lang('YouHaveToCreateAtLeastOneAnswer')); } - for ($i = 1; $i <= $numberAnswers; ++$i) { + for ($i = 1; $i <= $numberAnswers; $i++) { $form->addHtml(''); if (isset($answer) && is_object($answer)) { if ($answer->correct[$i]) { diff --git a/main/exercise/calculated_answer.class.php b/main/exercise/calculated_answer.class.php index bfdffd732c..de86b73e7c 100644 --- a/main/exercise/calculated_answer.class.php +++ b/main/exercise/calculated_answer.class.php @@ -209,7 +209,7 @@ class CalculatedAnswer extends Question $auxFormula = $formula; $nb = preg_match_all('/\[[^\]]*\]/', $auxAnswer, $blanks); if ($nb > 0) { - for ($i = 0; $i < $nb; ++$i) { + for ($i = 0; $i < $nb; $i++) { $blankItem = $blanks[0][$i]; // take random float values when one or both edge values have a decimal point diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index a5a4303aa7..bfd02cf37d 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -2,7 +2,6 @@ /* For licensing terms, see /license.txt */ use Chamilo\CoreBundle\Entity\TrackEHotspot; -use Chamilo\CourseBundle\Entity\CQuizCategory; use ChamiloSession as Session; /** @@ -1753,7 +1752,7 @@ class Exercise // random all questions if ($this->isRandom() && $this->isRandomByCat() == 0) { if (count($this->questionList) >= $this->random && $this->random > 0) { - $this->random -= 1; + $this->random--; $this->save(); } } diff --git a/main/exercise/export/scorm/scorm_classes.php b/main/exercise/export/scorm/scorm_classes.php index 96b5abe07a..b651bdce18 100755 --- a/main/exercise/export/scorm/scorm_classes.php +++ b/main/exercise/export/scorm/scorm_classes.php @@ -1144,7 +1144,7 @@ class ScormSection list($jstmp, $htmltmp) = ScormQuestion::export_question($q, false, $js_id); $js .= $jstmp."\n"; $html .= $htmltmp."\n"; - ++$js_id; + $js_id++; } return [$js, $html]; diff --git a/main/exercise/fill_blanks.class.php b/main/exercise/fill_blanks.class.php index 6f1c4ceb59..8aebb44f2f 100755 --- a/main/exercise/fill_blanks.class.php +++ b/main/exercise/fill_blanks.class.php @@ -436,7 +436,7 @@ class FillBlanks extends Question if ($nb > 0) { $answer .= '::'; // weighting - for ($i = 0; $i < $nb; ++$i) { + for ($i = 0; $i < $nb; $i++) { // enter the weighting of word $i $answer .= $form->getSubmitValue('weighting['.$i.']'); // not the last word, add "," @@ -449,7 +449,7 @@ class FillBlanks extends Question // input width $answer .= ":"; - for ($i = 0; $i < $nb; ++$i) { + for ($i = 0; $i < $nb; $i++) { // enter the width of input for word $i $answer .= $form->getSubmitValue('sizeofinput['.$i.']'); // not the last word, add "," diff --git a/main/exercise/global_multiple_answer.class.php b/main/exercise/global_multiple_answer.class.php index d998222c34..7c12e4c509 100755 --- a/main/exercise/global_multiple_answer.class.php +++ b/main/exercise/global_multiple_answer.class.php @@ -78,7 +78,7 @@ class GlobalMultipleAnswer extends Question $scoreG = "0"; //Global /* boucle pour sauvegarder les donn�es dans le tableau defaults */ - for ($i = 1; $i <= $nb_answers; ++$i) { + for ($i = 1; $i <= $nb_answers; $i++) { /* si la reponse est de type objet */ if (is_object($answer)) { $defaults['answer['.$i.']'] = $answer->answer[$i]; diff --git a/main/exercise/matching.class.php b/main/exercise/matching.class.php index 6da1c4a602..232485fc74 100755 --- a/main/exercise/matching.class.php +++ b/main/exercise/matching.class.php @@ -88,12 +88,12 @@ class Matching extends Question } if (empty($matches)) { - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { // fill the array with A, B, C..... $matches[$i] = chr(64 + $i); } } else { - for ($i = $counter; $i <= $nb_options; ++$i) { + for ($i = $counter; $i <= $nb_options; $i++) { // fill the array with A, B, C..... $matches[$i] = chr(64 + $i); } @@ -130,7 +130,7 @@ class Matching extends Question 'Height' => '125', ]; - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $renderer = &$form->defaultRenderer(); $renderer->setElementTemplate( '{error}{element}', @@ -193,7 +193,7 @@ class Matching extends Question ); } - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { $renderer = &$form->defaultRenderer(); $renderer->setElementTemplate( '{error}{element}', @@ -251,14 +251,14 @@ class Matching extends Question $objAnswer = new Answer($this->id); // Insert the options - for ($i = 1; $i <= $nb_options; ++$i) { + for ($i = 1; $i <= $nb_options; $i++) { $position++; $option = $form->getSubmitValue('option['.$i.']'); $objAnswer->createAnswer($option, 0, '', 0, $position); } // Insert the answers - for ($i = 1; $i <= $nb_matches; ++$i) { + for ($i = 1; $i <= $nb_matches; $i++) { $position++; $answer = $form->getSubmitValue('answer['.$i.']'); $matches = $form->getSubmitValue('matches['.$i.']'); diff --git a/main/exercise/multiple_answer.class.php b/main/exercise/multiple_answer.class.php index 8b0ce5a3da..28feca6af9 100755 --- a/main/exercise/multiple_answer.class.php +++ b/main/exercise/multiple_answer.class.php @@ -80,7 +80,7 @@ class MultipleAnswer extends Question echo Display::return_message(get_lang('YouHaveToCreateAtLeastOneAnswer')); } - for ($i = 1; $i <= $nb_answers; ++$i) { + for ($i = 1; $i <= $nb_answers; $i++) { $form->addHtml(''); if (is_object($answer)) { $defaults['answer['.$i.']'] = $answer->answer[$i]; diff --git a/main/exercise/multiple_answer_combination.class.php b/main/exercise/multiple_answer_combination.class.php index 7cf2b0a0d8..6354f749ba 100755 --- a/main/exercise/multiple_answer_combination.class.php +++ b/main/exercise/multiple_answer_combination.class.php @@ -72,7 +72,7 @@ class MultipleAnswerCombination extends Question echo Display::return_message(get_lang('YouHaveToCreateAtLeastOneAnswer')); } - for ($i = 1; $i <= $nb_answers; ++$i) { + for ($i = 1; $i <= $nb_answers; $i++) { $form->addHtml(''); if (is_object($answer)) { diff --git a/main/exercise/multiple_answer_true_false.class.php b/main/exercise/multiple_answer_true_false.class.php index 4b089b4383..deb8391107 100755 --- a/main/exercise/multiple_answer_true_false.class.php +++ b/main/exercise/multiple_answer_true_false.class.php @@ -83,7 +83,7 @@ class MultipleAnswerTrueFalse extends Question // Can be more options $optionData = Question::readQuestionOption($this->id, $course_id); - for ($i = 1; $i <= $nb_answers; ++$i) { + for ($i = 1; $i <= $nb_answers; $i++) { $form->addHtml(''); $renderer->setElementTemplate( diff --git a/main/exercise/unique_answer.class.php b/main/exercise/unique_answer.class.php index b0daaadcc5..3b41c8c0dd 100755 --- a/main/exercise/unique_answer.class.php +++ b/main/exercise/unique_answer.class.php @@ -130,7 +130,7 @@ class UniqueAnswer extends Question ); } - for ($i = 1; $i <= $nb_answers; ++$i) { + for ($i = 1; $i <= $nb_answers; $i++) { $form->addHtml(''); if (isset($answer) && is_object($answer)) { if (isset($answer->correct[$i]) && $answer->correct[$i]) { diff --git a/main/exercise/unique_answer_no_option.class.php b/main/exercise/unique_answer_no_option.class.php index d8b5e3cfc0..3ee0f9fe2e 100755 --- a/main/exercise/unique_answer_no_option.class.php +++ b/main/exercise/unique_answer_no_option.class.php @@ -105,14 +105,14 @@ class UniqueAnswerNoOption extends Question $nb_answers--; } } - for ($k = 1; $k <= $nb_answers; ++$k) { + for ($k = 1; $k <= $nb_answers; $k++) { if ($answer->position[$k] != '666') { $new_list[$count] = $count; $count++; } } } else { - for ($k = 1; $k <= $nb_answers; ++$k) { + for ($k = 1; $k <= $nb_answers; $k++) { $new_list[$k] = $k; } } diff --git a/main/gradebook/lib/fe/flatviewtable.class.php b/main/gradebook/lib/fe/flatviewtable.class.php index 7dad4160f6..73495052f1 100755 --- a/main/gradebook/lib/fe/flatviewtable.class.php +++ b/main/gradebook/lib/fe/flatviewtable.class.php @@ -148,7 +148,7 @@ class FlatViewTable extends SortableTable if (!isset($resource_list[$key][$userResult])) { $resource_list[$key][$userResult] = 0; } - $resource_list[$key][$userResult] += 1; + $resource_list[$key][$userResult]++; $key_list[] = $userResult; } diff --git a/main/inc/lib/events.lib.php b/main/inc/lib/events.lib.php index e4b3660b43..9abba027a5 100644 --- a/main/inc/lib/events.lib.php +++ b/main/inc/lib/events.lib.php @@ -455,7 +455,7 @@ class Event * @param int Position * @param int Exercise ID (from c_quiz) * @param bool update results? - * @param $fileName string Filename (for audio answers - using nanogong) + * @param $fileName string Filename (for audio answers - using nanogong) * @param int User ID The user who's going to get this score. Default value of null means "get from context". * @param int Course ID (from the "id" column of course table). Default value of null means "get from context". * @param int Session ID (from the session table). Default value of null means "get from context". diff --git a/main/inc/lib/usermanager.lib.php b/main/inc/lib/usermanager.lib.php index 41a9f83d5f..7a958ab927 100755 --- a/main/inc/lib/usermanager.lib.php +++ b/main/inc/lib/usermanager.lib.php @@ -2211,7 +2211,7 @@ class UserManager /** * Returns an array with the user's productions. * - * @param $user_id User id + * @param $user_id User id * * @return array An array containing the user's productions */ diff --git a/main/lp/aicc.class.php b/main/lp/aicc.class.php index be9c38a69e..9fe1e570d3 100755 --- a/main/lp/aicc.class.php +++ b/main/lp/aicc.class.php @@ -1065,7 +1065,7 @@ class aicc extends learnpath case $enclosure: if ($enclosed && $data[$i + 1] == $enclosure) { $fldval .= $chr; - ++$i; // Skip the next character. + $i++; // Skip the next character. } else { $enclosed = !$enclosed; } diff --git a/main/lp/openoffice_text.class.php b/main/lp/openoffice_text.class.php index 99e7a6c874..72ccde781a 100755 --- a/main/lp/openoffice_text.class.php +++ b/main/lp/openoffice_text.class.php @@ -223,7 +223,7 @@ class OpenofficeText extends OpenofficeDocument $first_item = 0; foreach ($pages as $key => $page_content) { // For every pages, we create a new file. - $key += 1; + $key++; $page_content = $this->format_page_content($header, $page_content, $this->base_work_dir.$this->created_dir); $html_file = $this->created_dir.'-'.$key.'.html'; $handle = fopen($this->base_work_dir.$this->created_dir.'/'.$html_file, 'w+'); diff --git a/main/lp/openoffice_text_document.class.php b/main/lp/openoffice_text_document.class.php index 5e09eab6cd..96e9b58c2f 100755 --- a/main/lp/openoffice_text_document.class.php +++ b/main/lp/openoffice_text_document.class.php @@ -213,7 +213,7 @@ class OpenOfficeTextDocument extends OpenofficeDocument $pages = explode('||page_break||', $body); foreach ($pages as $key => $page_content) { // For every pages, we create a new file. - $key += 1; + $key++; $page_content = $this->format_page_content( $header, $page_content, diff --git a/main/session/add_courses_to_session.php b/main/session/add_courses_to_session.php index d1bdf208a7..3681f6cdd8 100644 --- a/main/session/add_courses_to_session.php +++ b/main/session/add_courses_to_session.php @@ -1,8 +1,6 @@ users = new ArrayCollection(); diff --git a/src/CoreBundle/Form/CurriculumItemType.php b/src/CoreBundle/Form/CurriculumItemType.php index a66d9a62ba..b6e202bba2 100644 --- a/src/CoreBundle/Form/CurriculumItemType.php +++ b/src/CoreBundle/Form/CurriculumItemType.php @@ -9,6 +9,7 @@ use Symfony\Component\OptionsResolver\OptionsResolverInterface; /** * Class CurriculumItemType. + * * @package Chamilo\CoreBundle\Form */ class CurriculumItemType extends AbstractType diff --git a/src/CoreBundle/Form/JuryMembersType.php b/src/CoreBundle/Form/JuryMembersType.php index 76fbabde19..10c0a393db 100644 --- a/src/CoreBundle/Form/JuryMembersType.php +++ b/src/CoreBundle/Form/JuryMembersType.php @@ -4,7 +4,6 @@ namespace Chamilo\CoreBundle\Form; use Doctrine\ORM\EntityRepository; -use Entity; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\Form\FormEvents; diff --git a/src/CoreBundle/Form/QuestionScoreNameType.php b/src/CoreBundle/Form/QuestionScoreNameType.php index b3f1e2e29a..392ba8d4b5 100644 --- a/src/CoreBundle/Form/QuestionScoreNameType.php +++ b/src/CoreBundle/Form/QuestionScoreNameType.php @@ -3,7 +3,6 @@ namespace Chamilo\CoreBundle\Form; -use Entity; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface; diff --git a/src/CoreBundle/Form/SessionTreeType.php b/src/CoreBundle/Form/SessionTreeType.php index d41fdebc86..647fb9909b 100644 --- a/src/CoreBundle/Form/SessionTreeType.php +++ b/src/CoreBundle/Form/SessionTreeType.php @@ -4,7 +4,6 @@ namespace Chamilo\CoreBundle\Form; use Doctrine\ORM\EntityRepository; -use Entity; use Symfony\Component\Form\AbstractType; use Symfony\Component\Form\FormBuilderInterface; use Symfony\Component\OptionsResolver\OptionsResolverInterface;