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

(29 errors, 6 warnings)

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

local/culactivity_stream/classes/task/messaging_cleanup_task.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion
local/culactivity_stream/classes/task/process_queue.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#45) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#48) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#49) Expected "try {\n...} catch (...) {\n"; found "try{\n...} catch(...) {\n"
(#51) Empty CATCH statement detected
(#61) Whitespace found at end of line
local/culactivity_stream/db/events.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/culactivity_stream/db/install.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
local/culactivity_stream/db/messages.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
local/culactivity_stream/db/upgrade.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
local/culactivity_stream/settings.php
(#28) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected at least 4 spaces, found 1
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 4 spaces, found 1
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Commas (,) must be followed by white space.
(#32) Expected 1 space before "=>"; 0 found
(#32) Expected 1 space after "=>"; 0 found
(#32) Line exceeds maximum limit of 180 characters; contains 299 characters
(#33) Line exceeds maximum limit of 180 characters; contains 275 characters
(#34) Whitespace found at end of line

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(16 errors, 0 warnings)

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

local/culactivity_stream/classes/observer.php
(#29) Class local_culactivity_stream_observer does not have @copyright tag
(#29) Class local_culactivity_stream_observer does not have @license tag
(#20) Package local is not valid
local/culactivity_stream/classes/task/messaging_cleanup_task.php
(#32) Class messaging_cleanup_task does not have @copyright tag
(#32) Class messaging_cleanup_task does not have @license tag
local/culactivity_stream/classes/task/process_queue.php
(#32) Class process_queue is not documented
(#34) Function process_queue::get_name is not documented
(#39) Function process_queue::execute is not documented
local/culactivity_stream/db/events.php
(#20) Package local is not valid
local/culactivity_stream/db/install.php
(#27) Function xmldb_local_culactivity_stream_install is not documented
(#20) Package local is not valid
local/culactivity_stream/db/messages.php
(#20) Package local is not valid
local/culactivity_stream/db/uninstall.php
(#20) Package local is not valid
local/culactivity_stream/db/upgrade.php
(#20) Package local is not valid
local/culactivity_stream/lang/en/local_culactivity_stream.php
(#20) Package local is not valid
local/culactivity_stream/version.php
(#20) Package local is not valid

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]