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

(1 errors, 30 warnings)

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

availability/condition/paypal/view.php
(#36) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 133 characters
(#169) Line indented incorrectly; expected at least 8 spaces, found 0

Javascript coding style problems

(0 errors, 14 warnings)

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

availability/condition/paypal/yui/src/form/js/form.js
(#6) Identifier 'availability_paypal' is not in camel case. (camelcase)
(#25) Identifier 'selected_string' is not in camel case. (camelcase)
(#26) Identifier 'currencies_options' is not in camel case. (camelcase)
(#29) Identifier 'selected_string' is not in camel case. (camelcase)
(#31) Identifier 'selected_string' is not in camel case. (camelcase)
(#33) Identifier 'currencies_options' is not in camel case. (camelcase)
(#33) Identifier 'selected_string' is not in camel case. (camelcase)
(#34) Identifier 'currencies_options' is not in camel case. (camelcase)
(#35) Identifier 'currencies_options' is not in camel case. (camelcase)
(#44) Identifier 'currencies_options' is not in camel case. (camelcase)
(#112) Missing JSDoc for parameter 'field'. (valid-jsdoc)
(#112) Missing JSDoc for parameter 'node'. (valid-jsdoc)
(#140) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#140) There should be no space before this paren. (space-in-parens)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

availability/condition/paypal/classes/transactions_table.php
(#121) Function transactions_table::col_payment_status is not documented
(#28) Variable transactions_table::$coursenames is not documented
availability/condition/paypal/lib.php
(#27) Function availability_paypal_find_condition is not documented

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]