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

(33 errors, 2 warnings)

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

blocks/lastcourse/block_lastcourse.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#34) Whitespace found at end of line
(#38) Whitespace found at end of line
(#53) Inline control structures are not allowed
(#59) Line exceeds 132 characters; contains 151 characters
(#66) Inline control structures are not allowed
(#72) Line exceeds 132 characters; contains 163 characters
blocks/lastcourse/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/lastcourse/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/lastcourse/lang/en/block_lastcourse.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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.".
(#13) Line 12 of the opening comment must start "//".
(#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/>.".
blocks/lastcourse/lang/fr/block_lastcourse.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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.".
(#13) Line 12 of the opening comment must start "//".
(#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/>.".
blocks/lastcourse/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Whitespace found at end of line

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

(9 errors, 0 warnings)

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

blocks/lastcourse/block_lastcourse.php
(#27) Class block_lastcourse is not documented
(#28) Function block_lastcourse::init is not documented
(#32) Function block_lastcourse::get_content is not documented
(#17) No one-line description found in phpdocs for file
blocks/lastcourse/classes/privacy/provider.php
(#17) No one-line description found in phpdocs for file
blocks/lastcourse/db/access.php
(#17) No one-line description found in phpdocs for file
blocks/lastcourse/lang/en/block_lastcourse.php
(#13) No one-line description found in phpdocs for file
blocks/lastcourse/lang/fr/block_lastcourse.php
(#13) No one-line description found in phpdocs for file
blocks/lastcourse/version.php
(#17) No one-line description found in phpdocs for file

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, 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]