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

(69 errors, 7 warnings)

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

filter/cincopa/filter.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Line indented incorrectly; expected at least 8 spaces, found 7
(#39) Whitespace found at end of line
(#40) Variable "finded_matches" must not contain underscores.
(#41) Variable "cincopa_string" must not contain underscores.
(#42) Variable "gallery_string" must not contain underscores.
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) No space found before comment text; expected "// Iterate loop on finded_matches" but found "//Iterate loop on finded_matches"
(#44) Variable "finded_matches" must not contain underscores.
(#45) Variable "gallery_string" must not contain underscores.
(#46) Whitespace found at end of line
(#47) Variable "randomString" must be all lower-case
(#48) Variable "randomString" must be all lower-case
(#48) Variable "randomString" must be all lower-case
(#49) Variable "predefined_string" must not contain underscores.
(#50) Expected "if (...) {\n"; found "if(...) {\n"
(#51) Variable "predefined_string" must not contain underscores.
(#51) Variable "gallery_string" must not contain underscores.
(#51) Line exceeds 132 characters; contains 149 characters
(#53) Variable "predefined_string" must not contain underscores.
(#53) Variable "randomString" must be all lower-case
(#54) Variable "predefined_string" must not contain underscores.
(#54) Expected 1 space after ".="; 0 found
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Variable "randomString" must be all lower-case
(#56) Variable "gallery_string" must not contain underscores.
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#64) No space found before comment text; expected "// Now find cincopa string in whole text" but found "//Now find cincopa string in whole text"
(#65) Variable "cincopa_string_for_find" must not contain underscores.
(#65) Variable "cincopa_string" must not contain underscores.
(#66) Variable "cincopa_string_for_find_wo_space" must not contain underscores.
(#66) Variable "cincopa_string" must not contain underscores.
(#67) Variable "cincopa_string_for_find" must not contain underscores.
(#67) Variable "predefined_string" must not contain underscores.
(#68) Variable "cincopa_string_for_find_wo_space" must not contain underscores.
(#68) Variable "predefined_string" must not contain underscores.
filter/cincopa/lang/en/filter_cincopa.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#1) Whitespace found at end of line
(#1) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#5) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#6) Line 6 of the opening comment must start "// (at your option) any later version.".
(#8) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#9) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#13) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#14) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#25) Whitespace found at end of line
(#29) File must end with a newline character
filter/cincopa/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Whitespace found at end of line
(#29) Whitespace found at end of line
filter/cincopa/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

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

(0 errors, 0 warnings)

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


PHPDocs style problems

(5 errors, 2 warnings)

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

filter/cincopa/filter.php
(#21) Package filter is not valid
(#2) Empty line found after PHP open tag
(#28) Function filter_cincopa::filter is not documented
filter/cincopa/lang/en/filter_cincopa.php
(#20) Package filter is not valid
(#2) Empty line found after PHP open tag
filter/cincopa/settings.php
(#20) Package filter is not valid
filter/cincopa/version.php
(#20) Package filter is not valid

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

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

filter/cincopa/templates/mobile_filter.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 3: Attribute “*ngif” is not serializable as XML 1.0. (d><body><div style="height: 600px !important;" id="mainDiv" *ngIf="!edit"> <)
(#1) HTML Validation error, line 3: Attribute “*ngif” not allowed on element “div” at this point. (d><body><div style="height: 600px !important;" id="mainDiv" *ngIf="!edit"> <)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]