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

(0 errors, 44 warnings)

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

local/timemachine/classes/local/backupper.php
(#547) Line exceeds 132 characters; contains 137 characters
local/timemachine/classes/task/backup_single_course.php
(#43) Line exceeds 132 characters; contains 170 characters
local/timemachine/lang/en/local_timemachine.php
(#41) The string key "log_course_with_id" is not in the correct order, it should be before "log_courseid"
(#48) The string key "log_backup_failed_course" is not in the correct order, it should be before "log_since"
(#53) The string key "log_previous_signature" is not in the correct order, it should be before "log_title"
(#58) The string key "log_skip_delete_outside" is not in the correct order, it should be before "log_unable_resolve_storage_delete"
(#59) The string key "log_delete_failed" is not in the correct order, it should be before "log_skip_delete_outside"
(#62) The string key "log_found_courses" is not in the correct order, it should be before "log_selected_categories"
(#65) The string key "log_no_changes_skip" is not in the correct order, it should be before "log_queue_error_course"
(#68) The string key "log_queued_task" is not in the correct order, it should be before "log_recently_queued"
(#69) The string key "log_executing_backup" is not in the correct order, it should be before "log_queued_task"
(#70) The string key "log_backup_controller_destroy_failed" is not in the correct order, it should be before "log_executing_backup"
(#72) The string key "log_recorded_backup_entry" is not in the correct order, it should be before "log_saved_file"
(#75) The string key "log_ftp_skip_missing" is not in the correct order, it should be before "log_retention_deleting"
(#76) The string key "log_ftp_missing_functions" is not in the correct order, it should be before "log_ftp_skip_missing"
(#77) The string key "log_ftp_connect_failed" is not in the correct order, it should be before "log_ftp_missing_functions"
(#79) The string key "log_ftp_change_dir_failed" is not in the correct order, it should be before "log_ftp_login_failed"
(#82) The string key "log_ftp_upload_failed" is not in the correct order, it should be before "log_ftp_upload_ok"
(#88) The string key "setting_backup_activities" is not in the correct order, it should be before "stat_backups_generated"
(#131) The string key "task_enforce_retention_error" is not in the correct order, it should be before "task_error_single_course"
(#133) The string key "task_backup_courses" is not in the correct order, it should be before "task_enforce_retention_start"
(#135) The string key "task_missing_courseid" is not in the correct order, it should be before "task_send_summary"
(#137) The string key "error_backup_path_outside" is not in the correct order, it should be before "timemachine:manage"
local/timemachine/lang/it/local_timemachine.php
(#41) The string key "log_course_with_id" is not in the correct order, it should be before "log_courseid"
(#48) The string key "log_backup_failed_course" is not in the correct order, it should be before "log_since"
(#53) The string key "log_previous_signature" is not in the correct order, it should be before "log_title"
(#58) The string key "log_skip_delete_outside" is not in the correct order, it should be before "log_unable_resolve_storage_delete"
(#59) The string key "log_delete_failed" is not in the correct order, it should be before "log_skip_delete_outside"
(#62) The string key "log_found_courses" is not in the correct order, it should be before "log_selected_categories"
(#65) The string key "log_no_changes_skip" is not in the correct order, it should be before "log_queue_error_course"
(#68) The string key "log_queued_task" is not in the correct order, it should be before "log_recently_queued"
(#69) The string key "log_executing_backup" is not in the correct order, it should be before "log_queued_task"
(#70) The string key "log_backup_controller_destroy_failed" is not in the correct order, it should be before "log_executing_backup"
(#72) The string key "log_recorded_backup_entry" is not in the correct order, it should be before "log_saved_file"
(#75) The string key "log_ftp_skip_missing" is not in the correct order, it should be before "log_retention_deleting"
(#76) The string key "log_ftp_missing_functions" is not in the correct order, it should be before "log_ftp_skip_missing"
(#77) The string key "log_ftp_connect_failed" is not in the correct order, it should be before "log_ftp_missing_functions"
(#79) The string key "log_ftp_change_dir_failed" is not in the correct order, it should be before "log_ftp_login_failed"
(#82) The string key "log_ftp_upload_failed" is not in the correct order, it should be before "log_ftp_upload_ok"
(#88) The string key "setting_backup_activities" is not in the correct order, it should be before "stat_backups_generated"
(#131) The string key "task_enforce_retention_error" is not in the correct order, it should be before "task_error_single_course"
(#133) The string key "task_backup_courses" is not in the correct order, it should be before "task_enforce_retention_start"
(#135) The string key "task_missing_courseid" is not in the correct order, it should be before "task_send_summary"
(#137) The string key "error_backup_path_outside" is not in the correct order, it should be before "timemachine:manage"

Javascript coding style problems

(0 errors, 1 warnings)

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

local/timemachine/amd/src/index.js
(#64) Unexpected confirm. (no-alert)

CSS problems

(117 errors, 1 warnings)

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

local/timemachine/styles.css
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#3) Expected newline before "}" (block-closing-brace-newline-before)
(#4) Expected newline before "}" (block-closing-brace-newline-before)
(#5) Expected newline before "}" (block-closing-brace-newline-before)
(#6) Expected newline before "}" (block-closing-brace-newline-before)
(#7) Expected newline before "}" (block-closing-brace-newline-before)
(#8) Expected newline before "}" (block-closing-brace-newline-before)
(#9) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#11) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#6) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#7) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#8) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#9) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#10) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#11) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#2) Expected newline after "{" (block-opening-brace-newline-after)
(#3) Expected newline after "{" (block-opening-brace-newline-after)
(#4) Expected newline after "{" (block-opening-brace-newline-after)
(#5) Expected newline after "{" (block-opening-brace-newline-after)
(#6) Expected newline after "{" (block-opening-brace-newline-after)
(#7) Expected newline after "{" (block-opening-brace-newline-after)
(#8) Expected newline after "{" (block-opening-brace-newline-after)
(#9) Expected newline after "{" (block-opening-brace-newline-after)
(#10) Expected newline after "{" (block-opening-brace-newline-after)
(#11) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#6) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#8) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#9) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#10) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#11) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected single space before "{" (block-opening-brace-space-before)
(#2) Expected single space before "{" (block-opening-brace-space-before)
(#3) Expected single space before "{" (block-opening-brace-space-before)
(#4) Expected single space before "{" (block-opening-brace-space-before)
(#5) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected single space before "{" (block-opening-brace-space-before)
(#7) Expected single space before "{" (block-opening-brace-space-before)
(#8) Expected single space before "{" (block-opening-brace-space-before)
(#9) Expected single space before "{" (block-opening-brace-space-before)
(#10) Expected single space before "{" (block-opening-brace-space-before)
(#11) Expected single space before "{" (block-opening-brace-space-before)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#5) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#6) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#7) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#7) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#7) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#7) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#7) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#8) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#8) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#8) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#9) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#9) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#10) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#1) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#5) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#6) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#7) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#8) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#9) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#10) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#2) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#3) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#4) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#5) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#6) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#7) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#8) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#9) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#10) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#11) Expected a trailing semicolon (declaration-block-trailing-semicolon)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)
(#7) Expected single space after "," in a single-line function (function-comma-space-after)
(#7) Expected line length to be no more than 132 characters (max-line-length)

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

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