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

(102 errors, 18 warnings)

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

theme/anomaly/config.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) 3 slashes comments are not allowed; use "// Comment." instead
(#36) 3 slashes comments are not allowed; use "// Comment." instead
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) 80 slashes comments are not allowed; use "// Comment." instead
(#40) 3 slashes comments are not allowed; use "// Comment." instead
(#41) 3 slashes comments are not allowed; use "// Comment." instead
(#42) 3 slashes comments are not allowed; use "// Comment." instead
(#43) 3 slashes comments are not allowed; use "// Comment." instead
(#44) 3 slashes comments are not allowed; use "// Comment." instead
(#45) 3 slashes comments are not allowed; use "// Comment." instead
(#46) 80 slashes comments are not allowed; use "// Comment." instead
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#112) Expected 1 space before "=>"; 0 found
(#112) Expected 1 space after "=>"; 0 found
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#120) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#124) Expected 1 space before "=>"; 0 found
(#124) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#132) Expected 1 space before "=>"; 0 found
(#132) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#138) Expected 1 space before "=>"; 0 found
(#138) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#144) Expected 1 space before "=>"; 0 found
(#144) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Expected 1 space before "=>"; 0 found
(#158) Expected 1 space after "=>"; 0 found
(#158) Line exceeds 132 characters; contains 137 characters
theme/anomaly/layout/frontpage.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#79) Line indented incorrectly; expected 8 spaces, found 4
(#82) Line indented incorrectly; expected 8 spaces, found 4
theme/anomaly/layout/general.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#82) Line indented incorrectly; expected 8 spaces, found 12
(#84) Line indented incorrectly; expected 8 spaces, found 12
(#86) Closing brace must be on a line by itself
theme/anomaly/layout/report.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#78) Line indented incorrectly; expected 8 spaces, found 12
(#80) Line indented incorrectly; expected 8 spaces, found 12
(#82) Closing brace must be on a line by itself
theme/anomaly/lib.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
theme/anomaly/renderers.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion
(#43) Visibility must be declared on method "block"
(#72) Line exceeds 132 characters; contains 151 characters
(#78) Inline doc block comments are not allowed; use "// Comment." instead
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#91) Expected 1 space before "=>"; 0 found
(#91) Expected 1 space after "=>"; 0 found
(#91) Line exceeds maximum limit of 180 characters; contains 212 characters
(#96) Expected 1 space before "=>"; 0 found
(#96) Expected 1 space after "=>"; 0 found
(#106) Inline doc block comments are not allowed; use "// Comment." instead
(#107) Expected 1 space before "=>"; 0 found
(#107) Expected 1 space after "=>"; 0 found
(#108) Expected 1 space before "=>"; 0 found
(#108) Expected 1 space after "=>"; 0 found
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#149) Inline comments must end in full-stops, exclamation marks, or question marks
(#150) Expected 1 space before "=>"; 0 found
(#150) Expected 1 space after "=>"; 0 found
(#151) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Inline comments must end in full-stops, exclamation marks, or question marks
(#174) Inline comments must end in full-stops, exclamation marks, or question marks
(#178) Inline comments must end in full-stops, exclamation marks, or question marks
(#185) Expected 1 space before "=>"; 0 found
(#185) Expected 1 space after "=>"; 0 found
(#186) Expected 1 space before "=>"; 0 found
(#186) Expected 1 space after "=>"; 0 found
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#201) Expected 1 space before "=>"; 0 found
(#201) Expected 1 space after "=>"; 0 found
(#204) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(3 errors, 2 warnings)

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

theme/anomaly/style/dock.css
(#118) margin can't be used with display: inline.
theme/anomaly/style/general.css
(#396) margin can't be used with display: inline.
theme/anomaly/style/menu.css
(#10) Duplicate property 'margin' found.
theme/anomaly/style/settings.css
(#3) Expected IDENT at line 3, col 2.
(#3) Expected IDENT at line 3, col 2.

PHPDocs style problems

(10 errors, 2 warnings)

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

theme/anomaly/config.php
(#35) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#37) Found comment starting with three or more slashes
(#40) Found comment starting with three or more slashes
(#41) Found comment starting with three or more slashes
(#42) Found comment starting with three or more slashes
(#43) Found comment starting with three or more slashes
(#44) Found comment starting with three or more slashes
(#45) Found comment starting with three or more slashes
(#46) Found comment starting with three or more slashes
theme/anomaly/renderers.php
(#128) Not recommended phpdocs tag @staticvar used
(#169) Not recommended phpdocs tag @staticvar used

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]