Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(3 errors, 5 warnings)

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

course/format/ludilearn/Gruntfile.js
(#18) @package should be empty. (jsdoc/empty-tags)
(#27) 'module' is not defined. (no-undef)
(#57) Identifier 'keep_fnames' is not in camel case. (camelcase)
(#75) Identifier 'keep_classnames' is not in camel case. (camelcase)
(#76) Identifier 'keep_fnames' is not in camel case. (camelcase)
(#79) Identifier 'my_target' is not in camel case. (camelcase)
course/format/ludilearn/amd/src/pagination.js
(#43) Expected JSDoc block to be aligned. (jsdoc/check-alignment)
course/format/ludilearn/amd/src/questionnaire.js
(#20) @package should be empty. (jsdoc/empty-tags)

CSS problems

(124 errors, 2 warnings)

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

course/format/ludilearn/styles.css
(#1197) Expected empty line before at-rule (at-rule-empty-line-before)
(#1288) Expected empty line before at-rule (at-rule-empty-line-before)
(#1620) Expected empty line before at-rule (at-rule-empty-line-before)
(#1719) Expected empty line before at-rule (at-rule-empty-line-before)
(#1794) Expected empty line before at-rule (at-rule-empty-line-before)
(#1989) Expected empty line before at-rule (at-rule-empty-line-before)
(#1097) Expected newline after ":" with a multi-line declaration (declaration-colon-newline-after)
(#1041) Unexpected !important (declaration-no-important)
(#319) Unexpected unit (length-zero-no-unit)
(#1866) Expected single space before "+" (selector-combinator-space-before)
(#1875) Expected single space before "+" (selector-combinator-space-before)
(#1883) Expected single space before "+" (selector-combinator-space-before)
(#1335) Expected indentation of 0 spaces (indentation)
(#1336) Expected indentation of 0 spaces (indentation)
(#1337) Expected indentation of 0 spaces (indentation)
(#1341) Expected indentation of 0 spaces (indentation)
(#1342) Expected indentation of 0 spaces (indentation)
(#1343) Expected indentation of 0 spaces (indentation)
(#1344) Expected indentation of 0 spaces (indentation)
(#1350) Expected indentation of 0 spaces (indentation)
(#1351) Expected indentation of 0 spaces (indentation)
(#1352) Expected indentation of 0 spaces (indentation)
(#1353) Expected indentation of 0 spaces (indentation)
(#1354) Expected indentation of 0 spaces (indentation)
(#1359) Expected indentation of 0 spaces (indentation)
(#1360) Expected indentation of 0 spaces (indentation)
(#1361) Expected indentation of 0 spaces (indentation)
(#1362) Expected indentation of 0 spaces (indentation)
(#1363) Expected indentation of 0 spaces (indentation)
(#1373) Expected indentation of 0 spaces (indentation)
(#1374) Expected indentation of 0 spaces (indentation)
(#1375) Expected indentation of 0 spaces (indentation)
(#1376) Expected indentation of 0 spaces (indentation)
(#1377) Expected indentation of 0 spaces (indentation)
(#1378) Expected indentation of 0 spaces (indentation)
(#1382) Expected indentation of 0 spaces (indentation)
(#1383) Expected indentation of 0 spaces (indentation)
(#1384) Expected indentation of 0 spaces (indentation)
(#1385) Expected indentation of 0 spaces (indentation)
(#1386) Expected indentation of 0 spaces (indentation)
(#1390) Expected indentation of 0 spaces (indentation)
(#1391) Expected indentation of 0 spaces (indentation)
(#1392) Expected indentation of 0 spaces (indentation)
(#1393) Expected indentation of 0 spaces (indentation)
(#1394) Expected indentation of 0 spaces (indentation)
(#1396) Expected indentation of 0 spaces (indentation)
(#1397) Expected indentation of 0 spaces (indentation)
(#1398) Expected indentation of 0 spaces (indentation)
(#1399) Expected indentation of 0 spaces (indentation)
(#1400) Expected indentation of 0 spaces (indentation)
(#1406) Expected indentation of 0 spaces (indentation)
(#1407) Expected indentation of 0 spaces (indentation)
(#1408) Expected indentation of 0 spaces (indentation)
(#1409) Expected indentation of 0 spaces (indentation)
(#1410) Expected indentation of 0 spaces (indentation)
(#1416) Expected indentation of 0 spaces (indentation)
(#1417) Expected indentation of 0 spaces (indentation)
(#1418) Expected indentation of 0 spaces (indentation)
(#1419) Expected indentation of 0 spaces (indentation)
(#1420) Expected indentation of 0 spaces (indentation)
(#1421) Expected indentation of 0 spaces (indentation)
(#1425) Expected indentation of 0 spaces (indentation)
(#1426) Expected indentation of 0 spaces (indentation)
(#1427) Expected indentation of 0 spaces (indentation)
(#1428) Expected indentation of 0 spaces (indentation)
(#1429) Expected indentation of 0 spaces (indentation)
(#1435) Expected indentation of 0 spaces (indentation)
(#1436) Expected indentation of 0 spaces (indentation)
(#1437) Expected indentation of 0 spaces (indentation)
(#1438) Expected indentation of 0 spaces (indentation)
(#1439) Expected indentation of 0 spaces (indentation)
(#1440) Expected indentation of 0 spaces (indentation)
(#1444) Expected indentation of 0 spaces (indentation)
(#1445) Expected indentation of 0 spaces (indentation)
(#1446) Expected indentation of 0 spaces (indentation)
(#1447) Expected indentation of 0 spaces (indentation)
(#1448) Expected indentation of 0 spaces (indentation)
(#1461) Expected indentation of 0 spaces (indentation)
(#1462) Expected indentation of 0 spaces (indentation)
(#1463) Expected indentation of 0 spaces (indentation)
(#1464) Expected indentation of 0 spaces (indentation)
(#1465) Expected indentation of 0 spaces (indentation)
(#1467) Expected indentation of 0 spaces (indentation)
(#1468) Expected indentation of 0 spaces (indentation)
(#1469) Expected indentation of 0 spaces (indentation)
(#1470) Expected indentation of 0 spaces (indentation)
(#1471) Expected indentation of 0 spaces (indentation)
(#1475) Expected indentation of 0 spaces (indentation)
(#1476) Expected indentation of 0 spaces (indentation)
(#1477) Expected indentation of 0 spaces (indentation)
(#1478) Expected indentation of 0 spaces (indentation)
(#1479) Expected indentation of 0 spaces (indentation)
(#1483) Expected indentation of 0 spaces (indentation)
(#1484) Expected indentation of 0 spaces (indentation)
(#1485) Expected indentation of 0 spaces (indentation)
(#1486) Expected indentation of 0 spaces (indentation)
(#1487) Expected indentation of 0 spaces (indentation)
(#1699) Expected indentation of 0 spaces (indentation)
(#1700) Expected indentation of 0 spaces (indentation)
(#1701) Expected indentation of 0 spaces (indentation)
(#1708) Expected indentation of 0 spaces (indentation)
(#1709) Expected indentation of 0 spaces (indentation)
(#1737) Expected indentation of 0 spaces (indentation)
(#1738) Expected indentation of 0 spaces (indentation)
(#1739) Expected indentation of 0 spaces (indentation)
(#1768) Expected indentation of 0 spaces (indentation)
(#1769) Expected indentation of 0 spaces (indentation)
(#1863) Expected indentation of 0 spaces (indentation)
(#1864) Expected indentation of 0 spaces (indentation)
(#1865) Expected indentation of 0 spaces (indentation)
(#1866) Expected indentation of 0 spaces (indentation)
(#1872) Expected indentation of 0 spaces (indentation)
(#1873) Expected indentation of 0 spaces (indentation)
(#1874) Expected indentation of 0 spaces (indentation)
(#1875) Expected indentation of 0 spaces (indentation)
(#1880) Expected indentation of 0 spaces (indentation)
(#1881) Expected indentation of 0 spaces (indentation)
(#1882) Expected indentation of 0 spaces (indentation)
(#1883) Expected indentation of 0 spaces (indentation)
(#1907) Expected indentation of 0 spaces (indentation)
(#1908) Expected indentation of 0 spaces (indentation)
(#1909) Expected indentation of 0 spaces (indentation)
(#1925) Expected indentation of 0 spaces (indentation)
(#1926) Expected indentation of 0 spaces (indentation)
course/format/ludilearn/scss/progress-rocket.scss
(#1150) Unexpected !important (declaration-no-important)
(#323) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(2 errors, 0 warnings)

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

course/format/ludilearn/classes/local/gameelements/avatar.php
(#304) Phpdocs for function avatar::get_parameters_default has incomplete parameters list
course/format/ludilearn/classes/local/gameelements/game_element.php
(#457) Phpdocs for function game_element::get_element has incomplete parameters list

Update savepoints problems

(0 errors, 0 warnings)

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


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]

Problems running grunt
Task "eslint:amd" failed. Use --force to continue.

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]

course/format/ludilearn/templates/avatar/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/badge/cm.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/badge/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/format_ludilearn_gameelement.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/gameprofile.mustache
(#1) HTML Validation info, line 3: Possible misuse of “aria-label”. (If you disagree with this warning, file an issue report or send e-mail to www-validator@w3.org.) (d><body><div id="ludilearn-gameprofile" class="format-ludilearn" aria-label="((+gameprofile_title%2C+format_ludilearn+))"> <)
course/format/ludilearn/templates/nogamified/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/progress/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/highschool/group_view.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/highschool/summary.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/professional/group_view.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/professional/summary.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/school/group_view.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/school/summary.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/ranking/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/report/table_report.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/score/section.mustache
(#1) HTML validation skipped
course/format/ludilearn/templates/timer/settings.mustache
(#1) HTML validation skipped

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]