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

(27 errors, 1 warnings)

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

lib/editor/tinymce/plugins/helixmedia/icon.php
(#2) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Inline doc block comments are not allowed; use "// Comment." instead
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Variable "custom_path" must not contain underscores.
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#7) Expected "if (...) {\n"; found "if (...)\n{\n"
(#7) Variable "custom_path" must not contain underscores.
(#9) Line indented incorrectly; expected at least 4 spaces, found 1
(#11) Expected "} else {\n"; found "}\nelse\n{\n"
(#13) Line indented incorrectly; expected at least 4 spaces, found 1
lib/editor/tinymce/plugins/helixmedia/lang/en/tinymce_helixmedia.php
(#2) The opening <?php tag must be followed by exactly one newline.
lib/editor/tinymce/plugins/helixmedia/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#20) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#23) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#26) Inline control structures are not allowed
lib/editor/tinymce/plugins/helixmedia/version.php
(#2) The opening <?php tag must be followed by exactly one newline.

Javascript coding style problems

(37 errors, 28 warnings)

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

lib/editor/tinymce/plugins/helixmedia/tinymce/editor_plugin.js
(#12) Unexpected tab character. (no-tabs)
(#12) 'tinymce' is not defined. (no-undef)
(#13) Unexpected tab character. (no-tabs)
(#13) Extra space after key 'init'. (key-spacing)
(#14) Unexpected tab character. (no-tabs)
(#15) Unexpected tab character. (no-tabs)
(#16) Unexpected tab character. (no-tabs)
(#17) Unexpected tab character. (no-tabs)
(#17) Expected { after 'if' condition. (curly)
(#18) Unexpected tab character. (no-tabs)
(#23) Expected space(s) after "if". (keyword-spacing)
(#23) There should be no spaces inside this paren. (space-in-parens)
(#36) Infix operators must be spaced. (space-infix-ops)
(#37) Infix operators must be spaced. (space-infix-ops)
(#39) Infix operators must be spaced. (space-infix-ops)
(#40) Infix operators must be spaced. (space-infix-ops)
(#43) Unexpected tab character. (no-tabs)
(#44) Unexpected tab character. (no-tabs)
(#44) Extra space after key 'file'. (key-spacing)
(#45) Unexpected tab character. (no-tabs)
(#45) Extra space after key 'width'. (key-spacing)
(#46) Unexpected tab character. (no-tabs)
(#46) Extra space after key 'height'. (key-spacing)
(#47) Unexpected tab character. (no-tabs)
(#47) Extra space after key 'inline'. (key-spacing)
(#48) Unexpected tab character. (no-tabs)
(#49) Unexpected tab character. (no-tabs)
(#49) Extra space after key 'plugin_url'. (key-spacing)
(#49) Identifier 'plugin_url' is not in camel case. (camelcase)
(#50) Unexpected tab character. (no-tabs)
(#51) Unexpected tab character. (no-tabs)
(#53) Infix operators must be spaced. (space-infix-ops)
(#54) Infix operators must be spaced. (space-infix-ops)
(#54) Infix operators must be spaced. (space-infix-ops)
(#55) A space is required after ','. (comma-spacing)
(#55) A space is required after ','. (comma-spacing)
(#57) Infix operators must be spaced. (space-infix-ops)
(#57) Trailing spaces not allowed. (no-trailing-spaces)
(#59) Unexpected tab character. (no-tabs)
(#60) Unexpected tab character. (no-tabs)
(#61) Unexpected tab character. (no-tabs)
(#61) Extra space after key 'title'. (key-spacing)
(#62) Unexpected tab character. (no-tabs)
(#62) Extra space after key 'cmd'. (key-spacing)
(#63) Extra space after key 'image'. (key-spacing)
(#64) Unexpected tab character. (no-tabs)
(#65) Unexpected tab character. (no-tabs)
(#67) Unexpected tab character. (no-tabs)
(#67) Extra space after key 'getInfo'. (key-spacing)
(#68) Unexpected tab character. (no-tabs)
(#69) Unexpected tab character. (no-tabs)
(#69) Extra space after key 'longname'. (key-spacing)
(#70) Unexpected tab character. (no-tabs)
(#70) Extra space after key 'author'. (key-spacing)
(#71) Unexpected tab character. (no-tabs)
(#71) Extra space after key 'authorurl'. (key-spacing)
(#72) Extra space after key 'infourl'. (key-spacing)
(#73) Extra space after key 'version'. (key-spacing)
(#74) Unexpected tab character. (no-tabs)
(#75) Unexpected tab character. (no-tabs)
(#76) Unexpected tab character. (no-tabs)
(#78) Unexpected tab character. (no-tabs)
(#79) 'tinymce' is not defined. (no-undef)
(#79) Unexpected tab character. (no-tabs)
(#79) 'tinymce' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 3 warnings)

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

lib/editor/tinymce/plugins/helixmedia/icon.php
(#2) File-level phpdocs block is not found
lib/editor/tinymce/plugins/helixmedia/lang/en/tinymce_helixmedia.php
(#2) Empty line found after PHP open tag
lib/editor/tinymce/plugins/helixmedia/lib.php
(#2) Empty line found after PHP open tag
(#4) File-level phpdocs block is not found
(#14) Class tinymce_helixmedia is not documented
(#18) Function tinymce_helixmedia::update_init_params is not documented
(#30) Function tinymce_helixmedia::get_sort_order is not documented
(#14) Package is not specified for class tinymce_helixmedia. It is also not specified in file-level phpdocs
lib/editor/tinymce/plugins/helixmedia/version.php
(#2) Empty line found after PHP open tag
(#21) Package tinymce_ is not valid

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]