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

(7 errors, 22 warnings)

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

admin/tool/supporter/classes/external.php
(#112) Space found before square bracket; expected "$params[" but found "$params ["
(#113) Space found before square bracket; expected "$params[" but found "$params ["
(#114) Space found before square bracket; expected "$params[" but found "$params ["
(#115) Space found before square bracket; expected "$params[" but found "$params ["
(#413) Line exceeds 132 characters; contains 165 characters
(#467) Line exceeds 132 characters; contains 137 characters
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#579) Inline comments must end in full-stops, exclamation marks, or question marks
(#637) Line exceeds 132 characters; contains 165 characters
(#742) Line exceeds 132 characters; contains 159 characters
(#745) Line exceeds 132 characters; contains 153 characters
(#837) Logical operator "or" is prohibited; use "||" instead
(#1196) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1196) Inline comments must end in full-stops, exclamation marks, or question marks
(#1196) This comment is 58% valid code; is this commented out code?
admin/tool/supporter/classes/output/course_detail.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/output/course_table.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#55) Line exceeds 132 characters; contains 145 characters
admin/tool/supporter/classes/output/create_new_course.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/output/enrolusersection.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/output/renderer.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/output/user_detail.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/output/user_table.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
admin/tool/supporter/classes/privacy/provider.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) File must end with a newline character
admin/tool/supporter/db/services.php
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
admin/tool/supporter/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) File must end with a newline character
admin/tool/supporter/settings.php
(#138) File must end with a newline character

Javascript coding style problems

(16 errors, 5 warnings)

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

admin/tool/supporter/Gruntfile.js
(#1) Missing JSDoc @param "grunt" declaration. (jsdoc/require-param)
(#1) Missing JSDoc for parameter 'grunt'. (valid-jsdoc)
(#5) @package should be empty. (jsdoc/empty-tags)
(#10) 'module' is not defined. (no-undef)
(#14) '__dirname' is not defined. (no-undef)
(#15) 'process' is not defined. (no-undef)
(#18) 'moodleroot' is assigned a value but never used. (no-unused-vars)
(#21) 'process' is not defined. (no-undef)
(#31) Identifier 'dynamic_mappings' is not in camel case. (camelcase)
admin/tool/supporter/amd/src/create_new_course.js
(#20) @package should be empty. (jsdoc/empty-tags)
(#87) Extra space after key 'startdate'. (key-spacing)
(#152) Extra space after key 'startdate'. (key-spacing)
admin/tool/supporter/amd/src/datatables.js
(#21) @package should be empty. (jsdoc/empty-tags)
(#43) Missing JSDoc @param "tableID" declaration. (jsdoc/require-param)
(#43) Missing JSDoc @param "filterSelector" declaration. (jsdoc/require-param)
(#45) Expected @param names to be "tableID, filterSelector". Got "tableID:, filterSelector:". (jsdoc/check-param-names)
admin/tool/supporter/amd/src/enrol.js
(#20) @package should be empty. (jsdoc/empty-tags)
admin/tool/supporter/amd/src/load_information.js
(#66) Parsing error: Unexpected reserved word 'public'. (66:8)
admin/tool/supporter/amd/src/table_filter.js
(#23) @package should be empty. (jsdoc/empty-tags)
(#40) Unnecessary escape character: \/. (no-useless-escape)
admin/tool/supporter/amd/src/table_sort.js
(#20) @package should be empty. (jsdoc/empty-tags)

CSS problems

(1 errors, 0 warnings)

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

admin/tool/supporter/style/styles.css
(#19) Unexpected !important (declaration-no-important)

PHPDocs style problems

(2 errors, 0 warnings)

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

admin/tool/supporter/classes/external.php
(#1165) Phpdocs for function external::duplicate_course has incomplete parameters list
admin/tool/supporter/classes/privacy/provider.php
(#28) Class provider 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

(1 errors, 1 warnings)

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

Problems running grunt
Task "eslint:amd" 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]


Gherkin .feature problems

(0 errors, 0 warnings)

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