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

(2 errors, 20 warnings)

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

filter/oembed/classes/plugininfo/oembedprovider.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/classes/provider/endpoint.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/classes/provider/provider.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/classes/service/oembed.php
(#221) This comment is 42% valid code; is this commented out code?
(#234) Inline comments must start with a capital letter, digit or 3-dots sequence
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#540) Inline comments must start with a capital letter, digit or 3-dots sequence
(#540) Inline comments must end in full-stops, exclamation marks, or question marks
filter/oembed/classes/task/update_providers.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/db/caches.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
filter/oembed/db/install.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/db/subplugins.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
filter/oembed/db/upgrade.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/lib.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/docsdotcom/docsdotcom.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/issuu/issuu.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/o365video/o365video.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/officeforms/officeforms.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/pollev/pollev.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/powerbi/powerbi.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/provider/powerbi/rest/powerbi.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion
filter/oembed/tests/testable_oembed.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion

Javascript coding style problems

(56 errors, 363 warnings)

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

filter/oembed/amd/src/list.js
(#1) Line 1 exceeds the maximum line length of 132. (max-len)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space after '{'. (block-spacing)
(#1) Missing JSDoc comment. (require-jsdoc)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space after '{'. (block-spacing)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) This line has 17 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Requires a space after '{'. (block-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected { after 'if' condition. (curly)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Expected space(s) before "return". (keyword-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected { after 'if' condition. (curly)
(#1) Expected space(s) after "if". (keyword-spacing)
(#1) Expected space(s) before "return". (keyword-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Expected space(s) before "var". (keyword-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'exports'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Expected space(s) before "return". (keyword-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Missing semicolon. (semi)
(#1) Expected space(s) before "var". (keyword-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected { after 'for' condition. (curly)
(#1) Expected space(s) after "for". (keyword-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Infix operators must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Missing semicolon. (semi)
(#1) Unquoted number literal '1' used as key. (quote-props)
(#1) Missing space before value for key '1'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) 'exports' is defined but never used. (no-unused-vars)
(#1) Missing space before opening brace. (space-before-blocks)
(#6) There should be no spaces inside this paren. (space-in-parens)
(#6) There should be no spaces inside this paren. (space-in-parens)
(#29) Multiple spaces found before '='. (no-multi-spaces)
(#30) Multiple spaces found before '='. (no-multi-spaces)
(#31) Multiple spaces found before '='. (no-multi-spaces)
(#32) Multiple spaces found before '='. (no-multi-spaces)
(#33) Multiple spaces found before '='. (no-multi-spaces)
(#34) Multiple spaces found before '='. (no-multi-spaces)
(#35) Multiple spaces found before '='. (no-multi-spaces)
(#36) Multiple spaces found before '='. (no-multi-spaces)
(#37) Multiple spaces found before '='. (no-multi-spaces)
(#38) Multiple spaces found before '='. (no-multi-spaces)
(#39) Multiple spaces found before '='. (no-multi-spaces)
(#40) Multiple spaces found before '='. (no-multi-spaces)
(#40) There should be no space after '{'. (object-curly-spacing)
(#40) There should be no space before '}'. (object-curly-spacing)
(#41) Multiple spaces found before '='. (no-multi-spaces)
(#42) Multiple spaces found before '='. (no-multi-spaces)
(#43) Multiple spaces found before '='. (no-multi-spaces)
(#57) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#58) Statement inside of curly braces should be on next line. (brace-style)
(#58) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#59) Multiple spaces found before '='. (no-multi-spaces)
(#61) Multiple spaces found before '='. (no-multi-spaces)
(#62) Multiple spaces found before '='. (no-multi-spaces)
(#63) Multiple spaces found before '='. (no-multi-spaces)
(#64) Multiple spaces found before '='. (no-multi-spaces)
(#65) Multiple spaces found before '='. (no-multi-spaces)
(#98) Multiple spaces found before '='. (no-multi-spaces)
(#99) Multiple spaces found before '='. (no-multi-spaces)
(#100) Multiple spaces found before '='. (no-multi-spaces)
(#101) Multiple spaces found before '='. (no-multi-spaces)
(#102) Multiple spaces found before '='. (no-multi-spaces)
(#128) Missing space before opening brace. (space-before-blocks)
(#139) Expected no return value. (consistent-return)
(#158) A space is required after ','. (comma-spacing)
(#214) Expected space(s) after "while". (keyword-spacing)
(#247) Infix operators must be spaced. (space-infix-ops)
(#268) Unexpected space before function parentheses. (space-before-function-paren)
(#268) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#268) Statement inside of curly braces should be on next line. (brace-style)
(#275) Line 275 exceeds the maximum line length of 132. (max-len)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/add-async'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/filter'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/item'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/parse'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/search'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/sort'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/templater'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/classes'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/events'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/extend'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/get-attribute'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/get-by-class'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/index-of'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/natural-sort'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/to-array'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Missing space before value for key './src/utils/to-string'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) Unquoted number literal '2' used as key. (quote-props)
(#275) Missing space before value for key '2'. (key-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) A space is required after ','. (comma-spacing)
(#275) 'exports' is defined but never used. (no-unused-vars)
(#275) Missing space before opening brace. (space-before-blocks)
(#293) A space is required after ','. (comma-spacing)
(#293) A space is required after ','. (comma-spacing)
(#293) Unquoted number literal '3' used as key. (quote-props)
(#293) Missing space before value for key '3'. (key-spacing)
(#293) A space is required after ','. (comma-spacing)
(#293) A space is required after ','. (comma-spacing)
(#293) 'exports' is defined but never used. (no-unused-vars)
(#293) Missing space before opening brace. (space-before-blocks)
(#324) A space is required after ','. (comma-spacing)
(#324) A space is required after ','. (comma-spacing)
(#324) Unquoted number literal '4' used as key. (quote-props)
(#324) Missing space before value for key '4'. (key-spacing)
(#324) A space is required after ','. (comma-spacing)
(#324) A space is required after ','. (comma-spacing)
(#324) 'exports' is defined but never used. (no-unused-vars)
(#324) Missing space before opening brace. (space-before-blocks)
(#348) Expected to return a value at the end of this function. (consistent-return)
(#350) Expected space(s) after "for". (keyword-spacing)
(#386) A space is required after ','. (comma-spacing)
(#386) A space is required after ','. (comma-spacing)
(#386) Unquoted number literal '5' used as key. (quote-props)
(#386) Missing space before value for key '5'. (key-spacing)
(#386) A space is required after ','. (comma-spacing)
(#386) A space is required after ','. (comma-spacing)
(#386) 'exports' is defined but never used. (no-unused-vars)
(#386) Missing space before opening brace. (space-before-blocks)
(#435) A space is required after ','. (comma-spacing)
(#435) Missing space before value for key './item'. (key-spacing)
(#435) A space is required after ','. (comma-spacing)
(#435) Unquoted number literal '6' used as key. (quote-props)
(#435) Missing space before value for key '6'. (key-spacing)
(#435) A space is required after ','. (comma-spacing)
(#435) A space is required after ','. (comma-spacing)
(#435) 'exports' is defined but never used. (no-unused-vars)
(#435) Missing space before opening brace. (space-before-blocks)
(#437) 'item' is defined but never used. (no-unused-vars)
(#452) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#460) Expected { after 'if' condition. (curly)
(#516) There should be no spaces inside this paren. (space-in-parens)
(#554) A space is required after ','. (comma-spacing)
(#554) A space is required after ','. (comma-spacing)
(#554) Unquoted number literal '7' used as key. (quote-props)
(#554) Missing space before value for key '7'. (key-spacing)
(#554) A space is required after ','. (comma-spacing)
(#554) A space is required after ','. (comma-spacing)
(#554) 'exports' is defined but never used. (no-unused-vars)
(#554) Missing space before opening brace. (space-before-blocks)
(#646) A space is required after ','. (comma-spacing)
(#646) A space is required after ','. (comma-spacing)
(#646) Unquoted number literal '8' used as key. (quote-props)
(#646) Missing space before value for key '8'. (key-spacing)
(#646) A space is required after ','. (comma-spacing)
(#646) A space is required after ','. (comma-spacing)
(#646) 'exports' is defined but never used. (no-unused-vars)
(#646) Missing space before opening brace. (space-before-blocks)
(#657) Expected space(s) after "for". (keyword-spacing)
(#661) Infix operators must be spaced. (space-infix-ops)
(#682) 'items' is defined but never used. (no-unused-vars)
(#710) Expected space(s) after "for". (keyword-spacing)
(#714) Infix operators must be spaced. (space-infix-ops)
(#729) Expected to return a value at the end of this function. (consistent-return)
(#735) There should be no space after '{'. (object-curly-spacing)
(#735) There should be no space before '}'. (object-curly-spacing)
(#748) Expected { after 'if' condition. (curly)
(#751) Infix operators must be spaced. (space-infix-ops)
(#766) Expected space(s) after "for". (keyword-spacing)
(#803) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#817) A space is required after ','. (comma-spacing)
(#817) A space is required after ','. (comma-spacing)
(#817) Unquoted number literal '9' used as key. (quote-props)
(#817) Missing space before value for key '9'. (key-spacing)
(#817) A space is required after ','. (comma-spacing)
(#817) A space is required after ','. (comma-spacing)
(#817) 'exports' is defined but never used. (no-unused-vars)
(#817) Missing space before opening brace. (space-before-blocks)
(#844) Missing space before opening brace. (space-before-blocks)
(#855) Missing JSDoc comment. (require-jsdoc)
(#871) Missing space before opening brace. (space-before-blocks)
(#881) Expected { after 'if' condition. (curly)
(#881) Unexpected use of '~'. (no-bitwise)
(#896) Missing space before opening brace. (space-before-blocks)
(#910) Expected { after 'if' condition. (curly)
(#910) Unexpected use of '~'. (no-bitwise)
(#923) Missing space before opening brace. (space-before-blocks)
(#945) Missing space before opening brace. (space-before-blocks)
(#983) Missing space before opening brace. (space-before-blocks)
(#987) Expected { after 'if' condition. (curly)
(#1000) Missing space before opening brace. (space-before-blocks)
(#1001) Unexpected space after unary operator '!'. (space-unary-ops)
(#1001) Unexpected use of '~'. (no-bitwise)
(#1004) A space is required after ','. (comma-spacing)
(#1004) Missing space before value for key './index-of'. (key-spacing)
(#1004) A space is required after ','. (comma-spacing)
(#1004) Unquoted number literal '10' used as key. (quote-props)
(#1004) Missing space before value for key '10'. (key-spacing)
(#1004) A space is required after ','. (comma-spacing)
(#1004) A space is required after ','. (comma-spacing)
(#1004) Missing space before opening brace. (space-before-blocks)
(#1020) Missing space before opening brace. (space-before-blocks)
(#1022) There should be no spaces inside this paren. (space-in-parens)
(#1022) There should be no spaces inside this paren. (space-in-parens)
(#1037) Missing space before opening brace. (space-before-blocks)
(#1039) There should be no spaces inside this paren. (space-in-parens)
(#1039) There should be no spaces inside this paren. (space-in-parens)
(#1044) A space is required after ','. (comma-spacing)
(#1044) Missing space before value for key './to-array'. (key-spacing)
(#1044) A space is required after ','. (comma-spacing)
(#1044) Unquoted number literal '11' used as key. (quote-props)
(#1044) Missing space before value for key '11'. (key-spacing)
(#1044) A space is required after ','. (comma-spacing)
(#1044) A space is required after ','. (comma-spacing)
(#1044) 'exports' is defined but never used. (no-unused-vars)
(#1044) Missing space before opening brace. (space-before-blocks)
(#1049) Unexpected space before function parentheses. (space-before-function-paren)
(#1054) Expected a conditional expression and instead saw an assignment. (no-cond-assign)
(#1055) Expected { after 'if' condition. (curly)
(#1064) A space is required after ','. (comma-spacing)
(#1064) A space is required after ','. (comma-spacing)
(#1064) Unquoted number literal '12' used as key. (quote-props)
(#1064) Missing space before value for key '12'. (key-spacing)
(#1064) A space is required after ','. (comma-spacing)
(#1064) A space is required after ','. (comma-spacing)
(#1064) 'exports' is defined but never used. (no-unused-vars)
(#1064) Missing space before opening brace. (space-before-blocks)
(#1078) Expected space(s) after "if". (keyword-spacing)
(#1078) There should be no spaces inside this paren. (space-in-parens)
(#1078) There should be no spaces inside this paren. (space-in-parens)
(#1081) Expected space(s) after "for". (keyword-spacing)
(#1083) Expected space(s) after "if". (keyword-spacing)
(#1092) A space is required after ','. (comma-spacing)
(#1092) A space is required after ','. (comma-spacing)
(#1092) Unquoted number literal '13' used as key. (quote-props)
(#1092) Missing space before value for key '13'. (key-spacing)
(#1092) A space is required after ','. (comma-spacing)
(#1092) A space is required after ','. (comma-spacing)
(#1092) 'exports' is defined but never used. (no-unused-vars)
(#1092) Missing space before opening brace. (space-before-blocks)
(#1134) Infix operators must be spaced. (space-infix-ops)
(#1134) Infix operators must be spaced. (space-infix-ops)
(#1136) There should be no spaces inside this paren. (space-in-parens)
(#1136) There should be no spaces inside this paren. (space-in-parens)
(#1150) A space is required after ','. (comma-spacing)
(#1150) A space is required after ','. (comma-spacing)
(#1150) Unquoted number literal '14' used as key. (quote-props)
(#1150) Missing space before value for key '14'. (key-spacing)
(#1150) A space is required after ','. (comma-spacing)
(#1150) A space is required after ','. (comma-spacing)
(#1150) 'exports' is defined but never used. (no-unused-vars)
(#1150) Missing space before opening brace. (space-before-blocks)
(#1153) Missing space before opening brace. (space-before-blocks)
(#1154) Expected { after 'if' condition. (curly)
(#1156) Expected { after 'if' condition. (curly)
(#1161) A space is required after ','. (comma-spacing)
(#1161) A space is required after ','. (comma-spacing)
(#1161) Unquoted number literal '15' used as key. (quote-props)
(#1161) Missing space before value for key '15'. (key-spacing)
(#1161) A space is required after ','. (comma-spacing)
(#1161) A space is required after ','. (comma-spacing)
(#1161) 'exports' is defined but never used. (no-unused-vars)
(#1161) Missing space before opening brace. (space-before-blocks)
(#1174) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1174) Statement inside of curly braces should be on next line. (brace-style)
(#1174) Infix operators must be spaced. (space-infix-ops)
(#1174) Infix operators must be spaced. (space-infix-ops)
(#1179) A space is required after ','. (comma-spacing)
(#1179) A space is required after ','. (comma-spacing)
(#1180) A space is required after ','. (comma-spacing)
(#1180) A space is required after ','. (comma-spacing)
(#1191) There should be no spaces inside this paren. (space-in-parens)
(#1191) There should be no spaces inside this paren. (space-in-parens)
(#1191) Statement inside of curly braces should be on next line. (brace-style)
(#1191) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1192) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#1192) There should be no spaces inside this paren. (space-in-parens)
(#1192) There should be no spaces inside this paren. (space-in-parens)
(#1192) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1192) Statement inside of curly braces should be on next line. (brace-style)
(#1195) Expected space(s) after "for". (keyword-spacing)
(#1195) Infix operators must be spaced. (space-infix-ops)
(#1195) Infix operators must be spaced. (space-infix-ops)
(#1199) Statement inside of curly braces should be on next line. (brace-style)
(#1199) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1201) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#1205) Statement inside of curly braces should be on next line. (brace-style)
(#1205) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1206) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1206) Statement inside of curly braces should be on next line. (brace-style)
(#1211) A space is required after ','. (comma-spacing)
(#1211) A space is required after ','. (comma-spacing)
(#1211) Unquoted number literal '16' used as key. (quote-props)
(#1211) Missing space before value for key '16'. (key-spacing)
(#1211) A space is required after ','. (comma-spacing)
(#1211) A space is required after ','. (comma-spacing)
(#1211) 'exports' is defined but never used. (no-unused-vars)
(#1211) Missing space before opening brace. (space-before-blocks)
(#1224) Expected { after 'if' condition. (curly)
(#1225) Expected { after 'if' condition. (curly)
(#1226) Expected { after 'if' condition. (curly)
(#1227) Expected { after 'if' condition. (curly)
(#1228) Expected { after 'if' condition. (curly)
(#1229) Expected { after 'if' condition. (curly)
(#1230) Expected { after 'if' condition. (curly)
(#1238) Expected { after 'if' condition. (curly)
(#1242) Missing JSDoc comment. (require-jsdoc)
(#1246) A space is required after ','. (comma-spacing)
(#1246) A space is required after ','. (comma-spacing)
(#1246) Unquoted number literal '17' used as key. (quote-props)
(#1246) Missing space before value for key '17'. (key-spacing)
(#1246) A space is required after ','. (comma-spacing)
(#1246) A space is required after ','. (comma-spacing)
(#1246) 'exports' is defined but never used. (no-unused-vars)
(#1246) Missing space before opening brace. (space-before-blocks)
(#1254) A space is required after ','. (comma-spacing)
(#1254) A space is required after ','. (comma-spacing)
(#1254) A space is required after ','. (comma-spacing)
filter/oembed/amd/src/manageproviders.js
(#54) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#83) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#167) Expected JSDoc for 'provderId' but found 'providerId'. (valid-jsdoc)
(#178) Missing JSDoc parameter type for 'string'. (valid-jsdoc)
(#178) Expected JSDoc for 'pid' but found 'string'. (valid-jsdoc)
(#178) Missing JSDoc for parameter 'data'. (valid-jsdoc)
(#178) Missing JSDoc for parameter 'callback'. (valid-jsdoc)
(#202) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#289) There should be no space after '['. (array-bracket-spacing)
filter/oembed/amd/src/responsivecontent.js
(#32) Expected JSDoc for 'nodes' but found 'nodes-null'. (valid-jsdoc)
(#37) Missing space before opening brace. (space-before-blocks)
filter/oembed/Gruntfile.js
(#33) 'module' is not defined. (no-undef)
(#86) Extra space after key 'cssbeautifier'. (key-spacing)
(#87) Extra space after key 'files'. (key-spacing)
(#112) 'stderror' is defined but never used. (no-unused-vars)
filter/oembed/provider/powerbi/yui/powerbiloader/powerbiloader.js
(#1) 'YUI' is not defined. (no-undef)
(#1) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#8) Unexpected space before function parentheses. (space-before-function-paren)
(#8) 'config' is defined but never used. (no-unused-vars)
(#9) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#14) 'postActionLoadReport' is not defined. (no-undef)
(#24) Identifier 'filter_oembed' is not in camel case. (camelcase)
(#26) Identifier 'init_powerbiloader' is not in camel case. (camelcase)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#31) 'postActionLoadReport' is not defined. (no-undef)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#33) 'message' is not defined. (no-undef)
(#35) 'message' is not defined. (no-undef)

CSS problems

(27 errors, 9 warnings)

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

filter/oembed/sass/styles.scss
(#59) Unexpected !important (declaration-no-important)
(#60) Unexpected !important (declaration-no-important)
(#61) Unexpected !important (declaration-no-important)
(#62) Unexpected !important (declaration-no-important)
(#63) Unexpected !important (declaration-no-important)
(#64) Unexpected !important (declaration-no-important)
(#65) Unexpected !important (declaration-no-important)
(#37) Expected single space before "/" operator (function-calc-no-unspaced-operator)
(#37) Expected single space after "/" operator (function-calc-no-unspaced-operator)
(#38) Expected single space before "/" operator (function-calc-no-unspaced-operator)
(#38) Expected single space after "/" operator (function-calc-no-unspaced-operator)
(#19) Expected single space after "," in a single-line function (function-comma-space-after)
(#19) Expected single space after "," in a single-line function (function-comma-space-after)
(#19) Expected single space after "," in a single-line function (function-comma-space-after)
(#50) Unexpected unit (length-zero-no-unit)
(#50) Unexpected unit (length-zero-no-unit)
(#50) Unexpected unit (length-zero-no-unit)
filter/oembed/styles.css
(#37) Unexpected duplicate "left" (declaration-block-no-duplicate-properties)
(#43) Unexpected duplicate "top" (declaration-block-no-duplicate-properties)
(#64) Unexpected !important (declaration-no-important)
(#65) Unexpected !important (declaration-no-important)
(#66) Unexpected !important (declaration-no-important)
(#67) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#69) Unexpected !important (declaration-no-important)
(#70) Unexpected !important (declaration-no-important)
(#37) Expected single space before "/" operator (function-calc-no-unspaced-operator)
(#37) Expected single space after "/" operator (function-calc-no-unspaced-operator)
(#43) Expected single space before "/" operator (function-calc-no-unspaced-operator)
(#43) Expected single space after "/" operator (function-calc-no-unspaced-operator)
(#52) Unexpected unit (length-zero-no-unit)
(#52) Unexpected unit (length-zero-no-unit)
(#52) Unexpected unit (length-zero-no-unit)
(#53) Unexpected unit (length-zero-no-unit)
(#53) Unexpected unit (length-zero-no-unit)
(#53) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(115 errors, 0 warnings)

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

filter/oembed/classes/db/abstract_dbrow.php
(#29) Class abstract_dbrow is not documented
(#29) Package is not specified for class abstract_dbrow. It is also not specified in file-level phpdocs
filter/oembed/classes/db/providerrow.php
(#28) Class providerrow is not documented
(#28) Package is not specified for class providerrow. It is also not specified in file-level phpdocs
filter/oembed/classes/forms/provider.php
(#31) Class provider is not documented
(#31) Package is not specified for class provider. It is also not specified in file-level phpdocs
filter/oembed/classes/output/managementpage.php
(#31) Class managementpage is not documented
(#17) No one-line description found in phpdocs for file
filter/oembed/classes/output/providermodel.php
(#17) No one-line description found in phpdocs for file
(#32) Class providermodel does not have @copyright tag
(#32) Class providermodel does not have @license tag
(#34) Package filter_oembed\output is not valid
filter/oembed/classes/output/renderer.php
(#28) Class renderer is not documented
(#28) Package is not specified for class renderer. It is also not specified in file-level phpdocs
filter/oembed/classes/plugininfo/oembedprovider.php
(#26) Class oembedprovider is not documented
(#27) Function oembedprovider::is_uninstall_allowed is not documented
(#17) No one-line description found in phpdocs for file
filter/oembed/classes/provider/endpoint.php
(#17) No one-line description found in phpdocs for file
(#52) Phpdocs for function endpoint::__construct has incomplete parameters list
(#26) Class endpoint does not have @copyright tag
(#26) Class endpoint does not have @license tag
filter/oembed/classes/provider/provider.php
(#69) Constant provider::PROVIDER_SOURCE_DOWNLOAD is not documented
(#70) Constant provider::PROVIDER_SOURCE_PLUGIN is not documented
(#17) No one-line description found in phpdocs for file
(#28) No one-line description found in phpdocs for class provider
(#79) Phpdocs for function provider::__construct has incomplete parameters list
(#28) Class provider does not have @copyright tag
(#28) Class provider does not have @license tag
filter/oembed/classes/service/oembed.php
(#560) Phpdocs for function oembed::enable_provider has incomplete parameters list
(#569) Phpdocs for function oembed::disable_provider has incomplete parameters list
(#578) Phpdocs for function oembed::delete_provider has incomplete parameters list
(#645) Phpdocs for function oembed::set_provider_enable_value has incomplete parameters list
(#37) Package filter_oembed\service is not valid
filter/oembed/classes/service/util.php
(#44) Phpdocs for function util::define_class_for_webservice has incomplete parameters list
(#32) Package is not specified for class util. It is also not specified in file-level phpdocs
filter/oembed/classes/task/update_providers.php
(#27) Class update_providers is not documented
(#17) No one-line description found in phpdocs for file
filter/oembed/classes/webservice/ws_provider_manage.php
(#17) File-level phpdocs block is not found
(#33) There is no description in phpdocs for function service_parameters
(#44) There is no description in phpdocs for function service_returns
(#60) There is no description in phpdocs for function service
(#26) Package is not specified for class ws_provider_manage. It is also not specified in file-level phpdocs
filter/oembed/classes/webservice/ws_providers.php
(#17) File-level phpdocs block is not found
(#34) There is no description in phpdocs for function service_parameters
(#44) There is no description in phpdocs for function service_returns
(#76) There is no description in phpdocs for function service
(#77) Phpdocs for function ws_providers::service has incomplete parameters list
(#27) Package is not specified for class ws_providers. It is also not specified in file-level phpdocs
filter/oembed/db/subplugins.php
(#17) No one-line description found in phpdocs for file
filter/oembed/db/tasks.php
(#17) No one-line description found in phpdocs for file
filter/oembed/db/upgrade.php
(#34) Phpdocs for function xmldb_filter_oembed_upgrade has incomplete parameters list
filter/oembed/filter.php
(#49) Phpdocs for function filter_oembed::filter has incomplete parameters list
(#90) Phpdocs for function filter_oembed::find_oembeds_callback has incomplete parameters list
filter/oembed/lib.php
(#26) Package is not specified for function filter_oembed_output_fragment_provider. It is also not specified in file-level phpdocs
filter/oembed/manageproviders.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/docsdotcom/docsdotcom.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function docsdotcom::__construct has incomplete parameters list
(#27) Class docsdotcom does not have @copyright tag
(#27) Class docsdotcom does not have @license tag
filter/oembed/provider/docsdotcom/lang/en/oembedprovider_docsdotcom.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/docsdotcom/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/issuu/issuu.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function issuu::__construct has incomplete parameters list
(#27) Class issuu does not have @copyright tag
(#27) Class issuu does not have @license tag
filter/oembed/provider/issuu/lang/en/oembedprovider_issuu.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/issuu/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/o365video/lang/en/oembedprovider_o365video.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/o365video/o365video.php
(#17) No one-line description found in phpdocs for file
(#33) Phpdocs for function o365video::__construct has incomplete parameters list
(#26) Class o365video does not have @copyright tag
(#26) Class o365video does not have @license tag
filter/oembed/provider/o365video/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/officeforms/lang/en/oembedprovider_officeforms.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/officeforms/officeforms.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function officeforms::__construct has incomplete parameters list
(#27) Class officeforms does not have @copyright tag
(#27) Class officeforms does not have @license tag
filter/oembed/provider/officeforms/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/pollev/lang/en/oembedprovider_pollev.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/pollev/pollev.php
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function pollev::__construct has incomplete parameters list
(#27) Class pollev does not have @copyright tag
(#27) Class pollev does not have @license tag
filter/oembed/provider/pollev/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/powerbi/lang/en/oembedprovider_powerbi.php
(#17) No one-line description found in phpdocs for file
filter/oembed/provider/powerbi/powerbi.php
(#105) Function powerbi::getembedhtml is not documented
(#17) No one-line description found in phpdocs for file
(#34) Phpdocs for function powerbi::__construct has incomplete parameters list
(#27) Class powerbi does not have @copyright tag
(#27) Class powerbi does not have @license tag
filter/oembed/provider/powerbi/rest/powerbi.php
(#46) Function powerbi::getreportoembedurl is not documented
(#17) No one-line description found in phpdocs for file
(#26) Class powerbi does not have @copyright tag
(#26) Class powerbi does not have @license tag
filter/oembed/provider/powerbi/version.php
(#17) No one-line description found in phpdocs for file
filter/oembed/tests/behat/behat_filter_oembed.php
(#28) Class behat_filter_oembed is not documented
(#86) There is no description in phpdocs for function the_provider_is_disabled
(#95) There is no description in phpdocs for function the_provider_is_enabled
(#104) There is no description in phpdocs for function i_filter_provider_list
(#136) There is no description in phpdocs for function i_edit_provider_with_values
(#106) Phpdocs for function behat_filter_oembed::i_filter_provider_list has incomplete parameters list
(#28) Package is not specified for class behat_filter_oembed. It is also not specified in file-level phpdocs
filter/oembed/tests/filter_test.php
(#39) Variable filter_oembed_testcase::$filter is not documented
(#34) No one-line description found in phpdocs for class filter_oembed_testcase
(#34) Class filter_oembed_testcase does not have @copyright tag
(#34) Class filter_oembed_testcase does not have @license tag
(#35) Invalid phpdocs tag @group used
filter/oembed/tests/oembed_test.php
(#31) No one-line description found in phpdocs for class filter_oembed_service_testcase
(#31) Class filter_oembed_service_testcase does not have @copyright tag
(#31) Class filter_oembed_service_testcase does not have @license tag
(#32) Invalid phpdocs tag @group used
filter/oembed/tests/testable_oembed.php
(#51) Phpdocs for function testable_oembed::protected_set_providers has incomplete parameters list
(#79) Phpdocs for function testable_oembed::protected_match_provider_names has incomplete parameters list
(#93) Phpdocs for function testable_oembed::protected_get_all_provider_data 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]

Task "stylelint:scss" failed. Use --force to continue.
Problems running grunt

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(1 errors, 6 warnings)

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

filter/oembed/templates/managementpage.mustache
(#1) Mustache syntax exception: Example context JSON is unparsable, fails with: quoted object property name expected
filter/oembed/templates/managementpagerow.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 2: Stray start tag “tr”. (ad><body><tr id="oembed-display-providers_" class="" data-pid=""> <)
(#1) HTML Validation error, line 3: Stray start tag “td”. (d=""> <td id="oembed-display-providers__c0" class="cell c0 provider"> )
(#1) HTML Validation error, line 10: Stray end tag “td”. (/div> </td></tr>)
(#1) HTML Validation error, line 11: Stray end tag “tr”. ( </td></tr></bo)
filter/oembed/templates/preload.mustache
(#1) Example context missing (@template section not found.)