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]

grade/export/apogee/classes/custom_csv_export_writer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#46) Expected "if (...) {\n"; found "if (...){\n"
(#59) File must end with a newline character
grade/export/apogee/classes/event/grade_exported.php
(#39) File must end with a newline character
grade/export/apogee/db/access.php
(#47) File must end with a newline character
grade/export/apogee/export.php
(#64) File must end with a newline character
grade/export/apogee/grade_export_apogee.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) No space found before comment text; expected "// $csvexport = new csv_export_writer($this->datas->delimiter);" but found "//$csvexport = new csv_export_writer($this->datas->delimiter);"
(#88) Line exceeds 132 characters; contains 156 characters
(#102) Line exceeds 132 characters; contains 155 characters
(#110) Expected "try {\n...} catch (...) {\n"; found "try {\n...}\n catch (...) { "
(#114) Closing brace must be on a line by itself
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#136) File must end with a newline character
grade/export/apogee/grade_export_apogee_form.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#55) Line exceeds 132 characters; contains 138 characters
grade/export/apogee/index.php
(#48) Line exceeds 132 characters; contains 144 characters
grade/export/apogee/lang/en/gradeexport_apogee.php
(#46) File must end with a newline character
grade/export/apogee/lang/fr/gradeexport_apogee.php
(#46) File must end with a newline character
grade/export/apogee/settings.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#40) Expected 1 space after "=>"; 2 found
(#41) Expected 1 space after "=>"; 2 found
(#43) File must end with a newline character
grade/export/apogee/tests/logging_test.php
(#66) File must end with a newline character

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

(6 errors, 1 warnings)

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

grade/export/apogee/classes/custom_csv_export_writer.php
(#2) Empty line found after PHP open tag
(#27) No one-line description found in phpdocs for class custom_csv_export_writer
grade/export/apogee/grade_export_apogee.php
(#42) Variable grade_export_apogee::$plugin is not documented
(#47) Variable grade_export_apogee::$datas is not documented
(#52) Constant grade_export_apogee::DELIMITERS is not documented
(#56) Phpdocs for function grade_export_apogee::__construct has incomplete parameters list
grade/export/apogee/version.php
(#20) Package gradeexport 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]


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]