Prechecker results: error


Overview

(0 errors, 0 warnings)

This section shows the general problems detected when processing the code [More info]


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, 2 warnings)

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

filter/edusharing/classes/FilterLogic.php
(#42) There must be 1 space after the property type declaration; 2 found
filter/edusharing/classes/FilterUtilities.php
(#55) There must be 1 space after the property type declaration; 2 found
(#183) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#204) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#204) Closing parenthesis of a multi-line function call must be on a line by itself
(#207) Opening parenthesis of a multi-line function call must be the last content on the line
(#208) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#208) Expected at least 1 space before "."; 0 found
(#208) Expected at least 1 space after "."; 0 found
(#208) Expected at least 1 space before "."; 0 found
(#208) Expected at least 1 space after "."; 0 found
(#208) Only one argument is allowed per line in a multi-line function call
(#208) Closing parenthesis of a multi-line function call must be on a line by itself
(#217) Expected at least 1 space before "."; 0 found
(#217) Expected at least 1 space after "."; 0 found
(#217) Expected at least 1 space before "."; 0 found
(#217) Expected at least 1 space after "."; 0 found
filter/edusharing/classes/hook_callbacks.php
(#34) Opening brace must not be followed by a blank line
filter/edusharing/classes/text_filter.php
(#42) Opening brace must not be followed by a blank line
filter/edusharing/settings.php
(#30) Opening parenthesis of a multi-line function call must be the last content on the line
(#31) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#32) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#33) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#33) Only one argument is allowed per line in a multi-line function call
(#33) Closing parenthesis of a multi-line function call must be on a line by itself
filter/edusharing/tests/filter_utilities_test.php
(#58) Test method test_get_redirect_url_returns_return_value_of_service_method() is missing any coverage information, own or at class level
(#100) Test method test_get_html_returns_proper_html_if_all_goes_well() is missing any coverage information, own or at class level

Javascript coding style problems

(0 errors, 14 warnings)

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

filter/edusharing/amd/src/edu.js
(#79) Identifier 'encoded_node' is not in camel case. (camelcase)
(#82) Identifier 'render_url' is not in camel case. (camelcase)
(#83) Identifier 'encoded_user' is not in camel case. (camelcase)
(#84) Identifier 'service_worker_url' is not in camel case. (camelcase)
(#85) Identifier 'activate_service_worker' is not in camel case. (camelcase)
(#86) Identifier 'assets_url' is not in camel case. (camelcase)
(#87) Identifier 'resource_url' is not in camel case. (camelcase)
filter/edusharing/amd/src/eduLegacy.js
(#68) 'wrapper' declared on line 69 column 25 is used outside of binding context. (block-scoped-var)
(#69) 'wrapper' is already defined. (no-redeclare)
(#72) 'wrapper' declared on line 69 column 25 is used outside of binding context. (block-scoped-var)
(#75) 'wrapper' declared on line 69 column 25 is used outside of binding context. (block-scoped-var)
(#86) Comments should not begin with a lowercase character. (capitalized-comments)
(#90) Requires a space before '}'. (block-spacing)
(#90) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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]