Prechecker results: error


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

(269 errors, 123 warnings)

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

admin/tool/cloudmetrics/classes/admin_setting_manage_collectors.php
(#26) Opening brace must not be followed by a blank line
(#77) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#78) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#92) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#92) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
(#97) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#108) Opening parenthesis of a multi-line function call must be the last content on the line
(#109) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#109) Short array syntax must be used to define arrays
(#109) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Short array syntax must be used to define arrays
(#116) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#116) Short array syntax must be used to define arrays
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#120) Opening parenthesis of a multi-line function call must be the last content on the line
(#120) Short array syntax must be used to define arrays
(#121) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#121) Short array syntax must be used to define arrays
(#121) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#132) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#150) Short array syntax must be used to define arrays
admin/tool/cloudmetrics/classes/admin_setting_manage_metrics.php
(#30) Opening brace must not be followed by a blank line
(#78) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#78) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
(#87) Short array syntax must be used to define arrays
(#87) Line exceeds 132 characters; contains 149 characters
(#91) Short array syntax must be used to define arrays
(#91) Line exceeds 132 characters; contains 169 characters
(#92) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#98) Short array syntax must be used to define arrays
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Opening parenthesis of a multi-line function call must be the last content on the line
(#105) Only one argument is allowed per line in a multi-line function call
(#106) Multi-line function call not indented correctly; expected 12 spaces but found 20
(#106) Closing parenthesis of a multi-line function call must be on a line by itself
(#111) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Short array syntax must be used to define arrays
(#112) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#112) Short array syntax must be used to define arrays
(#112) Closing parenthesis of a multi-line function call must be on a line by itself
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#115) Short array syntax must be used to define arrays
(#116) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#116) Short array syntax must be used to define arrays
(#116) Closing parenthesis of a multi-line function call must be on a line by itself
(#145) Line exceeds 132 characters; contains 138 characters
admin/tool/cloudmetrics/classes/admin_settings_aws_region.php
(#39) Opening brace must not be followed by a blank line
(#48) Incorrect spacing between argument "$query" and equals sign; expected 1 but found 0
(#48) Incorrect spacing between default value and equals sign for argument "$query"; expected 1 but found 0
(#66) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
admin/tool/cloudmetrics/classes/aws_helper.php
(#38) Opening brace must not be followed by a blank line
(#60) Expected at least 1 space before "."; 0 found
admin/tool/cloudmetrics/classes/check/collectorcheck.php
(#32) Opening brace must not be followed by a blank line
(#42) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#42) Closing parenthesis of a multi-line function call must be on a line by itself
(#70) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Only one argument is allowed per line in a multi-line function call
(#71) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
(#75) Opening parenthesis of a multi-line function call must be the last content on the line
(#75) Only one argument is allowed per line in a multi-line function call
(#76) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
(#89) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#92) The closing brace for the class must go on the next line after the body
admin/tool/cloudmetrics/classes/check/metriccheck.php
(#33) Opening brace must not be followed by a blank line
(#73) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#73) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Opening parenthesis of a multi-line function call must be the last content on the line
(#83) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#83) Only one argument is allowed per line in a multi-line function call
(#83) Closing parenthesis of a multi-line function call must be on a line by itself
admin/tool/cloudmetrics/classes/collector/base.php
(#29) Opening brace must not be followed by a blank line
(#46) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $progress.
(#51) Opening parenthesis of a multi-line function call must be the last content on the line
(#51) Only one argument is allowed per line in a multi-line function call
(#52) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#52) Closing parenthesis of a multi-line function call must be on a line by itself
admin/tool/cloudmetrics/classes/collector/manager.php
(#30) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/collector/test_collector.php
(#29) Opening brace must not be followed by a blank line
(#47) Expected 1 blank line at end of file; 2 found
admin/tool/cloudmetrics/classes/lib.php
(#29) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/active_users_metric.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/base.php
(#27) Opening brace must not be followed by a blank line
(#222) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $finishtime.
admin/tool/cloudmetrics/classes/metric/builtin_user_base.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/daily_users_metric.php
(#29) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/manager.php
(#126) Expected 1 space after FUNCTION keyword; 0 found
admin/tool/cloudmetrics/classes/metric/metric_item.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/new_users_metric.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/online_users_metric.php
(#27) Opening brace must not be followed by a blank line
(#121) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#122) Closing parenthesis of a multi-line function call must be on a line by itself
(#140) Opening parenthesis of a multi-line function call must be the last content on the line
(#140) Only one argument is allowed per line in a multi-line function call
(#141) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#141) Closing parenthesis of a multi-line function call must be on a line by itself
(#153) Function closing brace must go on the next line following the body; found 1 blank lines before brace
admin/tool/cloudmetrics/classes/metric/test_metric.php
(#29) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/metric/yearly_active_users_metric.php
(#30) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/plugininfo/cltr.php
(#29) Opening brace must not be followed by a blank line
(#44) Short array syntax must be used to define arrays
admin/tool/cloudmetrics/classes/privacy/provider.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/classes/task/autobackfill_metrics_task.php
(#30) Opening brace must not be followed by a blank line
(#74) Expected 1 space after comma in argument list; 2 found
(#74) Expected 1 space between the comma and "$metrictype". Found: 2 spaces
(#78) Expected at least 1 space before "."; 0 found
(#78) Expected at least 1 space after "."; 0 found
(#78) Expected at least 1 space before "."; 0 found
(#78) Expected at least 1 space after "."; 0 found
admin/tool/cloudmetrics/classes/task/collect_metrics_task.php
(#40) Opening brace must not be followed by a blank line
(#118) The closing brace for the class must go on the next line after the body
admin/tool/cloudmetrics/cli/add_metrics.php
(#39) Expected at least 1 space before "."; 0 found
(#39) Expected at least 1 space after "."; 0 found
(#53) Long list syntax is not allowed
(#60) Only one argument is allowed per line in a multi-line function call
admin/tool/cloudmetrics/collector/cloudwatch/classes/collector.php
(#81) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $progress.
admin/tool/cloudmetrics/collector/cloudwatch/classes/lib.php
(#69) Long list syntax is not allowed
admin/tool/cloudmetrics/collector/cloudwatch/classes/privacy/provider.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/collector/cloudwatch/lang/en/cltr_cloudwatch.php
(#31) Unexpected comment found. Auto-fixing will not work after this comment
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#35) The string key "awsregion" is not in the correct order, it should be before "privacy:metadata"
(#48) The string key "awskey" is not in the correct order, it should be before "namespace_desc"
(#53) Unexpected comment found. Auto-fixing will not work after this comment
admin/tool/cloudmetrics/collector/cloudwatch/settings.php
(#28) Blank line found at start of control structure
(#30) Blank line found at start of control structure
(#32) Opening parenthesis of a multi-line function call must be the last content on the line
(#32) Only one argument is allowed per line in a multi-line function call
(#33) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#33) Closing parenthesis of a multi-line function call must be on a line by itself
(#36) Opening parenthesis of a multi-line function call must be the last content on the line
(#41) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#50) Only one argument is allowed per line in a multi-line function call
(#50) Closing parenthesis of a multi-line function call must be on a line by itself
(#52) Opening parenthesis of a multi-line function call must be the last content on the line
(#55) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#55) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Opening parenthesis of a multi-line function call must be the last content on the line
(#65) Opening parenthesis of a multi-line function call must be the last content on the line
(#68) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#68) Only one argument is allowed per line in a multi-line function call
(#68) Closing parenthesis of a multi-line function call must be on a line by itself
(#71) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#74) Only one argument is allowed per line in a multi-line function call
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
admin/tool/cloudmetrics/collector/cloudwatch/tests/cltr_cloudwatch_lib_test.php
(#27) Unit test cltr_cloudwatch_lib_test should be declared as final.
(#27) Opening brace must not be followed by a blank line
(#34) Test method test_namespace() is missing any coverage information, own or at class level
(#34) Test method test_namespace() is missing a return type
admin/tool/cloudmetrics/collector/cloudwatch/version.php
(#30) Expected 1 blank line at end of file; 3 found
admin/tool/cloudmetrics/collector/database/backfill.php
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#81) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Only one argument is allowed per line in a multi-line function call
(#82) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#82) Each PHP statement must be on a line by itself
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Only one argument is allowed per line in a multi-line function call
(#87) Multi-line function call not indented correctly; expected 4 spaces but found 12
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Opening parenthesis of a multi-line function call must be the last content on the line
(#98) Only one argument is allowed per line in a multi-line function call
(#99) Multi-line function call not indented correctly; expected 0 spaces but found 12
(#99) Closing parenthesis of a multi-line function call must be on a line by itself
admin/tool/cloudmetrics/collector/database/chart.php
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#70) Opening parenthesis of a multi-line function call must be the last content on the line
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
(#70) Only one argument is allowed per line in a multi-line function call
(#71) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#71) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Opening parenthesis of a multi-line function call must be the last content on the line
(#73) Only one argument is allowed per line in a multi-line function call
(#74) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#74) Closing parenthesis of a multi-line function call must be on a line by itself
(#74) Line exceeds 132 characters; contains 157 characters
(#88) Opening parenthesis of a multi-line function call must be the last content on the line
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#88) Only one argument is allowed per line in a multi-line function call
(#89) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#89) Closing parenthesis of a multi-line function call must be on a line by itself
(#281) Line exceeds 132 characters; contains 138 characters
(#286) Expected at least 1 space before "."; 0 found
(#286) Expected at least 1 space after "."; 0 found
(#289) Expected at least 1 space before "."; 0 found
(#289) Expected at least 1 space after "."; 0 found
(#303) Space after opening parenthesis of function call prohibited
(#313) Opening parenthesis of a multi-line function call must be the last content on the line
(#314) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#314) Closing parenthesis of a multi-line function call must be on a line by itself
(#322) Line exceeds 132 characters; contains 154 characters
(#324) Opening parenthesis of a multi-line function call must be the last content on the line
(#324) Only one argument is allowed per line in a multi-line function call
(#325) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#325) Closing parenthesis of a multi-line function call must be on a line by itself
admin/tool/cloudmetrics/collector/database/classes/collector.php
(#89) Long list syntax is not allowed
(#132) Long list syntax is not allowed
(#166) Implicitly marking a parameter as nullable is deprecated since PHP 8.4. Update the type to be explicitly nullable instead. Found implicitly nullable parameter: $progress.
(#166) Line exceeds 132 characters; contains 144 characters
admin/tool/cloudmetrics/collector/database/classes/privacy/provider.php
(#27) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/collector/database/classes/task/metrics_cleanup_task.php
(#29) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/collector/database/lang/en/cltr_database.php
(#29) The string key "label" is not in the correct order, it should be before "pluginname"
(#31) Unexpected comment found. Auto-fixing will not work after this comment
(#34) Unexpected comment found. Auto-fixing will not work after this comment
(#35) The string key "metric_expiry" is not in the correct order, it should be before "privacy:metadata"
(#37) The string key "metric_auto_backfill" is not in the correct order, it should be before "metric_expiry_desc"
(#39) Unexpected comment found. Auto-fixing will not work after this comment
(#41) The string key "metric_backfill" is not in the correct order, it should be before "metric_display"
(#43) The string key "select_graph_period" is not in the correct order, it should be before "select_metric_for_display"
(#44) The string key "select_graph_freq" is not in the correct order, it should be before "select_graph_period"
(#45) The string key "multiplemetrics" is not in the correct order, it should be before "select_graph_freq"
(#48) Unexpected comment found. Auto-fixing will not work after this comment
(#49) The string key "metrics_cleanup_task" is not in the correct order, it should be before "select_group"
(#50) The string key "metrics_autobackfill_task" is not in the correct order, it should be before "metrics_cleanup_task"
(#52) Unexpected comment found. Auto-fixing will not work after this comment
(#56) Unexpected comment found. Auto-fixing will not work after this comment
(#57) The string key "collector_not_supported" is not in the correct order, it should be before "strftimemonth"
(#60) Unexpected comment found. Auto-fixing will not work after this comment
(#61) The string key "maxrecords" is not in the correct order, it should be before "no_metrics_enabled"
(#63) Unexpected comment found. Auto-fixing will not work after this comment
(#64) The string key "aggregated" is not in the correct order, it should be before "maxrecords"
(#66) Unexpected comment found. Auto-fixing will not work after this comment
(#69) Unexpected comment found. Auto-fixing will not work after this comment
(#70) The string key "displaying_records" is not in the correct order, it should be before "norecords"
(#72) Unexpected comment found. Auto-fixing will not work after this comment
(#73) The string key "different_frequency" is not in the correct order, it should be before "displaying_records"
admin/tool/cloudmetrics/collector/database/tests/cltr_database_test.php
(#35) Unit test cltr_database_test should be declared as final.
(#35) Opening brace must not be followed by a blank line
(#58) Test method test_midnight() is missing a return type
(#72) Data provider method "midnight_provider" will need to be converted to static in future.
(#72) Data provider method "midnight_provider" will need to be converted to static in future.
(#94) Test method test_midnight_timestamp() is missing a return type
(#108) Test method test_collector() is missing a return type
(#162) Test method test_backfillable_metric() is missing a return type
(#229) Test method test_expiry() is missing a return type
(#277) Data provider method "expiry_provider" will need to be converted to static in future.
(#293) Test method test_period_from_interval() is missing a return type
(#304) Data provider method "period_from_interval_provider" will need to be converted to static in future.
admin/tool/cloudmetrics/collector/database/version.php
(#30) Expected 1 blank line at end of file; 2 found
admin/tool/cloudmetrics/collectors.php
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
admin/tool/cloudmetrics/lang/en/tool_cloudmetrics.php
(#30) Unexpected comment found. Auto-fixing will not work after this comment
(#33) Unexpected comment found. Auto-fixing will not work after this comment
(#37) Unexpected comment found. Auto-fixing will not work after this comment
(#38) The string key "collect_metrics_task" is not in the correct order, it should be before "subplugintype_cltr_plural"
(#40) Unexpected comment found. Auto-fixing will not work after this comment
(#43) The string key "enable_disable_collectors" is not in the correct order, it should be before "manage_metrics"
(#45) The string key "builtin_metrics_settings" is not in the correct order, it should be before "enable_disable_metrics"
(#47) The string key "activeusers_frequency" is not in the correct order, it should be before "builtin_metrics_settings"
(#62) The string key "colour" is not in the correct order, it should be before "onlineusers_time_window_desc"
(#64) The string key "change_frequency" is not in the correct order, it should be before "frequency"
(#66) The string key "backfillable" is not in the correct order, it should be before "change_frequency"
(#69) Unexpected comment found. Auto-fixing will not work after this comment
(#70) The string key "activeusers" is not in the correct order, it should be before "no_support"
(#74) The string key "newusers" is not in the correct order, it should be before "onlineusers_desc"
(#76) The string key "dailyusers" is not in the correct order, it should be before "newusers_desc"
(#81) Unexpected comment found. Auto-fixing will not work after this comment
(#82) The string key "data_empty" is not in the correct order, it should be before "yearlyactiveusers_desc"
(#91) The string key "same_freq" is not in the correct order, it should be before "view_chart"
(#93) Unexpected comment found. Auto-fixing will not work after this comment
(#94) The string key "one_minute" is not in the correct order, it should be before "same_freq"
(#95) The string key "five_minutes" is not in the correct order, it should be before "one_minute"
(#96) The string key "fifteen_minutes" is not in the correct order, it should be before "five_minutes"
(#98) The string key "one_hour" is not in the correct order, it should be before "thirty_minutes"
(#101) The string key "one_day" is not in the correct order, it should be before "twelve_hour"
(#104) The string key "one_fortnight" is not in the correct order, it should be before "two_week"
(#107) The string key "four_month" is not in the correct order, it should be before "two_month"
(#107) Unexpected comment found. Auto-fixing will not work after this comment
(#108) Unexpected comment found. Auto-fixing will not work after this comment
(#109) Unexpected comment found. Auto-fixing will not work after this comment
(#110) Unexpected comment found. Auto-fixing will not work after this comment
(#112) Unexpected comment found. Auto-fixing will not work after this comment
(#113) The string key "backfill_not_supported" is not in the correct order, it should be before "two_year"
(#117) The string key "clientnotfound" is not in the correct order, it should be before "metric_not_found"
(#120) The string key "collector_never" is not in the correct order, it should be before "collector_passed"
(#121) The string key "collector_frequency" is not in the correct order, it should be before "collector_never"
(#123) The string key "checkcollectorcheck" is not in the correct order, it should be before "no_collectors"
(#126) Unexpected comment found. Auto-fixing will not work after this comment
(#127) The string key "backfillcomplete" is not in the correct order, it should be before "managelink"
(#129) The string key "backfillgenerating" is not in the correct order, it should be before "backfillsaving"
(#131) Unexpected comment found. Auto-fixing will not work after this comment
admin/tool/cloudmetrics/metrics.php
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
admin/tool/cloudmetrics/settings.php
(#43) Opening parenthesis of a multi-line function call must be the last content on the line
(#50) Opening parenthesis of a multi-line function call must be the last content on the line
(#57) Opening parenthesis of a multi-line function call must be the last content on the line
admin/tool/cloudmetrics/tests/metric_testcase.php
(#30) Opening brace must not be followed by a blank line
(#58) Expected 1 space after FUNCTION keyword; 0 found
admin/tool/cloudmetrics/tests/tool_cloudmetrics_collect_metrics_test.php
(#42) Opening brace must not be followed by a blank line
(#59) Each class must be in a file by itself
(#59) Opening brace must not be followed by a blank line
(#95) Unit test tool_cloudmetrics_collect_metrics_test should be declared as final.
(#95) Each class must be in a file by itself
(#95) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/tests/tool_cloudmetrics_collector_base_test.php
(#33) Unit test tool_cloudmetrics_collector_base_test should be declared as final.
(#33) Opening brace must not be followed by a blank line
(#38) Test method test_basic() is missing any coverage information, own or at class level
(#38) Test method test_basic() is missing a return type
admin/tool/cloudmetrics/tests/tool_cloudmetrics_lib_test.php
(#27) Unit test tool_cloudmetrics_lib_test should be declared as final.
(#27) Expected 1 space after class name; 2 found
(#27) Expected 1 space before extends keyword; 2 found
(#27) Opening brace must not be followed by a blank line
(#35) Test method test_get_enabled_plugins() is missing any coverage information, own or at class level
(#35) Test method test_get_enabled_plugins() is missing a return type
(#58) Test method test_get_enabled_plugin_instances() is missing any coverage information, own or at class level
(#58) Test method test_get_enabled_plugin_instances() is missing a return type
(#79) Test method test_get_previous_time() is missing any coverage information, own or at class level
(#79) Test method test_get_previous_time() is missing a return type
(#93) Data provider method "data_for_get_previous_time" will need to be converted to static in future.
(#95) Expected 1 space between the comma and "metric". Found: 2 spaces
(#96) Expected 1 space between the comma and "metric". Found: 2 spaces
(#97) Expected 1 space between the comma and "metric". Found: 2 spaces
(#98) Expected 1 space between the comma and "metric". Found: 2 spaces
(#99) Expected 1 space between the comma and "metric". Found: 2 spaces
(#100) Expected 1 space between the comma and "metric". Found: 2 spaces
(#101) Expected 1 space between the comma and "metric". Found: 2 spaces
(#102) Expected 1 space between the comma and "metric". Found: 2 spaces
(#103) Expected 1 space between the comma and "metric". Found: 2 spaces
(#104) Expected 1 space between the comma and "metric". Found: 2 spaces
(#117) Test method test_get_next_time() is missing any coverage information, own or at class level
(#117) Test method test_get_next_time() is missing a return type
(#131) Data provider method "data_for_get_next_time" will need to be converted to static in future.
(#133) Expected 1 space between the comma and "metric". Found: 2 spaces
(#134) Expected 1 space between the comma and "metric". Found: 2 spaces
(#135) Expected 1 space between the comma and "metric". Found: 2 spaces
(#136) Expected 1 space between the comma and "metric". Found: 2 spaces
(#137) Expected 1 space between the comma and "metric". Found: 2 spaces
(#138) Expected 1 space between the comma and "metric". Found: 2 spaces
(#139) Expected 1 space between the comma and "metric". Found: 2 spaces
(#140) Expected 1 space between the comma and "metric". Found: 2 spaces
(#141) Expected 1 space between the comma and "metric". Found: 2 spaces
(#142) Expected 1 space between the comma and "metric". Found: 2 spaces
(#155) Test method test_get_last_whole_tick() is missing any coverage information, own or at class level
(#155) Test method test_get_last_whole_tick() is missing a return type
(#169) Data provider method "data_for_get_last_whole_tick" will need to be converted to static in future.
(#171) Expected 1 space between the comma and "metric". Found: 2 spaces
(#172) Expected 1 space between the comma and "metric". Found: 2 spaces
(#173) Expected 1 space between the comma and "metric". Found: 2 spaces
(#174) Expected 1 space between the comma and "metric". Found: 2 spaces
(#175) Expected 1 space between the comma and "metric". Found: 2 spaces
(#176) Expected 1 space between the comma and "metric". Found: 2 spaces
(#177) Expected 1 space between the comma and "metric". Found: 2 spaces
(#178) Expected 1 space between the comma and "metric". Found: 2 spaces
(#179) Expected 1 space between the comma and "metric". Found: 2 spaces
(#180) Expected 1 space between the comma and "metric". Found: 2 spaces
(#181) Expected 1 space between the comma and "metric". Found: 2 spaces
(#182) Expected 1 space between the comma and "metric". Found: 2 spaces
(#183) Expected 1 space between the comma and "metric". Found: 2 spaces
admin/tool/cloudmetrics/tests/tool_cloudmetrics_metric_manager_test.php
(#29) Unit test tool_cloudmetrics_metric_manager_test should be declared as final.
(#41) Test method test_get_metrics() is missing any coverage information, own or at class level
(#41) Test method test_get_metrics() is missing a return type
admin/tool/cloudmetrics/tests/tool_cloudmetrics_metric_stub_test.php
(#31) Unit test tool_cloudmetrics_metric_stub_test should be declared as final.
(#31) Opening brace must not be followed by a blank line
(#33) Test method test_get_stub() is missing any coverage information, own or at class level
(#33) Test method test_get_stub() is missing a return type
admin/tool/cloudmetrics/tests/tool_cloudmetrics_online_users_metric_test.php
(#28) Opening brace must not be followed by a blank line
admin/tool/cloudmetrics/tests/tool_cloudmetrics_users_test.php
(#33) Opening brace must not be followed by a blank line
(#61) Expected no space between "1" and the comma. Found: 1 space
(#62) Expected no space between "1" and the comma. Found: 1 space
(#63) Expected no space between "1" and the comma. Found: 1 space
(#64) Expected no space between "1" and the comma. Found: 1 space
(#65) Expected no space between "1" and the comma. Found: 1 space
(#66) Expected no space between "1" and the comma. Found: 1 space
(#67) Expected no space between "1" and the comma. Found: 1 space
(#68) Expected no space between "1" and the comma. Found: 1 space
(#69) Expected no space between "1" and the comma. Found: 1 space
(#70) Expected no space between "1" and the comma. Found: 1 space
(#82) Test method test_generate_metrics() is missing any coverage information, own or at class level
(#114) Test method test_generate_yearly_active_users_metric() is missing any coverage information, own or at class level
(#131) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#137) Data provider method "data_for_test_generate_metrics" will need to be converted to static in future.
(#174) Data provider method "data_for_test_generate_yearly_active_users_metric" will need to be converted to static in future.
(#179) Space found before comma in argument list
(#179) Expected no space between "366" and the comma. Found: 1 space

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

(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]