Prechecker results: warning


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

(0 errors, 15 warnings)

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

lib/editor/atto/plugins/yukaltura/atto_selector.php
(#57) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
lib/editor/atto/plugins/yukaltura/db/access.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
lib/editor/atto/plugins/yukaltura/lang/en/atto_yukaltura.php
(#27) Unexpected comment found. Auto-fixing will not work after this comment
(#30) The string key "form_title" is not in the correct order, it should be before "yukaltura:view"
(#32) The string key "cancel" is not in the correct order, it should be before "insert"
(#36) The string key "recorder_button_title" is not in the correct order, it should be before "uploader_button_title"
(#38) Unexpected comment found. Auto-fixing will not work after this comment
(#39) The string key "privacy:metadata" is not in the correct order, it should be before "recorder_button_title"
lib/editor/atto/plugins/yukaltura/lib.php
(#31) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
lib/editor/atto/plugins/yukaltura/version.php
(#33) Short array syntax must be used to define arrays

Javascript coding style problems

(0 errors, 23 warnings)

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

lib/editor/atto/plugins/yukaltura/amd/src/attorecorder.js
(#54) Do not nest ternary expressions. (no-nested-ternary)
(#64) Do not nest ternary expressions. (no-nested-ternary)
(#359) Unexpected alert. (no-alert)
(#396) Function 'removeVideo' has a complexity of 30. Maximum allowed is 20. (complexity)
(#605) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#637) Function 'getFileExtension' has a complexity of 29. Maximum allowed is 20. (complexity)
(#838) Unexpected alert. (no-alert)
(#848) Unexpected alert. (no-alert)
(#858) Unexpected alert. (no-alert)
(#882) Unexpected alert. (no-alert)
(#1228) Function has a complexity of 24. Maximum allowed is 20. (complexity)
lib/editor/atto/plugins/yukaltura/amd/src/attouploader.js
(#77) Do not nest ternary expressions. (no-nested-ternary)
(#87) Do not nest ternary expressions. (no-nested-ternary)
(#140) Function 'checkFileType' has a complexity of 25. Maximum allowed is 20. (complexity)
(#202) Unexpected alert. (no-alert)
(#325) Unexpected alert. (no-alert)
(#335) Unexpected alert. (no-alert)
(#345) Unexpected alert. (no-alert)
(#368) Unexpected alert. (no-alert)
(#824) Function has a complexity of 24. Maximum allowed is 20. (complexity)
lib/editor/atto/plugins/yukaltura/yui/src/button/js/button.js
(#37) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#268) Method '_doInsert' has a complexity of 23. Maximum allowed is 20. (complexity)
(#308) Blocks are nested too deeply (5). Maximum allowed is 4. (max-depth)

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]