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

(24 errors, 60 warnings)

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

mod/labelcollapsed/backup/moodle1/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#48) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) Short array syntax must be used to define arrays
(#53) There should be a comma after the last array item in a multi-line array.
(#55) Short array syntax must be used to define arrays
(#56) There should be a comma after the last array item in a multi-line array.
(#57) There should be a comma after the last array item in a multi-line array.
(#59) There should be a comma after the last array item in a multi-line array.
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Inline comments must start with a capital letter, digit or 3-dots sequence
(#77) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Short array syntax must be used to define arrays
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#95) Short array syntax must be used to define arrays
(#96) There should be a comma after the last array item in a multi-line array.
(#97) Short array syntax must be used to define arrays
mod/labelcollapsed/backup/moodle2/backup_labelcollapsed_activity_task.class.php
(#56) The static declaration must come after the visibility declaration
mod/labelcollapsed/backup/moodle2/backup_labelcollapsed_stepslib.php
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#41) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
mod/labelcollapsed/backup/moodle2/restore_labelcollapsed_activity_task.class.php
(#54) The static declaration must come after the visibility declaration
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#66) The static declaration must come after the visibility declaration
(#67) Short array syntax must be used to define arrays
(#76) The static declaration must come after the visibility declaration
(#77) Short array syntax must be used to define arrays
(#96) The static declaration must come after the visibility declaration
(#97) Short array syntax must be used to define arrays
mod/labelcollapsed/backup/moodle2/restore_labelcollapsed_stepslib.php
(#35) Short array syntax must be used to define arrays
mod/labelcollapsed/classes/privacy/provider.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/labelcollapsed/db/access.php
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#39) There should be a comma after the last array item in a multi-line array.
mod/labelcollapsed/db/log.php
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) Short array syntax must be used to define arrays
(#33) File must end with a newline character
mod/labelcollapsed/db/upgrade.php
(#45) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#49) Whitespace found at end of line
(#52) Whitespace found at end of line
(#55) Whitespace found at end of line
(#58) Whitespace found at end of line
(#61) Whitespace found at end of line
(#64) Whitespace found at end of line
mod/labelcollapsed/index.php
(#33) Short array syntax must be used to define arrays
mod/labelcollapsed/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#75) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#147) Whitespace found at end of line
mod/labelcollapsed/locallib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#39) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#47) There should be a comma after the last array item in a multi-line array.
(#51) Short array syntax must be used to define arrays
(#51) Line exceeds 132 characters; contains 169 characters
(#51) There should be a comma after the last array item in a multi-line array.
(#59) Short array syntax must be used to define arrays
mod/labelcollapsed/mod_form.php
(#68) Short array syntax must be used to define arrays
mod/labelcollapsed/view.php
(#31) Short array syntax must be used to define arrays
(#33) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#36) Short array syntax must be used to define arrays
(#37) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#40) Short array syntax must be used to define arrays
(#41) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#45) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#47) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#49) Short array syntax must be used to define arrays
(#50) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#53) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead

Javascript coding style problems

(64 errors, 558 warnings)

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

mod/labelcollapsed/js/colourpicker/jquery.simplecolorpicker.min.js
(#1) This line has a length of 5828. Maximum allowed is 132. (max-len)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) This line has 68 statements. Maximum allowed is 2. (max-statements-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing space before value for key 'defaults'. (key-spacing)
(#1) Missing space before value for key 'defaultColor'. (key-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'borderWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'cellWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'cellHeight'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'cellBorder'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'elWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'elHeight'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'cols'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'colors'. (key-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'name'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'hex'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'iconPos'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'aniSpeed'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'lsClass'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'textCurrentColor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '*' must be spaced. (space-infix-ops)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) Operator '*' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '/' must be spaced. (space-infix-ops)
(#1) Operator '*' must be spaced. (space-infix-ops)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) Operator '*' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "switch". (keyword-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected space(s) after "case". (keyword-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "case". (keyword-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "case". (keyword-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '-' must be spaced. (space-infix-ops)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Expected space(s) before "return". (keyword-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '==' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '!=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backgroundColor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backgroundPosition'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'borderWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'width'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'height'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'color'. (key-spacing)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Operator '==' must be spaced. (space-infix-ops)
(#1) Operator '&&' must be spaced. (space-infix-ops)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '!=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backgroundColor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backgroundPosition'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'borderWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'width'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'height'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'color'. (key-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Unnecessary '.call()'. (no-useless-call)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing space before value for key 'top'. (key-spacing)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'left'. (key-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "for". (keyword-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '<' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected { after 'for' condition. (curly)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Missing space before value for key 'width'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'height'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'borderWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'backgroundColor'. (key-spacing)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Return statement should not contain assignment. (no-return-assign)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'borderWidth'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'width'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'display'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Expected space(s) after "switch". (keyword-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '&&' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "switch". (keyword-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '===' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '-' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '>' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '===' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected an assignment or function call and instead saw an expression. (no-unused-expressions)
(#1) Operator '<' must be spaced. (space-infix-ops)
(#1) Operator '&&' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Expected space(s) before "return". (keyword-spacing)
(#1) Expected space(s) after "return". (keyword-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Expected variable declaration to be on a new line. (one-var-declaration-per-line)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Missing space before value for key 'backgroundColor'. (key-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'color'. (key-spacing)
(#1) Missing space before value for key 'title'. (key-spacing)
(#1) Operator '+' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing space before value for key 'value'. (key-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) A space is required after ','. (comma-spacing)
(#1) Missing whitespace after semicolon. (semi-spacing)
(#1) Expected space(s) after "return". (keyword-spacing)
(#1) Operator '==' must be spaced. (space-infix-ops)
(#1) Operator '?' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Operator ':' must be spaced. (space-infix-ops)
(#1) Operator '==' must be spaced. (space-infix-ops)
(#1) Operator '&&' must be spaced. (space-infix-ops)
(#1) '$' is not defined. (no-undef)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Unexpected use of comma operator. (no-sequences)
(#1) A space is required after ','. (comma-spacing)
(#1) '$' is not defined. (no-undef)
(#1) Operator '=' must be spaced. (space-infix-ops)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) Requires a space after '{'. (block-spacing)
(#1) Statement inside of curly braces should be on next line. (brace-style)
(#1) Missing space before opening brace. (space-before-blocks)
(#1) A space is required after ','. (comma-spacing)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)
(#1) Requires a space before '}'. (block-spacing)
(#1) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#1) Missing semicolon. (semi)

CSS problems

(6 errors, 0 warnings)

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

mod/labelcollapsed/styles.css
(#16) Unexpected shorthand "font" after "font-weight" (declaration-block-no-shorthand-property-overrides)
(#16) Unexpected shorthand "font" after "font-family" (declaration-block-no-shorthand-property-overrides)
(#16) Unexpected shorthand "font" after "line-height" (declaration-block-no-shorthand-property-overrides)
(#28) Unexpected shorthand "font" after "font-weight" (declaration-block-no-shorthand-property-overrides)
(#28) Unexpected shorthand "font" after "font-family" (declaration-block-no-shorthand-property-overrides)
(#28) Unexpected shorthand "font" after "line-height" (declaration-block-no-shorthand-property-overrides)

PHPDocs style problems

(18 errors, 6 warnings)

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

mod/labelcollapsed/backup/moodle1/lib.php
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#63) Phpdocs for function moodle1_mod_labelcollapsed_handler::process_labelcollapsed has incomplete parameters list
(#37) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#37) Inline phpdocs tag {@link convert_path} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/labelcollapsed/backup/moodle2/backup_labelcollapsed_stepslib.php
(#32) Class backup_labelcollapsed_activity_structure_step is not documented
(#34) Function backup_labelcollapsed_activity_structure_step::define_structure is not documented
(#17) No one-line description found in phpdocs for file
mod/labelcollapsed/backup/moodle2/restore_labelcollapsed_activity_task.class.php
(#33) Class restore_labelcollapsed_activity_task is not documented
(#17) No one-line description found in phpdocs for file
(#72) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#74) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#88) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#90) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/labelcollapsed/backup/moodle2/restore_labelcollapsed_stepslib.php
(#33) Function restore_labelcollapsed_activity_structure_step::define_structure is not documented
(#42) Function restore_labelcollapsed_activity_structure_step::process_labelcollapsed is not documented
(#55) Function restore_labelcollapsed_activity_structure_step::after_execute is not documented
(#17) No one-line description found in phpdocs for file
mod/labelcollapsed/classes/privacy/provider.php
(#20) Package mod_label is not valid
mod/labelcollapsed/db/upgrade.php
(#47) Function xmldb_labelcollapsed_upgrade is not documented
mod/labelcollapsed/lib.php
(#111) There is no description in phpdocs for function labelcollapsed_supports
mod/labelcollapsed/locallib.php
(#36) Function labelcollapsed_get_html_content is not documented
mod/labelcollapsed/mod_form.php
(#35) Class mod_labelcollapsed_mod_form is not documented
(#37) Function mod_labelcollapsed_mod_form::definition is not documented

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 "stylelint:css" 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]