Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(94 errors, 6 warnings)

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

public/filter/cssinject/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Opening brace must not be followed by a blank line
public/filter/cssinject/classes/text_filter.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Missing docblock for constant text_filter::PATTERN
(#56) Missing docblock for constant text_filter::DEMO_PATTERN
(#58) Missing docblock for constant text_filter::NESTABLE_BLOCK_PATTERN
(#58) Line exceeds 132 characters; contains 175 characters
(#60) Missing docblock for constant text_filter::NESTABLE_INLINE_PATTERN
(#61) Missing docblock for constant text_filter::CLASS_PREFIX
(#62) Missing docblock for constant text_filter::BOX_PREFIX
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) Expected 1 space after FUNCTION keyword; 0 found
(#89) Expected "if (...) {\n"; found "if(...){\n"
(#89) Expected 1 space after IF keyword; 0 found
(#89) Expected 1 space after closing parenthesis; found 0
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#90) Expected 1 space after IF keyword; 0 found
(#90) Expected 1 space after closing parenthesis; found 0
(#95) Expected 1 space after closing brace; newline found
(#96) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#96) Expected "if (...) {\n"; found "if(...){\n"
(#96) Expected 1 space after IF keyword; 0 found
(#96) Expected 1 space after closing parenthesis; found 0
(#97) Expected 1 space after FUNCTION keyword; 0 found
(#101) Expected "if (...) {\n"; found "if(...){ // Enable box without classes.\n"
(#101) Expected 1 space after IF keyword; 0 found
(#101) Expected 1 space after closing parenthesis; found 0
(#105) Expected 1 space after closing brace; newline found
(#106) Expected "} else {\n"; found "}\n else {\n"
(#119) Expected "if (...) {\n"; found "if(...){\n"
(#119) Expected 1 space after IF keyword; 0 found
(#119) Expected 1 space after closing parenthesis; found 0
(#120) Expected at least 1 space before "."; 0 found
(#120) Expected at least 1 space after "."; 0 found
(#120) Expected at least 1 space before "."; 0 found
(#120) Expected at least 1 space after "."; 0 found
(#121) Expected at least 1 space before "."; 0 found
(#121) Expected at least 1 space after "."; 0 found
(#121) Expected at least 1 space before "."; 0 found
(#121) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#124) Expected 1 space after closing brace; newline found
(#126) Expected "} else if (...) {\n"; found "}\n // Else simply apply style and class to surrounding div.\n else if(...){\n"
(#126) Expected "if (...) {\n"; found "if(...){\n"
(#126) Expected 1 space after IF keyword; 0 found
(#126) Expected 1 space after closing parenthesis; found 0
(#131) Expected "if (...) {\n"; found "if(...){\n"
(#131) Expected 1 space after IF keyword; 0 found
(#131) Expected 1 space after closing parenthesis; found 0
(#138) Missing docblock for function parseCssAbbreviations
(#138) Private method name "text_filter::parseCssAbbreviations" must be in lower-case letters only
(#149) Missing docblock for function replaceNestableInlineElements
(#149) Private method name "text_filter::replaceNestableInlineElements" must be in lower-case letters only
(#150) Expected 1 space after FUNCTION keyword; 0 found
(#157) Missing docblock for function replaceNestableBlockElements
(#157) Private method name "text_filter::replaceNestableBlockElements" must be in lower-case letters only
(#158) Expected 1 space after FUNCTION keyword; 0 found
(#162) Expected "if (...) {\n"; found "if(...){\n"
(#162) Expected 1 space after IF keyword; 0 found
(#162) Expected 1 space after closing parenthesis; found 0
(#163) Expected 1 space after FUNCTION keyword; 0 found
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#167) Expected at least 1 space before "."; 0 found
(#167) Expected at least 1 space after "."; 0 found
(#168) Expected at least 1 space before "."; 0 found
(#168) Expected at least 1 space after "."; 0 found
(#168) Expected at least 1 space before "."; 0 found
(#168) Expected at least 1 space after "."; 0 found
(#169) Expected at least 1 space before "."; 0 found
(#169) Expected at least 1 space after "."; 0 found
(#169) Expected at least 1 space before "."; 0 found
(#169) Expected at least 1 space after "."; 0 found
(#171) Expected 1 space after closing brace; newline found
(#172) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#172) Expected "if (...) {\n"; found "if(...){\n"
(#172) Expected 1 space after IF keyword; 0 found
(#172) Expected 1 space after closing parenthesis; found 0
(#174) Expected 1 space after closing brace; newline found
(#175) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#175) Expected "if (...) {\n"; found "if(...){\n"
(#175) Expected 1 space after IF keyword; 0 found
(#175) Expected 1 space after closing parenthesis; found 0
(#178) Expected 1 space after closing brace; newline found
(#179) Expected "} else {\n"; found "}\n else {\n"
(#185) Expected 1 newline at end of file; 0 found
public/filter/cssinject/filter.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
(#26) Expected 1 newline at end of file; 0 found
public/filter/cssinject/lang/en/filter_cssinject.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".
public/filter/cssinject/version.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <https://www.gnu.org/licenses/>.".

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(7 errors, 0 warnings)

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

public/filter/cssinject/styles.css
(#30) Expected single space before "{" (block-opening-brace-space-before)
(#22) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#23) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#24) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#25) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#26) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)
(#27) Unexpected URL scheme "data:" (function-url-scheme-disallowed-list)

PHPDocs style problems

(0 errors, 0 warnings)

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


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]