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

(1604 errors, 207 warnings)

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

blocks/my_external_backup_restore_courses/backup_external_courses_helper.class.php
(#20) Incorrect @package tag for file backup_external_courses_helper.class.php. Expected block_my_external_backup_restore_courses, found 2013 unistra {@link http://unistra.fr}.
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#31) Missing docblock for class backup_external_courses_helper
(#31) Opening brace must not be followed by a blank line
(#48) Missing member variable doc comment
(#49) Missing member variable doc comment
(#50) Missing member variable doc comment
(#51) Missing member variable doc comment
(#52) Missing member variable doc comment
(#52) Short array syntax must be used to define arrays
(#53) Expected no space between ""0"" and the comma. Found: 1 space
(#54) Expected no space between ""2"" and the comma. Found: 1 space
(#56) Expected no space between ""1"" and the comma. Found: 1 space
(#64) Missing member variable doc comment
(#64) Short array syntax must be used to define arrays
(#80) There should be a comma after the last array item in a multi-line array.
(#87) Docblock tag "@global" is not recommended.
(#89) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#89) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#93) Expected at least 1 space before "."; 0 found
(#93) Expected at least 1 space after "."; 0 found
(#94) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#96) Short array syntax must be used to define arrays
(#101) There should be a comma after the last array item in a multi-line array.
(#103) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#108) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#114) There should be a comma after the last array item in a multi-line array.
(#123) No one-line description found in phpdocs for docblock of function launch_automated_backup_delete
(#123) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#123) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#125) Expected at least 1 space before "."; 0 found
(#125) Expected at least 1 space after "."; 0 found
(#131) Spaces must be used to indent lines; tabs are not allowed
(#131) Line indented incorrectly; expected at least 8 spaces, found 4
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#132) Only one argument is allowed per line in a multi-line function call
(#132) Only one argument is allowed per line in a multi-line function call
(#134) Expected at least 1 space before "?"; 0 found
(#134) Expected 1 space before "?"; 0 found
(#135) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#135) Closing parenthesis of a multi-line function call must be on a line by itself
(#145) The use of function error_log() is forbidden; use debugging() instead
(#145) Expected at least 1 space before "."; 0 found
(#145) Expected at least 1 space after "."; 0 found
(#162) Blank line found at end of control structure
blocks/my_external_backup_restore_courses/block_my_external_backup_restore_courses.php
(#20) Incorrect @package tag for file block_my_external_backup_restore_courses.php. Expected block_my_external_backup_restore_courses, found 2013 unistra {@link http://unistra.fr}.
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#31) Missing docblock for class block_my_external_backup_restore_courses
(#32) Missing docblock for function init
(#36) Missing docblock for function has_config
(#40) Missing docblock for function get_content
(#41) global $PAGE cannot be used in block classes. Use $this->page.
(#42) global $PAGE cannot be used in block classes. Use $this->page.
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#51) Parentheses must be used when instantiating a new class
(#53) Logical operator "or" is prohibited; use "||" instead
(#53) Logical operator "or" is prohibited; use "||" instead
(#60) Missing docblock for function applicable_formats
(#61) Short array syntax must be used to define arrays
(#62) Expected no space between "true" and the comma. Found: 1 space
(#65) The closing brace for the class must go on the next line after the body
blocks/my_external_backup_restore_courses/classes/privacy/provider.php
(#36) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Expected at least 1 space before "."; 0 found
(#39) Expected at least 1 space after "."; 0 found
(#48) The interface names in a "class implements" statement should be ordered alphabetically. Expected: \core_privacy\local\metadata\provider, \core_privacy\local\request\core_userlist_provider, \core_privacy\local\request\plugin\provider; Found: \core_privacy\local\request\core_userlist_provider, \core_privacy\local\metadata\provider, \core_privacy\local\request\plugin\provider
(#49) Expected 4 spaces before interface name; 8 found
(#50) Expected 4 spaces before interface name; 8 found
(#51) Expected 4 spaces before interface name; 8 found
(#59) There must not be a space before the colon in a return type declaration
(#61) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#62) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#64) There should be a comma after the last array item in a multi-line array.
(#66) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#70) Opening parenthesis of a multi-line function call must be the last content on the line
(#90) There should be a comma after the last array item in a multi-line array.
(#104) There must not be a space before the colon in a return type declaration
(#115) There should be a comma after the last array item in a multi-line array.
(#129) Logical operator "or" is prohibited; use "||" instead
(#133) There should be a comma after the last array item in a multi-line array.
(#141) There should be a comma after the last array item in a multi-line array.
(#160) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#167) Short array syntax must be used to define arrays
(#169) There should be a comma after the last array item in a multi-line array.
(#175) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#176) There should be a comma after the last array item in a multi-line array.
(#178) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#196) Only one argument is allowed per line in a multi-line function call
(#197) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#197) Short array syntax must be used to define arrays
(#198) There should be a comma after the last array item in a multi-line array.
(#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) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#204) Short array syntax must be used to define arrays
(#205) There should be a comma after the last array item in a multi-line array.
(#225) Opening parenthesis of a multi-line function call must be the last content on the line
(#225) Only one argument is allowed per line in a multi-line function call
(#226) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#226) Short array syntax must be used to define arrays
(#227) There should be a comma after the last array item in a multi-line array.
(#232) Opening parenthesis of a multi-line function call must be the last content on the line
(#232) Only one argument is allowed per line in a multi-line function call
(#233) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#233) Short array syntax must be used to define arrays
(#234) There should be a comma after the last array item in a multi-line array.
(#240) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#252) Blank line found at start of control structure
(#254) Opening parenthesis of a multi-line function call must be the last content on the line
(#254) Only one argument is allowed per line in a multi-line function call
(#255) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#255) Short array syntax must be used to define arrays
(#256) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#256) Closing parenthesis of a multi-line function call must be on a line by itself
(#259) Opening parenthesis of a multi-line function call must be the last content on the line
(#260) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#261) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#261) Short array syntax must be used to define arrays
(#262) Multi-line function call not indented correctly; expected 16 spaces but found 32
(#262) Closing parenthesis of a multi-line function call must be on a line by itself
(#273) Expected 1 space after FUNCTION keyword; 0 found
(#273) Expected 1 space after USE keyword; found 0
(#281) The closing brace for the class must go on the next line after the body
blocks/my_external_backup_restore_courses/classes/task/backup_restore_task.php
(#20) Incorrect @package tag for file backup_restore_task.php. Expected block_my_external_backup_restore_courses, found 2012 unistra {@link http://unistra.fr}.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class backup_restore_task
(#31) Missing docblock for function get_name
(#36) Missing docblock for function execute
(#38) Expected at least 1 space before "."; 0 found
(#38) Expected at least 1 space after "."; 0 found
blocks/my_external_backup_restore_courses/cli/add_task.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Incorrect @package tag for file add_task.php. Expected block_my_external_backup_restore_courses, found 2025 Université de Strasbourg {@link http://unistra.fr}.
(#27) Expected at least 1 space before "."; 0 found
(#27) Expected at least 1 space after "."; 0 found
(#30) Long list syntax is not allowed
(#31) Short array syntax must be used to define arrays
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) There should be a comma after the last array item in a multi-line array.
(#45) Short array syntax must be used to define arrays
(#49) Expected at least 1 space before "=>"; 0 found
(#49) Expected 1 space before "=>"; 0 found
(#56) There should be a comma after the last array item in a multi-line array.
(#66) Line exceeds 132 characters; contains 148 characters
(#80) Whitespace found at end of line within string
(#86) Whitespace found at end of line within string
(#88) Line exceeds maximum limit of 180 characters; contains 239 characters
(#92) Line exceeds maximum limit of 180 characters; contains 257 characters
(#92) Whitespace found at end of line within string
(#95) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#115) Expected "try {\n...} catch (...) {\n"; found "try{\n...} catch(...) {\n"
(#115) Expected 1 space after TRY keyword; 0 found
(#120) Only one argument is allowed per line in a multi-line function call
(#121) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#124) Only one argument is allowed per line in a multi-line function call
(#127) Expected 1 space after CATCH keyword; 0 found
(#129) Expected 1 blank line at end of file; 2 found
blocks/my_external_backup_restore_courses/cli/install_server.php
(#16) Missing @copyright tag
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#37) Long list syntax is not allowed
(#37) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#46) Line exceeds 132 characters; contains 147 characters
(#69) Expected 1 blank line at end of file; 2 found
blocks/my_external_backup_restore_courses/db/access.php
(#20) Incorrect @package tag for file access.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#29) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#33) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#43) There should be a comma after the last array item in a multi-line array.
(#46) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#55) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#60) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#68) There should be a comma after the last array item in a multi-line array.
(#72) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#77) There should be a comma after the last array item in a multi-line array.
(#80) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#85) There should be a comma after the last array item in a multi-line array.
(#88) Short array syntax must be used to define arrays
(#92) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#106) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/db/messages.php
(#20) Incorrect @package tag for file messages.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#28) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#33) There should be a comma after the last array item in a multi-line array.
(#34) There should be a comma after the last array item in a multi-line array.
(#38) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#43) There should be a comma after the last array item in a multi-line array.
blocks/my_external_backup_restore_courses/db/services.php
(#20) Incorrect @package tag for file services.php. Expected block_my_external_backup_restore_courses, found 2014 unistra {@link http://unistra.fr}.
(#30) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#47) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#73) There should be a comma after the last array item in a multi-line array.
(#76) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#81) There should be a comma after the last array item in a multi-line array.
(#87) There should be a comma after the last array item in a multi-line array.
(#88) There should be a comma after the last array item in a multi-line array.
(#89) Expected 1 newline at end of file; 0 found
blocks/my_external_backup_restore_courses/db/tasks.php
(#20) Incorrect @package tag for file tasks.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#28) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#38) Expected 1 newline at end of file; 0 found
blocks/my_external_backup_restore_courses/db/upgrade.php
(#20) Incorrect @package tag for file upgrade.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Expected at least 1 space before "."; 0 found
(#31) Expected at least 1 space after "."; 0 found
(#33) Missing docblock for function xmldb_block_my_external_backup_restore_courses_upgrade
(#33) Incorrect spacing between argument "$oldversion" and equals sign; expected 1 but found 0
(#33) Incorrect spacing between default value and equals sign for argument "$oldversion"; expected 1 but found 0
(#41) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#46) Expected "if (...) {\n"; found "if(...){\n"
(#46) Expected 1 space after IF keyword; 0 found
(#46) Expected 1 space after closing parenthesis; found 0
(#54) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#56) Blank line found at end of control structure
(#56) Whitespace found at end of line
(#59) Expected "if (...) {\n"; found "if(...){\n"
(#59) Expected 1 space after IF keyword; 0 found
(#59) Expected 1 space after closing parenthesis; found 0
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Only one argument is allowed per line in a multi-line function call
(#62) No space found after comma in argument list
(#62) Commas (,) must be followed by white space.
(#62) Expected 1 space between the comma and "'1'". Found: no spaces
(#62) Only one argument is allowed per line in a multi-line function call
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Only one argument is allowed per line in a multi-line function call
(#63) 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
(#76) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
(#80) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#80) 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 8 spaces but found 12
(#83) Short array syntax must be used to define arrays
(#83) Closing parenthesis of a multi-line function call 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 12 spaces but found 16
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Only one argument is allowed per line in a multi-line function call
(#87) Closing parenthesis of a multi-line function call must be on a line by itself
(#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
(#89) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#89) Only one argument is allowed per line in a multi-line function call
(#89) Only one argument is allowed per line in a multi-line function call
(#89) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Expected "if (...) {\n"; found "if(...) {\n"
(#94) Expected 1 space after IF keyword; 0 found
(#97) Opening parenthesis of a multi-line function call must be the last content on the line
(#97) Only one argument is allowed per line in a multi-line function call
(#97) Only one argument is allowed per line in a multi-line function call
(#98) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Only one argument is allowed per line in a multi-line function call
(#98) Closing parenthesis of a multi-line function call must be on a line by itself
(#98) Inline comments must start with a capital letter, digit or 3-dots sequence
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#114) Blank line found at end of control structure
(#122) Opening parenthesis of a multi-line function call must be the last content on the line
(#122) Only one argument is allowed per line in a multi-line function call
(#122) Only one argument is allowed per line in a multi-line function call
(#123) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Only one argument is allowed per line in a multi-line function call
(#123) Closing parenthesis of a multi-line function call must be on a line by itself
(#135) Opening parenthesis of a multi-line function call must be the last content on the line
(#135) Only one argument is allowed per line in a multi-line function call
(#135) Only one argument is allowed per line in a multi-line function call
(#136) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#136) Only one argument is allowed per line in a multi-line function call
(#136) Only one argument is allowed per line in a multi-line function call
(#136) Closing parenthesis of a multi-line function call must be on a line by itself
blocks/my_external_backup_restore_courses/externallib.php
(#20) Incorrect @package tag for file externallib.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#29) Import statements must not begin with a leading backslash
(#30) Import statements must not begin with a leading backslash
(#31) Import statements must not begin with a leading backslash
(#32) Import statements must not begin with a leading backslash
(#33) Import statements must not begin with a leading backslash
(#36) Missing docblock for class block_my_external_backup_restore_courses_external
(#37) Missing docblock for function get_courses_zip
(#38) Multi-line function declarations must define one parameter per line
(#38) Multi-line function declarations must define one parameter per line
(#38) Multi-line function declarations must define one parameter per line
(#38) Incorrect spacing between argument "$restorecourseinoriginalcategory" and equals sign; expected 1 but found 0
(#38) Incorrect spacing between default value and equals sign for argument "$restorecourseinoriginalcategory"; expected 1 but found 0
(#38) Multi-line function declarations must define one parameter per line
(#38) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#38) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#41) Expected at least 1 space before "."; 0 found
(#41) Expected at least 1 space after "."; 0 found
(#43) Opening parenthesis of a multi-line function call must be the last content on the line
(#44) Short array syntax must be used to define arrays
(#47) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#47) Closing parenthesis of a multi-line function call must be on a line by itself
(#59) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#76) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Only one argument is allowed per line in a multi-line function call
(#76) Closing parenthesis of a multi-line function call must be on a line by itself
(#83) Opening parenthesis of a multi-line function call must be the last content on the line
(#84) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#84) Short array syntax must be used to define arrays
(#84) Closing parenthesis of a multi-line function call must be on a line by itself
(#86) Short array syntax must be used to define arrays
(#89) Missing docblock for function get_courses_zip_parameters
(#91) Short array syntax must be used to define arrays
(#95) Line exceeds 132 characters; contains 145 characters
(#96) Line exceeds 132 characters; contains 138 characters
(#101) Missing docblock for function get_courses_zip_returns
(#103) Short array syntax must be used to define arrays
(#110) Missing docblock for function get_courses
(#110) Incorrect spacing between argument "$restorecourseinoriginalcategory" and equals sign; expected 1 but found 0
(#110) Incorrect spacing between default value and equals sign for argument "$restorecourseinoriginalcategory"; expected 1 but found 0
(#113) Expected at least 1 space before "."; 0 found
(#113) Expected at least 1 space after "."; 0 found
(#115) Opening parenthesis of a multi-line function call must be the last content on the line
(#116) Short array syntax must be used to define arrays
(#117) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#117) Closing parenthesis of a multi-line function call must be on a line by itself
(#123) Only one argument is allowed per line in a multi-line function call
(#126) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#136) Short array syntax must be used to define arrays
(#147) No space found after comma in argument list
(#147) Commas (,) must be followed by white space.
(#147) Expected 1 space between the comma and "'categoryidentifier'". Found: no spaces
(#147) Line exceeds 132 characters; contains 139 characters
(#148) No space found after comma in argument list
(#148) Commas (,) must be followed by white space.
(#148) Expected 1 space between the comma and "'concernedusers'". Found: no spaces
(#155) Missing docblock for function get_courses_parameters
(#157) Short array syntax must be used to define arrays
(#160) Line exceeds 132 characters; contains 145 characters
(#165) Missing docblock for function get_courses_returns
(#168) Short array syntax must be used to define arrays
(#178) Expected 1 space after comma in argument list; 2 found
(#178) Expected 1 space between the comma and "VALUE_OPTIONAL". Found: 2 spaces
(#179) Opening parenthesis of a multi-line function call must be the last content on the line
(#180) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#180) Expected 1 space after comma in argument list; 2 found
(#180) Expected 1 space between the comma and "VALUE_OPTIONAL". Found: 2 spaces
(#180) Only one argument is allowed per line in a multi-line function call
(#180) Closing parenthesis of a multi-line function call must be on a line by itself
(#182) Only one argument is allowed per line in a multi-line function call
(#187) Missing docblock for function change_task_status_parameters
(#194) Missing docblock for function change_task_status
(#195) Opening brace should be on the same line as the declaration
(#196) Opening parenthesis of a multi-line function call must be the last content on the line
(#203) Expected at least 1 space before "=>"; 0 found
(#203) Expected 1 space before "=>"; 0 found
(#206) Missing docblock for function change_task_status_returns
(#212) Missing docblock for function change_internalcategory_id_parameters
(#219) Missing docblock for function change_internalcategory_id
(#220) Opening brace should be on the same line as the declaration
(#221) Opening parenthesis of a multi-line function call must be the last content on the line
(#227) Opening parenthesis of a multi-line function call must be the last content on the line
(#231) Expected at least 1 space before "=>"; 0 found
(#231) Expected 1 space before "=>"; 0 found
(#234) Missing docblock for function change_internalcategory_id_returns
(#240) Missing docblock for function change_userid_parameters
(#247) Missing docblock for function change_userid
(#248) Opening brace should be on the same line as the declaration
(#249) Opening parenthesis of a multi-line function call must be the last content on the line
(#252) Opening parenthesis of a multi-line function call must be the last content on the line
(#259) Expected at least 1 space before "=>"; 0 found
(#259) Expected 1 space before "=>"; 0 found
(#262) Missing docblock for function change_userid_returns
blocks/my_external_backup_restore_courses/get_user_backup_course_webservice.php
(#20) Incorrect @package tag for file get_user_backup_course_webservice.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
blocks/my_external_backup_restore_courses/index.php
(#20) Incorrect @package tag for file index.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#28) Expected at least 1 space before "."; 0 found
(#28) Expected at least 1 space after "."; 0 found
(#29) Expected at least 1 space before "."; 0 found
(#29) Expected at least 1 space after "."; 0 found
(#32) Expected at least 1 space before "."; 0 found
(#32) Expected at least 1 space after "."; 0 found
(#39) Opening parenthesis of a multi-line function call must be the last content on the line
(#40) Multi-line function call not indented correctly; expected 0 spaces but found 4
(#40) Closing parenthesis of a multi-line function call must be on a line by itself
(#53) Short array syntax must be used to define arrays
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#68) This comment is 47% valid code; is this commented out code?
(#69) Short array syntax must be used to define arrays
(#72) There should be a comma after the last array item in a multi-line array.
(#75) Boolean operators between conditions must be at the beginning or end of the line, but not both
(#75) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#98) Opening parenthesis of a multi-line function call must be the last content on the line
(#99) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#99) Short array syntax must be used to define arrays
(#99) Closing parenthesis of a multi-line function call must be on a line by itself
(#105) Expected at least 1 space before "."; 0 found
(#105) Expected at least 1 space after "."; 0 found
(#106) Expected at least 1 space before "."; 0 found
(#106) Expected at least 1 space after "."; 0 found
(#107) Expected at least 1 space before "."; 0 found
(#107) Expected at least 1 space after "."; 0 found
(#108) Expected at least 1 space before "."; 0 found
(#108) Expected at least 1 space after "."; 0 found
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#119) Expected at least 1 space before "."; 0 found
(#119) Expected at least 1 space after "."; 0 found
(#120) Expected at least 1 space before "."; 0 found
(#120) Expected at least 1 space after "."; 0 found
(#124) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#125) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#130) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) Inline comments must end in full-stops, exclamation marks, or question marks
(#152) Blank line found at end of control structure
(#156) Blank line found at start of control structure
(#159) Opening parenthesis of a multi-line function call must be the last content on the line
(#160) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#160) Short array syntax must be used to define arrays
(#160) Closing parenthesis of a multi-line function call must be on a line by itself
(#164) Opening parenthesis of a multi-line function call must be the last content on the line
(#165) Short array syntax must be used to define arrays
(#166) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#166) Closing parenthesis of a multi-line function call must be on a line by itself
(#174) Short array syntax must be used to define arrays
(#196) Blank line found at end of control structure
(#217) Short array syntax must be used to define arrays
(#221) Opening parenthesis of a multi-line function call must be the last content on the line
(#223) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#223) Closing parenthesis of a multi-line function call must be on a line by itself
(#228) Short array syntax must be used to define arrays
(#233) Short array syntax must be used to define arrays
(#238) Opening parenthesis of a multi-line function call must be the last content on the line
(#239) Opening parenthesis of a multi-line function call must be the last content on the line
(#240) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#240) Closing parenthesis of a multi-line function call must be on a line by itself
(#241) Short array syntax must be used to define arrays
(#249) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#253) Opening parenthesis of a multi-line function call must be the last content on the line
(#254) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#254) Short array syntax must be used to define arrays
(#254) Closing parenthesis of a multi-line function call must be on a line by itself
(#256) Opening parenthesis of a multi-line function call must be the last content on the line
(#257) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#257) Short array syntax must be used to define arrays
(#257) Closing parenthesis of a multi-line function call must be on a line by itself
(#261) Short array syntax must be used to define arrays
(#263) Opening parenthesis of a multi-line function call must be the last content on the line
(#264) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#264) Closing parenthesis of a multi-line function call must be on a line by itself
(#266) No space found after comma in argument list
(#266) Commas (,) must be followed by white space.
(#266) Expected 1 space between the comma and "$systemcontext". Found: no spaces
(#269) No space found after comma in argument list
(#269) Commas (,) must be followed by white space.
(#269) Expected 1 space between the comma and "$systemcontext". Found: no spaces
(#288) Opening parenthesis of a multi-line function call must be the last content on the line
(#289) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#289) Short array syntax must be used to define arrays
(#289) Closing parenthesis of a multi-line function call must be on a line by itself
(#293) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#293) Only one argument is allowed per line in a multi-line function call
(#293) Only one argument is allowed per line in a multi-line function call
(#296) Expected 0 spaces before closing bracket; 1 found
(#315) Expected at least 1 space before "."; 0 found
(#315) Expected at least 1 space after "."; 0 found
(#315) Expected at least 1 space before "."; 0 found
(#315) Expected at least 1 space after "."; 0 found
(#317) Short array syntax must be used to define arrays
(#319) Blank line found at end of control structure
(#321) Opening parenthesis of a multi-line function call must be the last content on the line
(#322) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#322) Short array syntax must be used to define arrays
(#322) Closing parenthesis of a multi-line function call must be on a line by itself
(#323) Opening parenthesis of a multi-line function call must be the last content on the line
(#324) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#324) Short array syntax must be used to define arrays
(#324) Expected at least 1 space before "."; 0 found
(#324) Expected at least 1 space after "."; 0 found
(#324) Closing parenthesis of a multi-line function call must be on a line by itself
(#325) Expected at least 1 space before "."; 0 found
(#325) Expected at least 1 space after "."; 0 found
(#325) Short array syntax must be used to define arrays
(#330) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#330) Opening parenthesis of a multi-line function call must be the last content on the line
(#331) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#331) Closing parenthesis of a multi-line function call must be on a line by itself
(#333) Opening parenthesis of a multi-line function call must be the last content on the line
(#334) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#334) Short array syntax must be used to define arrays
(#338) Opening parenthesis of a multi-line function call must be the last content on the line
(#339) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#340) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#342) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#342) Opening parenthesis of a multi-line function call must be the last content on the line
(#343) Multi-line function call not indented correctly; expected 24 spaces but found 32
(#343) Closing parenthesis of a multi-line function call must be on a line by itself
(#348) Short array syntax must be used to define arrays
(#351) Boolean operators between conditions must be at the beginning or end of the line, but not both
(#396) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#398) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#399) Opening parenthesis of a multi-line function call must be the last content on the line
(#400) Multi-line function call not indented correctly; expected 32 spaces but found 36
(#400) Short array syntax must be used to define arrays
(#400) Closing parenthesis of a multi-line function call must be on a line by itself
(#403) Opening parenthesis of a multi-line function call must be the last content on the line
(#403) Only one argument is allowed per line in a multi-line function call
(#406) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#406) Only one argument is allowed per line in a multi-line function call
(#406) Closing parenthesis of a multi-line function call must be on a line by itself
(#409) Short array syntax must be used to define arrays
(#413) No space found after comma in argument list
(#413) Commas (,) must be followed by white space.
(#413) Expected 1 space between the comma and "'internalcategory'". Found: no spaces
(#419) No space found after comma in argument list
(#419) Commas (,) must be followed by white space.
(#419) Expected 1 space between the comma and "'withuserdatas'". Found: no spaces
(#425) No space found after comma in argument list
(#425) Commas (,) must be followed by white space.
(#425) Expected 1 space between the comma and "'enrolmentmode'". Found: no spaces
(#430) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#436) Expected "if (...) {\n"; found "if(...) {\n"
(#436) Expected 1 space after IF keyword; 0 found
(#441) Opening parenthesis of a multi-line function call must be the last content on the line
(#442) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#442) Short array syntax must be used to define arrays
(#443) Expected at least 1 space before "."; 0 found
(#443) Expected at least 1 space after "."; 0 found
(#444) There should be a comma after the last array item in a multi-line array.
(#449) Expected "if (...) {\n"; found "if(...) {\n"
(#449) Expected 1 space after IF keyword; 0 found
(#452) Opening parenthesis of a multi-line function call must be the last content on the line
(#452) Expected at least 1 space before "."; 0 found
(#452) Expected at least 1 space after "."; 0 found
(#455) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#455) Only one argument is allowed per line in a multi-line function call
(#455) Closing parenthesis of a multi-line function call must be on a line by itself
(#456) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#456) Opening parenthesis of a multi-line function call must be the last content on the line
(#457) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#457) Closing parenthesis of a multi-line function call must be on a line by itself
(#457) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#459) Opening parenthesis of a multi-line function call must be the last content on the line
(#459) Expected at least 1 space before "."; 0 found
(#459) Expected at least 1 space after "."; 0 found
(#463) Short array syntax must be used to define arrays
(#463) Expected at least 1 space before "."; 0 found
(#463) Expected at least 1 space after "."; 0 found
(#463) Expected at least 1 space before "."; 0 found
(#463) Expected at least 1 space after "."; 0 found
(#466) Short array syntax must be used to define arrays
(#471) Line exceeds maximum limit of 180 characters; contains 183 characters
(#472) Opening parenthesis of a multi-line function call must be the last content on the line
(#472) No space found after comma in argument list
(#472) Commas (,) must be followed by white space.
(#472) Expected 1 space between the comma and "'enrolmentmode_'". Found: no spaces
(#472) Only one argument is allowed per line in a multi-line function call
(#472) Expected at least 1 space before "."; 0 found
(#472) Expected at least 1 space after "."; 0 found
(#473) Multi-line function call not indented correctly; expected 28 spaces but found 32
(#473) Only one argument is allowed per line in a multi-line function call
(#473) No space found after comma in argument list
(#473) Commas (,) must be followed by white space.
(#473) Expected 1 space between the comma and "$disabledoption". Found: no spaces
(#473) Only one argument is allowed per line in a multi-line function call
(#473) Closing parenthesis of a multi-line function call must be on a line by itself
(#491) Short array syntax must be used to define arrays
(#500) Expected 1 space after SWITCH keyword; 0 found
(#502) Each PHP statement must be on a line by itself
(#520) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#524) Opening parenthesis of a multi-line function call must be the last content on the line
(#525) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#525) Short array syntax must be used to define arrays
(#527) Expected at least 1 space before "."; 0 found
(#528) Opening parenthesis of a multi-line function call must be the last content on the line
(#529) Multi-line function call not indented correctly; expected 44 spaces but found 52
(#529) Short array syntax must be used to define arrays
(#529) Closing parenthesis of a multi-line function call must be on a line by itself
(#530) Expected at least 1 space after "."; 0 found
(#530) Opening parenthesis of a multi-line function call must be the last content on the line
(#530) Expected at least 1 space before "."; 0 found
(#530) Expected at least 1 space after "."; 0 found
(#531) Multi-line function call not indented correctly; expected 56 spaces but found 52
(#531) Closing parenthesis of a multi-line function call must be on a line by itself
(#532) Expected at least 1 space after "."; 0 found
(#535) Expected at least 1 space after "."; 0 found
(#535) Short array syntax must be used to define arrays
(#536) Expected at least 1 space after "."; 0 found
(#536) Opening parenthesis of a multi-line function call must be the last content on the line
(#537) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#538) Multi-line function call not indented correctly; expected 44 spaces but found 52
(#538) Closing parenthesis of a multi-line function call must be on a line by itself
(#539) Expected at least 1 space after "."; 0 found
(#541) Expected "if (...) {\n"; found "if (...){\n"
(#541) Expected 0 spaces before closing bracket; 1 found
(#541) Expected 1 space after closing parenthesis; found 0
(#547) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#548) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#552) Expected at least 1 space after "."; 0 found
(#552) Opening parenthesis of a multi-line function call must be the last content on the line
(#553) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#554) Multi-line function call not indented correctly; expected 44 spaces but found 52
(#554) Closing parenthesis of a multi-line function call must be on a line by itself
(#555) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#567) Expected at least 1 space after "."; 0 found
(#567) Opening parenthesis of a multi-line function call must be the last content on the line
(#568) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#569) Multi-line function call not indented correctly; expected 44 spaces but found 52
(#569) Closing parenthesis of a multi-line function call must be on a line by itself
(#570) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#585) Opening parenthesis of a multi-line function call must be the last content on the line
(#586) Multi-line function call not indented correctly; expected 44 spaces but found 48
(#587) Multi-line function call not indented correctly; expected 40 spaces but found 48
(#587) Closing parenthesis of a multi-line function call must be on a line by itself
(#594) Expected at least 1 space after "."; 0 found
(#595) Blank line found at end of control structure
(#601) Blank line found at end of control structure
(#609) Opening parenthesis of a multi-line function call must be the last content on the line
(#610) Multi-line function call not indented correctly; expected 44 spaces but found 48
(#611) Multi-line function call not indented correctly; expected 40 spaces but found 48
(#611) Closing parenthesis of a multi-line function call must be on a line by itself
(#615) Opening parenthesis of a multi-line function call must be the last content on the line
(#616) Multi-line function call not indented correctly; expected 48 spaces but found 52
(#617) Multi-line function call not indented correctly; expected 44 spaces but found 52
(#617) Closing parenthesis of a multi-line function call must be on a line by itself
(#618) Blank line found at end of control structure
(#621) Opening parenthesis of a multi-line function call must be the last content on the line
(#621) Only one argument is allowed per line in a multi-line function call
(#622) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#622) Short array syntax must be used to define arrays
(#627) Opening parenthesis of a multi-line function call must be the last content on the line
(#628) Multi-line function call not indented correctly; expected 64 spaces but found 68
(#629) Multi-line function call not indented correctly; expected 60 spaces but found 68
(#629) Closing parenthesis of a multi-line function call must be on a line by itself
(#629) Opening parenthesis of a multi-line function call must be the last content on the line
(#630) Multi-line function call not indented correctly; expected 36 spaces but found 68
(#630) Closing parenthesis of a multi-line function call must be on a line by itself
(#630) Closing parenthesis of a multi-line function call must be on a line by itself
(#637) Expected 1 space after SWITCH keyword; 0 found
(#639) Each PHP statement must be on a line by itself
(#657) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#660) Inline comments must end in full-stops, exclamation marks, or question marks
(#661) Short array syntax must be used to define arrays
(#663) Short array syntax must be used to define arrays
(#664) Opening parenthesis of a multi-line function call must be the last content on the line
(#665) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#665) Short array syntax must be used to define arrays
(#667) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#667) Expected at least 1 space before "."; 0 found
(#667) Expected at least 1 space after "."; 0 found
(#667) Opening parenthesis of a multi-line function call must be the last content on the line
(#667) Expected at least 1 space before "."; 0 found
(#667) Expected at least 1 space after "."; 0 found
(#668) Multi-line function call not indented correctly; expected 40 spaces but found 44
(#668) Closing parenthesis of a multi-line function call must be on a line by itself
(#669) Expected at least 1 space after "."; 0 found
(#671) Opening parenthesis of a multi-line function call must be the last content on the line
(#672) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#672) Closing parenthesis of a multi-line function call must be on a line by itself
(#675) Short array syntax must be used to define arrays
(#676) Expected at least 1 space after "."; 0 found
(#676) Opening parenthesis of a multi-line function call must be the last content on the line
(#676) Expected at least 1 space before "."; 0 found
(#676) Expected at least 1 space after "."; 0 found
(#677) Multi-line function call not indented correctly; expected 44 spaces but found 47
(#677) Closing parenthesis of a multi-line function call must be on a line by itself
(#678) Expected at least 1 space after "."; 0 found
(#686) Opening parenthesis of a multi-line function call must be the last content on the line
(#687) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#688) Multi-line function call not indented correctly; expected 32 spaces but found 40
(#688) Closing parenthesis of a multi-line function call must be on a line by itself
(#689) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#695) Opening parenthesis of a multi-line function call must be the last content on the line
(#696) Multi-line function call not indented correctly; expected 36 spaces but found 40
(#697) Multi-line function call not indented correctly; expected 32 spaces but found 40
(#697) Closing parenthesis of a multi-line function call must be on a line by itself
(#705) Short array syntax must be used to define arrays
(#709) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#709) Opening parenthesis of a multi-line function call must be the last content on the line
(#710) Multi-line function call not indented correctly; expected 24 spaces but found 28
(#710) Closing parenthesis of a multi-line function call must be on a line by itself
(#710) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#727) Opening parenthesis of a multi-line function call must be the last content on the line
(#728) Short array syntax must be used to define arrays
(#746) Short array syntax must be used to define arrays
(#751) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/lang/en/block_my_external_backup_restore_courses.php
(#20) Incorrect @package tag for file block_my_external_backup_restore_courses.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#30) The string key "external_moodle" is not in the correct order, it should be before "roles_included_in_external_courses_search_Desc"
(#34) The string key "my_external_backup_restore_courses:can_retrieve_courses" is not in the correct order, it should be before "my_external_backup_restore_courses:can_see_backup_courses"
(#36) The string key "my_external_backup_restore_courses:can_see_external_course_link" is not in the correct order, it should be before "my_external_backup_restore_courses:myaddinstance"
(#37) The string key "my_external_backup_restore_courses:can_restore_user_datas" is not in the correct order, it should be before "my_external_backup_restore_courses:can_see_external_course_link"
(#39) The string key "externalmoodlecourselist" is not in the correct order, it should be before "noexternalmoodleconnected"
(#49) The string key "choose_to_restore" is not in the correct order, it should be before "restorecourses"
(#53) The string key "defaultcategorychecked" is not in the correct order, it should be before "restorecourseinoriginalcategory_desc"
(#55) The string key "categorytable" is not in the correct order, it should be before "defaultcategorychecked_desc"
(#59) The string key "categorytable_categoryfield" is not in the correct order, it should be before "categorytable_foreignkey_desc"
(#67) The string key "status_-1" is not in the correct order, it should be before "status_2"
(#71) The string key "status_-1_byuser" is not in the correct order, it should be before "status_2_byuser"
(#72) The string key "my_external_backup_restore_courses_task" is not in the correct order, it should be before "status_-1_byuser"
(#73) The string key "error_msg_admin" is not in the correct order, it should be before "my_external_backup_restore_courses_task"
(#75) The string key "messageprovider:restorationfailed" is not in the correct order, it should be before "messageprovider:restorationsuccess"
(#76) The string key "error_mail_subject" is not in the correct order, it should be before "messageprovider:restorationfailed"
(#77) The string key "error_mail_main_message" is not in the correct order, it should be before "error_mail_subject"
(#81) The string key "success_mail_main_message" is not in the correct order, it should be before "success_mail_subject"
(#83) The string key "cantrestorecourseincategorycontext" is not in the correct order, it should be before "success_mail_main_message_withuserdatas"
(#86) The string key "cantrestorecourseindefaultcategorycontext" is duplicated
(#87) The string key "my_external_backup_restore_courses:view" is not in the correct order, it should be before "notexistinginternalcategory"
(#89) The string key "executiontimemixed" is not in the correct order, it should be before "nextruntime"
(#93) The string key "includeexternalurlinmail" is not in the correct order, it should be before "warningstoowner_desc"
(#96) The string key "mailexternalmoodleinfo" is not in the correct order, it should be before "maillocalmoodleinfo"
(#97) The string key "NA" is not in the correct order, it should be before "mailexternalmoodleinfo"
(#103) The string key "courselabel" is not in the correct order, it should be before "onlyoneremoteinstance_desc"
(#108) The string key "enrollbuttonlabel" is not in the correct order, it should be before "enrollrole_desc"
(#110) The string key "cantenrollocourserolex" is not in the correct order, it should be before "enrollbuttonlabelcoursexuserx"
(#113) The string key "alreadyenrolledincoursexuserx" is not in the correct order, it should be before "nomanualenrol"
(#115) The string key "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle:externalcourseid"
(#116) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:userid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle"
(#117) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:externalcourseid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:userid"
(#122) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:courseid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:status"
(#126) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:timescheduleprocessed"
(#128) The string key "checkrequestercapascoursecreate" is not in the correct order, it should be before "privacy:metadata:core_enrol"
(#131) The string key "noscheduledtasks" is not in the correct order, it should be before "scheduledtasklist"
(#132) The string key "externalmoodleadminhelpsection" is not in the correct order, it should be before "noscheduledtasks"
(#132) Expected at least 1 space before "="; 0 found
(#132) Expected at least 1 space after "="; 0 found
(#132) Expected 1 space before "="; 0 found
(#132) Expected 1 space after "="; 0 found
(#133) The string key "defaultcategoryx" is not in the correct order, it should be before "externalmoodleadminhelpsection"
(#135) The string key "courseoruserfilter" is not in the correct order, it should be before "entriesperpage"
(#136) The string key "courseidfilter" is not in the correct order, it should be before "courseoruserfilter"
(#138) The string key "filter" is not in the correct order, it should be before "useridfilter"
(#141) The string key "enrolmentmodeheadtable" is not in the correct order, it should be before "withuserdatasheadtable"
(#143) The string key "enrolmentmode" is not in the correct order, it should be before "withuserdatas"
(#146) The string key "planifyrestore" is duplicated
(#147) The string key "externalmoodleurl" is not in the correct order, it should be before "settings"
(#150) The string key "courseidXbutdeleted" is not in the correct order, it should be before "nomoreexistingrestoredcourse"
(#152) The string key "autoenrol_requester" is not in the correct order, it should be before "notcourseowner"
(#156) The string key "courseclient" is not in the correct order, it should be before "moodle_role_desc"
(#158) The string key "bothclientserver" is not in the correct order, it should be before "courseserver"
(#160) The string key "my_external_backup_restore_courses:change_status" is not in the correct order, it should be before "source"
(#161) The string key "my_external_backup_restore_courses:change_internalcategory_id" is not in the correct order, it should be before "my_external_backup_restore_courses:change_status"
(#164) The string key "externalmoodleurl" is duplicated
(#165) The string key "scheduledstatus" is not in the correct order, it should be before "userid"
(#166) The string key "inprogressstatus" is not in the correct order, it should be before "scheduledstatus"
(#168) The string key "cancelledstatus" is not in the correct order, it should be before "performedstatus"
(#171) Expected 1 blank line at end of file; 3 found
blocks/my_external_backup_restore_courses/lang/fr/block_my_external_backup_restore_courses.php
(#20) Incorrect @package tag for file block_my_external_backup_restore_courses.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#30) The string key "external_moodle" is not in the correct order, it should be before "roles_included_in_external_courses_search_Desc"
(#34) The string key "my_external_backup_restore_courses:can_retrieve_courses" is not in the correct order, it should be before "my_external_backup_restore_courses:can_see_backup_courses"
(#36) The string key "my_external_backup_restore_courses:can_see_external_course_link" is not in the correct order, it should be before "my_external_backup_restore_courses:myaddinstance"
(#37) The string key "my_external_backup_restore_courses:can_restore_user_datas" is not in the correct order, it should be before "my_external_backup_restore_courses:can_see_external_course_link"
(#39) The string key "externalmoodlecourselist" is not in the correct order, it should be before "noexternalmoodleconnected"
(#49) The string key "choose_to_restore" is not in the correct order, it should be before "restorecourses"
(#53) The string key "defaultcategorychecked" is not in the correct order, it should be before "restorecourseinoriginalcategory_desc"
(#55) The string key "categorytable" is not in the correct order, it should be before "defaultcategorychecked_desc"
(#59) The string key "categorytable_categoryfield" is not in the correct order, it should be before "categorytable_foreignkey_desc"
(#67) The string key "status_-1" is not in the correct order, it should be before "status_2"
(#71) The string key "status_-1_byuser" is not in the correct order, it should be before "status_2_byuser"
(#72) The string key "my_external_backup_restore_courses_task" is not in the correct order, it should be before "status_-1_byuser"
(#73) The string key "error_msg_admin" is not in the correct order, it should be before "my_external_backup_restore_courses_task"
(#75) The string key "messageprovider:restorationfailed" is not in the correct order, it should be before "messageprovider:restorationsuccess"
(#76) The string key "error_mail_subject" is not in the correct order, it should be before "messageprovider:restorationfailed"
(#77) The string key "error_mail_main_message" is not in the correct order, it should be before "error_mail_subject"
(#81) The string key "success_mail_main_message" is not in the correct order, it should be before "success_mail_subject"
(#83) The string key "cantrestorecourseincategorycontext" is not in the correct order, it should be before "success_mail_main_message_withuserdatas"
(#86) The string key "my_external_backup_restore_courses:view" is not in the correct order, it should be before "notexistinginternalcategory"
(#88) The string key "executiontimemixed" is not in the correct order, it should be before "nextruntime"
(#92) The string key "includeexternalurlinmail" is not in the correct order, it should be before "warningstoowner_desc"
(#95) The string key "mailexternalmoodleinfo" is not in the correct order, it should be before "maillocalmoodleinfo"
(#96) The string key "NA" is not in the correct order, it should be before "mailexternalmoodleinfo"
(#102) The string key "courselabel" is not in the correct order, it should be before "onlyoneremoteinstance_desc"
(#107) The string key "enrollbuttonlabel" is not in the correct order, it should be before "enrollrole_desc"
(#109) The string key "cantenrollocourserolex" is not in the correct order, it should be before "enrollbuttonlabelcoursexuserx"
(#112) The string key "alreadyenrolledincoursexuserx" is not in the correct order, it should be before "nomanualenrol"
(#115) The string key "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle:externalmoodleurl"
(#116) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:userid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:remote_moodle"
(#117) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:externalcourseid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:userid"
(#122) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:courseid" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:status"
(#126) The string key "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore" is not in the correct order, it should be before "privacy:metadata:block_my_external_backup_restore_courses:block_external_backuprestore:timescheduleprocessed"
(#128) The string key "checkrequestercapascoursecreate" is not in the correct order, it should be before "privacy:metadata:core_enrol"
(#131) The string key "noscheduledtasks" is not in the correct order, it should be before "scheduledtasklist"
(#132) The string key "externalmoodleadminhelpsection" is not in the correct order, it should be before "noscheduledtasks"
(#132) Expected at least 1 space before "="; 0 found
(#132) Expected at least 1 space after "="; 0 found
(#132) Expected 1 space before "="; 0 found
(#132) Expected 1 space after "="; 0 found
(#133) The string key "defaultcategoryx" is not in the correct order, it should be before "externalmoodleadminhelpsection"
(#135) The string key "courseoruserfilter" is not in the correct order, it should be before "entriesperpage"
(#136) The string key "courseidfilter" is not in the correct order, it should be before "courseoruserfilter"
(#138) The string key "filter" is not in the correct order, it should be before "useridfilter"
(#141) The string key "enrolmentmodeheadtable" is not in the correct order, it should be before "withuserdatasheadtable"
(#143) The string key "enrolmentmode" is not in the correct order, it should be before "withuserdatas"
(#146) The string key "externalcourseid" is not in the correct order, it should be before "settings"
(#147) The string key "planifyrestore" is duplicated
(#149) The string key "externalmoodleurl" is not in the correct order, it should be before "userid"
(#152) The string key "courseidXbutdeleted" is not in the correct order, it should be before "nomoreexistingrestoredcourse"
(#154) The string key "autoenrol_requester" is not in the correct order, it should be before "notcourseowner"
(#158) The string key "courseclient" is not in the correct order, it should be before "moodle_role_desc"
(#160) The string key "bothclientserver" is not in the correct order, it should be before "courseserver"
(#162) The string key "course_restoration_task" is not in the correct order, it should be before "source"
(#164) The string key "my_external_backup_restore_courses:change_internalcategory_id" is not in the correct order, it should be before "my_external_backup_restore_courses:change_status"
(#166) The string key "courseid" is not in the correct order, it should be before "my_external_backup_restore_courses:change_userid"
(#168) The string key "externalcourseid" is duplicated
(#169) The string key "userid" is duplicated
(#170) The string key "externalmoodleurl" is duplicated
(#175) The string key "scheduledstatus" is not in the correct order, it should be before "timescheduleprocessed"
(#176) The string key "inprogressstatus" is not in the correct order, it should be before "scheduledstatus"
(#178) The string key "cancelledstatus" is not in the correct order, it should be before "performedstatus"
(#182) The string key "id" is not in the correct order, it should be before "status"
(#185) The string key "withuserdatas_false" is not in the correct order, it should be before "withuserdatas_true"
(#186) The string key "deletedcourse" is not in the correct order, it should be before "withuserdatas_false"
blocks/my_external_backup_restore_courses/lib.php
(#16) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Inline doc block comments are not allowed; use "// Comment." instead
(#20) Incorrect @package tag for file lib.php. Expected block_my_external_backup_restore_courses, found 2025 Université de Strasbourg {@link http://unistra.fr}.
(#39) Missing docblock for function block_my_external_backup_restore_courses_inplace_editable
(#42) Expected 1 space after SWITCH keyword; 0 found
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#64) Only one argument is allowed per line in a multi-line function call
(#67) Expected 1 newline at end of file; 0 found
(#67) Function closing brace must go on the next line following the body; found 1 blank lines before brace
blocks/my_external_backup_restore_courses/locallib.php
(#20) Incorrect @package tag for file locallib.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#32) Missing docblock for class block_my_external_backup_restore_courses_tools
(#33) Missing docblock for constant block_my_external_backup_restore_courses_tools::STATUS_SCHEDULED
(#34) Missing docblock for constant block_my_external_backup_restore_courses_tools::STATUS_INPROGRESS
(#35) Missing docblock for constant block_my_external_backup_restore_courses_tools::STATUS_PERFORMED
(#36) Missing docblock for constant block_my_external_backup_restore_courses_tools::STATUS_ERROR
(#37) Missing docblock for constant block_my_external_backup_restore_courses_tools::STATUS_CANCELLED
(#38) Missing docblock for constant block_my_external_backup_restore_courses_tools::SOURCE_INTERNAL
(#39) Missing docblock for constant block_my_external_backup_restore_courses_tools::SOURCE_CLI
(#40) Missing docblock for constant block_my_external_backup_restore_courses_tools::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_ROLE
(#41) Missing docblock for constant block_my_external_backup_restore_courses_tools::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_DEFAULT_USER
(#43) Missing docblock for function del_tree
(#43) Expected 1 space after "function"; 2 found
(#43) Expected "function abc(...)"; found "function abc (...)"
(#43) Expected 1 space after FUNCTION keyword; 2 found
(#43) Expected 0 spaces after "del_tree"; 3 found
(#43) Expected 0 spaces before opening parenthesis; 3 found
(#44) Short array syntax must be used to define arrays
(#46) Space before opening parenthesis of function call prohibited
(#51) Missing docblock for function enrol_get_courses_with_role
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#63) Short array syntax must be used to define arrays
(#66) There should be a comma after the last array item in a multi-line array.
(#67) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#67) Closing parenthesis of a multi-line function call must be on a line by itself
(#73) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#74) Missing docblock for function external_backup_course_sitename
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#88) Missing docblock for function external_backup_course_name
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Only one argument is allowed per line in a multi-line function call
(#92) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#92) Short array syntax must be used to define arrays
(#92) Closing parenthesis of a multi-line function call must be on a line by itself
(#94) Expected at least 1 space before "."; 0 found
(#94) Expected at least 1 space after "."; 0 found
(#96) Expected at least 1 space after "=="; 0 found
(#96) Expected 1 space after "=="; 0 found
(#96) Expected 0 spaces before closing bracket; 1 found
(#103) Missing docblock for function get_all_users_courses
(#103) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#103) Multi-line function declarations must define one parameter per line
(#103) Multi-line function declarations must define one parameter per line
(#103) Incorrect spacing between argument "$restorecourseinoriginalcategory" and equals sign; expected 1 but found 0
(#103) Incorrect spacing between default value and equals sign for argument "$restorecourseinoriginalcategory"; expected 1 but found 0
(#103) Multi-line function declarations must define one parameter per line
(#103) Line exceeds 132 characters; contains 134 characters
(#105) The closing parenthesis of a multi-line function declaration must be on a new line
(#115) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#116) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#118) Expected at least 1 space before "."; 0 found
(#118) Expected at least 1 space after "."; 0 found
(#123) Short array syntax must be used to define arrays
(#130) Logical operator "or" is prohibited; use "||" instead
(#131) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#152) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Expected at least 1 space after "."; 0 found
(#176) Expected at least 1 space before "."; 0 found
(#176) Expected at least 1 space after "."; 0 found
(#178) Expected at least 1 space before "."; 0 found
(#178) Expected at least 1 space after "."; 0 found
(#178) Expected at least 1 space before "."; 0 found
(#178) Expected at least 1 space after "."; 0 found
(#179) Long list syntax is not allowed
(#179) Short array syntax must be used to define arrays
(#189) Expected at least 1 space before "."; 0 found
(#189) Expected at least 1 space after "."; 0 found
(#189) Expected at least 1 space before "."; 0 found
(#189) Expected at least 1 space after "."; 0 found
(#191) Expected at least 1 space before "."; 0 found
(#191) Expected at least 1 space after "."; 0 found
(#191) Expected at least 1 space before "."; 0 found
(#191) Expected at least 1 space after "."; 0 found
(#193) Whitespace found at end of line within string
(#195) Expected at least 1 space after "."; 0 found
(#196) Expected at least 1 space after "."; 0 found
(#196) Expected at least 1 space before "."; 0 found
(#196) Expected at least 1 space after "."; 0 found
(#196) Expected at least 1 space before "."; 0 found
(#196) Expected at least 1 space after "."; 0 found
(#196) Expected at least 1 space before "."; 0 found
(#196) Expected at least 1 space after "."; 0 found
(#197) Expected at least 1 space after "."; 0 found
(#200) Expected at least 1 space before "."; 0 found
(#200) Expected at least 1 space after "."; 0 found
(#200) Expected at least 1 space before "."; 0 found
(#200) Expected at least 1 space after "."; 0 found
(#204) Expected at least 1 space before "."; 0 found
(#204) Expected at least 1 space after "."; 0 found
(#204) Expected at least 1 space before "."; 0 found
(#204) Expected at least 1 space after "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#206) Expected at least 1 space before "."; 0 found
(#206) Expected at least 1 space after "."; 0 found
(#211) Expected at least 1 space before "."; 0 found
(#211) Expected at least 1 space after "."; 0 found
(#211) Expected at least 1 space before "."; 0 found
(#211) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#213) Expected at least 1 space before "."; 0 found
(#213) Expected at least 1 space after "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
(#214) Expected at least 1 space before "."; 0 found
(#214) Expected at least 1 space after "."; 0 found
(#220) Missing docblock for function print_content
(#228) Opening parenthesis of a multi-line function call must be the last content on the line
(#229) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#229) Closing parenthesis of a multi-line function call must be on a line by itself
(#235) Missing docblock for function rest_call_external_courses_client
(#235) The first parameter of a multi-line function declaration must be on the line after the opening bracket
(#235) Multi-line function declarations must define one parameter per line
(#235) Multi-line function declarations must define one parameter per line
(#235) Incorrect spacing between argument "$params" and equals sign; expected 1 but found 0
(#235) Incorrect spacing between default value and equals sign for argument "$params"; expected 1 but found 0
(#235) Short array syntax must be used to define arrays
(#236) Incorrect spacing between argument "$restformat" and equals sign; expected 1 but found 0
(#236) Incorrect spacing between default value and equals sign for argument "$restformat"; expected 1 but found 0
(#236) Multi-line function declarations must define one parameter per line
(#236) Incorrect spacing between argument "$method" and equals sign; expected 1 but found 0
(#236) Incorrect spacing between default value and equals sign for argument "$method"; expected 1 but found 0
(#236) The closing parenthesis of a multi-line function declaration must be on a new line
(#238) Expected at least 1 space before "."; 0 found
(#238) Expected at least 1 space after "."; 0 found
(#239) Expected at least 1 space before "."; 0 found
(#239) Expected at least 1 space after "."; 0 found
(#240) Expected at least 1 space before "."; 0 found
(#240) Expected at least 1 space after "."; 0 found
(#242) Expected at least 1 space before "."; 0 found
(#242) Expected at least 1 space before "."; 0 found
(#242) Expected at least 1 space after "."; 0 found
(#243) Parentheses must be used when instantiating a new class
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#256) Expected at least 1 space before "."; 0 found
(#256) Expected at least 1 space after "."; 0 found
(#258) Blank line found at end of control structure
(#268) Missing docblock for function get_formatted_concerned_roles_shortname
(#270) Short array syntax must be used to define arrays
(#273) Short array syntax must be used to define arrays
(#275) Expected at least 1 space before "."; 0 found
(#275) Expected at least 1 space after "."; 0 found
(#275) Expected at least 1 space before "."; 0 found
(#275) Expected at least 1 space after "."; 0 found
(#280) Missing docblock for function get_search_roles_shortname
(#284) Short array syntax must be used to define arrays
(#287) Missing docblock for function format_string_list_for_sql
(#287) Incorrect spacing between argument "$delimiter" and equals sign; expected 1 but found 0
(#287) Incorrect spacing between default value and equals sign for argument "$delimiter"; expected 1 but found 0
(#290) Expected at least 1 space before "."; 0 found
(#290) Expected at least 1 space after "."; 0 found
(#290) Expected at least 1 space before "."; 0 found
(#290) Expected at least 1 space after "."; 0 found
(#295) Missing docblock for function external_course_restored_or_on_way_by_other_users
(#298) Inline comments must end in full-stops, exclamation marks, or question marks
(#303) Opening parenthesis of a multi-line function call must be the last content on the line
(#304) Short array syntax must be used to define arrays
(#306) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#306) Closing parenthesis of a multi-line function call must be on a line by itself
(#310) Missing docblock for function array_contains_object_with_properties
(#319) Missing docblock for function install_webservice_moodle_server
(#321) Expected at least 1 space before "."; 0 found
(#321) Expected at least 1 space after "."; 0 found
(#323) Short array syntax must be used to define arrays
(#327) Expected at least 1 space before "."; 0 found
(#327) Expected at least 1 space after "."; 0 found
(#327) Expected at least 1 space before "."; 0 found
(#327) Expected at least 1 space after "."; 0 found
(#329) Opening parenthesis of a multi-line function call must be the last content on the line
(#331) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#331) Closing parenthesis of a multi-line function call must be on a line by itself
(#333) Opening parenthesis of a multi-line function call must be the last content on the line
(#333) Only one argument is allowed per line in a multi-line function call
(#334) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#334) Only one argument is allowed per line in a multi-line function call
(#334) Only one argument is allowed per line in a multi-line function call
(#334) Closing parenthesis of a multi-line function call must be on a line by itself
(#335) Opening parenthesis of a multi-line function call must be the last content on the line
(#335) Only one argument is allowed per line in a multi-line function call
(#336) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Only one argument is allowed per line in a multi-line function call
(#336) Closing parenthesis of a multi-line function call must be on a line by itself
(#337) Opening parenthesis of a multi-line function call must be the last content on the line
(#337) Only one argument is allowed per line in a multi-line function call
(#338) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#338) Only one argument is allowed per line in a multi-line function call
(#338) Only one argument is allowed per line in a multi-line function call
(#338) Closing parenthesis of a multi-line function call must be on a line by itself
(#339) Opening parenthesis of a multi-line function call must be the last content on the line
(#339) Only one argument is allowed per line in a multi-line function call
(#340) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#340) Only one argument is allowed per line in a multi-line function call
(#340) Only one argument is allowed per line in a multi-line function call
(#340) Closing parenthesis of a multi-line function call must be on a line by itself
(#341) Opening parenthesis of a multi-line function call must be the last content on the line
(#341) Only one argument is allowed per line in a multi-line function call
(#342) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#342) Only one argument is allowed per line in a multi-line function call
(#342) Only one argument is allowed per line in a multi-line function call
(#342) Closing parenthesis of a multi-line function call must be on a line by itself
(#344) Short array syntax must be used to define arrays
(#345) Short array syntax must be used to define arrays
(#350) Expected at least 1 space before "."; 0 found
(#350) Expected at least 1 space after "."; 0 found
(#351) Expected at least 1 space before "="; 0 found
(#351) Expected at least 1 space after "="; 0 found
(#351) Expected 1 space before "="; 0 found
(#351) Expected 1 space after "="; 0 found
(#354) Expected at least 1 space before "."; 0 found
(#354) Expected at least 1 space after "."; 0 found
(#354) Expected at least 1 space before "."; 0 found
(#354) Expected at least 1 space after "."; 0 found
(#357) Short array syntax must be used to define arrays
(#365) Short array syntax must be used to define arrays
(#367) There should be a comma after the last array item in a multi-line array.
(#376) Missing docblock for function get_external_moodles_url_token
(#376) Expected 1 space before opening brace; found 0
(#378) Short array syntax must be used to define arrays
(#384) Expected "if (...) {\n"; found "if(...){\n"
(#384) Expected 1 space after IF keyword; 0 found
(#384) Expected 1 space after closing parenthesis; found 0
(#396) Missing docblock for function get_external_moodle_token
(#396) Expected 1 space before opening brace; found 0
(#400) Missing docblock for function admin_any_entries
(#402) Inline comments must start with a capital letter, digit or 3-dots sequence
(#402) Inline comments must end in full-stops, exclamation marks, or question marks
(#402) No space found before comment text; expected "// troubles with moodle get_count" but found "//troubles with moodle get_count"
(#403) Expected at least 1 space before ":"; 0 found
(#403) Expected at least 1 space after ":"; 0 found
(#403) Expected 1 space before ":"; 0 found
(#403) Expected 1 space after ":"; 0 found
(#403) Expected at least 1 space before ">"; 0 found
(#403) Expected at least 1 space after ">"; 0 found
(#403) Expected 1 space before ">"; 0 found
(#403) Expected 1 space after ">"; 0 found
(#406) Missing docblock for function update_status
(#408) Short array syntax must be used to define arrays
(#416) Missing docblock for function update_userid
(#418) Short array syntax must be used to define arrays
(#422) Short array syntax must be used to define arrays
(#430) Missing docblock for function update_internalcategory
(#432) Short array syntax must be used to define arrays
(#436) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) No space found before comment text; expected "// Check that this category exists" but found "//Check that this category exists"
(#437) Short array syntax must be used to define arrays
(#438) Line indented incorrectly; expected at least 12 spaces, found 11
(#445) Missing docblock for class block_my_external_backup_restore_courses_invalid_username_exception
(#445) Each class must be in a file by itself
(#450) Incorrect spacing between argument "$debuginfo" and equals sign; expected 1 but found 0
(#450) Incorrect spacing between default value and equals sign for argument "$debuginfo"; expected 1 but found 0
(#455) Missing docblock for class block_my_external_backup_restore_courses_task_helper
(#455) Each class must be in a file by itself
(#456) Missing docblock for constant block_my_external_backup_restore_courses_task_helper::BACKUP_FILENAME
(#457) Missing docblock for constant block_my_external_backup_restore_courses_task_helper::BACKUP_TEMPDIRNAME
(#458) Missing docblock for function run_automated_backup_restore
(#467) Opening parenthesis of a multi-line function call must be the last content on the line
(#468) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#468) Closing parenthesis of a multi-line function call must be on a line by itself
(#473) Short array syntax must be used to define arrays
(#475) Opening parenthesis of a multi-line function call must be the last content on the line
(#476) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#476) Closing parenthesis of a multi-line function call must be on a line by itself
(#476) Line exceeds 132 characters; contains 156 characters
(#482) Short array syntax must be used to define arrays
(#483) Expected "if (...) {\n"; found "if(...) {\n"
(#483) Expected 1 space after IF keyword; 0 found
(#489) Short array syntax must be used to define arrays
(#504) Short array syntax must be used to define arrays
(#506) Opening parenthesis of a multi-line function call must be the last content on the line
(#507) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#507) Expected at least 1 space before "."; 0 found
(#507) Expected at least 1 space after "."; 0 found
(#507) Closing parenthesis of a multi-line function call must be on a line by itself
(#520) Short array syntax must be used to define arrays
(#522) Opening parenthesis of a multi-line function call must be the last content on the line
(#524) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#524) Closing parenthesis of a multi-line function call must be on a line by itself
(#535) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#536) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#538) Opening parenthesis of a multi-line function call must be the last content on the line
(#539) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#539) Only one argument is allowed per line in a multi-line function call
(#539) Closing parenthesis of a multi-line function call must be on a line by itself
(#543) Opening parenthesis of a multi-line function call must be the last content on the line
(#544) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#544) Only one argument is allowed per line in a multi-line function call
(#544) Closing parenthesis of a multi-line function call must be on a line by itself
(#552) Opening parenthesis of a multi-line function call must be the last content on the line
(#553) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#553) Only one argument is allowed per line in a multi-line function call
(#553) Closing parenthesis of a multi-line function call must be on a line by itself
(#580) Expected at least 1 space before "."; 0 found
(#580) Expected at least 1 space after "."; 0 found
(#581) Expected at least 1 space before "."; 0 found
(#581) Expected at least 1 space after "."; 0 found
(#587) Missing docblock for function retrieve_tasks
(#591) Expected at least 1 space before "."; 0 found
(#591) Expected at least 1 space after "."; 0 found
(#591) Expected at least 1 space before "."; 0 found
(#591) Expected at least 1 space after "."; 0 found
(#591) Line exceeds 132 characters; contains 159 characters
(#593) Expected at least 1 space after "."; 0 found
(#598) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#598) Short array syntax must be used to define arrays
(#598) Closing parenthesis of a multi-line function call must be on a line by itself
(#601) Missing docblock for class block_my_external_backup_restore_courses_task
(#601) Each class must be in a file by itself
(#602) Missing member variable doc comment
(#603) Missing member variable doc comment
(#603) Short array syntax must be used to define arrays
(#604) Missing docblock for function __construct
(#608) Missing docblock for function enrol_requester_if_any
(#612) Opening parenthesis of a multi-line function call must be the last content on the line
(#613) Short array syntax must be used to define arrays
(#618) Missing docblock for function retrieve_external_moodle_name
(#621) Short array syntax must be used to define arrays
(#623) Only one argument is allowed per line in a multi-line function call
(#624) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#624) Only one argument is allowed per line in a multi-line function call
(#624) Only one argument is allowed per line in a multi-line function call
(#624) Closing parenthesis of a multi-line function call must be on a line by itself
(#627) Opening parenthesis of a multi-line function call must be the last content on the line
(#628) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#628) Closing parenthesis of a multi-line function call must be on a line by itself
(#633) Missing docblock for function download_external_backup_courses
(#639) Short array syntax must be used to define arrays
(#645) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#645) Only one argument is allowed per line in a multi-line function call
(#645) Only one argument is allowed per line in a multi-line function call
(#645) Only one argument is allowed per line in a multi-line function call
(#645) Only one argument is allowed per line in a multi-line function call
(#645) Closing parenthesis of a multi-line function call must be on a line by itself
(#647) Opening parenthesis of a multi-line function call must be the last content on the line
(#648) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#648) Closing parenthesis of a multi-line function call must be on a line by itself
(#652) Expected at least 1 space before "."; 0 found
(#652) Expected at least 1 space after "."; 0 found
(#655) Expected "if (...) {\n"; found "if(...){\n"
(#655) Expected 1 space after IF keyword; 0 found
(#655) Expected 1 space after closing parenthesis; found 0
(#660) Expected at least 1 space before "."; 0 found
(#660) Expected at least 1 space after "."; 0 found
(#664) Missing docblock for function restore_course_from_backup_file
(#666) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#666) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#667) Incorrect spacing between argument "$enrolmentmode" and equals sign; expected 1 but found 0
(#667) The closing parenthesis of a multi-line function declaration must be on a new line
(#672) Expected at least 1 space before "."; 0 found
(#672) Expected at least 1 space after "."; 0 found
(#673) Expected at least 1 space before "."; 0 found
(#673) Expected at least 1 space after "."; 0 found
(#674) Expected at least 1 space before "."; 0 found
(#674) Expected at least 1 space after "."; 0 found
(#681) Expected at least 1 space before "."; 0 found
(#681) Expected at least 1 space after "."; 0 found
(#682) Expected at least 1 space before "."; 0 found
(#682) Expected at least 1 space after "."; 0 found
(#690) Opening parenthesis of a multi-line function call must be the last content on the line
(#691) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#691) Closing parenthesis of a multi-line function call must be on a line by itself
(#715) Opening parenthesis of a multi-line function call must be the last content on the line
(#716) Only one argument is allowed per line in a multi-line function call
(#717) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#717) Expected at least 1 space before "?"; 0 found
(#717) Expected 1 space before "?"; 0 found
(#717) Only one argument is allowed per line in a multi-line function call
(#717) Space found before comma in argument list
(#717) Expected no space between "contractorid" and the comma. Found: 1 space
(#717) Only one argument is allowed per line in a multi-line function call
(#717) Closing parenthesis of a multi-line function call must be on a line by itself
(#725) The use of function error_log() is forbidden; use debugging() instead
(#725) Expected at least 1 space before "."; 0 found
(#725) Expected at least 1 space after "."; 0 found
(#729) Blank line found at end of control structure
(#731) Opening parenthesis of a multi-line function call must be the last content on the line
(#732) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#732) Expected at least 1 space before "."; 0 found
(#732) Expected at least 1 space after "."; 0 found
(#732) Expected at least 1 space before "."; 0 found
(#732) Expected at least 1 space after "."; 0 found
(#732) Expected at least 1 space before "."; 0 found
(#732) Expected at least 1 space after "."; 0 found
(#732) Expected at least 1 space before "."; 0 found
(#732) Expected at least 1 space after "."; 0 found
(#732) Closing parenthesis of a multi-line function call must be on a line by itself
(#757) Opening parenthesis of a multi-line function call must be the last content on the line
(#758) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#758) Expected at least 1 space before "."; 0 found
(#758) Expected at least 1 space after "."; 0 found
(#758) Expected at least 1 space before "."; 0 found
(#758) Expected at least 1 space after "."; 0 found
(#758) Closing parenthesis of a multi-line function call must be on a line by itself
(#769) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#769) Short array syntax must be used to define arrays
(#769) Closing parenthesis of a multi-line function call must be on a line by itself
(#787) Missing docblock for function download_backup_course
(#805) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#806) Expected at least 1 space after "."; 0 found
(#806) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#808) Expected at least 1 space after "."; 0 found
(#812) Expected at least 1 space after "."; 0 found
(#822) Opening parenthesis of a multi-line function call must be the last content on the line
(#823) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#823) Closing parenthesis of a multi-line function call must be on a line by itself
(#828) Missing docblock for function change_task_status
(#835) Missing docblock for function set_local_courseid
(#841) Missing docblock for function get_username
(#843) Short array syntax must be used to define arrays
(#849) Missing docblock for function get_user
(#851) Short array syntax must be used to define arrays
(#854) Missing docblock for function get_manual_enrol
(#856) Short array syntax must be used to define arrays
(#857) Short array syntax must be used to define arrays
(#861) Short array syntax must be used to define arrays
(#867) There should be a comma after the last array item in a multi-line array.
(#870) Short array syntax must be used to define arrays
(#874) Missing docblock for function enrol_user
(#877) Missing docblock for function get_errors
(#880) Missing docblock for function get_lang_object
(#899) Opening parenthesis of a multi-line function call must be the last content on the line
(#900) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#900) Only one argument is allowed per line in a multi-line function call
(#900) Closing parenthesis of a multi-line function call must be on a line by itself
(#904) Opening parenthesis of a multi-line function call must be the last content on the line
(#905) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#905) Only one argument is allowed per line in a multi-line function call
(#905) Closing parenthesis of a multi-line function call must be on a line by itself
(#908) Missing docblock for function notify_success
(#908) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#908) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#922) Expected at least 1 space before "?"; 0 found
(#922) Expected 1 space before "?"; 0 found
(#923) Opening parenthesis of a multi-line function call must be the last content on the line
(#924) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#924) Only one argument is allowed per line in a multi-line function call
(#924) Closing parenthesis of a multi-line function call must be on a line by itself
(#925) Opening parenthesis of a multi-line function call must be the last content on the line
(#926) Multi-line function call not indented correctly; expected 16 spaces but found 12
(#926) Only one argument is allowed per line in a multi-line function call
(#926) Closing parenthesis of a multi-line function call must be on a line by itself
(#936) Opening parenthesis of a multi-line function call must be the last content on the line
(#936) Expected at least 1 space before "."; 0 found
(#936) Expected at least 1 space after "."; 0 found
(#937) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#937) Only one argument is allowed per line in a multi-line function call
(#937) Closing parenthesis of a multi-line function call must be on a line by itself
(#958) Missing docblock for function add_error
(#962) Missing docblock for function create_task
(#963) Multi-line function declarations must define one parameter per line
(#964) Multi-line function declarations must define one parameter per line
(#964) Multi-line function declarations must define one parameter per line
(#964) Expected 1 space between comma and argument "$courseid"; 0 found
(#964) Commas (,) must be followed by white space.
(#964) Expected 1 space between the comma and "$courseid". Found: no spaces
(#964) Multi-line function declarations must define one parameter per line
(#967) Incorrect spacing between argument "$internalcategory" and equals sign; expected 1 but found 0
(#967) Incorrect spacing between default value and equals sign for argument "$internalcategory"; expected 1 but found 0
(#967) Multi-line function declarations must define one parameter per line
(#967) Incorrect spacing between argument "$withuserdatas" and equals sign; expected 1 but found 0
(#967) Incorrect spacing between default value and equals sign for argument "$withuserdatas"; expected 1 but found 0
(#967) Multi-line function declarations must define one parameter per line
(#967) Incorrect spacing between argument "$enrolmentmode" and equals sign; expected 1 but found 0
(#967) Incorrect spacing between default value and equals sign for argument "$enrolmentmode"; expected 1 but found 0
(#970) Expected "if (...) {\n"; found "if (...){\n"
(#970) Short array syntax must be used to define arrays
(#970) Expected at least 1 space before "=>"; 0 found
(#970) Expected at least 1 space after "=>"; 0 found
(#970) Expected 1 space before "=>"; 0 found
(#970) Expected 1 space after "=>"; 0 found
(#970) Expected 1 space after closing parenthesis; found 0
(#973) Short array syntax must be used to define arrays
(#973) Expected at least 1 space before "=>"; 0 found
(#973) Expected at least 1 space after "=>"; 0 found
(#973) Expected 1 space before "=>"; 0 found
(#973) Expected 1 space after "=>"; 0 found
(#992) Missing docblock for class block_my_external_backup_restore_courses_task_error
(#992) Each class must be in a file by itself
(#992) Opening brace must not be followed by a blank line
(#994) Missing member variable doc comment
(#995) Missing member variable doc comment
(#996) Missing member variable doc comment
(#997) Missing member variable doc comment
(#998) Missing member variable doc comment
(#999) Missing member variable doc comment
(#1000) Missing member variable doc comment
(#1001) Missing member variable doc comment
(#1002) Missing member variable doc comment
(#1003) Missing member variable doc comment
(#1005) Missing docblock for function _get
(#1005) Method name "_get" must not be prefixed with an underscore to indicate visibility
(#1009) Missing docblock for function __construct
(#1009) Incorrect spacing between argument "$courseid" and equals sign; expected 1 but found 0
(#1009) Incorrect spacing between default value and equals sign for argument "$courseid"; expected 1 but found 0
(#1010) Expected "if (...) {\n"; found "if(...) {\n"
(#1010) Expected 1 space after IF keyword; 0 found
(#1018) Line exceeds 132 characters; contains 139 characters
(#1021) Expected at least 1 space before "?"; 0 found
(#1021) Expected 1 space before "?"; 0 found
(#1025) Missing docblock for function get_user
(#1029) Short array syntax must be used to define arrays
(#1031) Short array syntax must be used to define arrays
(#1037) Missing docblock for function get_lang_object
(#1056) Opening parenthesis of a multi-line function call must be the last content on the line
(#1057) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#1057) Only one argument is allowed per line in a multi-line function call
(#1057) Closing parenthesis of a multi-line function call must be on a line by itself
(#1061) Opening parenthesis of a multi-line function call must be the last content on the line
(#1062) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#1062) Only one argument is allowed per line in a multi-line function call
(#1062) Closing parenthesis of a multi-line function call must be on a line by itself
(#1066) The closing brace for the class must go on the next line after the body
(#1067) Missing docblock for class block_my_external_backup_restore_courses_task_error_list
(#1067) Each class must be in a file by itself
(#1067) Opening brace must not be followed by a blank line
(#1069) Missing member variable doc comment
(#1069) Short array syntax must be used to define arrays
(#1070) Missing docblock for function add_error
(#1073) Missing docblock for function add_errors
(#1076) Missing docblock for function has_errors
(#1079) Missing docblock for function format_error_for_admin
(#1079) Incorrect spacing between argument "$username" and equals sign; expected 1 but found 0
(#1079) Incorrect spacing between default value and equals sign for argument "$username"; expected 1 but found 0
(#1079) Incorrect spacing between argument "$externalcourseid" and equals sign; expected 1 but found 0
(#1079) Incorrect spacing between default value and equals sign for argument "$externalcourseid"; expected 1 but found 0
(#1082) The first expression of a multi-line control structure must be on the line after the opening parenthesis
(#1083) The closing parenthesis of a multi-line control structure must be on the line after the last expression
(#1084) Opening parenthesis of a multi-line function call must be the last content on the line
(#1084) Only one argument is allowed per line in a multi-line function call
(#1085) Short array syntax must be used to define arrays
(#1090) Multi-line function call not indented correctly; expected 16 spaces but found 24
(#1090) Closing parenthesis of a multi-line function call must be on a line by itself
(#1094) Missing docblock for function notify_errors
(#1116) Opening parenthesis of a multi-line function call must be the last content on the line
(#1116) Only one argument is allowed per line in a multi-line function call
(#1117) Multi-line function call not indented correctly; expected 20 spaces but found 24
(#1117) Closing parenthesis of a multi-line function call must be on a line by itself
(#1120) Opening parenthesis of a multi-line function call must be the last content on the line
(#1121) Expected at least 1 space after "."; 0 found
(#1122) Multi-line function call not indented correctly; expected 16 spaces but found 20
(#1122) Only one argument is allowed per line in a multi-line function call
(#1122) Closing parenthesis of a multi-line function call must be on a line by itself
(#1141) The closing brace for the class must go on the next line after the body
blocks/my_external_backup_restore_courses/settings.php
(#20) Incorrect @package tag for file settings.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.
(#39) No space found after comma in argument list
(#39) Commas (,) must be followed by white space.
(#39) Expected 1 space between the comma and ""block_my_external_backup_restore_courses"". Found: no spaces
(#45) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) 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
(#67) Only one argument is allowed per line in a multi-line function call
(#69) Opening parenthesis of a multi-line function call must be the last content on the line
(#74) Opening parenthesis of a multi-line function call must be the last content on the line
(#81) Opening parenthesis of a multi-line function call must be the last content on the line
(#86) Opening parenthesis of a multi-line function call must be the last content on the line
(#91) Opening parenthesis of a multi-line function call must be the last content on the line
(#96) Opening parenthesis of a multi-line function call must be the last content on the line
(#101) Opening parenthesis of a multi-line function call must be the last content on the line
(#106) Opening parenthesis of a multi-line function call must be the last content on the line
(#111) Opening parenthesis of a multi-line function call must be the last content on the line
(#116) Opening parenthesis of a multi-line function call must be the last content on the line
(#121) Opening parenthesis of a multi-line function call must be the last content on the line
(#126) Opening parenthesis of a multi-line function call must be the last content on the line
(#131) Opening parenthesis of a multi-line function call must be the last content on the line
(#136) Opening parenthesis of a multi-line function call must be the last content on the line
(#141) Opening parenthesis of a multi-line function call must be the last content on the line
(#144) Only one argument is allowed per line in a multi-line function call
(#146) Opening parenthesis of a multi-line function call must be the last content on the line
(#151) Opening parenthesis of a multi-line function call must be the last content on the line
(#156) Opening parenthesis of a multi-line function call must be the last content on the line
(#161) Opening parenthesis of a multi-line function call must be the last content on the line
(#163) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#163) Only one argument is allowed per line in a multi-line function call
(#163) Closing parenthesis of a multi-line function call must be on a line by itself
(#164) Opening parenthesis of a multi-line function call must be the last content on the line
(#169) Opening parenthesis of a multi-line function call must be the last content on the line
(#171) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#171) Only one argument is allowed per line in a multi-line function call
(#171) Closing parenthesis of a multi-line function call must be on a line by itself
(#172) Opening parenthesis of a multi-line function call must be the last content on the line
(#177) Opening parenthesis of a multi-line function call must be the last content on the line
(#179) Multi-line function call not indented correctly; expected 4 spaces but found 8
(#179) Only one argument is allowed per line in a multi-line function call
(#179) Closing parenthesis of a multi-line function call must be on a line by itself
(#180) Opening parenthesis of a multi-line function call must be the last content on the line
blocks/my_external_backup_restore_courses/tests/behat/behat_block_my_external_backup_restore_courses.php
(#27) Opening brace must not be followed by a blank line
(#29) Missing docblock for constant behat_block_my_external_backup_restore_courses::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_ROLE
(#30) Missing docblock for constant behat_block_my_external_backup_restore_courses::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_DEFAULT_USER
(#39) Expected at least 1 space before "."; 0 found
(#39) Expected at least 1 space after "."; 0 found
(#40) Expected at least 1 space before "."; 0 found
(#40) Expected at least 1 space after "."; 0 found
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Expected 1 space after "="; 2 found
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#49) Missing docblock for function install_webservice_moodle_server
(#51) Expected at least 1 space before "."; 0 found
(#51) Expected at least 1 space after "."; 0 found
(#53) Short array syntax must be used to define arrays
(#55) Opening parenthesis of a multi-line function call must be the last content on the line
(#56) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#57) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#57) Closing parenthesis of a multi-line function call must be on a line by itself
(#58) Opening parenthesis of a multi-line function call must be the last content on the line
(#58) Only one argument is allowed per line in a multi-line function call
(#59) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Only one argument is allowed per line in a multi-line function call
(#59) Closing parenthesis of a multi-line function call must be on a line by itself
(#60) Opening parenthesis of a multi-line function call must be the last content on the line
(#60) Only one argument is allowed per line in a multi-line function call
(#61) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Only one argument is allowed per line in a multi-line function call
(#61) Closing parenthesis of a multi-line function call must be on a line by itself
(#62) Opening parenthesis of a multi-line function call must be the last content on the line
(#62) Only one argument is allowed per line in a multi-line function call
(#63) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Only one argument is allowed per line in a multi-line function call
(#63) Closing parenthesis of a multi-line function call must be on a line by itself
(#64) Opening parenthesis of a multi-line function call must be the last content on the line
(#64) Only one argument is allowed per line in a multi-line function call
(#65) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#65) Only one argument is allowed per line in a multi-line function call
(#65) Only one argument is allowed per line in a multi-line function call
(#65) 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
(#66) Only one argument is allowed per line in a multi-line function call
(#67) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#67) Only one argument is allowed per line in a multi-line function call
(#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
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#75) Expected at least 1 space before "."; 0 found
(#75) Expected at least 1 space after "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#79) Expected at least 1 space before "."; 0 found
(#79) Expected at least 1 space after "."; 0 found
(#82) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#92) There should be a comma after the last array item in a multi-line array.
(#111) Short array syntax must be used to define arrays
(#111) Commas (,) must be followed by white space.
(#111) Expected 1 space between the comma and "$course". Found: no spaces
(#112) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#114) Function closing brace must go on the next line following the body; found 2 blank lines before brace
blocks/my_external_backup_restore_courses/tests/externallib_test.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#39) Import statements must not begin with a leading backslash
(#45) Expected at least 1 space before "."; 0 found
(#45) Expected at least 1 space after "."; 0 found
(#46) Expected at least 1 space before "."; 0 found
(#46) Expected at least 1 space after "."; 0 found
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#50) This comment is 64% valid code; is this commented out code?
(#50) No space found before comment text; expected "// require_once($CFG->dirroot . '/backup/util/includes/restore_includes.php');" but found "//require_once($CFG->dirroot . '/backup/util/includes/restore_includes.php');"
(#51) Expected at least 1 space before "."; 0 found
(#51) Expected at least 1 space after "."; 0 found
(#56) Unit test externallib_test should be declared as final.
(#56) No one-line description found in phpdocs for docblock of class externallib_test
(#57) Missing member variable doc comment
(#58) Missing member variable doc comment
(#59) Missing member variable doc comment
(#60) Missing member variable doc comment
(#61) Missing member variable doc comment
(#62) Missing member variable doc comment
(#63) Missing member variable doc comment
(#64) Missing member variable doc comment
(#65) Missing member variable doc comment
(#66) Missing member variable doc comment
(#67) Missing member variable doc comment
(#68) Missing docblock for constant externallib_test::EDITING_TEACHER_USERNAME
(#69) Missing docblock for constant externallib_test::CATEGORY_MANAGER_USERNAME
(#70) Missing docblock for constant externallib_test::CATEGORY_MANAGER_ROLE
(#76) Test method test_get_courses() is missing any coverage information, own or at class level
(#76) No one-line description found in phpdocs for docblock of function test_get_courses
(#76) Test method test_get_courses() is missing a return type
(#76) Expected 1 space before opening brace; found 0
(#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) Closing parenthesis of a multi-line function call must be on a line by itself
(#81) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#81) Only one argument is allowed per line in a multi-line function call
(#81) Closing parenthesis of a multi-line function call must be on a line by itself
(#92) Test method test_get_courses_zip() is missing any coverage information, own or at class level
(#92) No one-line description found in phpdocs for docblock of function test_get_courses_zip
(#92) Test method test_get_courses_zip() is missing a return type
(#92) Expected 1 space before opening brace; found 0
(#97) Expected at least 1 space before "."; 0 found
(#97) Expected at least 1 space after "."; 0 found
(#102) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#102) Only one argument is allowed per line in a multi-line function call
(#102) Closing parenthesis of a multi-line function call must be on a line by itself
(#117) Test method test_get_courses_zip_withuserdatas() is missing any coverage information, own or at class level
(#117) Test method test_get_courses_zip_withuserdatas() is missing a return type
(#117) Expected 1 space before opening brace; found 0
(#122) Expected at least 1 space before "."; 0 found
(#122) Expected at least 1 space after "."; 0 found
(#127) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#127) Only one argument is allowed per line in a multi-line function call
(#127) Closing parenthesis of a multi-line function call must be on a line by itself
(#139) Test method test_restore_course_in_categories() is missing any coverage information, own or at class level
(#139) Test method test_restore_course_in_categories() is missing a return type
(#160) Test method test_restore_course_withoutuserdatas() is missing any coverage information, own or at class level
(#160) No one-line description found in phpdocs for docblock of function test_restore_course_withoutuserdatas
(#160) Test method test_restore_course_withoutuserdatas() is missing a return type
(#160) Expected 1 space before opening brace; found 0
(#169) Expected "if (...) {\n"; found "if(...) {\n"
(#169) Expected 1 space after IF keyword; 0 found
(#171) 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
(#179) Line exceeds 132 characters; contains 134 characters
(#180) Short array syntax must be used to define arrays
(#182) Expected "if (...) {\n"; found "if(...) {\n"
(#182) Expected 1 space after IF keyword; 0 found
(#188) Inline comments must start with a capital letter, digit or 3-dots sequence
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#194) Expected "if (...) {\n"; found "if(...) {\n"
(#194) Expected 1 space after IF keyword; 0 found
(#210) Test method test_restore_course_without_requester_autoenrol() is missing any coverage information, own or at class level
(#210) Test method test_restore_course_without_requester_autoenrol() is missing a return type
(#210) Expected 1 space before opening brace; found 0
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Test method test_restore_course_withuserdatas() is missing any coverage information, own or at class level
(#226) Test method test_restore_course_withuserdatas() is missing a return type
(#226) Expected 1 space before opening brace; found 0
(#253) Line exceeds 132 characters; contains 134 characters
(#254) Short array syntax must be used to define arrays
(#259) No space found after comma in argument list
(#259) Commas (,) must be followed by white space.
(#259) Expected 1 space between the comma and "$enrolleeswithmethod". Found: no spaces
(#260) No space found after comma in argument list
(#260) Commas (,) must be followed by white space.
(#260) Expected 1 space between the comma and "$enrolleeswithmethod". Found: no spaces
(#279) Missing docblock for function set_comptencies in testcase
(#281) Expected "if (...) {\n"; found "if(...){\n"
(#281) Expected 1 space after IF keyword; 0 found
(#281) Expected 1 space after closing parenthesis; found 0
(#287) Short array syntax must be used to define arrays
(#288) Inline comments must end in full-stops, exclamation marks, or question marks
(#293) No space found after comma in argument list
(#293) Commas (,) must be followed by white space.
(#293) Expected 1 space between the comma and "$comp1". Found: no spaces
(#293) Space found before comma in argument list
(#293) Expected no space between "2" and the comma. Found: 1 space
(#294) No space found after comma in argument list
(#294) Commas (,) must be followed by white space.
(#294) Expected 1 space between the comma and "$this". Found: no spaces
(#294) Line exceeds 132 characters; contains 134 characters
(#300) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#302) Missing docblock for function check_competencies in testcase
(#306) No space found after comma in argument list
(#306) Commas (,) must be followed by white space.
(#306) Expected 1 space between the comma and "$this". Found: no spaces
(#306) Line exceeds 132 characters; contains 134 characters
(#314) There must not be a space before the colon in a return type declaration
(#322) Short array syntax must be used to define arrays
(#323) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#327) Expected at least 1 space before "."; 0 found
(#327) Expected at least 1 space after "."; 0 found
(#333) Short array syntax must be used to define arrays
(#334) Opening parenthesis of a multi-line function call must be the last content on the line
(#334) Only one argument is allowed per line in a multi-line function call
(#335) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#335) Only one argument is allowed per line in a multi-line function call
(#335) Only one argument is allowed per line in a multi-line function call
(#335) Closing parenthesis of a multi-line function call must be on a line by itself
(#336) Opening parenthesis of a multi-line function call must be the last content on the line
(#336) Only one argument is allowed per line in a multi-line function call
(#337) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#337) Only one argument is allowed per line in a multi-line function call
(#337) Only one argument is allowed per line in a multi-line function call
(#337) Closing parenthesis of a multi-line function call must be on a line by itself
(#338) Opening parenthesis of a multi-line function call must be the last content on the line
(#338) Only one argument is allowed per line in a multi-line function call
(#339) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#339) Only one argument is allowed per line in a multi-line function call
(#339) Only one argument is allowed per line in a multi-line function call
(#339) Closing parenthesis of a multi-line function call must be on a line by itself
(#340) Opening parenthesis of a multi-line function call must be the last content on the line
(#340) Only one argument is allowed per line in a multi-line function call
(#341) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#341) Only one argument is allowed per line in a multi-line function call
(#341) Only one argument is allowed per line in a multi-line function call
(#341) Closing parenthesis of a multi-line function call must be on a line by itself
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#353) Short array syntax must be used to define arrays
(#356) Expected at least 1 space before "="; 0 found
(#356) Expected at least 1 space after "="; 0 found
(#356) Expected 1 space before "="; 0 found
(#356) Expected 1 space after "="; 0 found
(#361) Expected at least 1 space before "="; 0 found
(#361) Expected at least 1 space after "="; 0 found
(#361) Expected 1 space before "="; 0 found
(#361) Expected 1 space after "="; 0 found
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Only one argument is allowed per line in a multi-line function call
(#366) Only one argument is allowed per line in a multi-line function call
(#366) Only one argument is allowed per line in a multi-line function call
(#370) Short array syntax must be used to define arrays
(#380) Short array syntax must be used to define arrays
(#380) Commas (,) must be followed by white space.
(#380) Expected 1 space between the comma and "'roleid'". Found: no spaces
(#381) Short array syntax must be used to define arrays
(#384) Inline comments must start with a capital letter, digit or 3-dots sequence
(#384) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#392) Closing parenthesis of a multi-line function call must be on a line by itself
(#394) Inline comments must end in full-stops, exclamation marks, or question marks
(#413) No one-line description found in phpdocs for docblock of function restore_course
(#413) Expected 1 space between comma and argument "$enrolmentmode"; 0 found
(#413) Commas (,) must be followed by white space.
(#413) Expected 1 space between the comma and "$enrolmentmode". Found: no spaces
(#415) Inline comments must end in full-stops, exclamation marks, or question marks
(#429) Inline comments must start with a capital letter, digit or 3-dots sequence
(#429) Inline comments must end in full-stops, exclamation marks, or question marks
(#430) Line exceeds 132 characters; contains 161 characters
(#437) Expected at least 1 space before "."; 0 found
(#437) Expected at least 1 space after "."; 0 found
(#442) Multi-line function call not indented correctly; expected 8 spaces but found 12
(#442) Only one argument is allowed per line in a multi-line function call
(#442) Closing parenthesis of a multi-line function call must be on a line by itself
(#447) Line exceeds 132 characters; contains 133 characters
(#448) Short array syntax must be used to define arrays
(#455) No one-line description found in phpdocs for docblock of function emulate_user_activites
(#456) Inline comments must end in full-stops, exclamation marks, or question marks
(#459) Short array syntax must be used to define arrays
(#463) There should be a comma after the last array item in a multi-line array.
(#473) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#476) Missing docblock for function enrolmode_withuserdatas_competencies_provider in testcase
(#476) Data provider method "enrolmode_withuserdatas_competencies_provider" will need to be converted to static in future.
(#487) Missing docblock for function enrolmode_withoutuserdatas_competencies_provider in testcase
(#487) Data provider method "enrolmode_withoutuserdatas_competencies_provider" will need to be converted to static in future.
(#497) Missing docblock for function username_provider in testcase
(#497) Data provider method "username_provider" will need to be converted to static in future.
(#497) Data provider method "username_provider" will need to be converted to static in future.
(#504) Missing docblock for function username_role_provider in testcase
(#504) Data provider method "username_role_provider" will need to be converted to static in future.
(#511) The closing brace for the class must go on the next line after the body
blocks/my_external_backup_restore_courses/tests/generator/lib.php
(#20) Incorrect @package tag for file lib.php. Expected block_my_external_backup_restore_courses, found block_user_session.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Missing docblock for class block_my_external_backup_restore_courses_generator
(#30) Opening brace must not be followed by a blank line
(#32) Missing docblock for function create_backup_restore_entry
(#34) Expected at least 1 space before "."; 0 found
(#34) Expected at least 1 space after "."; 0 found
(#49) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#51) Missing docblock for function update_backup_restore_entry
blocks/my_external_backup_restore_courses/tests/locallib_test.php
(#16) Boilerplate comment must be followed by a single blank line or end of file
(#18) Incorrect @package tag for file locallib_test.php. Expected block_my_external_backup_restore_courses, found 2025 Université de Strasbourg {@link http://unistra.fr}.
(#32) Unit test locallib_test should be declared as final.
(#32) Missing docblock for class locallib_test
(#33) Test method test_cancelled_status() is missing any coverage information, own or at class level
(#33) Test method test_cancelled_status() is missing a return type
(#33) Expected 1 space before opening brace; found 0
(#36) Short array syntax must be used to define arrays
(#41) No space found after comma in argument list
(#41) Commas (,) must be followed by white space.
(#41) Expected 1 space between the comma and "$CFG". Found: no spaces
(#41) No space found after comma in argument list
(#41) Commas (,) must be followed by white space.
(#41) Expected 1 space between the comma and "'block_my_external_backup_restore_courses'". Found: no spaces
(#61) There must not be a space before the colon in a return type declaration
(#67) Expected 1 newline at end of file; 0 found
blocks/my_external_backup_restore_courses/tests/privacy_provider_test.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#47) Unit test privacy_provider_test should be declared as final.
(#47) Opening brace must not be followed by a blank line
(#54) Test method test_user_contextlist() is missing any coverage information, own or at class level
(#54) Test method test_user_contextlist() is missing a return type
(#59) Long list syntax is not allowed
(#69) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#76) Test method test_export_context_data_for_user() is missing any coverage information, own or at class level
(#76) Test method test_export_context_data_for_user() is missing a return type
(#81) Long list syntax is not allowed
(#87) Line indented incorrectly; expected at least 8 spaces, found 0
(#87) Space found before comma in argument list
(#87) Expected no space between "'stdClass'" and the comma. Found: a new line
(#95) Space found before comma in argument list
(#95) Expected no space between "$courseperformedcontext" and the comma. Found: 1 space
(#100) Line indented incorrectly; expected at least 8 spaces, found 0
(#100) Space found before comma in argument list
(#100) Expected no space between "'stdClass'" and the comma. Found: a new line
(#113) Test method test_export_all_data_for_user() is missing any coverage information, own or at class level
(#113) Test method test_export_all_data_for_user() is missing a return type
(#118) Long list syntax is not allowed
(#124) Line indented incorrectly; expected at least 8 spaces, found 0
(#124) Space found before comma in argument list
(#124) Expected no space between "'stdClass'" and the comma. Found: a new line
(#132) Opening parenthesis of a multi-line function call must be the last content on the line
(#132) Only one argument is allowed per line in a multi-line function call
(#133) Multi-line function call not indented correctly; expected 8 spaces but found 16
(#133) Closing parenthesis of a multi-line function call must be on a line by itself
(#138) Line indented incorrectly; expected at least 8 spaces, found 0
(#138) Space found before comma in argument list
(#138) Expected no space between "'stdClass'" and the comma. Found: a new line
(#151) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#151) Test method test_delete_data_for_all_users_in_context() is missing a return type
(#156) Long list syntax is not allowed
(#184) Test method test_delete_data_for_all_users() is missing any coverage information, own or at class level
(#184) Test method test_delete_data_for_all_users() is missing a return type
(#189) Long list syntax is not allowed
(#213) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#221) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#221) Test method test_delete_data_for_user() is missing a return type
(#226) Long list syntax is not allowed
(#229) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#230) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#231) Multi-line function call not indented correctly; expected 12 spaces but found 16
(#250) Function closing brace must go on the next line following the body; found 1 blank lines before brace
(#257) Expected 0 spaces after "("; 1 found
(#257) Expected 0 spaces after opening parenthesis; 1 found
(#262) No space found after comma in argument list
(#262) Commas (,) must be followed by white space.
(#262) Expected 1 space between the comma and "$courseperformed". Found: no spaces
(#277) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/tests/task_test.php
(#28) Unit test task_test should be declared as final.
(#28) Missing docblock for class task_test
(#28) Opening brace must not be followed by a blank line
(#30) There must not be a space before the colon in a return type declaration
(#40) Test method test_task_without_default_category() is missing any coverage information, own or at class level
(#40) No one-line description found in phpdocs for docblock of function test_task_without_default_category
(#40) Test method test_task_without_default_category() is missing a return type
(#40) Expected 1 space before opening brace; found 0
(#55) Missing docblock for function category_provider in testcase
(#55) Data provider method "category_provider" will need to be converted to static in future.
(#61) Expected 1 newline at end of file; 0 found
blocks/my_external_backup_restore_courses/version.php
(#20) Incorrect @package tag for file version.php. Expected block_my_external_backup_restore_courses, found 2015 unistra {@link http://unistra.fr}.

Javascript coding style problems

(10 errors, 16 warnings)

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

blocks/my_external_backup_restore_courses/amd/src/changetaskfields.js
(#4) Comments should not begin with a lowercase character. (capitalized-comments)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Expected space or tab after '//' in comment. (spaced-comment)
(#11) Operator '+' must be spaced. (space-infix-ops)
(#29) Unexpected space before function parentheses. (space-before-function-paren)
(#30) Expected space or tab after '//' in comment. (spaced-comment)
(#31) Operator '+' must be spaced. (space-infix-ops)
(#49) Unexpected space before function parentheses. (space-before-function-paren)
(#50) Expected space or tab after '//' in comment. (spaced-comment)
(#51) Operator '+' must be spaced. (space-infix-ops)
blocks/my_external_backup_restore_courses/module.js
(#2) A space is required after ','. (comma-spacing)
(#4) Missing space before opening brace. (space-before-blocks)
(#5) Operator '>' must be spaced. (space-infix-ops)
(#6) 'enrolmentModeList' is not defined. (no-undef)
(#6) Operator '+' must be spaced. (space-infix-ops)
(#7) 'withuserdatas' is not defined. (no-undef)
(#7) Operator '+' must be spaced. (space-infix-ops)
(#9) 'enrolmentModeList' is not defined. (no-undef)
(#10) 'withuserdatas' is not defined. (no-undef)
(#12) 'withuserdatas' is not defined. (no-undef)
(#13) 'enrolmentModeList' is not defined. (no-undef)
(#15) 'enrolmentModeList' is not defined. (no-undef)
(#20) 'checkboxs' is not defined. (no-undef)
(#21) 'checkboxs' is not defined. (no-undef)
(#22) Expected space(s) after "if". (keyword-spacing)
(#23) 'id' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(10 errors, 0 warnings)

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

blocks/my_external_backup_restore_courses/backup_external_courses_helper.class.php
(#84) Phpdocs for function backup_external_courses_helper::run_external_backup has incomplete parameters list
(#119) Phpdocs for function backup_external_courses_helper::launch_automated_backup_delete has incomplete parameters list
(#179) Inline phpdocs tag {@link self::BACKUP_STATUS_OK} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/my_external_backup_restore_courses/classes/privacy/provider.php
(#269) Phpdocs for function provider::validate_contextlist_contexts has incomplete parameters list
blocks/my_external_backup_restore_courses/tests/externallib_test.php
(#73) Phpdocs for function externallib_test::test_get_courses has incomplete parameters list
(#89) Phpdocs for function externallib_test::test_get_courses_zip has incomplete parameters list
(#157) Phpdocs for function externallib_test::test_restore_course_withoutuserdatas has incomplete parameters list
(#407) Phpdocs for function externallib_test::restore_course has incomplete parameters list
blocks/my_external_backup_restore_courses/tests/privacy_provider_test.php
(#18) Inline phpdocs tag {@link workshopform_accumulative_privacy_provider_testcase} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
blocks/my_external_backup_restore_courses/tests/task_test.php
(#37) Phpdocs for function task_test::test_task_without_default_category has incomplete parameters list

Update savepoints problems

(0 errors, 1 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

blocks/my_external_backup_restore_courses/db/upgrade.php
Detected fewer 'if' blocks (1) than 'savepoint' calls (3). Repeated savepoints?

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 "gherkinlint" 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

(22 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]

blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature
(#3) Missing Feature name
(#40) Multiple empty lines are not allowed
blocks/my_external_backup_restore_courses/tests/behat/multipleinstances.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature
(#3) Missing Feature name
(#43) Multiple empty lines are not allowed
(#84) Multiple empty lines are not allowed
(#85) Multiple empty lines are not allowed
(#86) Multiple empty lines are not allowed
(#87) Multiple empty lines are not allowed
(#88) Multiple empty lines are not allowed
(#89) Multiple empty lines are not allowed
blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature, blocks/my_external_backup_restore_courses/tests/behat/multipleinstances.feature
(#3) Missing Feature name
blocks/my_external_backup_restore_courses/tests/behat/onlyoneinstance.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature, blocks/my_external_backup_restore_courses/tests/behat/multipleinstances.feature, blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature
(#3) Missing Feature name
(#43) Multiple empty lines are not allowed
(#84) Multiple empty lines are not allowed
(#85) Multiple empty lines are not allowed
(#86) Multiple empty lines are not allowed
(#87) Multiple empty lines are not allowed
(#88) Multiple empty lines are not allowed
(#89) Multiple empty lines are not allowed