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

(10 errors, 22 warnings)

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

enrol/classicpay/classes/classicpay/api.php
(#42) Expected MOODLE_INTERNAL check or config.php inclusion
(#109) This comment is 50% valid code; is this commented out code?
enrol/classicpay/classes/classicpay/exception.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/classicpay/forms/cpapply.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#524) This comment is 50% valid code; is this commented out code?
enrol/classicpay/classes/classicpay/forms/cppapply.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/classicpay/forms/cppoapply.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/forms/coupon.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/forms/coupondelete.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/forms/paymentinit.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/pay/api.php
(#43) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/api/exception.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/api/getservice.php
(#43) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/api/info.php
(#43) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/api/start.php
(#43) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/exception.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/pay/helper.php
(#41) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/tables/classicpay.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/tables/coupons.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/tables/couponusage.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
enrol/classicpay/classes/task/process_orders.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
(#72) Empty CATCH statement detected
enrol/classicpay/classes/task/request_invoices.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/task/sync_cpplus.php
(#37) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/classes/transaction.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
(#265) This comment is 50% valid code; is this commented out code?
(#413) This comment is 50% valid code; is this commented out code?
enrol/classicpay/db/upgrade.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion
(#38) This comment is 43% valid code; is this commented out code?
enrol/classicpay/lib.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/renderer.php
(#39) Expected MOODLE_INTERNAL check or config.php inclusion
enrol/classicpay/xchange.php
(#29) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.

Javascript coding style problems

(1 errors, 20 warnings)

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

enrol/classicpay/js/coupon.js
(#31) Identifier 'enrol_classicpay_xhr' is not in camel case. (camelcase)
(#32) Missing JSDoc comment. (require-jsdoc)
(#32) Identifier 'enrol_classicpay_docheckcoupon' is not in camel case. (camelcase)
(#37) Identifier 'enrol_classicpay_xhr' is not in camel case. (camelcase)
(#38) Identifier 'enrol_classicpay_xhr' is not in camel case. (camelcase)
(#41) Identifier 'enrol_classicpay_xhr' is not in camel case. (camelcase)
(#45) Unexpected space before function parentheses. (space-before-function-paren)
(#55) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Requires a space after '{'. (block-spacing)
(#68) Statement inside of curly braces should be on next line. (brace-style)
(#68) Missing space before opening brace. (space-before-blocks)
(#68) Missing whitespace after semicolon. (semi-spacing)
(#68) This line has 3 statements. Maximum allowed is 2. (max-statements-per-line)
(#68) Requires a space before '}'. (block-spacing)
(#68) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
enrol/classicpay/js/openiban.js
(#31) Identifier 'enrol_classicpay_ibanxhr' is not in camel case. (camelcase)
(#35) 'e' is defined but never used. (no-unused-vars)
(#36) Identifier 'enrol_classicpay_ibanxhr' is not in camel case. (camelcase)
(#37) Identifier 'enrol_classicpay_ibanxhr' is not in camel case. (camelcase)
(#40) Identifier 'enrol_classicpay_ibanxhr' is not in camel case. (camelcase)
(#45) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(144 errors, 6 warnings)

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

enrol/classicpay/styles.css
(#66) Expected newline before "}" (block-closing-brace-newline-before)
(#69) Expected newline before "}" (block-closing-brace-newline-before)
(#71) Expected newline before "}" (block-closing-brace-newline-before)
(#73) Expected newline before "}" (block-closing-brace-newline-before)
(#75) Expected newline before "}" (block-closing-brace-newline-before)
(#77) Expected newline before "}" (block-closing-brace-newline-before)
(#79) Expected newline before "}" (block-closing-brace-newline-before)
(#81) Expected newline before "}" (block-closing-brace-newline-before)
(#83) Expected newline before "}" (block-closing-brace-newline-before)
(#85) Expected newline before "}" (block-closing-brace-newline-before)
(#87) Expected newline before "}" (block-closing-brace-newline-before)
(#92) Expected newline before "}" (block-closing-brace-newline-before)
(#94) Expected newline before "}" (block-closing-brace-newline-before)
(#97) Expected newline before "}" (block-closing-brace-newline-before)
(#100) Expected newline before "}" (block-closing-brace-newline-before)
(#103) Expected newline before "}" (block-closing-brace-newline-before)
(#106) Expected newline before "}" (block-closing-brace-newline-before)
(#108) Expected newline before "}" (block-closing-brace-newline-before)
(#110) Expected newline before "}" (block-closing-brace-newline-before)
(#112) Expected newline before "}" (block-closing-brace-newline-before)
(#114) Expected newline before "}" (block-closing-brace-newline-before)
(#116) Expected newline before "}" (block-closing-brace-newline-before)
(#118) Expected newline before "}" (block-closing-brace-newline-before)
(#120) Expected newline before "}" (block-closing-brace-newline-before)
(#122) Expected newline before "}" (block-closing-brace-newline-before)
(#124) Expected newline before "}" (block-closing-brace-newline-before)
(#126) Expected newline before "}" (block-closing-brace-newline-before)
(#128) Expected newline before "}" (block-closing-brace-newline-before)
(#130) Expected newline before "}" (block-closing-brace-newline-before)
(#132) Expected newline before "}" (block-closing-brace-newline-before)
(#134) Expected newline before "}" (block-closing-brace-newline-before)
(#66) Expected newline after "{" (block-opening-brace-newline-after)
(#69) Expected newline after "{" (block-opening-brace-newline-after)
(#71) Expected newline after "{" (block-opening-brace-newline-after)
(#73) Expected newline after "{" (block-opening-brace-newline-after)
(#75) Expected newline after "{" (block-opening-brace-newline-after)
(#77) Expected newline after "{" (block-opening-brace-newline-after)
(#79) Expected newline after "{" (block-opening-brace-newline-after)
(#81) Expected newline after "{" (block-opening-brace-newline-after)
(#83) Expected newline after "{" (block-opening-brace-newline-after)
(#85) Expected newline after "{" (block-opening-brace-newline-after)
(#87) Expected newline after "{" (block-opening-brace-newline-after)
(#92) Expected newline after "{" (block-opening-brace-newline-after)
(#94) Expected newline after "{" (block-opening-brace-newline-after)
(#97) Expected newline after "{" (block-opening-brace-newline-after)
(#100) Expected newline after "{" (block-opening-brace-newline-after)
(#103) Expected newline after "{" (block-opening-brace-newline-after)
(#106) Expected newline after "{" (block-opening-brace-newline-after)
(#108) Expected newline after "{" (block-opening-brace-newline-after)
(#110) Expected newline after "{" (block-opening-brace-newline-after)
(#112) Expected newline after "{" (block-opening-brace-newline-after)
(#114) Expected newline after "{" (block-opening-brace-newline-after)
(#116) Expected newline after "{" (block-opening-brace-newline-after)
(#118) Expected newline after "{" (block-opening-brace-newline-after)
(#120) Expected newline after "{" (block-opening-brace-newline-after)
(#122) Expected newline after "{" (block-opening-brace-newline-after)
(#124) Expected newline after "{" (block-opening-brace-newline-after)
(#126) Expected newline after "{" (block-opening-brace-newline-after)
(#128) Expected newline after "{" (block-opening-brace-newline-after)
(#130) Expected newline after "{" (block-opening-brace-newline-after)
(#132) Expected newline after "{" (block-opening-brace-newline-after)
(#134) Expected newline after "{" (block-opening-brace-newline-after)
(#69) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#66) Expected single space before "{" (block-opening-brace-space-before)
(#69) Expected single space before "{" (block-opening-brace-space-before)
(#71) Expected single space before "{" (block-opening-brace-space-before)
(#73) Expected single space before "{" (block-opening-brace-space-before)
(#75) Expected single space before "{" (block-opening-brace-space-before)
(#77) Expected single space before "{" (block-opening-brace-space-before)
(#79) Expected single space before "{" (block-opening-brace-space-before)
(#81) Expected single space before "{" (block-opening-brace-space-before)
(#83) Expected single space before "{" (block-opening-brace-space-before)
(#85) Expected single space before "{" (block-opening-brace-space-before)
(#87) Expected single space before "{" (block-opening-brace-space-before)
(#92) Expected single space before "{" (block-opening-brace-space-before)
(#94) Expected single space before "{" (block-opening-brace-space-before)
(#97) Expected single space before "{" (block-opening-brace-space-before)
(#100) Expected single space before "{" (block-opening-brace-space-before)
(#103) Expected single space before "{" (block-opening-brace-space-before)
(#106) Expected single space before "{" (block-opening-brace-space-before)
(#108) Expected single space before "{" (block-opening-brace-space-before)
(#110) Expected single space before "{" (block-opening-brace-space-before)
(#112) Expected single space before "{" (block-opening-brace-space-before)
(#114) Expected single space before "{" (block-opening-brace-space-before)
(#116) Expected single space before "{" (block-opening-brace-space-before)
(#118) Expected single space before "{" (block-opening-brace-space-before)
(#120) Expected single space before "{" (block-opening-brace-space-before)
(#122) Expected single space before "{" (block-opening-brace-space-before)
(#124) Expected single space before "{" (block-opening-brace-space-before)
(#126) Expected single space before "{" (block-opening-brace-space-before)
(#128) Expected single space before "{" (block-opening-brace-space-before)
(#130) Expected single space before "{" (block-opening-brace-space-before)
(#132) Expected single space before "{" (block-opening-brace-space-before)
(#134) Expected single space before "{" (block-opening-brace-space-before)
(#31) Expected "#880000" to be "#800" (color-hex-length)
(#34) Expected "#008800" to be "#080" (color-hex-length)
(#37) Expected "#ffdddd" to be "#fdd" (color-hex-length)
(#38) Expected "#880000" to be "#800" (color-hex-length)
(#45) Expected "#ddddff" to be "#ddf" (color-hex-length)
(#46) Expected "#000088" to be "#008" (color-hex-length)
(#66) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#69) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#71) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#73) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#75) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#77) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#79) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#81) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#83) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#85) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#87) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#92) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#94) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#97) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#100) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#103) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#106) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#108) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#110) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#112) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#114) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#116) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#118) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#120) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#122) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#124) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#126) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#128) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#130) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#132) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#134) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#59) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#60) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#61) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#68) Expected newline after "," (selector-list-comma-newline-after)
(#68) Expected newline after "," (selector-list-comma-newline-after)
(#89) Expected newline after "," (selector-list-comma-newline-after)
(#89) Expected newline after "," (selector-list-comma-newline-after)
(#89) Expected newline after "," (selector-list-comma-newline-after)
(#89) Expected newline after "," (selector-list-comma-newline-after)
(#89) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#90) Expected newline after "," (selector-list-comma-newline-after)
(#91) Expected newline after "," (selector-list-comma-newline-after)
(#91) Expected newline after "," (selector-list-comma-newline-after)
(#91) Expected newline after "," (selector-list-comma-newline-after)
(#91) Expected newline after "," (selector-list-comma-newline-after)

PHPDocs style problems

(0 errors, 0 warnings)

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


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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]