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

(25 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.
(#22) 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

(5 errors, 44 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) 'tinymce' is not defined. (no-undef)
(#13) Extra space after key 'init'. (key-spacing)
(#17) Expected { after 'if' condition. (curly)
(#23) Expected space(s) after "if". (keyword-spacing)
(#23) There should be no spaces inside this paren. (space-in-parens)
(#23) Unary word operator 'typeof' must be followed by whitespace. (space-unary-ops)
(#23) There should be no spaces inside this paren. (space-in-parens)
(#23) There should be no spaces inside this paren. (space-in-parens)
(#23) There should be no spaces inside this paren. (space-in-parens)
(#24) Expected space or tab after '//' in comment. (spaced-comment)
(#25) Infix operators must be spaced. (space-infix-ops)
(#26) Infix operators must be spaced. (space-infix-ops)
(#28) Expected space(s) after "if". (keyword-spacing)
(#28) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#28) There should be no spaces inside this paren. (space-in-parens)
(#29) There should be no spaces inside this paren. (space-in-parens)
(#29) There should be no spaces inside this paren. (space-in-parens)
(#29) There should be no spaces inside this paren. (space-in-parens)
(#30) Expected space or tab after '//' in comment. (spaced-comment)
(#31) Infix operators must be spaced. (space-infix-ops)
(#32) Infix operators must be spaced. (space-infix-ops)
(#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)
(#51) Extra space after key 'file'. (key-spacing)
(#52) Extra space after key 'width'. (key-spacing)
(#53) Extra space after key 'height'. (key-spacing)
(#54) Extra space after key 'inline'. (key-spacing)
(#56) Extra space after key 'plugin_url'. (key-spacing)
(#56) Identifier 'plugin_url' is not in camel case. (camelcase)
(#60) Infix operators must be spaced. (space-infix-ops)
(#61) Infix operators must be spaced. (space-infix-ops)
(#61) Infix operators must be spaced. (space-infix-ops)
(#62) A space is required after ','. (comma-spacing)
(#62) A space is required after ','. (comma-spacing)
(#64) Infix operators must be spaced. (space-infix-ops)
(#64) Trailing spaces not allowed. (no-trailing-spaces)
(#68) Extra space after key 'title'. (key-spacing)
(#69) Extra space after key 'cmd'. (key-spacing)
(#70) Extra space after key 'image'. (key-spacing)
(#74) Extra space after key 'getInfo'. (key-spacing)
(#76) Extra space after key 'longname'. (key-spacing)
(#77) Extra space after key 'author'. (key-spacing)
(#78) Extra space after key 'authorurl'. (key-spacing)
(#79) Extra space after key 'infourl'. (key-spacing)
(#80) Extra space after key 'version'. (key-spacing)
(#86) 'tinymce' is not defined. (no-undef)
(#86) 'tinymce' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

This section shows CSS problems detected by csslint [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
(#26) 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]