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

(15 errors, 23 warnings)

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

mod/skype/oops.php
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) This comment is 80% valid code; is this commented out code?
(#49) No space found before comment text; expected "// $PAGE->set_url('/mod/skype/oops.php', null);" but found "//$PAGE->set_url('/mod/skype/oops.php', null);"
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) This comment is 78% valid code; is this commented out code?
(#51) No space found before comment text; expected "// $PAGE->set_title($skype->name);" but found "//$PAGE->set_title($skype->name);"
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) This comment is 73% valid code; is this commented out code?
(#56) No space found before comment text; expected "// echo $this->output->box_start('generalbox boxwidthwide boxaligncenter');" but found "//echo $this->output->box_start('generalbox boxwidthwide boxaligncenter');"
(#65) Line exceeds 132 characters; contains 180 characters
(#68) Line exceeds maximum limit of 180 characters; contains 291 characters
(#80) Line exceeds 132 characters; contains 169 characters
(#95) Whitespace found at end of line within string
(#97) Whitespace found at end of line within string
(#98) Whitespace found at end of line within string
(#101) Whitespace found at end of line within string
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) This comment is 75% valid code; is this commented out code?
(#104) No space found before comment text; expected "// echo '<div><p>';" but found "//echo '<div><p>';"
(#113) Inline comments must start with a capital letter, digit or 3-dots sequence
(#113) This comment is 67% valid code; is this commented out code?
(#113) No space found before comment text; expected "// echo '<input class="btn btn-primary" id="btnDownload" name="download" type="submit" value="Download Skype" />';" but found "//echo '<input class="btn btn-primary" id="btnDownload" name="download" type="submit" value="Download Skype" />';"
(#114) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) No space found before comment text; expected "// echo $this->output->box_end();" but found "//echo $this->output->box_end();"
(#115) A closing tag is not permitted at the end of a PHP file
mod/skype/skypeCheck.php
(#26) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#31) Inline comments must start with a capital letter, digit or 3-dots sequence
(#31) This comment is 65% valid code; is this commented out code?
(#31) No space found before comment text; expected "// if (! $course = $DB->get_record("course", array("id" => $id))) {" but found "//if (! $course = $DB->get_record("course", array("id" => $id))) {"
(#32) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) No space found before comment text; expected "// }" but found "//}"
(#35) Inline comments must start with a capital letter, digit or 3-dots sequence
(#35) Inline comments must end in full-stops, exclamation marks, or question marks
(#35) This comment is 80% valid code; is this commented out code?
mod/skype/version.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(26 errors, 44 warnings)

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

mod/skype/skypeCheck.js
(#1) This line has a length of 149. Maximum allowed is 132. (max-len)
(#1) Multiple spaces found before '!='. (no-multi-spaces)
(#1) There should be no space before this paren. (space-in-parens)
(#2) Multiple spaces found before '!='. (no-multi-spaces)
(#2) Multiple spaces found before '!='. (no-multi-spaces)
(#4) Missing JSDoc comment. (require-jsdoc)
(#5) This line has a length of 224. Maximum allowed is 132. (max-len)
(#5) Expected space(s) after "if". (keyword-spacing)
(#6) 'URLtoOpen' used outside of binding context. (block-scoped-var)
(#8) 'URLtoOpen' is already defined. (no-redeclare)
(#8) 'URLtoOpen' used outside of binding context. (block-scoped-var)
(#10) Unexpected tab character. (no-tabs)
(#11) Unexpected tab character. (no-tabs)
(#11) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#12) Unexpected tab character. (no-tabs)
(#13) Unexpected tab character. (no-tabs)
(#13) 'w' is not defined. (no-undef)
(#14) Unexpected tab character. (no-tabs)
(#14) 'h' is not defined. (no-undef)
(#15) Unexpected tab character. (no-tabs)
(#15) 'w' is not defined. (no-undef)
(#15) Operator '-' must be spaced. (space-infix-ops)
(#15) Operator '/' must be spaced. (space-infix-ops)
(#15) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#15) 'h' is not defined. (no-undef)
(#15) Operator '-' must be spaced. (space-infix-ops)
(#15) Operator '/' must be spaced. (space-infix-ops)
(#16) This line has a length of 195. Maximum allowed is 132. (max-len)
(#16) Unexpected tab character. (no-tabs)
(#16) 'oopswindow' is not defined. (no-undef)
(#16) 'URLtoOpen' used outside of binding context. (block-scoped-var)
(#16) 'URLtoOpen' used outside of binding context. (block-scoped-var)
(#16) A space is required after ','. (comma-spacing)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#16) Operator '+' must be spaced. (space-infix-ops)
(#17) Unexpected tab character. (no-tabs)
(#20) Expected space(s) after "if". (keyword-spacing)
(#20) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#33) Missing JSDoc comment. (require-jsdoc)
(#34) Expected space(s) after "if". (keyword-spacing)
(#36) Expected space(s) after "if". (keyword-spacing)
(#38) 'detected' is not defined. (no-undef)
(#39) Expected space(s) after "if". (keyword-spacing)
(#39) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#45) Expected space(s) after "if". (keyword-spacing)
(#45) 'isSkypeInstalled' is not defined. (no-undef)
(#46) 'detected' is not defined. (no-undef)
(#50) Trailing spaces not allowed. (no-trailing-spaces)
(#51) 'detected' is not defined. (no-undef)
(#55) Missing JSDoc comment. (require-jsdoc)
(#56) Expected space(s) after "if". (keyword-spacing)
(#57) Expected { after 'if' condition. (curly)
(#58) Expected { after 'if' condition. (curly)
(#62) Missing JSDoc comment. (require-jsdoc)
(#64) Operator '=' must be spaced. (space-infix-ops)
(#65) Expected space(s) after "if". (keyword-spacing)
(#66) This line has a length of 258. Maximum allowed is 132. (max-len)
(#66) Expected space(s) after "if". (keyword-spacing)
(#66) Unnecessary escape character: \/. (no-useless-escape)
(#66) Unnecessary escape character: \/. (no-useless-escape)
(#66) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#66) Use '===' to compare with null. (no-eq-null)
(#67) Statement inside of curly braces should be on next line. (brace-style)
(#67) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#67) Missing semicolon. (semi)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(5 errors, 0 warnings)

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

mod/skype/backup/moodle2/restore_skype_activity_task.class.php
(#29) No one-line description found in phpdocs for class restore_skype_activity_task
(#90) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#92) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#108) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}
(#110) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


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]