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

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

course/format/softcourse/Gruntfile.js
(#27) Unexpected space before function parentheses. (space-before-function-paren)
(#47) Unexpected space before function parentheses. (space-before-function-paren)
(#95) Missing space before value for key 'styles.css'. (key-spacing)
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

(0 errors, 41 warnings)

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

course/format/softcourse/styles.css
(#68) Expected line length to be no more than 132 characters (max-line-length)
(#69) Expected line length to be no more than 132 characters (max-line-length)
(#73) Expected line length to be no more than 132 characters (max-line-length)
(#74) 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)
(#79) Expected line length to be no more than 132 characters (max-line-length)
(#80) Expected line length to be no more than 132 characters (max-line-length)
(#81) 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)
(#83) Expected line length to be no more than 132 characters (max-line-length)
(#84) 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)
(#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)
(#124) Expected line length to be no more than 132 characters (max-line-length)
(#130) Expected line length to be no more than 132 characters (max-line-length)
(#136) Expected line length to be no more than 132 characters (max-line-length)
(#141) 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)
(#155) 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)
(#164) Expected line length to be no more than 132 characters (max-line-length)
(#172) Expected line length to be no more than 132 characters (max-line-length)
(#176) Expected line length to be no more than 132 characters (max-line-length)
(#189) Expected line length to be no more than 132 characters (max-line-length)
(#190) Expected line length to be no more than 132 characters (max-line-length)
(#194) 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)
(#207) 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)
(#222) Expected line length to be no more than 132 characters (max-line-length)
(#229) Expected line length to be no more than 132 characters (max-line-length)
(#241) Expected line length to be no more than 132 characters (max-line-length)
(#252) Expected line length to be no more than 132 characters (max-line-length)
(#261) Expected line length to be no more than 132 characters (max-line-length)
(#265) Expected line length to be no more than 132 characters (max-line-length)
(#276) Expected line length to be no more than 132 characters (max-line-length)
(#281) Expected line length to be no more than 132 characters (max-line-length)
(#292) Expected line length to be no more than 132 characters (max-line-length)
(#297) Expected line length to be no more than 132 characters (max-line-length)
(#301) Expected line length to be no more than 132 characters (max-line-length)

PHPDocs style problems

(2 errors, 0 warnings)

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

course/format/softcourse/externallib.php
(#44) Phpdocs for function format_softcourse_external::update_section_image has incomplete parameters list
(#136) Phpdocs for function format_softcourse_external::delete_section_image 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, 4 warnings)

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

course/format/softcourse/templates/introduction.mustache
(#1) Example context missing.
(#1) ESLint warning [space-before-function-paren]: Unexpected space before function parentheses. ( ), Line: 2 Column: 53
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( ), Line: 3 Column: 5
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]