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

(21 errors, 5 warnings)

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

question/behaviour/adaptivehintsnopenalties/behaviour.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#21) Inline doc block comments are not allowed; use "// Comment." instead
question/behaviour/adaptivehintsnopenalties/behaviourtype.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
question/behaviour/adaptivehintsnopenalties/lang/en/qbehaviour_adaptivehintsnopenalties.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
question/behaviour/adaptivehintsnopenalties/lang/ru/qbehaviour_adaptivehintsnopenalties.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
question/behaviour/adaptivehintsnopenalties/renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#20) Inline doc block comments are not allowed; use "// Comment." instead
question/behaviour/adaptivehintsnopenalties/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#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/>.".
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) A closing tag is not permitted at the end of a PHP file

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

(17 errors, 1 warnings)

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

question/behaviour/adaptivehintsnopenalties/behaviour.php
(#42) Package is not specified for class qbehaviour_adaptivehintsnopenalties. It is also not specified in file-level phpdocs
(#18) File-level phpdocs block is not found
(#42) Class qbehaviour_adaptivehintsnopenalties is not documented
(#45) Function qbehaviour_adaptivehintsnopenalties::summarise_hint is not documented
(#57) Function qbehaviour_adaptivehintsnopenalties::adjusted_fraction is not documented
(#43) Constant qbehaviour_adaptivehintsnopenalties::IS_ARCHETYPAL is not documented
question/behaviour/adaptivehintsnopenalties/behaviourtype.php
(#17) File-level phpdocs block is not found
question/behaviour/adaptivehintsnopenalties/classes/privacy/provider.php
(#19) Package adaptivehintsnopenalties is not valid
(#28) Class provider is not documented
question/behaviour/adaptivehintsnopenalties/lang/en/qbehaviour_adaptivehintsnopenalties.php
(#20) Package qbehaviour is not valid
question/behaviour/adaptivehintsnopenalties/lang/ru/qbehaviour_adaptivehintsnopenalties.php
(#20) Package qbehaviour is not valid
question/behaviour/adaptivehintsnopenalties/renderer.php
(#30) Package is not specified for class qbehaviour_adaptivehintsnopenalties_renderer. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#30) Class qbehaviour_adaptivehintsnopenalties_renderer is not documented
(#32) Function qbehaviour_adaptivehintsnopenalties_renderer::penalty_info is not documented
(#37) Function qbehaviour_adaptivehintsnopenalties_renderer::button_cost is not documented
question/behaviour/adaptivehintsnopenalties/version.php
(#2) Empty line found after PHP open tag
(#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]