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

(118 errors, 0 warnings)

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

local/backupftp/backup.php
(#43) Blank line found at start of control structure
(#45) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#48) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#90) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#91) Closing parenthesis of a multi-line function call must be on a line by itself
local/backupftp/classes/report/backup_view.php
(#38) Opening brace must not be followed by a blank line
local/backupftp/classes/report/restore_view.php
(#38) Opening brace must not be followed by a blank line
local/backupftp/classes/task/backup_course.php
(#38) Opening brace must not be followed by a blank line
(#75) Expected 0 spaces before closing parenthesis; newline found
(#82) Expected 0 spaces before closing parenthesis; newline found
(#125) Opening parenthesis of a multi-line function call must be the last content on the line
(#125) Only one argument is allowed per line in a multi-line function call
(#125) Only one argument is allowed per line in a multi-line function call
(#126) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Closing parenthesis of a multi-line function call must be on a line by itself
(#180) Blank line found at start of control structure
(#209) Opening parenthesis of a multi-line function call must be the last content on the line
(#210) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#210) Closing parenthesis of a multi-line function call must be on a line by itself
(#223) Opening parenthesis of a multi-line function call must be the last content on the line
(#223) Only one argument is allowed per line in a multi-line function call
(#224) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#224) Closing parenthesis of a multi-line function call must be on a line by itself
(#238) Opening parenthesis of a multi-line function call must be the last content on the line
(#238) Only one argument is allowed per line in a multi-line function call
(#239) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#239) Closing parenthesis of a multi-line function call must be on a line by itself
local/backupftp/classes/task/restore_course.php
(#75) Expected 0 spaces before closing parenthesis; newline found
(#82) Expected 0 spaces before closing parenthesis; newline found
(#158) Opening parenthesis of a multi-line function call must be the last content on the line
(#158) Only one argument is allowed per line in a multi-line function call
(#159) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#159) Closing parenthesis of a multi-line function call must be on a line by itself
(#192) Opening parenthesis of a multi-line function call must be the last content on the line
(#193) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#193) Closing parenthesis of a multi-line function call must be on a line by itself
(#195) Opening parenthesis of a multi-line function call must be the last content on the line
(#195) Only one argument is allowed per line in a multi-line function call
(#196) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#196) Closing parenthesis of a multi-line function call must be on a line by itself
(#200) Opening parenthesis of a multi-line function call must be the last content on the line
(#200) Only one argument is allowed per line in a multi-line function call
(#201) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#201) Closing parenthesis of a multi-line function call must be on a line by itself
(#203) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Only one argument is allowed per line in a multi-line function call
(#204) Only one argument is allowed per line in a multi-line function call
(#204) Only one argument is allowed per line in a multi-line function call
(#205) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#205) Closing parenthesis of a multi-line function call must be on a line by itself
local/backupftp/lib.php
(#51) Blank line found at start of control structure
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#79) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Only one argument is allowed per line in a multi-line function call
(#79) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#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) Only one argument is allowed per line in a multi-line function call
(#82) Only one argument is allowed per line in a multi-line function call
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
local/backupftp/restore.php
(#41) Blank line found at start of control structure
(#44) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#48) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#61) Blank line found at end of control structure
(#78) Opening parenthesis of a multi-line function call must be the last content on the line
(#82) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#82) Closing parenthesis of a multi-line function call must be on a line by itself
(#131) Blank line found at start of control structure
(#142) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#146) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#152) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#152) Opening parenthesis of a multi-line function call must be the last content on the line
(#157) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#157) Closing parenthesis of a multi-line function call must be on a line by itself
(#157) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#165) Opening parenthesis of a multi-line function call must be the last content on the line
(#165) Only one argument is allowed per line in a multi-line function call
(#166) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#219) Blank line found at end of control structure
(#233) Blank line found at start of control structure
(#241) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#245) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#251) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#251) Opening parenthesis of a multi-line function call must be the last content on the line
(#256) Multi-line function call not indented correctly; expected 20 spaces but found 28
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
(#256) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#264) Opening parenthesis of a multi-line function call must be the last content on the line
(#264) Only one argument is allowed per line in a multi-line function call
(#265) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#265) Closing parenthesis of a multi-line function call must be on a line by itself
(#288) Expected 1 blank line at end of file; 2 found
local/backupftp/settings.php
(#35) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Blank line found at start of control structure
(#46) Opening parenthesis of a multi-line function call must be the last content on the line
(#47) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#47) Only one argument is allowed per line in a multi-line function call
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#66) Opening parenthesis of a multi-line function call must be the last content on the line
(#67) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#67) Only one argument is allowed per line in a multi-line function call
(#67) 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 4 spaces but found 8
(#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
(#125) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#126) Only one argument is allowed per line in a multi-line function call
(#126) Closing parenthesis of a multi-line function call must be on a line by itself

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

(23 errors, 0 warnings)

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

local/backupftp/backup.php
(#82) Phpdocs for function local_backupftp_categorias has incomplete parameters list
local/backupftp/classes/report/backup_view.php
(#83) Phpdocs for function backup_view::col_courseid has incomplete parameters list
(#101) Phpdocs for function backup_view::col_logs has incomplete parameters list
(#112) Phpdocs for function backup_view::col_timecreated has incomplete parameters list
(#123) Phpdocs for function backup_view::col_timestart has incomplete parameters list
(#136) Phpdocs for function backup_view::col_timeend has incomplete parameters list
local/backupftp/classes/report/restore_view.php
(#43) Phpdocs for function restore_view::__construct has incomplete parameters list
(#83) Phpdocs for function restore_view::col_logs has incomplete parameters list
(#93) Phpdocs for function restore_view::col_timecreated has incomplete parameters list
(#104) Phpdocs for function restore_view::col_timestart has incomplete parameters list
(#115) Phpdocs for function restore_view::col_timeend has incomplete parameters list
local/backupftp/classes/server/ftp.php
(#89) Phpdocs for function ftp::format_bytes has incomplete parameters list
(#119) Phpdocs for function ftp::remove_zero has incomplete parameters list
(#136) Phpdocs for function ftp::remove_accents has incomplete parameters list
local/backupftp/classes/task/backup_course.php
(#110) Phpdocs for function backup_course::execute_backup has incomplete parameters list
(#163) Phpdocs for function backup_course::send_ftp has incomplete parameters list
local/backupftp/classes/task/restore_course.php
(#113) Phpdocs for function restore_course::execute_restore has incomplete parameters list
local/backupftp/classes/util/category.php
(#39) Phpdocs for function category::get_category has incomplete parameters list
(#76) Phpdocs for function category::get_categoryid has incomplete parameters list
local/backupftp/db/upgrade.php
(#28) Phpdocs for function xmldb_local_backupftp_upgrade has incomplete parameters list
local/backupftp/lib.php
(#69) Phpdocs for function local_backupftp_extend_navigation_course has incomplete parameters list
local/backupftp/restore.php
(#89) Phpdocs for function local_backupftp_list_filesfromftp has incomplete parameters list
(#194) Phpdocs for function local_backupftp_list_filesfromlocal has incomplete parameters list

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]