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

(83 errors, 10 warnings)

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

local/moodleappbehat/classes/privacy/provider.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#23) Missing @copyright tag
(#23) Missing @license tag
(#23) Missing docblock for class provider
(#26) Invalid docblock tag "@inheritdoc".
(#28) No one-line description found in phpdocs for docblock of function get_reason
(#28) There must not be a space before the colon in a return type declaration
local/moodleappbehat/lang/en/local_moodleappbehat.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file local_moodleappbehat.php
(#1) Moodle boilerplate not found
local/moodleappbehat/tests/behat/behat_app.php
(#31) Incorrect @package tag for class behat_app. Expected local_moodleappbehat, found core.
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#56) No one-line description found in phpdocs for docblock of function before_scenario
(#68) Line exceeds 132 characters; contains 163 characters
(#74) No one-line description found in phpdocs for docblock of function after_step
(#155) No one-line description found in phpdocs for docblock of function i_wait_the_app_to_restart
(#165) No one-line description found in phpdocs for docblock of function i_log_out_in_app
(#266) Variable "hasLocator" must be all lower-case
(#267) Variable "hasLocator" must be all lower-case
(#271) Variable "hasLocator" must be all lower-case
(#286) Variable "windowNames" must be all lower-case
(#288) Variable "windowNames" must be all lower-case
(#294) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#454) Line exceeds 132 characters; contains 139 characters
(#735) Variable "startTime" must be all lower-case
(#764) Variable "startTime" must be all lower-case
(#836) Line exceeds 132 characters; contains 136 characters
(#912) Space found before object operator
(#992) Variable "windowNames" must be all lower-case
(#993) Variable "windowNames" must be all lower-case
(#1005) Variable "windowNames" must be all lower-case
(#1008) Variable "windowNames" must be all lower-case
(#1043) Inline comments must end in full-stops, exclamation marks, or question marks
(#1073) Line exceeds 132 characters; contains 138 characters
(#1080) Line exceeds 132 characters; contains 137 characters
(#1084) Line exceeds 132 characters; contains 142 characters
(#1099) Variable "windowNames" must be all lower-case
(#1100) Variable "windowNames" must be all lower-case
(#1101) Variable "windowNames" must be all lower-case
(#1103) Variable "windowNames" must be all lower-case
(#1112) Variable "windowNames" must be all lower-case
(#1113) Variable "windowNames" must be all lower-case
(#1114) Variable "windowNames" must be all lower-case
(#1204) Variable "windowNames" must be all lower-case
(#1205) Variable "windowNames" must be all lower-case
(#1248) Line exceeds 132 characters; contains 144 characters
(#1254) Line exceeds 132 characters; contains 139 characters
local/moodleappbehat/tests/behat/behat_app_helper.php
(#1) Missing docblock for file behat_app_helper.php
(#29) DocBlock missing a @package tag for interface behat_app_listener. Expected @package local_moodleappbehat
(#34) Visibility must be declared on method "on_app_load"
(#39) Visibility must be declared on method "on_app_unload"
(#46) Incorrect @package tag for class behat_app_helper. Expected local_moodleappbehat, found core.
(#85) There must not be a space before the colon in a return type declaration
(#390) Variable "successXPath" must be all lower-case
(#405) Variable "token_params" must not contain underscores.
(#409) Variable "token_params" must not contain underscores.
(#413) Variable "token_params" must not contain underscores.
(#414) Variable "token_params" must not contain underscores.
(#428) Variable "successXPath" must be all lower-case
(#433) Variable "successXPath" must be all lower-case
(#443) Variable "successXPath" must be all lower-case
(#451) Variable "successXPath" must be all lower-case
(#462) Variable "parsed_url" must not contain underscores.
(#465) Variable "parsed_url" must not contain underscores.
(#469) Variable "parsed_url" must not contain underscores.
(#470) Variable "parsed_url" must not contain underscores.
(#470) Variable "parsed_url" must not contain underscores.
(#471) Variable "parsed_url" must not contain underscores.
(#499) Variable "successXPath" must be all lower-case
(#505) Variable "successXPath" must be all lower-case
(#508) Variable "successXPath" must be all lower-case
(#509) Variable "successXPath" must be all lower-case
(#748) Variable "detected_parts" must not contain underscores.
(#749) Variable "detected_parts" must not contain underscores.
(#750) Variable "detected_parts" must not contain underscores.
(#843) Variable "activeWindowName" must be all lower-case
(#845) Variable "windowNames" must be all lower-case
(#846) Variable "windowName" must be all lower-case
(#847) Variable "windowName" must be all lower-case
(#848) Variable "windowUrl" must be all lower-case
(#849) Variable "windowUrl" must be all lower-case
(#850) Variable "windowNames" must be all lower-case
(#850) Variable "windowName" must be all lower-case
(#854) Variable "activeWindowName" must be all lower-case
(#856) Variable "windowNames" must be all lower-case
local/moodleappbehat/version.php
(#1) DocBlock missing a @package tag for file version.php. Expected @package local_moodleappbehat
(#1) Moodle boilerplate not found
(#3) Missing @copyright tag
(#3) Missing @license tag

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

(16 errors, 0 warnings)

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

local/moodleappbehat/tests/behat/behat_app.php
(#53) Phpdocs for function behat_app::before_scenario has incomplete parameters list
(#71) Phpdocs for function behat_app::after_step has incomplete parameters list
(#99) Phpdocs for function behat_app::i_enter_the_app has incomplete parameters list
(#390) Phpdocs for function behat_app::i_entered_the_course_in_the_app has incomplete parameters list
(#414) Phpdocs for function behat_app::i_enter_the_course_in_the_app has incomplete parameters list
(#448) Phpdocs for function behat_app::i_enter_the_activity_in_the_app has incomplete parameters list
(#496) Phpdocs for function behat_app::i_go_back_x_times_in_the_app has incomplete parameters list
(#727) Phpdocs for function behat_app::i_pull_to_refresh_in_the_app has incomplete parameters list
(#987) Phpdocs for function behat_app::the_app_should_have_opened_a_browser_tab has incomplete parameters list
(#1028) Phpdocs for function behat_app::the_app_should_have_opened_url has incomplete parameters list
(#1056) Phpdocs for function behat_app::the_event_should_have_been_logged has incomplete parameters list
(#1176) Phpdocs for function behat_app::i_switch_network_connection has incomplete parameters list
(#1249) Phpdocs for function behat_app::notification_scheduled_in_the_app has incomplete parameters list
local/moodleappbehat/tests/behat/behat_app_helper.php
(#192) Phpdocs for function behat_app_helper::prepare_browser has incomplete parameters list
(#576) Phpdocs for function behat_app_helper::get_event_logs has incomplete parameters list
(#769) Phpdocs for function behat_app_helper::resize_app_window 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, 1 warnings)

This section shows problems detected in mustache templates [More info]

local/moodleappbehat/templates/mobile.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation info, line 6: Attribute “[(ngmodel)]” is not serializable as XML 1.0. (> <ion-input labelPlacement="floating" [(ngModel)]="CONTENT_OTHERDATA.answer" label="What is the answer to the Ultimate Question of Life, The Universe, and Everything?"></ion-)
(#1) HTML Validation info, line 8: Attribute “*ngif” is not serializable as XML 1.0. (item> <ion-item *ngIf="CONTENT_OTHERDATA.answer === '42'"> )
(#1) HTML Validation info, line 11: Attribute “*ngif” is not serializable as XML 1.0. (item> <ion-item *ngIf="CONTENT_OTHERDATA.answer && CONTENT_OTHERDATA.answer !== '42'"> )

Gherkin .feature problems

(0 errors, 0 warnings)

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