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

(159 errors, 14 warnings)

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

mod/assign/submission/cincopa/classes/output/mobile.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#6) Expected 1 space before opening brace; found 2
(#9) Inline comments must end in full-stops, exclamation marks, or question marks
(#11) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Variable "defaultView" must be all lower-case
(#18) Inline comments must start with a capital letter, digit or 3-dots sequence
(#18) This comment is 72% valid code; is this commented out code?
(#19) Whitespace found at end of line
(#22) Expected "if (...) {\n"; found "if(...) {\n"
(#31) Variable "defaultView" must be all lower-case
(#31) Line exceeds maximum limit of 180 characters; contains 239 characters
(#34) Whitespace found at end of line within string
(#35) Whitespace found at end of line within string
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#38) Whitespace found at end of line within string
(#39) Whitespace found at end of line within string
(#40) Whitespace found at end of line within string
(#41) Whitespace found at end of line within string
(#42) Whitespace found at end of line within string
(#43) Whitespace found at end of line within string
(#44) Whitespace found at end of line within string
(#45) Whitespace found at end of line within string
(#46) Whitespace found at end of line within string
(#47) Whitespace found at end of line within string
(#48) Whitespace found at end of line within string
(#49) Whitespace found at end of line within string
(#50) Whitespace found at end of line within string
(#51) Whitespace found at end of line within string
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#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
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#72) Whitespace found at end of line
(#74) File must end with a newline character
mod/assign/submission/cincopa/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Whitespace found at end of line
mod/assign/submission/cincopa/db/mobile.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".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Inline comments must end in full-stops, exclamation marks, or question marks
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Line exceeds maximum limit of 180 characters; contains 187 characters
(#22) Line exceeds maximum limit of 180 characters; contains 403 characters
(#25) File must end with a newline character
mod/assign/submission/cincopa/lang/en/assignsubmission_cincopa.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/>.".
(#36) File must end with a newline character
mod/assign/submission/cincopa/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#46) Expected 1 space before "=>"; 0 found
(#46) Expected 1 space after "=>"; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#49) Expected 1 space after "=>"; 0 found
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Logical operator "and" is prohibited; use "&&" instead
(#67) Logical operator "or" is prohibited; use "||" instead
(#70) Whitespace found at end of line
mod/assign/submission/cincopa/locallib.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/>.".
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#70) Variable "defaultView" must be all lower-case
(#74) Variable "defaultView" must be all lower-case
(#74) Line exceeds maximum limit of 180 characters; contains 293 characters
(#81) Line indented incorrectly; expected at least 4 spaces, found 3
(#82) Whitespace found at end of line
(#96) Whitespace found at end of line
(#114) Line indented incorrectly; expected at least 4 spaces, found 2
(#116) Whitespace found at end of line
(#127) Expected "if (...) {\n"; found "if(...) {\n"
(#132) Line exceeds 132 characters; contains 143 characters
(#132) Whitespace found at end of line within string
(#133) Whitespace found at end of line within string
(#134) Whitespace found at end of line within string
(#135) Whitespace found at end of line within string
(#136) Whitespace found at end of line within string
(#137) Whitespace found at end of line within string
(#138) Whitespace found at end of line within string
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#141) Whitespace found at end of line within string
(#142) Whitespace found at end of line within string
(#143) Whitespace found at end of line within string
(#144) Whitespace found at end of line within string
(#145) Whitespace found at end of line within string
(#146) Whitespace found at end of line within string
(#147) Whitespace found at end of line within string
(#148) Whitespace found at end of line within string
(#149) Whitespace found at end of line within string
(#150) Whitespace found at end of line within string
(#151) Whitespace found at end of line within string
(#152) Whitespace found at end of line within string
(#153) Whitespace found at end of line within string
(#154) Whitespace found at end of line within string
(#158) Expected "} else {\n"; found "}else{\n"
(#159) Line indented incorrectly; expected at least 12 spaces, found 11
(#159) Whitespace found at end of line
(#163) Line indented incorrectly; expected at least 4 spaces, found 3
(#164) Whitespace found at end of line
mod/assign/submission/cincopa/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#36) Line exceeds maximum limit of 180 characters; contains 260 characters
mod/assign/submission/cincopa/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Spaces must be used for alignment; tabs are not allowed
(#27) Tab found within whitespace
(#28) Spaces must be used for alignment; tabs are not allowed
(#28) Tab found within whitespace
(#29) Spaces must be used for alignment; tabs are not allowed
(#29) Tab found within whitespace

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

(8 errors, 4 warnings)

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

mod/assign/submission/cincopa/classes/output/mobile.php
(#2) Empty line found after PHP open tag
(#6) Class mobile is not documented
(#7) Function mobile::mobile_submission_edit is not documented
(#6) Package is not specified for class mobile. It is also not specified in file-level phpdocs
mod/assign/submission/cincopa/db/mobile.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/assign/submission/cincopa/lang/en/assignsubmission_cincopa.php
(#2) Empty line found after PHP open tag
mod/assign/submission/cincopa/locallib.php
(#2) Empty line found after PHP open tag
(#81) There is no description in phpdocs for function save
(#95) There is no description in phpdocs for function view_summary
(#163) There is no description in phpdocs for function is_empty
(#165) Phpdocs for function assign_submission_cincopa::is_empty 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

(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, 5 warnings)

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

mod/assign/submission/cincopa/templates/mobile_view_page.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: 800px !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: 800px !important" id="mainDiv" *ngIf="!edit"> <)
(#1) HTML Validation info, line 6: Attribute “*ngif” is not serializable as XML 1.0. (e></div><div style="height: 500px" *ngIf="edit"> <)
(#1) HTML Validation error, line 6: Attribute “*ngif” not allowed on element “div” at this point. (e></div><div style="height: 500px" *ngIf="edit"> <)

Gherkin .feature problems

(0 errors, 0 warnings)

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