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

(8 errors, 9 warnings)

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

lib/editor/tinymce/plugins/html_components/custom_component_form.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#41) Line exceeds 132 characters; contains 143 characters
(#43) Line exceeds 132 characters; contains 137 characters
(#55) Line exceeds 132 characters; contains 156 characters
(#56) Line exceeds 132 characters; contains 151 characters
lib/editor/tinymce/plugins/html_components/custom_components.php
(#43) Commas (,) must be followed by white space.
(#44) Line exceeds 132 characters; contains 163 characters
(#51) Expected "try {\n...} catch (...) {\n"; found "try {\n...}\n catch (...) {\n"
(#71) Line exceeds 132 characters; contains 153 characters
(#75) Line exceeds 132 characters; contains 161 characters
(#85) File must end with a newline character
lib/editor/tinymce/plugins/html_components/dialog.php
(#373) File must end with a newline character
lib/editor/tinymce/plugins/html_components/edit_custom_component.php
(#48) Line exceeds 132 characters; contains 173 characters
(#49) Line exceeds maximum limit of 180 characters; contains 197 characters
(#55) Line exceeds 132 characters; contains 173 characters
(#92) File must end with a newline character
lib/editor/tinymce/plugins/html_components/lib.php
(#88) Line exceeds maximum limit of 180 characters; contains 191 characters

Javascript coding style problems

(7 errors, 15 warnings)

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

lib/editor/tinymce/plugins/html_components/tinymce/editor_plugin.js
(#4) 'tinymce' is not defined. (no-undef)
(#6) 'tinymce' is not defined. (no-undef)
(#15) Extra space after key 'init'. (key-spacing)
(#19) 'lang' is not defined. (no-undef)
(#21) Extra space after key 'file'. (key-spacing)
(#21) 'lang' is not defined. (no-undef)
(#22) Extra space after key 'width'. (key-spacing)
(#23) Extra space after key 'height'. (key-spacing)
(#24) Extra space after key 'inline'. (key-spacing)
(#26) Extra space after key 'plugin_url'. (key-spacing)
(#26) Identifier 'plugin_url' is not in camel case. (camelcase)
(#32) Extra space after key 'title'. (key-spacing)
(#33) Extra space after key 'cmd'. (key-spacing)
(#34) Extra space after key 'image'. (key-spacing)
(#50) Extra space after key 'getInfo'. (key-spacing)
(#52) Extra space after key 'longname'. (key-spacing)
(#53) Extra space after key 'authorurl'. (key-spacing)
(#54) Extra space after key 'infourl'. (key-spacing)
(#55) Extra space after key 'version'. (key-spacing)
(#61) 'tinymce' is not defined. (no-undef)
(#61) 'tinymce' is not defined. (no-undef)
lib/editor/tinymce/plugins/html_components/tinymce/js/dialog.js
(#96) Parsing error: Unexpected token >

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(10 errors, 0 warnings)

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

lib/editor/tinymce/plugins/html_components/custom_component_form.php
(#37) Function custom_component_form::definition is not documented
(#71) Function custom_component_form::validation is not documented
lib/editor/tinymce/plugins/html_components/db/install.php
(#28) Function xmldb_tinymce_html_components_install is not documented
lib/editor/tinymce/plugins/html_components/db/upgrade.php
(#28) Function xmldb_tinymce_html_components_upgrade is not documented
lib/editor/tinymce/plugins/html_components/lang/en/tinymce_html_components.php
(#17) No one-line description found in phpdocs for file
lib/editor/tinymce/plugins/html_components/lang/es/tinymce_html_components.php
(#17) No one-line description found in phpdocs for file
lib/editor/tinymce/plugins/html_components/lang/fr/tinymce_html_components.php
(#17) No one-line description found in phpdocs for file
lib/editor/tinymce/plugins/html_components/lib.php
(#31) Function tinymce_html_components::update_init_params is not documented
(#42) Phpdocs for function tinymce_html_components::get_types_background has incomplete parameters list
(#66) Phpdocs for function tinymce_html_components::get_available_components has incomplete parameters list

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]