diff --git a/.php_cs.dist b/.php_cs.dist index 0aa4efe68e..c2e36ed8ff 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -37,33 +37,22 @@ $rules = [ ]; $finder = PhpCsFixer\Finder::create() - ->exclude('app/') ->exclude('assets') ->exclude('bin') ->exclude('documentation') - ->exclude('main/auth/cas/lib') - ->exclude('main/auth/shibboleth') - ->exclude('main/auth/openid') - ->exclude('main/fonts') - ->exclude('main/inc/lib/browser') ->exclude('main/inc/lib/internationalization_database') ->exclude('main/inc/lib/javascript') ->exclude('main/inc/lib/kses-0.2.2') ->exclude('main/inc/lib/mimetex') - ->exclude('main/inc/lib/nanogong') ->exclude('main/inc/lib/nusoap') ->exclude('main/inc/lib/opengraph') ->exclude('main/inc/lib/ppt2png') - ->exclude('main/inc/lib/phpseclib') ->exclude('main/inc/lib/pear') - ->exclude('main/inc/lib/phpseclib') ->exclude('main/inc/lib/svg-edit') - ->exclude('main/inc/lib/swfobject') ->exclude('main/inc/lib/wami-recorder') ->exclude('main/inc/lib/xajax') ->exclude('main/lp/packaging') ->exclude('main/template') - ->exclude('main/img') ->exclude('main/lang') ->exclude('plugin/buycourses/src/Culqi') ->exclude('plugin/buycourses/src/Requests') diff --git a/main/exercise/exercise.class.php b/main/exercise/exercise.class.php index e140e8bf3a..8fb38f5982 100755 --- a/main/exercise/exercise.class.php +++ b/main/exercise/exercise.class.php @@ -8335,7 +8335,7 @@ class Exercise } /** - * @param int $categoryId + * @param int $categoryId * @param string $keyword * * @return string diff --git a/main/exercise/question.class.php b/main/exercise/question.class.php index e51286df55..9f3e324ea7 100755 --- a/main/exercise/question.class.php +++ b/main/exercise/question.class.php @@ -1729,11 +1729,8 @@ abstract class Question /** * Function which process the creation of questions. - * - * @param FormValidator $form - * @param Exercise $exercise */ - public function processCreation(FormValidator $form, $exercise) + public function processCreation(FormValidator $form, Exercise $exercise) { $this->updateTitle($form->getSubmitValue('questionName')); $this->updateDescription($form->getSubmitValue('questionDescription'));