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

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

lib/editor/atto/plugins/edusharing/db/install.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
lib/editor/atto/plugins/edusharing/db/uninstall.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
lib/editor/atto/plugins/edusharing/fetch.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#49) Variable "eduSharingService" must be all lower-case
(#50) Variable "eduSharingService" must be all lower-case
(#51) Expected "} else {\n"; found "}else{\n"
lib/editor/atto/plugins/edusharing/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#85) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#92) Expected "if (...) {\n"; found "if(...) {\n"
(#97) Expected "if (...) {\n"; found "if (...){\n"
lib/editor/atto/plugins/edusharing/preview.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(5 errors, 139 warnings)

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

lib/editor/atto/plugins/edusharing/yui/src/button/js/button.js
(#87) This line has a length of 136. Maximum allowed is 132. (max-len)
(#178) 'query' used outside of binding context. (block-scoped-var)
(#180) 'query' is already defined. (no-redeclare)
(#180) 'query' used outside of binding context. (block-scoped-var)
(#183) 'query' used outside of binding context. (block-scoped-var)
(#183) 'query' used outside of binding context. (block-scoped-var)
(#186) A constructor name should not start with a lowercase letter. (new-cap)
(#190) Unexpected alert. (no-alert)
(#296) Identifier 'resource_id' is not in camel case. (camelcase)
(#296) 'resource_id' used outside of binding context. (block-scoped-var)
(#297) Identifier 'resource_id' is not in camel case. (camelcase)
(#297) 'resource_id' used outside of binding context. (block-scoped-var)
(#297) Identifier 'resource_id' is not in camel case. (camelcase)
(#297) 'resource_id' used outside of binding context. (block-scoped-var)
(#298) Identifier 'resource_id' is not in camel case. (camelcase)
(#298) 'resource_id' used outside of binding context. (block-scoped-var)
(#300) A constructor name should not start with a lowercase letter. (new-cap)
(#301) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#302) Unexpected alert. (no-alert)
(#304) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#305) Unexpected alert. (no-alert)
(#309) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)
(#329) 'resource_id' is already defined. (no-redeclare)
(#329) 'resource_id' used outside of binding context. (block-scoped-var)
(#330) 'resource_id' used outside of binding context. (block-scoped-var)
(#330) Identifier 'resource_id' is not in camel case. (camelcase)
(#331) 'node' used outside of binding context. (block-scoped-var)
(#332) Unexpected alert. (no-alert)
(#379) 'query' used outside of binding context. (block-scoped-var)
(#381) 'query' is already defined. (no-redeclare)
(#381) 'query' used outside of binding context. (block-scoped-var)
(#384) 'query' used outside of binding context. (block-scoped-var)
(#384) 'query' used outside of binding context. (block-scoped-var)
(#428) Missing JSDoc for parameter 'e'. (valid-jsdoc)
(#428) Missing JSDoc for parameter 'clickedicon'. (valid-jsdoc)
(#464) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#468) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#472) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#483) Missing JSDoc for parameter 'clickedicon'. (valid-jsdoc)
(#528) Identifier 'open_repo' is not in camel case. (camelcase)
(#553) Expected catch,fail() or return (promise/catch-or-return)
(#571) Each then() should return a value or throw (promise/always-return)
(#579) Identifier 'upload_repo' is not in camel case. (camelcase)
(#589) Expected catch,fail() or return (promise/catch-or-return)
(#607) Each then() should return a value or throw (promise/always-return)
(#625) Identifier 'edusharing_hint_check_change' is not in camel case. (camelcase)
(#626) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#654) 'style' used outside of binding context. (block-scoped-var)
(#656) 'style' used outside of binding context. (block-scoped-var)
(#659) 'style' used outside of binding context. (block-scoped-var)
(#661) 'style' used outside of binding context. (block-scoped-var)
(#663) 'url' used outside of binding context. (block-scoped-var)
(#663) 'url' used outside of binding context. (block-scoped-var)
(#663) 'url' used outside of binding context. (block-scoped-var)
(#665) 'url' used outside of binding context. (block-scoped-var)
(#665) 'url' used outside of binding context. (block-scoped-var)
(#665) 'url' used outside of binding context. (block-scoped-var)
(#666) 'url' used outside of binding context. (block-scoped-var)
(#666) 'url' used outside of binding context. (block-scoped-var)
(#666) 'url' used outside of binding context. (block-scoped-var)
(#667) 'url' used outside of binding context. (block-scoped-var)
(#667) 'url' used outside of binding context. (block-scoped-var)
(#667) 'url' used outside of binding context. (block-scoped-var)
(#669) 'url' is already defined. (no-redeclare)
(#669) 'url' used outside of binding context. (block-scoped-var)
(#669) 'url' used outside of binding context. (block-scoped-var)
(#669) 'url' used outside of binding context. (block-scoped-var)
(#670) 'url' used outside of binding context. (block-scoped-var)
(#670) 'url' used outside of binding context. (block-scoped-var)
(#670) 'url' used outside of binding context. (block-scoped-var)
(#671) 'url' used outside of binding context. (block-scoped-var)
(#671) 'url' used outside of binding context. (block-scoped-var)
(#671) 'url' used outside of binding context. (block-scoped-var)
(#672) 'url' used outside of binding context. (block-scoped-var)
(#672) 'url' used outside of binding context. (block-scoped-var)
(#672) 'url' used outside of binding context. (block-scoped-var)
(#673) 'url' used outside of binding context. (block-scoped-var)
(#673) 'url' used outside of binding context. (block-scoped-var)
(#673) 'url' used outside of binding context. (block-scoped-var)
(#677) 'url' used outside of binding context. (block-scoped-var)
(#677) 'url' used outside of binding context. (block-scoped-var)
(#677) 'url' used outside of binding context. (block-scoped-var)
(#682) 'style' is already defined. (no-redeclare)
(#682) 'style' used outside of binding context. (block-scoped-var)
(#684) 'style' used outside of binding context. (block-scoped-var)
(#687) 'style' used outside of binding context. (block-scoped-var)
(#694) 'style' used outside of binding context. (block-scoped-var)
(#698) 'url' is already defined. (no-redeclare)
(#698) 'url' used outside of binding context. (block-scoped-var)
(#698) 'url' used outside of binding context. (block-scoped-var)
(#706) 'url' is already defined. (no-redeclare)
(#706) 'url' used outside of binding context. (block-scoped-var)
(#706) 'url' used outside of binding context. (block-scoped-var)
(#707) 'url' used outside of binding context. (block-scoped-var)
(#707) 'url' used outside of binding context. (block-scoped-var)
(#708) 'url' used outside of binding context. (block-scoped-var)
(#708) 'url' used outside of binding context. (block-scoped-var)
(#709) 'url' used outside of binding context. (block-scoped-var)
(#709) 'url' used outside of binding context. (block-scoped-var)
(#710) 'url' used outside of binding context. (block-scoped-var)
(#710) 'url' used outside of binding context. (block-scoped-var)
(#711) 'url' used outside of binding context. (block-scoped-var)
(#711) 'url' used outside of binding context. (block-scoped-var)
(#712) 'url' used outside of binding context. (block-scoped-var)
(#712) 'url' used outside of binding context. (block-scoped-var)
(#715) 'url' used outside of binding context. (block-scoped-var)
(#715) 'url' used outside of binding context. (block-scoped-var)
(#717) 'url' used outside of binding context. (block-scoped-var)
(#717) 'url' used outside of binding context. (block-scoped-var)
(#730) Unexpected console statement. (no-console)
(#731) Unexpected console statement. (no-console)
(#742) Expected a 'break' statement before 'case'. (no-fallthrough)
(#747) Unexpected console statement. (no-console)
(#809) Missing JSDoc parameter type for 'int'. (valid-jsdoc)
(#809) Expected JSDoc for 'course_id' but found 'int'. (valid-jsdoc)
(#811) Identifier 'course_id' is not in camel case. (camelcase)
(#813) Identifier 'object_url' is not in camel case. (camelcase)
(#814) Identifier 'course_id' is not in camel case. (camelcase)
(#816) Identifier 'object_version' is not in camel case. (camelcase)
(#835) Identifier 'object_url' is not in camel case. (camelcase)
(#836) Identifier 'object_url' is not in camel case. (camelcase)
(#839) Identifier 'object_url' is not in camel case. (camelcase)
(#839) Identifier 'object_url' is not in camel case. (camelcase)
(#841) Identifier 'resource_id' is not in camel case. (camelcase)
(#842) Identifier 'resource_id' is not in camel case. (camelcase)
(#843) Identifier 'resource_id' is not in camel case. (camelcase)
(#846) Identifier 'object_version' is not in camel case. (camelcase)
(#847) Identifier 'object_version' is not in camel case. (camelcase)
(#848) Identifier 'object_version' is not in camel case. (camelcase)
(#848) Identifier 'object_version' is not in camel case. (camelcase)
(#854) Missing JSDoc return type. (valid-jsdoc)
(#857) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#864) Identifier 'helper_url' is not in camel case. (camelcase)
(#871) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#895) Unexpected alert. (no-alert)
(#900) 'data' used outside of binding context. (block-scoped-var)
(#901) Unexpected alert. (no-alert)
(#905) 'data' used outside of binding context. (block-scoped-var)
(#912) Unexpected alert. (no-alert)
(#921) Missing JSDoc return type. (valid-jsdoc)
(#924) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#930) Identifier 'helper_url' is not in camel case. (camelcase)
(#936) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#956) Unexpected alert. (no-alert)

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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "eslint:yui" 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]