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

(0 errors, 35 warnings)

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

auth/outage/bootstrap.php
(#43) Logical operator "or" is prohibited; use "||" instead
(#43) Logical operator "or" is prohibited; use "||" instead
auth/outage/classes/privacy/provider.php
(#48) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
auth/outage/tests/phpunit/calendar/calendar_test.php
(#40) PHPUnit testcase name "auth_outage_calendar_test" does not match file name "calendar_test"
(#40) PHPUnit class "auth_outage_calendar_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/dml/outagedb_test.php
(#40) PHPUnit testcase name "auth_outage_outagedb_test" does not match file name "outagedb_test"
(#40) PHPUnit class "auth_outage_outagedb_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/event/events_test.php
(#40) PHPUnit testcase name "auth_outage_events_test" does not match file name "events_test"
(#40) PHPUnit class "auth_outage_events_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/form/forms_test.php
(#42) PHPUnit testcase name "auth_outage_forms_test" does not match file name "forms_test"
(#42) PHPUnit class "auth_outage_forms_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/installation_test.php
(#43) PHPUnit testcase name "auth_outage_installation_test" does not match file name "installation_test"
(#43) PHPUnit class "auth_outage_installation_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/lib_test.php
(#38) PHPUnit testcase name "auth_outage_lib_test" does not match file name "lib_test"
(#38) PHPUnit class "auth_outage_lib_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/cli/cli_test.php
(#40) PHPUnit testcase name "auth_outage_cli_test" does not match file name "cli_test"
(#40) PHPUnit class "auth_outage_cli_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/cli/create_test.php
(#42) PHPUnit testcase name "auth_outage_create_test" does not match file name "create_test"
(#42) PHPUnit class "auth_outage_create_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/cli/finish_test.php
(#42) PHPUnit testcase name "auth_outage_finish_test" does not match file name "finish_test"
(#42) PHPUnit class "auth_outage_finish_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/cli/waitforit_test.php
(#42) PHPUnit testcase name "auth_outage_waitforit_test" does not match file name "waitforit_test"
(#42) PHPUnit class "auth_outage_waitforit_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/controllers/infopage_test.php
(#40) PHPUnit testcase name "auth_outage_infopagecontroller_test" does not match file name "infopage_test"
(#40) PHPUnit class "auth_outage_infopagecontroller_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/controllers/maintenance_static_page_test.php
(#42) PHPUnit testcase name "auth_outage_maintenance_static_page_test" does not match file name "maintenance_static_page_test"
(#42) PHPUnit class "auth_outage_maintenance_static_page_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
(#207) Line exceeds 132 characters; contains 146 characters
(#234) Inline comments must end in full-stops, exclamation marks, or question marks
(#238) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Line exceeds 132 characters; contains 135 characters
auth/outage/tests/phpunit/local/outage_test.php
(#39) PHPUnit testcase name "auth_outage_outage_test" does not match file name "outage_test"
(#39) PHPUnit class "auth_outage_outage_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested
auth/outage/tests/phpunit/local/outagelib_test.php
(#44) PHPUnit testcase name "auth_outage_outagelib_test" does not match file name "outagelib_test"
(#44) PHPUnit class "auth_outage_outagelib_test" does not have any namespace. It is recommended to add it to the "auth_outage" namespace, using more levels if needed, in order to match the code being tested

Javascript coding style problems

(1 errors, 0 warnings)

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

auth/outage/views/warningbar/warningbar.js
(#59) Parsing error: The keyword 'const' is reserved

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(2 errors, 0 warnings)

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

auth/outage/tests/phpunit/local/outagelib_test.php
(#397) Function auth_outage_outagelib_test::test_createmaintenancephpcode_withoutage_provider is not documented
(#341) Phpdocs for function auth_outage_outagelib_test::test_createmaintenancephpcode_withoutage 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]


Missing changes in external functions or backup support for new detected tables or columns

(0 errors, 3 warnings)

This section shows potential problems detected when there are new database structures added in a patch and it is detected that nothing has been changed related with external functions (to be used by WS) or backup and restore. It must be checked that everything is correct and nothing is being missed in those areas. [More info]

auth/outage/db/upgrade.php
Database modifications (new tables or columns) detected in the patch without any change to some important areas.
No changes detected to external functions, that may affect apps and other web service integrations, please verify!
No changes detected to backup and restore, that may affect storage and transportability, please verify!

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]