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

(38 errors, 6 warnings)

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

filter/cssinject/classes/privacy/provider.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
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 159 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
(#89) Expected "if (...) {\n"; found "if(...){\n"
(#90) Expected "if (...) {\n"; found "if(...){\n"
(#96) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#96) Expected "if (...) {\n"; found "if(...){\n"
(#101) Expected "if (...) {\n"; found "if(...){ // Enable box without classes.\n"
(#106) Expected "} else {\n"; found "}\n else {\n"
(#119) Expected "if (...) {\n"; found "if(...){\n"
(#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"
(#131) Expected "if (...) {\n"; found "if(...){\n"
(#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
(#157) Missing docblock for function replaceNestableBlockElements
(#157) Private method name "text_filter::replaceNestableBlockElements" must be in lower-case letters only
(#162) Expected "if (...) {\n"; found "if(...){\n"
(#172) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#172) Expected "if (...) {\n"; found "if(...){\n"
(#175) Expected "} else if (...) {\n"; found "}\n else if(...){\n"
(#175) Expected "if (...) {\n"; found "if(...){\n"
(#179) Expected "} else {\n"; found "}\n else {\n"
(#185) File must end with a newline character
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) File must end with a newline character
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/>.".
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

(5 errors, 0 warnings)

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

filter/cssinject/styles.css
(#28) 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)

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]