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

(4 errors, 0 warnings)

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

course/format/softcourse/renderer.php
(#119) global $PAGE cannot be used in renderers. Use $this->page.
(#121) global $PAGE cannot be used in renderers. Use $this->page.
(#204) global $PAGE cannot be used in renderers. Use $this->page.
(#207) global $PAGE cannot be used in renderers. Use $this->page.

Javascript coding style problems

(2 errors, 0 warnings)

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

course/format/softcourse/amd/src/actions.js
(#28) Parsing error: Unexpected token updateImageSection
course/format/softcourse/Gruntfile.js
(#28) Parsing error: Unexpected token path

CSS problems

(316 errors, 41 warnings)

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

course/format/softcourse/scss/styles.scss
(#107) Invalid value for `background-color` (csstree/validator)
(#264) Invalid value for `color` (csstree/validator)
(#277) Invalid value for `color` (csstree/validator)
(#309) Invalid value for `color` (csstree/validator)
(#116) Expected single space before "!" (declaration-bang-space-before)
(#107) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#116) Unexpected !important (declaration-no-important)
(#105) Expected indentation of 24 spaces (indentation)
(#106) Expected indentation of 28 spaces (indentation)
(#107) Expected indentation of 28 spaces (indentation)
(#108) Expected indentation of 28 spaces (indentation)
(#109) Expected indentation of 28 spaces (indentation)
(#110) Expected indentation of 28 spaces (indentation)
(#111) Expected indentation of 28 spaces (indentation)
(#112) Expected indentation of 28 spaces (indentation)
(#113) Expected indentation of 28 spaces (indentation)
(#115) Expected indentation of 28 spaces (indentation)
(#118) Expected indentation of 28 spaces (indentation)
(#116) Expected indentation of 32 spaces (indentation)
(#117) Expected indentation of 32 spaces (indentation)
course/format/softcourse/styles.css
(#64) Invalid value for `background-color` (csstree/validator)
(#180) Invalid value for `color` (csstree/validator)
(#189) Invalid value for `color` (csstree/validator)
(#213) Invalid value for `color` (csstree/validator)
(#71) Expected empty line before at-rule (at-rule-empty-line-before)
(#87) Expected empty line before at-rule (at-rule-empty-line-before)
(#94) Expected empty line before at-rule (at-rule-empty-line-before)
(#195) Expected empty line before at-rule (at-rule-empty-line-before)
(#206) 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)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#45) Expected newline before "}" (block-closing-brace-newline-before)
(#48) Expected newline before "}" (block-closing-brace-newline-before)
(#52) Expected newline before "}" (block-closing-brace-newline-before)
(#59) Expected newline before "}" (block-closing-brace-newline-before)
(#61) Expected newline before "}" (block-closing-brace-newline-before)
(#70) Expected newline before "}" (block-closing-brace-newline-before)
(#74) Expected newline before "}" (block-closing-brace-newline-before)
(#86) Expected newline before "}" (block-closing-brace-newline-before)
(#91) Expected newline before "}" (block-closing-brace-newline-before)
(#93) Expected newline before "}" (block-closing-brace-newline-before)
(#96) Expected newline before "}" (block-closing-brace-newline-before)
(#107) Expected newline before "}" (block-closing-brace-newline-before)
(#109) Expected newline before "}" (block-closing-brace-newline-before)
(#112) Expected newline before "}" (block-closing-brace-newline-before)
(#118) Expected newline before "}" (block-closing-brace-newline-before)
(#120) Expected newline before "}" (block-closing-brace-newline-before)
(#131) Expected newline before "}" (block-closing-brace-newline-before)
(#133) Expected newline before "}" (block-closing-brace-newline-before)
(#136) Expected newline before "}" (block-closing-brace-newline-before)
(#142) Expected newline before "}" (block-closing-brace-newline-before)
(#144) Expected newline before "}" (block-closing-brace-newline-before)
(#153) Expected newline before "}" (block-closing-brace-newline-before)
(#158) Expected newline before "}" (block-closing-brace-newline-before)
(#168) Expected newline before "}" (block-closing-brace-newline-before)
(#177) Expected newline before "}" (block-closing-brace-newline-before)
(#184) Expected newline before "}" (block-closing-brace-newline-before)
(#186) Expected newline before "}" (block-closing-brace-newline-before)
(#194) Expected newline before "}" (block-closing-brace-newline-before)
(#197) Expected newline before "}" (block-closing-brace-newline-before)
(#205) Expected newline before "}" (block-closing-brace-newline-before)
(#208) Expected newline before "}" (block-closing-brace-newline-before)
(#210) Expected newline before "}" (block-closing-brace-newline-before)
(#218) Expected newline before "}" (block-closing-brace-newline-before)
(#221) Expected newline before "}" (block-closing-brace-newline-before)
(#223) Expected newline before "}" (block-closing-brace-newline-before)
(#227) Expected newline before "}" (block-closing-brace-newline-before)
(#230) Expected newline before "}" (block-closing-brace-newline-before)
(#233) Expected newline before "}" (block-closing-brace-newline-before)
(#236) Expected newline before "}" (block-closing-brace-newline-before)
(#239) Expected newline before "}" (block-closing-brace-newline-before)
(#241) Expected newline before "}" (block-closing-brace-newline-before)
(#243) Expected newline before "}" (block-closing-brace-newline-before)
(#245) Expected newline before "}" (block-closing-brace-newline-before)
(#74) Expected newline before "}" (block-closing-brace-newline-before)
(#93) Expected newline before "}" (block-closing-brace-newline-before)
(#96) Expected newline before "}" (block-closing-brace-newline-before)
(#197) Expected newline before "}" (block-closing-brace-newline-before)
(#208) Expected newline before "}" (block-closing-brace-newline-before)
(#64) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)
(#73) Unexpected !important (declaration-no-important)
(#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 0 spaces (indentation)
(#34) Expected indentation of 4 spaces (indentation)
(#35) Expected indentation of 4 spaces (indentation)
(#36) Expected indentation of 4 spaces (indentation)
(#37) Expected indentation of 4 spaces (indentation)
(#38) Expected indentation of 4 spaces (indentation)
(#39) Expected indentation of 4 spaces (indentation)
(#40) Expected indentation of 4 spaces (indentation)
(#41) Expected indentation of 4 spaces (indentation)
(#42) Expected indentation of 4 spaces (indentation)
(#43) Expected indentation of 0 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 0 spaces (indentation)
(#47) Expected indentation of 0 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 0 spaces (indentation)
(#50) Expected indentation of 0 spaces (indentation)
(#51) Expected indentation of 0 spaces (indentation)
(#52) Expected indentation of 4 spaces (indentation)
(#53) Expected indentation of 0 spaces (indentation)
(#54) Expected indentation of 0 spaces (indentation)
(#55) Expected indentation of 0 spaces (indentation)
(#56) Expected indentation of 0 spaces (indentation)
(#57) Expected indentation of 0 spaces (indentation)
(#58) Expected indentation of 0 spaces (indentation)
(#59) Expected indentation of 4 spaces (indentation)
(#60) Expected indentation of 0 spaces (indentation)
(#61) Expected indentation of 4 spaces (indentation)
(#62) Expected indentation of 0 spaces (indentation)
(#63) Expected indentation of 4 spaces (indentation)
(#64) Expected indentation of 4 spaces (indentation)
(#65) Expected indentation of 4 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 0 spaces (indentation)
(#72) Expected indentation of 4 spaces (indentation)
(#73) Expected indentation of 8 spaces (indentation)
(#74) Expected indentation of 8 spaces (indentation)
(#75) Expected indentation of 0 spaces (indentation)
(#76) Expected indentation of 4 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#80) Expected indentation of 4 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#84) Expected indentation of 4 spaces (indentation)
(#85) Expected indentation of 4 spaces (indentation)
(#86) Expected indentation of 4 spaces (indentation)
(#87) Expected indentation of 0 spaces (indentation)
(#88) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 8 spaces (indentation)
(#90) Expected indentation of 8 spaces (indentation)
(#91) Expected indentation of 8 spaces (indentation)
(#92) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 8 spaces (indentation)
(#94) Expected indentation of 0 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 8 spaces (indentation)
(#97) Expected indentation of 0 spaces (indentation)
(#98) Expected indentation of 4 spaces (indentation)
(#99) Expected indentation of 4 spaces (indentation)
(#100) Expected indentation of 4 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 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 0 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 0 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#112) Expected indentation of 4 spaces (indentation)
(#113) Expected indentation of 0 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 0 spaces (indentation)
(#120) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 0 spaces (indentation)
(#122) Expected indentation of 4 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#126) Expected indentation of 4 spaces (indentation)
(#127) Expected indentation of 4 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 0 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 0 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#136) Expected indentation of 4 spaces (indentation)
(#137) Expected indentation of 0 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 0 spaces (indentation)
(#144) Expected indentation of 4 spaces (indentation)
(#145) Expected indentation of 0 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 4 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 0 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 4 spaces (indentation)
(#169) Expected indentation of 0 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 4 spaces (indentation)
(#176) Expected indentation of 4 spaces (indentation)
(#177) Expected indentation of 4 spaces (indentation)
(#178) Expected indentation of 0 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 0 spaces (indentation)
(#188) Expected indentation of 4 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 0 spaces (indentation)
(#196) Expected indentation of 4 spaces (indentation)
(#197) Expected indentation of 8 spaces (indentation)
(#198) Expected indentation of 0 spaces (indentation)
(#199) Expected indentation of 4 spaces (indentation)
(#200) Expected indentation of 4 spaces (indentation)
(#201) Expected indentation of 4 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 0 spaces (indentation)
(#207) Expected indentation of 4 spaces (indentation)
(#208) Expected indentation of 8 spaces (indentation)
(#209) Expected indentation of 0 spaces (indentation)
(#210) Expected indentation of 4 spaces (indentation)
(#211) Expected indentation of 0 spaces (indentation)
(#212) Expected indentation of 4 spaces (indentation)
(#213) Expected indentation of 4 spaces (indentation)
(#214) Expected indentation of 4 spaces (indentation)
(#215) Expected indentation of 4 spaces (indentation)
(#216) Expected indentation of 4 spaces (indentation)
(#217) Expected indentation of 4 spaces (indentation)
(#218) Expected indentation of 4 spaces (indentation)
(#220) Expected indentation of 4 spaces (indentation)
(#221) Expected indentation of 4 spaces (indentation)
(#222) Expected indentation of 0 spaces (indentation)
(#224) Expected indentation of 0 spaces (indentation)
(#225) Expected indentation of 0 spaces (indentation)
(#228) Expected indentation of 0 spaces (indentation)
(#231) Expected indentation of 0 spaces (indentation)
(#232) Expected indentation of 4 spaces (indentation)
(#233) Expected indentation of 4 spaces (indentation)
(#234) Expected indentation of 0 spaces (indentation)
(#235) Expected indentation of 0 spaces (indentation)
(#239) Expected indentation of 4 spaces (indentation)
(#241) Expected indentation of 4 spaces (indentation)
(#242) Expected indentation of 0 spaces (indentation)
(#244) Expected indentation of 0 spaces (indentation)
(#33) 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)
(#49) Expected line length to be no more than 132 characters (max-line-length)
(#50) Expected line length to be no more than 132 characters (max-line-length)
(#51) Expected line length to be no more than 132 characters (max-line-length)
(#53) Expected line length to be no more than 132 characters (max-line-length)
(#54) Expected line length to be no more than 132 characters (max-line-length)
(#55) Expected line length to be no more than 132 characters (max-line-length)
(#56) Expected line length to be no more than 132 characters (max-line-length)
(#57) Expected line length to be no more than 132 characters (max-line-length)
(#58) 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)
(#72) Expected line length to be no more than 132 characters (max-line-length)
(#75) Expected line length to be no more than 132 characters (max-line-length)
(#88) Expected line length to be no more than 132 characters (max-line-length)
(#92) Expected line length to be no more than 132 characters (max-line-length)
(#95) Expected line length to be no more than 132 characters (max-line-length)
(#97) Expected line length to be no more than 132 characters (max-line-length)
(#108) Expected line length to be no more than 132 characters (max-line-length)
(#110) Expected line length to be no more than 132 characters (max-line-length)
(#113) Expected line length to be no more than 132 characters (max-line-length)
(#119) Expected line length to be no more than 132 characters (max-line-length)
(#121) Expected line length to be no more than 132 characters (max-line-length)
(#132) Expected line length to be no more than 132 characters (max-line-length)
(#134) Expected line length to be no more than 132 characters (max-line-length)
(#137) Expected line length to be no more than 132 characters (max-line-length)
(#143) Expected line length to be no more than 132 characters (max-line-length)
(#145) Expected line length to be no more than 132 characters (max-line-length)
(#154) 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)
(#169) Expected line length to be no more than 132 characters (max-line-length)
(#178) Expected line length to be no more than 132 characters (max-line-length)
(#185) Expected line length to be no more than 132 characters (max-line-length)
(#187) Expected line length to be no more than 132 characters (max-line-length)
(#196) Expected line length to be no more than 132 characters (max-line-length)
(#198) Expected line length to be no more than 132 characters (max-line-length)
(#207) Expected line length to be no more than 132 characters (max-line-length)
(#209) Expected line length to be no more than 132 characters (max-line-length)
(#211) Expected line length to be no more than 132 characters (max-line-length)
(#242) 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)
(#108) Expected newline after "," (selector-list-comma-newline-after)
(#132) Expected newline after "," (selector-list-comma-newline-after)
(#242) Expected newline after "," (selector-list-comma-newline-after)

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/externallib.php
(#30) Class format_softcourse_external is not documented
(#50) Phpdocs for function format_softcourse_external::update_section_image has incomplete parameters list
(#145) Phpdocs for function format_softcourse_external::delete_section_image has incomplete parameters list
course/format/softcourse/lib.php
(#279) Function format_softcourse_pluginfile is not documented
course/format/softcourse/renderer.php
(#38) Variable format_softcourse_renderer::$course is not documented
(#40) Variable format_softcourse_renderer::$courseformat is not documented
(#42) Variable format_softcourse_renderer::$modinfo is not documented
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.)