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, 28 warnings)

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

mod/concordance/backup/moodle2/backup_concordance_stepslib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/backup/moodle2/restore_concordance_stepslib.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/concordance.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/event/concordance_updated.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/event/course_module_instance_list_viewed.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/event/course_module_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/event/email_sent.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/external/panelist_exporter.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/form/panelist.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/output/contact_panelists_page.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/output/manage_panelists_page.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/output/renderer.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/output/select_quiz_page.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/panelist.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/db/uninstall.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/db/upgrade.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/lib.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#312) Logical operator "or" is prohibited; use "||" instead
mod/concordance/quizaccess.php
(#46) Logical operator "and" is prohibited; use "&&" instead
mod/concordance/tests/external_test.php
(#41) PHPUnit testcase name "mod_concordance_external_testcase" does not match file name "external_test"
(#41) PHPUnit class "mod_concordance_external_testcase" does not have any namespace. It is recommended to add it to the "mod_concordance" namespace, using more levels if needed, in order to match the code being tested
mod/concordance/tests/generator/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/concordance/tests/panelistmanager_test.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) PHPUnit testcase name "mod_concordance_panelistmanager_testcase" does not match file name "panelistmanager_test"
(#37) PHPUnit class "mod_concordance_panelistmanager_testcase" does not have any namespace. It is recommended to add it to the "mod_concordance" namespace, using more levels if needed, in order to match the code being tested
mod/concordance/tests/quizmanager_test.php
(#44) PHPUnit testcase name "quizmanager_testcase" does not match file name "quizmanager_test"
(#44) PHPUnit class "quizmanager_testcase" does not have any namespace. It is recommended to add it to the "mod_concordance" namespace, using more levels if needed, in order to match the code being tested

Javascript coding style problems

(2 errors, 1 warnings)

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

mod/concordance/amd/src/panelists.js
(#20) @package should be empty. (jsdoc/empty-tags)
mod/concordance/amd/src/studentquizgeneration.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#63) Expected to return a value at the end of function. (consistent-return)

CSS problems

(2 errors, 0 warnings)

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

mod/concordance/styles.css
(#220) Expected single space after "+" (selector-combinator-space-after)
(#220) Expected single space before "+" (selector-combinator-space-before)

PHPDocs style problems

(0 errors, 0 warnings)

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


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 "stylelint:css" 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]


Gherkin .feature problems

(6 errors, 0 warnings)

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

mod/concordance/tests/behat/index.feature
(#30) Wrong indentation for "scenario tag", expected indentation level of 2, but got 0
mod/concordance/tests/behat/panelist.feature
(#2) Missing Feature name
mod/concordance/tests/behat/studentquiz.feature
(#351) Trailing spaces are not allowed
(#375) Trailing spaces are not allowed
(#395) Trailing spaces are not allowed
(#420) Trailing spaces are not allowed