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

(13 errors, 8 warnings)

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

blocks/cqumymoodle/block_cqumymoodle.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#75) Line exceeds 132 characters; contains 161 characters
(#257) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) This comment is 50% valid code; is this commented out code?
blocks/cqumymoodle/db/access.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/cqumymoodle/db/caches.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/cqumymoodle/db/services.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Line exceeds maximum limit of 180 characters; contains 234 characters
blocks/cqumymoodle/db/upgrade.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#45) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/cqumymoodle/edit_form.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/cqumymoodle/externallib.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/cqumymoodle/tests/externallib_test.php
(#92) Public method name "block_cqumymoodle_external_testcase::setAdminUser" must be in lower-case letters only
blocks/cqumymoodle/tests/generator/lib.php
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
blocks/cqumymoodle/tests/generator_test.php
(#46) Expected 1 space before "+"; 0 found
(#46) Expected 1 space after "+"; 0 found

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 csslint [More info]


PHPDocs style problems

(44 errors, 0 warnings)

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

blocks/cqumymoodle/ajax.php
(#20) Package block is not valid
blocks/cqumymoodle/block_cqumymoodle.php
(#27) Class block_cqumymoodle is not documented
(#74) Function block_cqumymoodle::specialization is not documented
(#286) Phpdocs for function block_cqumymoodle::instance_config_save has incomplete parameters list
(#20) Package block is not valid
blocks/cqumymoodle/db/access.php
(#20) Package block is not valid
blocks/cqumymoodle/db/caches.php
(#20) Package block is not valid
blocks/cqumymoodle/db/services.php
(#20) Package block is not valid
blocks/cqumymoodle/db/upgrade.php
(#27) There is no description in phpdocs for function xmldb_block_cqumymoodle_upgrade
(#29) Phpdocs for function xmldb_block_cqumymoodle_upgrade has incomplete parameters list
(#20) Package block is not valid
blocks/cqumymoodle/edit_form.php
(#17) File-level phpdocs block is not found
(#28) Function block_cqumymoodle_edit_form::specific_definition is not documented
(#116) Function block_cqumymoodle_edit_form::set_data is not documented
(#20) Package block is not valid
blocks/cqumymoodle/externallib.php
(#29) Class block_cqumymoodle_external is not documented
(#20) Package block is not valid
blocks/cqumymoodle/lang/en/block_cqumymoodle.php
(#20) Package block is not valid
blocks/cqumymoodle/locallib.php
(#20) Package block is not valid
blocks/cqumymoodle/tests/externallib_test.php
(#31) Class block_cqumymoodle_external_testcase is not documented
(#33) Variable block_cqumymoodle_external_testcase::$categories is not documented
(#34) Variable block_cqumymoodle_external_testcase::$courses is not documented
(#35) Variable block_cqumymoodle_external_testcase::$student is not documented
(#36) Variable block_cqumymoodle_external_testcase::$teacher is not documented
(#38) There is no description in phpdocs for function setUp
(#89) There is no description in phpdocs for function setAdminUser
(#101) There is no description in phpdocs for function test_student_match_username
(#113) There is no description in phpdocs for function test_student_match_email
(#125) There is no description in phpdocs for function test_student_match_idnumber
(#137) There is no description in phpdocs for function test_teacher_hidden_courses
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#39) Invalid phpdocs tag @group used
(#90) Invalid phpdocs tag @group used
(#102) Invalid phpdocs tag @group used
(#114) Invalid phpdocs tag @group used
(#126) Invalid phpdocs tag @group used
(#138) Invalid phpdocs tag @group used
(#21) Category phpunit is not valid
blocks/cqumymoodle/tests/generator/lib.php
(#29) Class block_cqumymoodle_generator is not documented
(#20) Package block is not valid
blocks/cqumymoodle/tests/generator_test.php
(#29) Class block_cqumymoodle_generator_testcase is not documented
(#20) Package block is not valid
blocks/cqumymoodle/version.php
(#20) Package block is not valid

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]