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

(42 errors, 10 warnings)

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

filter/edusharing/db/install.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Variable "edusharingPos" must be all lower-case
(#42) Variable "edusharingPos" must be all lower-case
(#44) Variable "edusharingPos" must be all lower-case
filter/edusharing/filter.php
(#54) Possible useless method overriding detected
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Variable "edusharing_filter_loaded" must not contain underscores.
(#88) Inline comments must end in full-stops, exclamation marks, or question marks
(#88) No space found before comment text; expected "// if ( isloggedin() && has_capability('moodle/course:view', $context) ) {" but found "//if ( isloggedin() && has_capability('moodle/course:view', $context) ) {"
(#89) Empty IF statement detected
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) This comment is 62% valid code; is this commented out code?
(#90) No space found before comment text; expected "// $ccauth = new mod_edusharing_web_service_factory();" but found "//$ccauth = new mod_edusharing_web_service_factory();"
(#91) No space found before comment text; expected "// $ticket = $ccauth->edusharing_authentication_get_ticket();" but found "//$ticket = $ccauth->edusharing_authentication_get_ticket();"
(#92) Expected "} else {\n"; found "}else{\n"
(#93) The use of function error_log() is forbidden
(#99) Variable "matchesimg_atto" must not contain underscores.
(#101) Variable "matchesa_atto" must not contain underscores.
(#103) Variable "matches_atto" must not contain underscores.
(#103) Variable "matchesimg_atto" must not contain underscores.
(#103) Variable "matchesa_atto" must not contain underscores.
(#104) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#106) Variable "matchesimg_tinymce" must not contain underscores.
(#108) Variable "matchesa_tinymce" must not contain underscores.
(#110) Variable "matches_tinymce" must not contain underscores.
(#110) Variable "matchesimg_tinymce" must not contain underscores.
(#110) Variable "matchesa_tinymce" must not contain underscores.
(#112) Variable "matches_atto" must not contain underscores.
(#112) Variable "matches_tinymce" must not contain underscores.
(#115) Expected "if (...) {\n"; found "if(...) {\n"
(#115) Variable "edusharing_filter_loaded" must not contain underscores.
(#117) Variable "edusharing_filter_loaded" must not contain underscores.
(#120) Variable "matches_atto" must not contain underscores.
(#124) Variable "matches_tinymce" must not contain underscores.
(#146) Expected "if (...) {\n"; found "if(...) {\n"
(#161) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#179) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#258) Expected 1 space after ".="; 2 found
(#266) Space found before object operator
(#266) Space found after object operator
filter/edusharing/inlineHelper.php
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Variable "childobject_id" must not contain underscores.
(#50) Space found before object operator
(#50) Space found after object operator
(#50) Line exceeds 132 characters; contains 141 characters
(#52) Inline control structures are not allowed
(#52) Variable "childobject_id" must not contain underscores.
(#53) Variable "childobject_id" must not contain underscores.
filter/edusharing/proxy.php
(#76) This comment is 67% valid code; is this commented out code?
(#84) Expected "if (...) {\n"; found "if (...){\n"
(#91) Inline control structures are not allowed

Javascript coding style problems

(1 errors, 8 warnings)

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

filter/edusharing/amd/src/edu.js
(#28) Expected an assignment or function call and instead saw an expression. (babel/no-unused-expressions)
(#29) Missing JSDoc comment. (require-jsdoc)
(#58) Missing JSDoc comment. (require-jsdoc)
(#60) 'wrapper' used outside of binding context. (block-scoped-var)
(#61) 'wrapper' is already defined. (no-redeclare)
(#64) 'wrapper' used outside of binding context. (block-scoped-var)
(#67) 'wrapper' used outside of binding context. (block-scoped-var)
(#89) Identifier 'toggle_button' is not in camel case. (camelcase)
(#90) Identifier 'toggle_button' is not in camel case. (camelcase)

CSS problems

(95 errors, 0 warnings)

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

filter/edusharing/styles.css
(#7) Expected single space after ">" (selector-combinator-space-after)
(#7) Expected single space before ">" (selector-combinator-space-before)
(#8) Expected indentation of 4 spaces (indentation)
(#12) Expected indentation of 4 spaces (indentation)
(#13) Expected indentation of 4 spaces (indentation)
(#17) Expected indentation of 4 spaces (indentation)
(#18) Expected indentation of 4 spaces (indentation)
(#19) Expected indentation of 4 spaces (indentation)
(#22) Expected indentation of 4 spaces (indentation)
(#23) Expected indentation of 4 spaces (indentation)
(#24) Expected indentation of 4 spaces (indentation)
(#25) Expected indentation of 4 spaces (indentation)
(#26) Expected indentation of 4 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 4 spaces (indentation)
(#35) 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 4 spaces (indentation)
(#44) Expected indentation of 4 spaces (indentation)
(#45) Expected indentation of 4 spaces (indentation)
(#46) Expected indentation of 4 spaces (indentation)
(#47) Expected indentation of 4 spaces (indentation)
(#48) Expected indentation of 4 spaces (indentation)
(#49) Expected indentation of 4 spaces (indentation)
(#50) Expected indentation of 4 spaces (indentation)
(#51) Expected indentation of 4 spaces (indentation)
(#52) 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 4 spaces (indentation)
(#62) Expected indentation of 4 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)
(#73) Expected indentation of 4 spaces (indentation)
(#75) Expected indentation of 4 spaces (indentation)
(#74) Expected indentation of 8 spaces (indentation)
(#77) Expected indentation of 4 spaces (indentation)
(#79) Expected indentation of 4 spaces (indentation)
(#78) Expected indentation of 8 spaces (indentation)
(#81) Expected indentation of 4 spaces (indentation)
(#83) Expected indentation of 4 spaces (indentation)
(#82) Expected indentation of 8 spaces (indentation)
(#87) Expected indentation of 4 spaces (indentation)
(#89) Expected indentation of 4 spaces (indentation)
(#88) Expected indentation of 8 spaces (indentation)
(#91) Expected indentation of 4 spaces (indentation)
(#93) Expected indentation of 4 spaces (indentation)
(#92) Expected indentation of 8 spaces (indentation)
(#95) Expected indentation of 4 spaces (indentation)
(#97) Expected indentation of 4 spaces (indentation)
(#96) Expected indentation of 8 spaces (indentation)
(#101) Expected indentation of 4 spaces (indentation)
(#103) Expected indentation of 4 spaces (indentation)
(#102) Expected indentation of 8 spaces (indentation)
(#105) Expected indentation of 4 spaces (indentation)
(#107) Expected indentation of 4 spaces (indentation)
(#106) Expected indentation of 8 spaces (indentation)
(#109) Expected indentation of 4 spaces (indentation)
(#111) Expected indentation of 4 spaces (indentation)
(#110) Expected indentation of 8 spaces (indentation)
(#115) Expected indentation of 4 spaces (indentation)
(#117) Expected indentation of 4 spaces (indentation)
(#116) Expected indentation of 8 spaces (indentation)
(#119) Expected indentation of 4 spaces (indentation)
(#121) Expected indentation of 4 spaces (indentation)
(#120) Expected indentation of 8 spaces (indentation)
(#123) Expected indentation of 4 spaces (indentation)
(#125) Expected indentation of 4 spaces (indentation)
(#124) Expected indentation of 8 spaces (indentation)
(#129) Expected indentation of 4 spaces (indentation)
(#131) Expected indentation of 4 spaces (indentation)
(#130) Expected indentation of 8 spaces (indentation)
(#133) Expected indentation of 4 spaces (indentation)
(#135) Expected indentation of 4 spaces (indentation)
(#134) Expected indentation of 8 spaces (indentation)
(#137) Expected indentation of 4 spaces (indentation)
(#139) Expected indentation of 4 spaces (indentation)
(#138) Expected indentation of 8 spaces (indentation)

PHPDocs style problems

(3 errors, 0 warnings)

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

filter/edusharing/db/install.php
(#27) Function xmldb_filter_edusharing_install is not documented
(#34) Function filter_edusharing_reorder is not documented
filter/edusharing/filter.php
(#138) Phpdocs for function filter_edusharing::filter_edusharing_convert_object 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 "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

(0 errors, 0 warnings)

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