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

(1 errors, 1 warnings)

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

blocks/skypeweb/db/access.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/skypeweb/skypeloginreturn.php
(#26) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(140 errors, 118 warnings)

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

blocks/skypeweb/yui/chatservice/chatservice.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#10) 'NS' is not defined. (no-undef)
(#12) 'NS' is not defined. (no-undef)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#12) 'config' is defined but never used (no-unused-vars)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#17) ["noMeResource"] is better written in dot notation. (dot-notation)
(#18) '$' is not defined. (no-undef)
(#22) '$' is not defined. (no-undef)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#33) Unexpected confirm. (no-alert)
(#38) '$' is not defined. (no-undef)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#45) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#51) 'conversation' is defined but never used (no-unused-vars)
(#52) Unexpected console statement. (no-console)
(#55) '$' is not defined. (no-undef)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#58) '$' is not defined. (no-undef)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#64) '$' is not defined. (no-undef)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#67) '$' is not defined. (no-undef)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#73) Missing JSDoc comment. (require-jsdoc)
(#74) '$' is not defined. (no-undef)
(#76) Unexpected space before function parentheses. (space-before-function-paren)
(#77) Unexpected console statement. (no-console)
(#80) '$' is not defined. (no-undef)
(#82) Missing JSDoc comment. (require-jsdoc)
(#85) '$' is not defined. (no-undef)
(#86) Unexpected space before function parentheses. (space-before-function-paren)
(#92) Unexpected space before function parentheses. (space-before-function-paren)
(#94) '$' is not defined. (no-undef)
(#97) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#101) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#104) Unexpected space before function parentheses. (space-before-function-paren)
(#105) Expected space or tab after '//' in comment. (spaced-comment)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#108) Unexpected console statement. (no-console)
(#111) Missing JSDoc comment. (require-jsdoc)
(#112) '$' is not defined. (no-undef)
(#116) Missing JSDoc comment. (require-jsdoc)
(#117) '$' is not defined. (no-undef)
(#118) '$' is not defined. (no-undef)
(#119) '$' is not defined. (no-undef)
(#120) '$' is not defined. (no-undef)
(#123) Unexpected space before function parentheses. (space-before-function-paren)
(#127) Unexpected space before function parentheses. (space-before-function-paren)
(#127) 'status' is defined but never used (no-unused-vars)
(#135) '$' is not defined. (no-undef)
(#135) Unexpected space before function parentheses. (space-before-function-paren)
(#136) Unexpected space before function parentheses. (space-before-function-paren)
(#140) Missing JSDoc comment. (require-jsdoc)
(#141) '$' is not defined. (no-undef)
(#142) '$' is not defined. (no-undef)
(#143) '$' is not defined. (no-undef)
(#145) Missing JSDoc comment. (require-jsdoc)
(#146) '$' is not defined. (no-undef)
(#147) '$' is not defined. (no-undef)
(#148) '$' is not defined. (no-undef)
(#149) '$' is not defined. (no-undef)
(#151) Missing JSDoc comment. (require-jsdoc)
blocks/skypeweb/yui/contact/contact.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#10) 'NS' is not defined. (no-undef)
(#11) 'NS' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#21) ["contact_load"] is better written in dot notation. (dot-notation)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#24) '$' is not defined. (no-undef)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#26) '$' is not defined. (no-undef)
(#29) '$' is not defined. (no-undef)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#32) '$' is not defined. (no-undef)
(#35) '$' is not defined. (no-undef)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#39) '$' is not defined. (no-undef)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#50) '$' is not defined. (no-undef)
(#51) '$' is not defined. (no-undef)
(#52) '$' is not defined. (no-undef)
(#54) '$' is not defined. (no-undef)
(#55) '$' is not defined. (no-undef)
(#56) '$' is not defined. (no-undef)
(#57) '$' is not defined. (no-undef)
(#58) '$' is not defined. (no-undef)
(#59) '$' is not defined. (no-undef)
(#60) '$' is not defined. (no-undef)
(#62) '$' is not defined. (no-undef)
(#66) '$' is not defined. (no-undef)
(#71) Unexpected space before function parentheses. (space-before-function-paren)
(#72) '$' is not defined. (no-undef)
(#75) Unexpected space before function parentheses. (space-before-function-paren)
(#78) Unexpected space before function parentheses. (space-before-function-paren)
(#81) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#88) '$' is not defined. (no-undef)
(#91) Unexpected space before function parentheses. (space-before-function-paren)
(#92) Unexpected 'this'. (no-invalid-this)
(#95) Unexpected space before function parentheses. (space-before-function-paren)
(#100) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#102) '$' is not defined. (no-undef)
(#106) '$' is not defined. (no-undef)
(#106) Unexpected space before function parentheses. (space-before-function-paren)
(#120) '$' is not defined. (no-undef)
(#120) Unexpected space before function parentheses. (space-before-function-paren)
(#130) '$' is not defined. (no-undef)
(#130) Unexpected space before function parentheses. (space-before-function-paren)
(#133) '$' is not defined. (no-undef)
(#133) Unexpected space before function parentheses. (space-before-function-paren)
(#137) '$' is not defined. (no-undef)
(#137) Unexpected space before function parentheses. (space-before-function-paren)
(#142) Missing JSDoc comment. (require-jsdoc)
(#146) '$' is not defined. (no-undef)
(#147) Unexpected space before function parentheses. (space-before-function-paren)
(#150) '$' is not defined. (no-undef)
(#154) Missing JSDoc comment. (require-jsdoc)
(#155) '$' is not defined. (no-undef)
blocks/skypeweb/yui/groups/groups.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#10) 'NS' is not defined. (no-undef)
(#11) 'NS' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#17) ["groups_load"] is better written in dot notation. (dot-notation)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#20) '$' is not defined. (no-undef)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#28) Expected space(s) after "if". (keyword-spacing)
(#31) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#34) '$' is not defined. (no-undef)
(#36) Missing JSDoc return type. (valid-jsdoc)
(#46) '$' is not defined. (no-undef)
(#47) '$' is not defined. (no-undef)
(#50) Unexpected space before function parentheses. (space-before-function-paren)
(#51) '$' is not defined. (no-undef)
(#52) '$' is not defined. (no-undef)
(#54) '$' is not defined. (no-undef)
(#55) '$' is not defined. (no-undef)
(#57) 'tagContact' is defined but never used (no-unused-vars)
(#57) '$' is not defined. (no-undef)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) '$' is not defined. (no-undef)
(#66) Unexpected space before function parentheses. (space-before-function-paren)
(#73) Missing JSDoc comment. (require-jsdoc)
(#74) '$' is not defined. (no-undef)
blocks/skypeweb/yui/login/login.js
(#1) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#2) 'NS' is not defined. (no-undef)
(#3) 'NS' is not defined. (no-undef)
(#3) Unexpected space before function parentheses. (space-before-function-paren)
(#6) '$' is not defined. (no-undef)
(#6) Unexpected space before function parentheses. (space-before-function-paren)
(#7) '$' is not defined. (no-undef)
(#8) '$' is not defined. (no-undef)
(#9) '$' is not defined. (no-undef)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#10) '$' is not defined. (no-undef)
(#12) '$' is not defined. (no-undef)
blocks/skypeweb/yui/self/self.js
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#10) 'NS' is not defined. (no-undef)
(#11) 'NS' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#13) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#14) ["self_load"] is better written in dot notation. (dot-notation)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#16) ["noMeResource"] is better written in dot notation. (dot-notation)
(#19) Line 19 exceeds the maximum line length of 132. (max-len)
(#19) '$' is not defined. (no-undef)
(#20) '$' is not defined. (no-undef)
(#24) '$' is not defined. (no-undef)
(#25) '$' is not defined. (no-undef)
(#26) '$' is not defined. (no-undef)
(#28) '$' is not defined. (no-undef)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#28) 'event' is defined but never used (no-unused-vars)
(#30) '$' is not defined. (no-undef)
(#30) Unexpected space before function parentheses. (space-before-function-paren)
(#31) Unexpected console statement. (no-console)
(#32) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Unexpected console statement. (no-console)
(#38) '$' is not defined. (no-undef)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
(#38) 'event' is defined but never used (no-unused-vars)
(#40) '$' is not defined. (no-undef)
(#40) Unexpected space before function parentheses. (space-before-function-paren)
(#41) Unexpected console statement. (no-console)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#44) Unexpected console statement. (no-console)
(#48) '$' is not defined. (no-undef)
(#48) Unexpected space before function parentheses. (space-before-function-paren)
(#54) '$' is not defined. (no-undef)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#55) '$' is not defined. (no-undef)
(#56) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Unexpected console statement. (no-console)
(#58) Unexpected space before function parentheses. (space-before-function-paren)
(#60) Unexpected console statement. (no-console)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#66) '$' is not defined. (no-undef)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#72) '$' is not defined. (no-undef)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#78) '$' is not defined. (no-undef)
(#79) '$' is not defined. (no-undef)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#85) Unexpected space before function parentheses. (space-before-function-paren)
(#86) '$' is not defined. (no-undef)
(#94) '$' is not defined. (no-undef)
(#94) Unexpected space before function parentheses. (space-before-function-paren)
(#95) '$' is not defined. (no-undef)
(#96) Unexpected space before function parentheses. (space-before-function-paren)
(#97) '$' is not defined. (no-undef)
(#101) '$' is not defined. (no-undef)
(#101) Unexpected space before function parentheses. (space-before-function-paren)
(#102) Unexpected space before function parentheses. (space-before-function-paren)
(#103) '$' is not defined. (no-undef)
(#107) '$' is not defined. (no-undef)
(#107) Unexpected space before function parentheses. (space-before-function-paren)
(#108) Unexpected space before function parentheses. (space-before-function-paren)
(#109) '$' is not defined. (no-undef)
(#113) '$' is not defined. (no-undef)
(#113) Unexpected space before function parentheses. (space-before-function-paren)
(#114) '$' is not defined. (no-undef)
blocks/skypeweb/yui/signin/signin.js
(#1) Identifier 'block_skypeweb' is not in camel case. (camelcase)
(#2) 'NS' is not defined. (no-undef)
(#4) 'NS' is not defined. (no-undef)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#11) '$' is not defined. (no-undef)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#15) '$' is not defined. (no-undef)
(#18) '$' is not defined. (no-undef)
(#19) '$' is not defined. (no-undef)
(#28) Missing JSDoc comment. (require-jsdoc)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#31) '$' is not defined. (no-undef)
(#32) '$' is not defined. (no-undef)
(#36) Use ‘===’ to compare with ‘null’. (no-eq-null)
(#40) Unexpected console statement. (no-console)
(#46) ["noMeResource"] is better written in dot notation. (dot-notation)
(#48) '$' is not defined. (no-undef)
(#49) '$' is not defined. (no-undef)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#54) '$' is not defined. (no-undef)
(#55) Unexpected alert. (no-alert)
(#56) Unexpected console statement. (no-console)
(#59) Missing JSDoc comment. (require-jsdoc)
(#60) 'Skype' is not defined. (no-undef)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Unexpected console statement. (no-console)

CSS problems

(4 errors, 3 warnings)

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

blocks/skypeweb/styles.css
(#71) Use of !important
(#209) Expected RBRACE at line 209, col 5.
(#210) Expected RBRACE at line 210, col 5.
(#230) Expected RBRACE at line 230, col 5.
(#416) Duplicate property 'margin' found.
(#580) Use of !important
(#993) Expected (inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex) but found 'flexbox'.

PHPDocs style problems

(16 errors, 0 warnings)

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

blocks/skypeweb/block_skypeweb.php
(#17) No one-line description found in phpdocs for file
(#25) Class block_skypeweb does not have @copyright tag
(#25) Class block_skypeweb does not have @license tag
blocks/skypeweb/classes/output/block.php
(#21) Package is not specified for class block. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#21) Class block is not documented
blocks/skypeweb/classes/output/renderer.php
(#25) Class renderer is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
blocks/skypeweb/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/skypeweb/lang/en/block_skypeweb.php
(#17) No one-line description found in phpdocs for file
blocks/skypeweb/settings.php
(#17) No one-line description found in phpdocs for file
blocks/skypeweb/skypechat.php
(#17) No one-line description found in phpdocs for file
blocks/skypeweb/skypeloginreturn.php
(#17) No one-line description found in phpdocs for file
blocks/skypeweb/version.php
(#17) No one-line description found in phpdocs for file

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

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

blocks/skypeweb/templates/block.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 7: Attribute “placeholder” not allowed on element “div” at this point. ( <div id="txt-note" class="editable" contenteditable="true" placeholder="[[ status_placeholder, block_skypeweb ]]"></div>)
(#1) HTML Validation error, line 24: Attribute “placeholder” not allowed on element “div” at this point. ( <div id="self-location" class="editable tertiary" contenteditable="true" placeholder="[[ location_placeholder, block_skypeweb ]]"></div>)
blocks/skypeweb/templates/login.mustache
(#1) Example context missing (@template section not found.)