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

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

report/cmcompetency/amd/src/bulkrating.js
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Extra space after key 'compid'. (key-spacing)
(#64) Extra space after key 'value'. (key-spacing)
report/cmcompetency/amd/src/grade_dialogue_cm.js
(#90) Expected space(s) after "if". (keyword-spacing)
(#90) There should be no space after this paren. (space-in-parens)
(#90) There should be no space before this paren. (space-in-parens)
(#100) Comments should not begin with a lowercase character. (capitalized-comments)
report/cmcompetency/amd/src/grading_popup_cm.js
(#94) The function binding is unnecessary. (no-extra-bind)

CSS problems

(38 errors, 1 warnings)

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

report/cmcompetency/styles.css
(#45) Expected empty line before at-rule (at-rule-empty-line-before)
(#49) Expected empty line before at-rule (at-rule-empty-line-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#43) Expected newline before "}" (block-closing-brace-newline-before)
(#46) Expected newline before "}" (block-closing-brace-newline-before)
(#47) Expected newline before "}" (block-closing-brace-newline-before)
(#50) Expected newline before "}" (block-closing-brace-newline-before)
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#43) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#46) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#47) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#50) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#51) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#42) Expected newline after "{" (block-opening-brace-newline-after)
(#43) Expected newline after "{" (block-opening-brace-newline-after)
(#46) Expected newline after "{" (block-opening-brace-newline-after)
(#47) Expected newline after "{" (block-opening-brace-newline-after)
(#50) Expected newline after "{" (block-opening-brace-newline-after)
(#51) Expected newline after "{" (block-opening-brace-newline-after)
(#42) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#43) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#46) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#47) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#50) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#51) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#55) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#56) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#57) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#58) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#73) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#74) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#75) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#76) Unexpected duplicate "display" (declaration-block-no-duplicate-properties)
(#35) Unexpected !important (declaration-no-important)
(#13) Unexpected unit (length-zero-no-unit)
(#37) Expected single space after ">" (selector-combinator-space-after)
(#37) Expected single space before ">" (selector-combinator-space-before)
(#34) Unexpected unknown type selector "m-b-1" (selector-type-no-unknown)

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 "gherkinlint" 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, 9 warnings)

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

report/cmcompetency/templates/bulk_rating.mustache
(#1) Example context missing.
report/cmcompetency/templates/competency_grader_cm.mustache
(#1) HTML Validation error, line 14: The value of the “for” attribute of the “label” element must be the ID of a non-hidden form control. ( <label for="comment_would-be-a-uniqid">((rate)
report/cmcompetency/templates/report.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: Element “table” not allowed as child of element “span” in this context. (Suppressing further errors from this subtree.) (an6"> <table class="table table-bordered" id="coursemodulecompetencies"> )
(#1) HTML Validation error, line 6: Start tag “summary” seen in “table”. (etencies"> <summary class="accesshide"> )
(#1) HTML Validation error, line 6: Cannot recover after last error. Any further errors will be ignored. (etencies"> <summary class="accesshide"> )
report/cmcompetency/templates/user_competency_summary.mustache
(#1) Example context missing (@template section not found.)
report/cmcompetency/templates/user_competency_summary_in_coursemodule.mustache
(#1) Example context missing.
(#1) Template produced no content
report/cmcompetency/templates/user_coursemodule_navigation.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(8 errors, 0 warnings)

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

report/cmcompetency/tests/behat/activity_competencies_grading.feature
(#38) Trailing spaces are not allowed
(#83) Wrong indentation for "Scenario", expected indentation level of 2, but got 1
(#110) Trailing spaces are not allowed
(#133) New line at EOF(end of file) is required
report/cmcompetency/tests/behat/activity_competencies_grading_withrte.feature
(#2) Feature name is already used in: report/cmcompetency/tests/behat/activity_competencies_grading.feature
(#51) Trailing spaces are not allowed
report/cmcompetency/tests/behat/activity_competencies_report.feature
(#95) New line at EOF(end of file) is required
report/cmcompetency/tests/behat/activity_competencies_bulkrating.feature
(#102) New line at EOF(end of file) is required