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

(18 errors, 114 warnings)

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

blocks/objectives/backup/moodle2/backup_objectives_block_task.class.php
(#55) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
blocks/objectives/backup/moodle2/backup_objectives_stepslib.php
(#41) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#49) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
blocks/objectives/backup/moodle2/restore_objectives_block_task.class.php
(#54) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
blocks/objectives/backup/moodle2/restore_objectives_stepslib.php
(#40) Short array syntax must be used to define arrays
blocks/objectives/block_objectives.php
(#43) Short array syntax must be used to define arrays
blocks/objectives/classes/event/objective_updated.php
(#76) Short array syntax must be used to define arrays
(#78) There should be a comma after the last array item in a multi-line array.
blocks/objectives/classes/objectives.php
(#56) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#257) Short array syntax must be used to define arrays
(#304) Short array syntax must be used to define arrays
(#309) Short array syntax must be used to define arrays
(#329) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#378) Short array syntax must be used to define arrays
(#386) Short array syntax must be used to define arrays
(#387) Short array syntax must be used to define arrays
(#388) Short array syntax must be used to define arrays
(#388) There should be a comma after the last array item in a multi-line array.
(#391) Short array syntax must be used to define arrays
(#477) There should be a comma after the last array item in a multi-line array.
(#495) Short array syntax must be used to define arrays
(#498) Short array syntax must be used to define arrays
(#514) Short array syntax must be used to define arrays
(#517) Short array syntax must be used to define arrays
(#532) Short array syntax must be used to define arrays
(#540) Short array syntax must be used to define arrays
(#541) Short array syntax must be used to define arrays
(#542) Short array syntax must be used to define arrays
(#553) Short array syntax must be used to define arrays
(#561) Short array syntax must be used to define arrays
(#567) Short array syntax must be used to define arrays
(#570) Short array syntax must be used to define arrays
(#580) Short array syntax must be used to define arrays
(#581) Short array syntax must be used to define arrays
(#662) Short array syntax must be used to define arrays
(#685) Short array syntax must be used to define arrays
(#716) Short array syntax must be used to define arrays
(#717) Short array syntax must be used to define arrays
(#718) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#724) Short array syntax must be used to define arrays
(#727) Short array syntax must be used to define arrays
(#750) Short array syntax must be used to define arrays
(#778) Short array syntax must be used to define arrays
(#779) There should be a comma after the last array item in a multi-line array.
(#809) Short array syntax must be used to define arrays
(#821) Short array syntax must be used to define arrays
(#822) Short array syntax must be used to define arrays
(#822) Short array syntax must be used to define arrays
(#822) Short array syntax must be used to define arrays
(#823) Short array syntax must be used to define arrays
(#823) Short array syntax must be used to define arrays
(#823) Short array syntax must be used to define arrays
(#824) Short array syntax must be used to define arrays
(#824) There should be a comma after the last array item in a multi-line array.
(#826) Short array syntax must be used to define arrays
(#827) Short array syntax must be used to define arrays
(#851) Short array syntax must be used to define arrays
(#852) Short array syntax must be used to define arrays
(#853) Short array syntax must be used to define arrays
(#880) Short array syntax must be used to define arrays
(#881) There should be a comma after the last array item in a multi-line array.
blocks/objectives/classes/objectives_form.php
(#48) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
blocks/objectives/classes/timetable_form.php
(#49) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#93) Short array syntax must be used to define arrays
(#107) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
blocks/objectives/db/access.php
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#41) Short array syntax must be used to define arrays
(#45) Short array syntax must be used to define arrays
(#48) There should be a comma after the last array item in a multi-line array.
(#49) There should be a comma after the last array item in a multi-line array.
(#53) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#61) There should be a comma after the last array item in a multi-line array.
(#65) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#73) There should be a comma after the last array item in a multi-line array.
(#74) There should be a comma after the last array item in a multi-line array.
(#77) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#90) There should be a comma after the last array item in a multi-line array.
(#93) There should be a comma after the last array item in a multi-line array.
blocks/objectives/db/upgrade.php
(#53) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
blocks/objectives/edit.php
(#32) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
blocks/objectives/edit_form.php
(#37) Short array syntax must be used to define arrays
blocks/objectives/tests/behat/behat_block_objectives.php
(#64) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) There should be a comma after the last array item in a multi-line array.
(#74) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#100) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#120) Short array syntax must be used to define arrays
(#153) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#181) Short array syntax must be used to define arrays
(#182) Short array syntax must be used to define arrays
(#195) Short array syntax must be used to define arrays
(#207) Short array syntax must be used to define arrays
blocks/objectives/view.php
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays

Javascript coding style problems

(3 errors, 15 warnings)

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

blocks/objectives/objectives.js
(#16) Identifier 'block_objectives' is not in camel case. (camelcase)
(#18) Identifier 'show_fullscreen' is not in camel case. (camelcase)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Identifier 'init_fullscreen' is not in camel case. (camelcase)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#25) This line has a length of 133. Maximum allowed is 132. (max-len)
(#28) Operator '>' must be spaced. (space-infix-ops)
(#32) 'YAHOO' is not defined. (no-undef)
(#42) 'YAHOO' is not defined. (no-undef)
blocks/objectives/objectives24.js
(#16) Expected space or tab after '/*' in comment. (spaced-comment)
(#16) 'M' is already defined as a built-in global variable. (no-redeclare)
(#17) Expected space or tab after '/*' in comment. (spaced-comment)
(#17) 'document' is already defined as a built-in global variable. (no-redeclare)
(#18) Identifier 'block_objectives' is not in camel case. (camelcase)
(#20) Identifier 'show_fullscreen' is not in camel case. (camelcase)
(#25) Identifier 'init_fullscreen' is not in camel case. (camelcase)
(#30) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#37) Operator '>' must be spaced. (space-infix-ops)

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]