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

(1 errors, 14 warnings)

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

lib/editor/marklar/classes/privacy/provider.php
(#33) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#58) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#68) Method name "_export_user_preferences" should not be prefixed with an underscore to indicate visibility
lib/editor/marklar/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#124) Line exceeds 132 characters; contains 135 characters
(#146) Logical operator "and" is prohibited; use "&&" instead
lib/editor/marklar/tests/external_test.php
(#38) PHPUnit testcase name "editor_marklar_external_testcase" does not match file name "external_test"
(#38) PHPUnit class "editor_marklar_external_testcase" does not have any namespace. It is recommended to add it to the "editor_marklar" namespace, using more levels if needed, in order to match the code being tested
(#43) Test method test_get_preview() is missing any coverage information, own or at class level
(#62) Test method test_embeded_images_preview() is missing any coverage information, own or at class level
lib/editor/marklar/tests/privacy_provider_test.php
(#42) PHPUnit testcase name "editor_marklar_privacy_provider_testcase" does not match file name "privacy_provider_test"
(#42) PHPUnit class "editor_marklar_privacy_provider_testcase" does not have any namespace. It is recommended to add it to the "editor_marklar" namespace, using more levels if needed, in order to match the code being tested
(#47) Test method test_get_metadata() is missing any coverage information, own or at class level
(#58) Test method test_export_user_preferences_no_pref() is missing any coverage information, own or at class level
(#71) Test method test_export_user_preferences_has_pref() is missing any coverage information, own or at class level

Javascript coding style problems

(3 errors, 0 warnings)

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

lib/editor/marklar/amd/src/editor.js
(#18) @package should be empty. (jsdoc/empty-tags)
lib/editor/marklar/amd/src/filepicker.js
(#20) @package should be empty. (jsdoc/empty-tags)
lib/editor/marklar/amd/src/imagepaster.js
(#20) @package should be empty. (jsdoc/empty-tags)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(7 errors, 0 warnings)

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

lib/editor/marklar/classes/external.php
(#18) Inline phpdocs tag {@link editor_marklar_external} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#39) Inline phpdocs tag {@link self::get_preview()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#88) Inline phpdocs tag {@link self::get_preview()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
lib/editor/marklar/classes/privacy/provider.php
(#18) Inline phpdocs tag {@link editor_marklar\privacy\provider} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
lib/editor/marklar/tests/external_test.php
(#18) Inline phpdocs tag {@link editor_marklar_external_testcase} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
lib/editor/marklar/tests/privacy_provider_test.php
(#18) Inline phpdocs tag {@link editor_marklar_privacy_provider_testcase} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#37) Inline phpdocs tag {@link editor_marklar\privacy\provider} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

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]