Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by phpcs [More info]


Javascript coding style problems

(0 errors, 0 warnings)

This section shows the coding style problems detected in the code by eslint [More info]


CSS problems

(33 errors, 2 warnings)

This section shows CSS problems detected by stylelint [More info]

mod/studentquiz/styles.css
(#45) Expected single space before "{" (block-opening-brace-space-before)
(#172) Expected single space before "{" (block-opening-brace-space-before)
(#164) Expected "#ff0000" to be "#f00" (color-hex-length)
(#176) Expected "#00aa00" to be "#0a0" (color-hex-length)
(#42) Unexpected duplicate "border-color" (declaration-block-no-duplicate-properties)
(#173) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#16) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#145) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#146) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#150) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#173) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#9) Expected single space after "," in a single-line function (function-comma-space-after)
(#11) Expected single space after "," in a single-line function (function-comma-space-after)
(#11) Expected single space after "," in a single-line function (function-comma-space-after)
(#11) Expected single space after "," in a single-line function (function-comma-space-after)
(#31) Expected single space after "," in a single-line function (function-comma-space-after)
(#31) Expected single space after "," in a single-line function (function-comma-space-after)
(#31) Expected single space after "," in a single-line function (function-comma-space-after)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#32) Expected single space after "," in a single-line function (function-comma-space-after)
(#33) Expected single space after "," in a single-line function (function-comma-space-after)
(#33) Expected single space after "," in a single-line function (function-comma-space-after)
(#33) Expected single space after "," in a single-line function (function-comma-space-after)
(#42) Expected single space after "," in a single-line function (function-comma-space-after)
(#42) Expected single space after "," in a single-line function (function-comma-space-after)
(#42) Expected single space after "," in a single-line function (function-comma-space-after)

PHPDocs style problems

(15 errors, 0 warnings)

This section shows the phpdocs problems detected in the code by local_moodlecheck [More info]

mod/studentquiz/classes/condition/studentquiz_condition.php
(#56) Function studentquiz_condition::init is not documented
(#70) Function studentquiz_condition::where is not documented
mod/studentquiz/classes/question/bank/studentquiz_bank_view.php
(#971) There is no description in phpdocs for function create_paging_bar
(#972) Phpdocs for function studentquiz_bank_view::create_paging_bar has incomplete parameters list
mod/studentquiz/lib.php
(#329) Phpdocs for function studentquiz_grade_item_update has incomplete parameters list
mod/studentquiz/locallib.php
(#102) Phpdocs for function mod_studentquiz_check_created_permission has incomplete parameters list
(#143) Phpdocs for function mod_studentquiz_notify_change has incomplete parameters list
(#197) Phpdocs for function mod_studentquiz_notify_approving has incomplete parameters list
(#251) Phpdocs for function mod_studentquiz_send_notification has incomplete parameters list
mod/studentquiz/renderer.php
(#193) Phpdocs for function mod_studentquiz_renderer::view_quizreport_stats has incomplete parameters list
mod/studentquiz/reportlib.php
(#298) There is no description in phpdocs for function get_user_quiz_grade
(#299) Phpdocs for function mod_studentquiz_report::get_user_quiz_grade has incomplete parameters list
mod/studentquiz/tests/viewlib_test.php
(#38) Class mod_studentquiz_viewlib_testcase is not documented
(#43) Variable mod_studentquiz_viewlib_testcase::$cm is not documented
(#140) Phpdocs for function mod_studentquiz_viewlib_testcase::invoke_method has incomplete parameters list

Update savepoints problems

(1 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/studentquiz/db/upgrade.php
Wrong order in versions: 2017021601 and 2007040100

Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "stylelint:css" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]