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

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

question/behaviour/adaptivehints/behaviour.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#19) Inline doc block comments are not allowed; use "// Comment." instead
(#26) Line exceeds 132 characters; contains 146 characters
(#46) Line exceeds 132 characters; contains 135 characters
(#62) Possible useless method overriding detected
(#63) Line exceeds maximum limit of 180 characters; contains 183 characters
(#83) Whitespace found at end of line
(#186) Commas (,) must be followed by white space.
(#203) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#210) Line exceeds 132 characters; contains 138 characters
(#232) Line exceeds 132 characters; contains 142 characters
(#233) Line exceeds 132 characters; contains 162 characters
(#253) Line exceeds 132 characters; contains 142 characters
(#259) Line exceeds 132 characters; contains 165 characters
question/behaviour/adaptivehints/behaviourtype.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
question/behaviour/adaptivehints/lang/en/qbehaviour_adaptivehints.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
question/behaviour/adaptivehints/lang/ru/qbehaviour_adaptivehints.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
question/behaviour/adaptivehints/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
(#32) Line indented incorrectly; expected 4 spaces, found 5
(#34) Line indented incorrectly; expected 4 spaces, found 5
(#46) Line indented incorrectly; expected 8 spaces, found 9
(#62) Line exceeds maximum limit of 180 characters; contains 209 characters
(#71) Closing brace indented incorrectly; expected 9 spaces, found 8
(#106) Line exceeds 132 characters; contains 179 characters
(#118) Line indented incorrectly; expected 8 spaces, found 9
(#118) Closing brace indented incorrectly; expected 8 spaces, found 9
(#126) Line exceeds 132 characters; contains 146 characters
question/behaviour/adaptivehints/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/>.".
(#25) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#36) 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

(32 errors, 1 warnings)

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

question/behaviour/adaptivehints/behaviour.php
(#41) Package is not specified for class qbehaviour_adaptivehints. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#41) Class qbehaviour_adaptivehints is not documented
(#45) Function qbehaviour_adaptivehints::is_compatible_question is not documented
(#49) Function qbehaviour_adaptivehints::get_expected_data is not documented
(#62) Function qbehaviour_adaptivehints::adjust_display_options is not documented
(#104) Function qbehaviour_adaptivehints::summarise_action is not documented
(#116) Function qbehaviour_adaptivehints::summarise_hint is not documented
(#128) Function qbehaviour_adaptivehints::init_first_step is not documented
(#134) Function qbehaviour_adaptivehints::process_action is not documented
(#162) Function qbehaviour_adaptivehints::process_hint is not documented
(#218) Function qbehaviour_adaptivehints::process_submit is not documented
(#240) Function qbehaviour_adaptivehints::process_finish is not documented
(#265) Function qbehaviour_adaptivehints::adjusted_fraction is not documented
(#270) Function qbehaviour_adaptivehints::get_graded_step is not documented
(#42) Constant qbehaviour_adaptivehints::IS_ARCHETYPAL is not documented
(#66) Phpdocs for function qbehaviour_adaptivehints::adjust_hintkey has incomplete parameters list
(#82) Phpdocs for function qbehaviour_adaptivehints::adjust_hints has incomplete parameters list
question/behaviour/adaptivehints/behaviourtype.php
(#17) File-level phpdocs block is not found
(#29) Function qbehaviour_adaptivehints_type::is_archetypal is not documented
question/behaviour/adaptivehints/classes/privacy/provider.php
(#19) Package adaptivehints is not valid
(#28) Class provider is not documented
question/behaviour/adaptivehints/lang/en/qbehaviour_adaptivehints.php
(#20) Package qbehaviour is not valid
question/behaviour/adaptivehints/lang/ru/qbehaviour_adaptivehints.php
(#20) Package qbehaviour is not valid
question/behaviour/adaptivehints/renderer.php
(#30) Package is not specified for class qbehaviour_adaptivehints_renderer. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#30) Class qbehaviour_adaptivehints_renderer is not documented
(#32) Function qbehaviour_adaptivehints_renderer::button_cost is not documented
(#36) Function qbehaviour_adaptivehints_renderer::controls is not documented
(#124) Function qbehaviour_adaptivehints_renderer::penalty_info is not documented
(#78) Phpdocs for function qbehaviour_adaptivehints_renderer::render_hint_button has incomplete parameters list
question/behaviour/adaptivehints/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]