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

(15 errors, 17 warnings)

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

blocks/moderator_guide/classes/form/guide_generic.php
(#186) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Expected "if (...) {\n"; found "if(...) {\n"
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
blocks/moderator_guide/classes/form/moderation.php
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Expected "if (...) {\n"; found "if(...) {\n"
blocks/moderator_guide/classes/form/template_generic.php
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Expected "if (...) {\n"; found "if(...) {\n"
blocks/moderator_guide/classes/manager.php
(#165) Whitespace found at end of line within string
blocks/moderator_guide/classes/manager_base.php
(#519) Commas (,) must be followed by white space.
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
(#527) Line exceeds 132 characters; contains 148 characters
(#530) Inline comments must start with a capital letter, digit or 3-dots sequence
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#596) Expected "if (...) {\n"; found "if(...) {\n"
(#597) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#718) Inline comments must start with a capital letter, digit or 3-dots sequence
(#719) Inline comments must end in full-stops, exclamation marks, or question marks
(#1207) Expected "if (...) {\n"; found "if(...) {\n"
(#1210) Expected "if (...) {\n"; found "if(...) {\n"
(#1217) Expected "if (...) {\n"; found "if(...) {\n"
(#1234) Expected "if (...) {\n"; found "if(...) {\n"
(#1243) Expected "if (...) {\n"; found "if(...) {\n"
blocks/moderator_guide/classes/webservice/external.php
(#136) Expected 1 space after "=>"; 2 found
(#137) Expected 1 space after "=>"; 2 found
(#145) Line exceeds 132 characters; contains 137 characters
(#146) Line exceeds 132 characters; contains 135 characters
blocks/moderator_guide/db/upgrade.php
(#249) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/moderator_guide/settings.php
(#39) Line exceeds 132 characters; contains 144 characters
blocks/moderator_guide/tests/moderator_guide_test.php
(#78) Inline comments must start with a capital letter, digit or 3-dots sequence
(#164) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must start with a capital letter, digit or 3-dots sequence
(#210) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(5 errors, 0 warnings)

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

blocks/moderator_guide/edit_guide.js
(#26) '$' is not defined. (no-undef)
(#27) '$' is not defined. (no-undef)
(#27) '$' is not defined. (no-undef)
(#30) '$' is not defined. (no-undef)
(#31) '$' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(36 errors, 0 warnings)

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

blocks/moderator_guide/classes/form/guide_generic.php
(#20) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/form/moderation.php
(#40) Class moderation is not documented
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/form/template.php
(#20) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/form/template_generic.php
(#20) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/guide.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/guide_base.php
(#188) Phpdocs for function guide_base::get_content has incomplete parameters list
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/guide_content.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/guide_generic.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/manager.php
(#130) Phpdocs for function manager::process_template_form_data has incomplete parameters list
(#20) Package block_moderator_guide; is not valid
(#37) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/manager_base.php
(#1181) Function manager_base::hanlde_and_render_moderation_form is not documented
(#141) Phpdocs for function manager_base::list_templates_select has incomplete parameters list
(#224) Phpdocs for function manager_base::process_template_form_data has incomplete parameters list
(#343) Phpdocs for function manager_base::rewrite_template_pluginfile_urls has incomplete parameters list
(#707) Phpdocs for function manager_base::render_files has incomplete parameters list
(#887) Phpdocs for function manager_base::get_restriction_profile_sql has incomplete parameters list
(#1025) Phpdocs for function manager_base::make_guide_from_record has incomplete parameters list
(#1050) Phpdocs for function manager_base::serve_pluginfile has incomplete parameters list
(#1129) Phpdocs for function manager_base::update_guide_moderation_fields has incomplete parameters list
(#20) Package block_moderator_guide; is not valid
(#49) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/template.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/template_base.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/classes/template_generic.php
(#20) Package block_moderator_guide; is not valid
(#34) Package block_moderator_guide; is not valid
blocks/moderator_guide/tests/moderator_guide_test.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]