Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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

(28 errors, 29 warnings)

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

grade/export/group/classes/exportgroup_form.php
(#20) Incorrect @package tag for file exportgroup_form.php. Expected gradeexport_group, found export_group.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Missing docblock for class exportgroup_form
(#29) Missing docblock for function definition
grade/export/group/classes/group_export_grader.php
(#20) Incorrect @package tag for file group_export_grader.php. Expected gradeexport_group, found export_grade.
(#32) Missing docblock for class group_export_grader
(#65) Missing docblock for function get_item_names
(#80) Missing docblock for function get_category_names
(#89) Missing docblock for function get_gradeitems
(#96) Missing docblock for function get_gradeitem
(#99) Missing docblock for function get_grades
(#102) Missing docblock for function get_users
(#105) Missing docblock for function get_students_per_page
grade/export/group/classes/privacy/provider.php
(#27) Missing docblock for class provider
(#35) There must not be a space before the colon in a return type declaration
grade/export/group/index.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file index.php
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) This comment is 58% valid code; is this commented out code?
(#61) Whitespace found at end of line
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) This comment is 61% valid code; is this commented out code?
(#62) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#63) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#64) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#66) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Whitespace found at end of line
grade/export/group/lang/en/gradeexport_group.php
(#28) The string key "group:publish" is not in the correct order, it should be before "privacy:metadata"
(#30) The string key "gradeitem" is not in the correct order, it should be before "group:view"
(#31) The string key "failed" is not in the correct order, it should be before "gradeitem"
(#34) The string key "graded" is not in the correct order, it should be before "nograde"
(#35) The string key "approved" is not in the correct order, it should be before "graded"
(#38) The string key "source" is not in the correct order, it should be before "status"
(#40) The string key "conditions" is not in the correct order, it should be before "source_help"
(#44) The string key "groupname" is not in the correct order, it should be before "targetgroup_help"
(#45) The string key "groupdescription" is not in the correct order, it should be before "groupname"
(#46) The string key "cleangroup" is not in the correct order, it should be before "groupdescription"
(#47) Unexpected string end, it should be a line feed after a semicolon
(#47) File must end with a newline character
grade/export/group/lang/es/gradeexport_group.php
(#28) The string key "group:publish" is not in the correct order, it should be before "privacy:metadata"
(#30) The string key "gradeitem" is not in the correct order, it should be before "group:view"
(#31) The string key "failed" is not in the correct order, it should be before "gradeitem"
(#34) The string key "graded" is not in the correct order, it should be before "nograde"
(#35) The string key "approved" is not in the correct order, it should be before "graded"
(#38) The string key "source" is not in the correct order, it should be before "status"
(#40) The string key "conditions" is not in the correct order, it should be before "source_help"
(#44) The string key "groupname" is not in the correct order, it should be before "targetgroup_help"
(#45) The string key "groupdescription" is not in the correct order, it should be before "groupname"
(#46) The string key "cleangroup" is not in the correct order, it should be before "groupdescription"
(#47) Unexpected string end, it should be a line feed after a semicolon
(#47) File must end with a newline character
grade/export/group/tests/event/events_test.php
(#26) Unit test events_test should be declared as final.
(#31) The setUp() method in unit tests must always call to parent::setUp().
(#38) Test method test_logging() is missing any coverage information, own or at class level
(#38) Test method test_logging() is missing a return type
grade/export/group/version.php
(#20) Incorrect @package tag for file version.php. Expected gradeexport_group, found gradeexport.

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

(1 errors, 0 warnings)

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

grade/export/group/classes/group_export_grader.php
(#33) Phpdocs for function group_export_grader::__construct has incomplete parameters list

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]