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

(1 errors, 16 warnings)

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

course/format/softcourse/Gruntfile.js
(#68) More than 2 blank lines not allowed. (no-multiple-empty-lines)
course/format/softcourse/amd/src/actions.js
(#32) Unexpected console statement. (no-console)
(#115) Identifier 'get_config' is not in camel case. (camelcase)
(#117) Extra space after key 'container_node'. (key-spacing)
(#117) Identifier 'container_node' is not in camel case. (camelcase)
(#118) Extra space after key 'container_class'. (key-spacing)
(#118) Identifier 'container_class' is not in camel case. (camelcase)
(#119) Extra space after key 'section_node'. (key-spacing)
(#119) Identifier 'section_node' is not in camel case. (camelcase)
(#120) Extra space after key 'section_class'. (key-spacing)
(#120) Identifier 'section_class' is not in camel case. (camelcase)
(#131) Identifier 'swap_sections' is not in camel case. (camelcase)
(#133) Extra space after key 'COURSECONTENT'. (key-spacing)
(#134) Extra space after key 'SECTIONADDMENUS'. (key-spacing)
(#151) Identifier 'process_sections' is not in camel case. (camelcase)
(#153) Extra space after key 'SECTIONNAME'. (key-spacing)
(#156) Extra space after key 'SECTIONLEFTSIDE'. (key-spacing)

CSS problems

(291 errors, 40 warnings)

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

course/format/softcourse/styles.css
(#54) Invalid value for `background-color` (csstree/validator)
(#170) Invalid value for `color` (csstree/validator)
(#179) Invalid value for `color` (csstree/validator)
(#203) Invalid value for `color` (csstree/validator)
(#61) Expected empty line before at-rule (at-rule-empty-line-before)
(#77) Expected empty line before at-rule (at-rule-empty-line-before)
(#84) Expected empty line before at-rule (at-rule-empty-line-before)
(#185) Expected empty line before at-rule (at-rule-empty-line-before)
(#196) Expected empty line before at-rule (at-rule-empty-line-before)
(#6) Expected newline before "}" (block-closing-brace-newline-before)
(#8) Expected newline before "}" (block-closing-brace-newline-before)
(#11) Expected newline before "}" (block-closing-brace-newline-before)
(#13) Expected newline before "}" (block-closing-brace-newline-before)
(#16) Expected newline before "}" (block-closing-brace-newline-before)
(#18) Expected newline before "}" (block-closing-brace-newline-before)
(#21) Expected newline before "}" (block-closing-brace-newline-before)
(#25) Expected newline before "}" (block-closing-brace-newline-before)
(#33) Expected newline before "}" (block-closing-brace-newline-before)
(#35) Expected newline before "}" (block-closing-brace-newline-before)
(#38) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#49) Expected newline before "}" (block-closing-brace-newline-before)
(#51) Expected newline before "}" (block-closing-brace-newline-before)
(#60) Expected newline before "}" (block-closing-brace-newline-before)
(#64) Expected newline before "}" (block-closing-brace-newline-before)
(#76) Expected newline before "}" (block-closing-brace-newline-before)
(#81) Expected newline before "}" (block-closing-brace-newline-before)
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#86) Expected newline before "}" (block-closing-brace-newline-before)
(#97) Expected newline before "}" (block-closing-brace-newline-before)
(#99) Expected newline before "}" (block-closing-brace-newline-before)
(#102) Expected newline before "}" (block-closing-brace-newline-before)
(#108) Expected newline before "}" (block-closing-brace-newline-before)
(#110) Expected newline before "}" (block-closing-brace-newline-before)
(#121) Expected newline before "}" (block-closing-brace-newline-before)
(#123) Expected newline before "}" (block-closing-brace-newline-before)
(#126) Expected newline before "}" (block-closing-brace-newline-before)
(#132) Expected newline before "}" (block-closing-brace-newline-before)
(#134) Expected newline before "}" (block-closing-brace-newline-before)
(#143) Expected newline before "}" (block-closing-brace-newline-before)
(#148) Expected newline before "}" (block-closing-brace-newline-before)
(#158) Expected newline before "}" (block-closing-brace-newline-before)
(#167) Expected newline before "}" (block-closing-brace-newline-before)
(#174) Expected newline before "}" (block-closing-brace-newline-before)
(#176) Expected newline before "}" (block-closing-brace-newline-before)
(#184) Expected newline before "}" (block-closing-brace-newline-before)
(#187) Expected newline before "}" (block-closing-brace-newline-before)
(#195) Expected newline before "}" (block-closing-brace-newline-before)
(#198) Expected newline before "}" (block-closing-brace-newline-before)
(#200) Expected newline before "}" (block-closing-brace-newline-before)
(#208) Expected newline before "}" (block-closing-brace-newline-before)
(#211) Expected newline before "}" (block-closing-brace-newline-before)
(#213) Expected newline before "}" (block-closing-brace-newline-before)
(#217) Expected newline before "}" (block-closing-brace-newline-before)
(#220) Expected newline before "}" (block-closing-brace-newline-before)
(#223) Expected newline before "}" (block-closing-brace-newline-before)
(#226) Expected newline before "}" (block-closing-brace-newline-before)
(#229) Expected newline before "}" (block-closing-brace-newline-before)
(#231) Expected newline before "}" (block-closing-brace-newline-before)
(#233) Expected newline before "}" (block-closing-brace-newline-before)
(#235) Expected newline before "}" (block-closing-brace-newline-before)
(#64) Expected newline before "}" (block-closing-brace-newline-before)
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#86) Expected newline before "}" (block-closing-brace-newline-before)
(#187) Expected newline before "}" (block-closing-brace-newline-before)
(#198) Expected newline before "}" (block-closing-brace-newline-before)
(#54) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#63) Unexpected !important (declaration-no-important)
(#36) Expected line length to be no more than 132 characters (max-line-length)
(#37) Expected line length to be no more than 132 characters (max-line-length)
(#39) Expected line length to be no more than 132 characters (max-line-length)
(#40) Expected line length to be no more than 132 characters (max-line-length)
(#41) Expected line length to be no more than 132 characters (max-line-length)
(#43) Expected line length to be no more than 132 characters (max-line-length)
(#44) Expected line length to be no more than 132 characters (max-line-length)
(#45) Expected line length to be no more than 132 characters (max-line-length)
(#46) Expected line length to be no more than 132 characters (max-line-length)
(#47) Expected line length to be no more than 132 characters (max-line-length)
(#48) Expected line length to be no more than 132 characters (max-line-length)
(#52) Expected line length to be no more than 132 characters (max-line-length)
(#62) Expected line length to be no more than 132 characters (max-line-length)
(#65) Expected line length to be no more than 132 characters (max-line-length)
(#78) Expected line length to be no more than 132 characters (max-line-length)
(#82) Expected line length to be no more than 132 characters (max-line-length)
(#85) Expected line length to be no more than 132 characters (max-line-length)
(#87) Expected line length to be no more than 132 characters (max-line-length)
(#98) Expected line length to be no more than 132 characters (max-line-length)
(#100) Expected line length to be no more than 132 characters (max-line-length)
(#103) Expected line length to be no more than 132 characters (max-line-length)
(#109) Expected line length to be no more than 132 characters (max-line-length)
(#111) Expected line length to be no more than 132 characters (max-line-length)
(#122) Expected line length to be no more than 132 characters (max-line-length)
(#124) Expected line length to be no more than 132 characters (max-line-length)
(#127) Expected line length to be no more than 132 characters (max-line-length)
(#133) Expected line length to be no more than 132 characters (max-line-length)
(#135) Expected line length to be no more than 132 characters (max-line-length)
(#144) Expected line length to be no more than 132 characters (max-line-length)
(#149) Expected line length to be no more than 132 characters (max-line-length)
(#159) Expected line length to be no more than 132 characters (max-line-length)
(#168) Expected line length to be no more than 132 characters (max-line-length)
(#175) Expected line length to be no more than 132 characters (max-line-length)
(#177) Expected line length to be no more than 132 characters (max-line-length)
(#186) Expected line length to be no more than 132 characters (max-line-length)
(#188) Expected line length to be no more than 132 characters (max-line-length)
(#197) Expected line length to be no more than 132 characters (max-line-length)
(#199) Expected line length to be no more than 132 characters (max-line-length)
(#201) Expected line length to be no more than 132 characters (max-line-length)
(#232) Expected line length to be no more than 132 characters (max-line-length)
(#1) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#98) Expected newline after "," (selector-list-comma-newline-after)
(#122) Expected newline after "," (selector-list-comma-newline-after)
(#232) Expected newline after "," (selector-list-comma-newline-after)
(#2) Expected indentation of 4 spaces (indentation)
(#3) Expected indentation of 4 spaces (indentation)
(#4) Expected indentation of 4 spaces (indentation)
(#5) Expected indentation of 4 spaces (indentation)
(#6) Expected indentation of 4 spaces (indentation)
(#7) Expected indentation of 0 spaces (indentation)
(#11) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 0 spaces (indentation)
(#17) Expected indentation of 0 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#20) Expected indentation of 4 spaces (indentation)
(#21) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 0 spaces (indentation)
(#26) Expected indentation of 0 spaces (indentation)
(#27) Expected indentation of 4 spaces (indentation)
(#28) Expected indentation of 4 spaces (indentation)
(#29) Expected indentation of 4 spaces (indentation)
(#30) Expected indentation of 4 spaces (indentation)
(#31) Expected indentation of 4 spaces (indentation)
(#32) Expected indentation of 4 spaces (indentation)
(#33) Expected indentation of 4 spaces (indentation)
(#34) Expected indentation of 0 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 0 spaces (indentation)
(#37) Expected indentation of 0 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 0 spaces (indentation)
(#40) Expected indentation of 0 spaces (indentation)
(#41) Expected indentation of 0 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 0 spaces (indentation)
(#44) Expected indentation of 0 spaces (indentation)
(#45) Expected indentation of 0 spaces (indentation)
(#46) Expected indentation of 0 spaces (indentation)
(#47) Expected indentation of 0 spaces (indentation)
(#48) Expected indentation of 0 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 0 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) Expected indentation of 0 spaces (indentation)
(#53) Expected indentation of 4 spaces (indentation)
(#54) Expected indentation of 4 spaces (indentation)
(#55) Expected indentation of 4 spaces (indentation)
(#56) Expected indentation of 4 spaces (indentation)
(#57) Expected indentation of 4 spaces (indentation)
(#58) Expected indentation of 4 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 4 spaces (indentation)
(#61) Expected indentation of 0 spaces (indentation)
(#62) Expected indentation of 4 spaces (indentation)
(#63) Expected indentation of 8 spaces (indentation)
(#64) Expected indentation of 8 spaces (indentation)
(#65) Expected indentation of 0 spaces (indentation)
(#66) Expected indentation of 4 spaces (indentation)
(#67) Expected indentation of 4 spaces (indentation)
(#68) Expected indentation of 4 spaces (indentation)
(#69) Expected indentation of 4 spaces (indentation)
(#70) Expected indentation of 4 spaces (indentation)
(#71) Expected indentation of 4 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 0 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 8 spaces (indentation)
(#80) Expected indentation of 8 spaces (indentation)
(#81) Expected indentation of 8 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 8 spaces (indentation)
(#84) Expected indentation of 0 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 8 spaces (indentation)
(#87) Expected indentation of 0 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#90) Expected indentation of 4 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#94) Expected indentation of 4 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#98) Expected indentation of 0 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 0 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 0 spaces (indentation)
(#104) Expected indentation of 4 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#108) Expected indentation of 4 spaces (indentation)
(#109) Expected indentation of 0 spaces (indentation)
(#110) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 0 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 4 spaces (indentation)
(#114) Expected indentation of 4 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#118) Expected indentation of 4 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#122) Expected indentation of 0 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 0 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 0 spaces (indentation)
(#128) Expected indentation of 4 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#132) Expected indentation of 4 spaces (indentation)
(#133) Expected indentation of 0 spaces (indentation)
(#134) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 0 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#140) Expected indentation of 4 spaces (indentation)
(#141) Expected indentation of 4 spaces (indentation)
(#142) Expected indentation of 4 spaces (indentation)
(#143) Expected indentation of 4 spaces (indentation)
(#144) Expected indentation of 0 spaces (indentation)
(#145) Expected indentation of 4 spaces (indentation)
(#146) Expected indentation of 4 spaces (indentation)
(#147) Expected indentation of 4 spaces (indentation)
(#148) Expected indentation of 4 spaces (indentation)
(#149) Expected indentation of 0 spaces (indentation)
(#150) Expected indentation of 4 spaces (indentation)
(#151) Expected indentation of 4 spaces (indentation)
(#152) Expected indentation of 4 spaces (indentation)
(#153) Expected indentation of 4 spaces (indentation)
(#154) Expected indentation of 4 spaces (indentation)
(#155) Expected indentation of 4 spaces (indentation)
(#156) Expected indentation of 4 spaces (indentation)
(#157) Expected indentation of 4 spaces (indentation)
(#158) Expected indentation of 4 spaces (indentation)
(#159) Expected indentation of 0 spaces (indentation)
(#160) Expected indentation of 4 spaces (indentation)
(#161) Expected indentation of 4 spaces (indentation)
(#162) Expected indentation of 4 spaces (indentation)
(#163) Expected indentation of 4 spaces (indentation)
(#164) Expected indentation of 4 spaces (indentation)
(#165) Expected indentation of 4 spaces (indentation)
(#166) Expected indentation of 4 spaces (indentation)
(#167) Expected indentation of 4 spaces (indentation)
(#168) Expected indentation of 0 spaces (indentation)
(#169) Expected indentation of 4 spaces (indentation)
(#170) Expected indentation of 4 spaces (indentation)
(#171) Expected indentation of 4 spaces (indentation)
(#172) Expected indentation of 4 spaces (indentation)
(#173) Expected indentation of 4 spaces (indentation)
(#174) Expected indentation of 4 spaces (indentation)
(#175) Expected indentation of 0 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 0 spaces (indentation)
(#178) Expected indentation of 4 spaces (indentation)
(#179) Expected indentation of 4 spaces (indentation)
(#180) Expected indentation of 4 spaces (indentation)
(#181) Expected indentation of 4 spaces (indentation)
(#182) Expected indentation of 4 spaces (indentation)
(#183) Expected indentation of 4 spaces (indentation)
(#184) Expected indentation of 4 spaces (indentation)
(#185) Expected indentation of 0 spaces (indentation)
(#186) Expected indentation of 4 spaces (indentation)
(#187) Expected indentation of 8 spaces (indentation)
(#188) Expected indentation of 0 spaces (indentation)
(#189) Expected indentation of 4 spaces (indentation)
(#190) Expected indentation of 4 spaces (indentation)
(#191) Expected indentation of 4 spaces (indentation)
(#192) Expected indentation of 4 spaces (indentation)
(#193) Expected indentation of 4 spaces (indentation)
(#194) Expected indentation of 4 spaces (indentation)
(#195) Expected indentation of 4 spaces (indentation)
(#196) Expected indentation of 0 spaces (indentation)
(#197) Expected indentation of 4 spaces (indentation)
(#198) Expected indentation of 8 spaces (indentation)
(#199) Expected indentation of 0 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 0 spaces (indentation)
(#202) Expected indentation of 4 spaces (indentation)
(#203) Expected indentation of 4 spaces (indentation)
(#204) Expected indentation of 4 spaces (indentation)
(#205) Expected indentation of 4 spaces (indentation)
(#206) Expected indentation of 4 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 4 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 4 spaces (indentation)
(#212) Expected indentation of 0 spaces (indentation)
(#214) Expected indentation of 0 spaces (indentation)
(#215) Expected indentation of 0 spaces (indentation)
(#218) Expected indentation of 0 spaces (indentation)
(#221) Expected indentation of 0 spaces (indentation)
(#222) Expected indentation of 4 spaces (indentation)
(#223) Expected indentation of 4 spaces (indentation)
(#224) Expected indentation of 0 spaces (indentation)
(#225) Expected indentation of 0 spaces (indentation)
(#229) Expected indentation of 4 spaces (indentation)
(#231) Expected indentation of 4 spaces (indentation)
(#232) Expected indentation of 0 spaces (indentation)
(#234) Expected indentation of 0 spaces (indentation)
course/format/softcourse/scss/styles.scss
(#96) Invalid value for `background-color` (csstree/validator)
(#253) Invalid value for `color` (csstree/validator)
(#266) Invalid value for `color` (csstree/validator)
(#298) Invalid value for `color` (csstree/validator)
(#96) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#105) Unexpected !important (declaration-no-important)

PHPDocs style problems

(8 errors, 0 warnings)

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

course/format/softcourse/db/upgradelib.php
(#30) Inline phpdocs tag {@link format_softcourse_upgrade_hide_extra_sections()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
course/format/softcourse/externallib.php
(#59) Phpdocs for function format_softcourse_external::update_section_image has incomplete parameters list
(#154) Phpdocs for function format_softcourse_external::delete_section_image has incomplete parameters list
course/format/softcourse/lib.php
(#282) Phpdocs for function format_softcourse_pluginfile has incomplete parameters list
(#152) Inline phpdocs tag {@link course_edit_form::definition_after_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#225) Inline phpdocs tag {@link moodleform::get_data()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#226) Inline phpdocs tag {@link update_course()} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
course/format/softcourse/version.php
(#20) Package format is not valid

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:scss" 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, 3 warnings)

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

course/format/softcourse/templates/introduction.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 5: The element “button” must not appear as a descendant of the “a” element. (> <button class="btn btn-secondary" ></butt)
course/format/softcourse/templates/sections.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

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