Prechecker results: error


PHP lint problems

(0 errors, 0 warnings)

This section shows php lint problems in the code detected by php -l [More info]


PHP coding style problems

(295 errors, 260 warnings)

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

blocks/my_external_backup_restore_courses/admin/adminlist_filter_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#13) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#16) Visibility must be declared on method "definition"
(#32) File must end with a newline character
blocks/my_external_backup_restore_courses/admin/coursetoimportadmintable.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#40) Visibility must be declared on method "__construct"
(#41) global $PAGE cannot be used in block classes. Use $this->page.
(#43) Expected "if (...) {\n"; found "if(...){\n"
(#46) Expected "if (...) {\n"; found "if(...){\n"
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#54) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#59) Whitespace found at end of line
(#60) Line indented incorrectly; expected at least 8 spaces, found 7
(#60) Short array syntax must be used to define arrays
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#60) Commas (,) must be followed by white space.
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#60) Commas (,) must be followed by white space.
(#60) Expected 1 space before "=>"; 0 found
(#60) Expected 1 space after "=>"; 0 found
(#61) Line indented incorrectly; expected at least 8 spaces, found 7
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#62) Line indented incorrectly; expected at least 8 spaces, found 7
(#64) Line indented incorrectly; expected at least 8 spaces, found 7
(#73) Line exceeds maximum limit of 180 characters; contains 246 characters
(#95) Short array syntax must be used to define arrays
(#96) Short array syntax must be used to define arrays
(#101) Expected 1 space before "="; 0 found
(#102) Expected 1 space before "="; 0 found
(#103) Expected 1 space before "="; 0 found
(#104) Expected 1 space before "="; 0 found
(#105) Expected 1 space before "="; 0 found
(#105) Whitespace found at end of line
(#111) Whitespace found at end of line
(#112) Inline comments must start with a capital letter, digit or 3-dots sequence
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#115) Commas (,) must be followed by white space.
(#117) Expected 1 space after "="; 0 found
(#126) Visibility must be declared on method "get_rows_per_page"
(#136) Visibility must be declared on method "col_externalcoursename"
(#138) Short array syntax must be used to define arrays
(#142) Visibility must be declared on method "col_courseid"
(#143) Expected "if (...) {\n"; found "if(...) {\n"
(#145) Short array syntax must be used to define arrays
(#147) Expected "} else {\n"; found "}else{\n"
(#159) Visibility must be declared on method "col_internalcategory"
(#160) Short array syntax must be used to define arrays
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#160) Commas (,) must be followed by white space.
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#160) Commas (,) must be followed by white space.
(#160) Expected 1 space before "=>"; 0 found
(#160) Expected 1 space after "=>"; 0 found
(#160) Line exceeds 132 characters; contains 155 characters
(#161) Whitespace found at end of line
(#163) Whitespace found at end of line
(#169) Visibility must be declared on method "col_status"
(#170) Short array syntax must be used to define arrays
(#170) Commas (,) must be followed by white space.
(#170) Line exceeds maximum limit of 180 characters; contains 240 characters
(#171) Commas (,) must be followed by white space.
(#171) Line exceeds maximum limit of 180 characters; contains 209 characters
(#172) Commas (,) must be followed by white space.
(#172) Line exceeds maximum limit of 180 characters; contains 207 characters
(#173) Commas (,) must be followed by white space.
(#173) Line exceeds maximum limit of 180 characters; contains 198 characters
(#173) There should be a comma after the last array item in a multi-line array.
(#175) Commas (,) must be followed by white space.
(#177) Visibility must be declared on method "col_action"
(#177) Expected 1 space before opening brace; found 0
(#178) Expected 1 space before "="; 0 found
(#178) Expected 1 space after "="; 0 found
(#178) Commas (,) must be followed by white space.
(#178) Short array syntax must be used to define arrays
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#178) Commas (,) must be followed by white space.
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#178) Expected 1 space before "=>"; 0 found
(#178) Expected 1 space after "=>"; 0 found
(#179) Expected 1 space before ".="; 0 found
(#179) Expected 1 space after ".="; 0 found
(#179) Commas (,) must be followed by white space.
(#179) Short array syntax must be used to define arrays
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Commas (,) must be followed by white space.
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Commas (,) must be followed by white space.
(#179) Expected 1 space before "=>"; 0 found
(#179) Expected 1 space after "=>"; 0 found
(#179) Line exceeds 132 characters; contains 164 characters
(#182) Visibility must be declared on method "col_timecreated"
(#182) Expected 1 space before opening brace; found 0
(#183) Expected 1 space before "?"; 0 found
(#183) Commas (,) must be followed by white space.
(#185) Visibility must be declared on method "col_timemodified"
(#185) Expected 1 space before opening brace; found 0
(#186) Expected 1 space before "?"; 0 found
(#186) Commas (,) must be followed by white space.
(#188) Visibility must be declared on method "col_timescheduleprocessed"
(#188) Expected 1 space before opening brace; found 0
(#189) Expected 1 space before "?"; 0 found
(#189) Commas (,) must be followed by white space.
(#191) Whitespace found at end of line
(#192) Inline comments must start with a capital letter, digit or 3-dots sequence
(#192) Inline comments must end in full-stops, exclamation marks, or question marks
(#192) No space found before comment text; expected "// override fonctions to include form" but found "//override fonctions to include form"
(#193) Visibility must be declared on method "start_html"
(#193) Expected 1 space before opening brace; found 0
(#196) Short array syntax must be used to define arrays
(#196) Expected 1 space before "=>"; 0 found
(#196) Expected 1 space after "=>"; 0 found
(#197) Short array syntax must be used to define arrays
(#197) Expected 1 space before "=>"; 0 found
(#197) Expected 1 space after "=>"; 0 found
(#197) Commas (,) must be followed by white space.
(#197) Expected 1 space before "=>"; 0 found
(#197) Expected 1 space after "=>"; 0 found
(#197) Expected 1 space before "=>"; 0 found
(#197) Expected 1 space after "=>"; 0 found
(#198) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#201) Whitespace found at end of line
(#202) Visibility must be declared on method "finish_html"
(#202) Expected 1 space before opening brace; found 0
(#206) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/my_external_backup_restore_courses/admin/managment.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#5) Whitespace found at end of line
(#6) Whitespace found at end of line
(#20) Short array syntax must be used to define arrays
(#20) Commas (,) must be followed by white space.
(#20) Short array syntax must be used to define arrays
(#20) Line exceeds 132 characters; contains 177 characters
(#24) Commas (,) must be followed by white space.
(#31) Commas (,) must be followed by white space.
(#32) Expected "if (...) {\n"; found "if(...){\n"
(#33) Line exceeds 132 characters; contains 140 characters
(#35) Short array syntax must be used to define arrays
(#35) Expected 1 space before "=>"; 0 found
(#35) Expected 1 space after "=>"; 0 found
(#36) Expected "if (...) {\n"; found "if(...){\n"
(#37) Line exceeds 132 characters; contains 161 characters
(#40) Commas (,) must be followed by white space.
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) No space found before comment text; expected "// writing default category informations" but found "//writing default category informations"
(#43) Commas (,) must be followed by white space.
(#48) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#67) Expected 1 space before "="; 0 found
(#73) Expected "if (...) {\n"; found "if(...){\n"
(#73) Expected 1 space before "!="; 0 found
(#73) Expected 1 space after "!="; 0 found
(#74) Whitespace found at end of line
(#76) Short array syntax must be used to define arrays
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#77) Line indented incorrectly; expected 4 spaces, found 5
(#77) Expected "if (...) {\n"; found "if(...){\n"
(#82) Line indented incorrectly; expected 4 spaces, found 5
(#84) Short array syntax must be used to define arrays
(#87) There should be a comma after the last array item in a multi-line array.
(#89) Commas (,) must be followed by white space.
(#89) Commas (,) must be followed by white space.
(#92) File must end with a newline character
blocks/my_external_backup_restore_courses/admin/restorecourseforuser.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#16) Short array syntax must be used to define arrays
(#17) Commas (,) must be followed by white space.
(#17) Short array syntax must be used to define arrays
(#20) Expected 1 space before "="; 0 found
(#23) Commas (,) must be followed by white space.
(#32) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#47) File must end with a newline character
blocks/my_external_backup_restore_courses/admin/restorecourseforuser_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#15) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#19) Visibility must be declared on method "definition"
(#23) Short array syntax must be used to define arrays
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Expected 1 space before ">"; 0 found
(#30) Expected 1 space after ">"; 0 found
(#31) Short array syntax must be used to define arrays
(#32) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#37) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#72) File must end with a newline character
blocks/my_external_backup_restore_courses/backup_external_courses_helper.class.php
(#52) Short array syntax must be used to define arrays
(#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.
(#97) Short array syntax must be used to define arrays
(#102) There should be a comma after the last array item in a multi-line array.
(#109) Short array syntax must be used to define arrays
(#113) Short array syntax must be used to define arrays
(#115) There should be a comma after the last array item in a multi-line array.
(#132) Spaces must be used to indent lines; tabs are not allowed
(#132) Tab found within whitespace
(#132) Line indented incorrectly; expected at least 8 spaces, found 1
(#135) Expected 1 space before "?"; 0 found
(#146) The use of function error_log() is forbidden; use debugging() instead
blocks/my_external_backup_restore_courses/block_my_external_backup_restore_courses.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) global $PAGE cannot be used in block classes. Use $this->page.
(#42) global $PAGE cannot be used in block classes. Use $this->page.
(#53) Logical operator "or" is prohibited; use "||" instead
(#53) Logical operator "or" is prohibited; use "||" instead
(#61) Short array syntax must be used to define arrays
(#65) File must end with a newline character
blocks/my_external_backup_restore_courses/classes/privacy/provider.php
(#35) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#51) Opening brace should be on the same line as the declaration for class provider
(#63) There should be a comma after the last array item in a multi-line array.
(#89) There should be a comma after the last array item in a multi-line array.
(#114) There should be a comma after the last array item in a multi-line array.
(#128) Logical operator "or" is prohibited; use "||" instead
(#132) There should be a comma after the last array item in a multi-line array.
(#140) There should be a comma after the last array item in a multi-line array.
(#159) Short array syntax must be used to define arrays
(#163) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#168) There should be a comma after the last array item in a multi-line array.
(#175) There should be a comma after the last array item in a multi-line array.
(#196) Short array syntax must be used to define arrays
(#197) There should be a comma after the last array item in a multi-line array.
(#203) Short array syntax must be used to define arrays
(#204) There should be a comma after the last array item in a multi-line array.
(#225) Short array syntax must be used to define arrays
(#226) There should be a comma after the last array item in a multi-line array.
(#232) Short array syntax must be used to define arrays
(#233) There should be a comma after the last array item in a multi-line array.
(#254) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/classes/task/backup_restore_task.php
(#29) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
blocks/my_external_backup_restore_courses/cli/install_server.php
(#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
blocks/my_external_backup_restore_courses/db/access.php
(#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) File must end with a newline character
blocks/my_external_backup_restore_courses/db/messages.php
(#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.
(#45) File must end with a newline character
blocks/my_external_backup_restore_courses/db/services.php
(#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
(#49) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#54) There should be a comma after the last array item in a multi-line array.
(#60) There should be a comma after the last array item in a multi-line array.
(#61) There should be a comma after the last array item in a multi-line array.
(#62) File must end with a newline character
blocks/my_external_backup_restore_courses/db/tasks.php
(#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) File must end with a newline character
blocks/my_external_backup_restore_courses/db/upgrade.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#45) Expected "if (...) {\n"; found "if(...){\n"
(#53) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#55) Whitespace found at end of line
(#58) Expected "if (...) {\n"; found "if(...){\n"
(#61) Commas (,) must be followed by white space.
(#82) Short array syntax must be used to define arrays
(#93) Expected "if (...) {\n"; found "if(...) {\n"
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/my_external_backup_restore_courses/externallib.php
(#37) Short array syntax must be used to define arrays
(#44) Short array syntax must be used to define arrays
(#53) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#79) Line exceeds 132 characters; contains 138 characters
(#86) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#108) Short array syntax must be used to define arrays
(#115) Short array syntax must be used to define arrays
(#126) Commas (,) must be followed by white space.
(#126) Line exceeds 132 characters; contains 139 characters
(#127) Commas (,) must be followed by white space.
(#136) Short array syntax must be used to define arrays
(#146) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/index.php
(#46) Short array syntax must be used to define arrays
(#50) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#74) This comment is 47% valid code; is this commented out code?
(#75) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#145) Inline comments must start with a capital letter, digit or 3-dots sequence
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Short array syntax must be used to define arrays
(#166) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#218) Short array syntax must be used to define arrays
(#229) Short array syntax must be used to define arrays
(#234) Short array syntax must be used to define arrays
(#242) Short array syntax must be used to define arrays
(#250) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#251) Short array syntax must be used to define arrays
(#255) Short array syntax must be used to define arrays
(#258) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#267) Commas (,) must be followed by white space.
(#270) Commas (,) must be followed by white space.
(#289) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#322) Short array syntax must be used to define arrays
(#324) Short array syntax must be used to define arrays
(#325) Short array syntax must be used to define arrays
(#334) Short array syntax must be used to define arrays
(#348) Short array syntax must be used to define arrays
(#400) Short array syntax must be used to define arrays
(#409) Short array syntax must be used to define arrays
(#414) Commas (,) must be followed by white space.
(#420) Commas (,) must be followed by white space.
(#426) Commas (,) must be followed by white space.
(#437) Expected "if (...) {\n"; found "if(...) {\n"
(#443) Short array syntax must be used to define arrays
(#445) There should be a comma after the last array item in a multi-line array.
(#450) Expected "if (...) {\n"; found "if(...) {\n"
(#464) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#472) Commas (,) must be followed by white space.
(#488) Short array syntax must be used to define arrays
(#519) Short array syntax must be used to define arrays
(#523) Short array syntax must be used to define arrays
(#529) Short array syntax must be used to define arrays
(#611) Short array syntax must be used to define arrays
(#646) Short array syntax must be used to define arrays
(#648) Short array syntax must be used to define arrays
(#654) Short array syntax must be used to define arrays
(#679) Short array syntax must be used to define arrays
(#702) Short array syntax must be used to define arrays
(#720) Short array syntax must be used to define arrays
(#725) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/lang/en/block_my_external_backup_restore_courses.php
(#133) Expected 1 space before "="; 0 found
(#133) Expected 1 space after "="; 0 found
(#152) File must end with a newline character
blocks/my_external_backup_restore_courses/lang/fr/block_my_external_backup_restore_courses.php
(#130) Expected 1 space before "="; 0 found
(#130) Expected 1 space after "="; 0 found
(#133) Expected 1 space before "="; 0 found
(#133) Expected 1 space after "="; 0 found
(#152) File must end with a newline character
blocks/my_external_backup_restore_courses/locallib.php
(#31) Expected 1 space before opening brace; found 0
(#40) Short array syntax must be used to define arrays
(#59) Short array syntax must be used to define arrays
(#62) 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) Expected 1 space after "=="; 0 found
(#120) Short array syntax must be used to define arrays
(#127) Logical operator "or" is prohibited; use "||" instead
(#128) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#158) Short array syntax must be used to define arrays
(#175) Short array syntax must be used to define arrays
(#232) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#268) Short array syntax must be used to define arrays
(#279) Short array syntax must be used to define arrays
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#298) Short array syntax must be used to define arrays
(#317) Short array syntax must be used to define arrays
(#338) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#345) Expected 1 space before "="; 0 found
(#345) Expected 1 space after "="; 0 found
(#351) Short array syntax must be used to define arrays
(#359) Short array syntax must be used to define arrays
(#361) There should be a comma after the last array item in a multi-line array.
(#369) Expected 1 space before opening brace; found 0
(#371) Short array syntax must be used to define arrays
(#377) Expected "if (...) {\n"; found "if(...){\n"
(#389) Expected 1 space before opening brace; found 0
(#395) Inline comments must start with a capital letter, digit or 3-dots sequence
(#395) Inline comments must end in full-stops, exclamation marks, or question marks
(#395) No space found before comment text; expected "// troubles with moodle get_count" but found "//troubles with moodle get_count"
(#396) Expected 1 space before ":"; 0 found
(#396) Expected 1 space after ":"; 0 found
(#396) Expected 1 space before ">"; 0 found
(#396) Expected 1 space after ">"; 0 found
(#410) Expected 1 space before opening brace; found 0
(#428) Short array syntax must be used to define arrays
(#437) Short array syntax must be used to define arrays
(#451) Short array syntax must be used to define arrays
(#467) Short array syntax must be used to define arrays
(#538) Line exceeds 132 characters; contains 159 characters
(#545) Short array syntax must be used to define arrays
(#548) Expected 1 space before opening brace; found 0
(#550) Short array syntax must be used to define arrays
(#560) Short array syntax must be used to define arrays
(#568) Short array syntax must be used to define arrays
(#583) Short array syntax must be used to define arrays
(#595) Expected "if (...) {\n"; found "if(...){\n"
(#659) Expected 1 space before "?"; 0 found
(#667) The use of function error_log() is forbidden; use debugging() instead
(#711) Short array syntax must be used to define arrays
(#783) Short array syntax must be used to define arrays
(#791) Short array syntax must be used to define arrays
(#796) Short array syntax must be used to define arrays
(#797) Short array syntax must be used to define arrays
(#801) Short array syntax must be used to define arrays
(#807) There should be a comma after the last array item in a multi-line array.
(#810) Short array syntax must be used to define arrays
(#862) Expected 1 space before "?"; 0 found
(#903) Expected 1 space before opening brace; found 0
(#916) Method name "_get" should not be prefixed with an underscore to indicate visibility
(#938) Short array syntax must be used to define arrays
(#940) Short array syntax must be used to define arrays
(#978) Short array syntax must be used to define arrays
(#994) Short array syntax must be used to define arrays
blocks/my_external_backup_restore_courses/settings.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#129) File must end with a newline character
blocks/my_external_backup_restore_courses/tests/behat/behat_block_my_external_backup_restore_courses.php
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#89) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#111) There should be a comma after the last array item in a multi-line array.
(#130) Short array syntax must be used to define arrays
(#130) Commas (,) must be followed by white space.
(#131) Functions must not contain multiple empty lines in a row; found 2 empty lines
blocks/my_external_backup_restore_courses/tests/externallib_test.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#48) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) This comment is 64% valid code; is this commented out code?
(#48) 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');"
(#65) Test method test_get_courses() is missing any coverage information, own or at class level
(#65) Expected 1 space before opening brace; found 0
(#79) Data provider method "username_provider" will need to be converted to static in future.
(#81) Test method test_get_courses_zip() is missing any coverage information, own or at class level
(#81) Expected 1 space before opening brace; found 0
(#99) Data provider method "username_provider" will need to be converted to static in future.
(#102) Test method test_get_courses_zip_withuserdatas() is missing any coverage information, own or at class level
(#102) Expected 1 space before opening brace; found 0
(#120) Test method test_restore_course_in_categories() is missing any coverage information, own or at class level
(#139) Data provider method "enrolmode_withoutuserdatas_competencies_provider" will need to be converted to static in future.
(#141) Test method test_restore_course_withoutuserdatas() is missing any coverage information, own or at class level
(#141) Expected 1 space before opening brace; found 0
(#150) Expected "if (...) {\n"; found "if(...) {\n"
(#152) Inline comments must end in full-stops, exclamation marks, or question marks
(#155) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Line exceeds 132 characters; contains 134 characters
(#161) Short array syntax must be used to define arrays
(#163) Expected "if (...) {\n"; found "if(...) {\n"
(#174) Expected "if (...) {\n"; found "if(...) {\n"
(#191) Data provider method "enrolmode_withuserdatas_competencies_provider" will need to be converted to static in future.
(#194) Test method test_restore_course_withuserdatas() is missing any coverage information, own or at class level
(#194) Expected 1 space before opening brace; found 0
(#220) Line exceeds 132 characters; contains 134 characters
(#221) Short array syntax must be used to define arrays
(#226) Commas (,) must be followed by white space.
(#227) Commas (,) must be followed by white space.
(#248) Expected "if (...) {\n"; found "if(...){\n"
(#254) Short array syntax must be used to define arrays
(#255) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Commas (,) must be followed by white space.
(#261) Commas (,) must be followed by white space.
(#261) Line exceeds 132 characters; contains 134 characters
(#273) Commas (,) must be followed by white space.
(#273) Line exceeds 132 characters; contains 134 characters
(#289) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#291) Short array syntax must be used to define arrays
(#298) Short array syntax must be used to define arrays
(#308) Inline comments must end in full-stops, exclamation marks, or question marks
(#312) Short array syntax must be used to define arrays
(#314) Expected 1 space before "="; 0 found
(#314) Expected 1 space after "="; 0 found
(#318) Short array syntax must be used to define arrays
(#327) Short array syntax must be used to define arrays
(#327) Commas (,) must be followed by white space.
(#328) Short array syntax must be used to define arrays
(#350) Commas (,) must be followed by white space.
(#352) Inline comments must end in full-stops, exclamation marks, or question marks
(#365) Inline comments must start with a capital letter, digit or 3-dots sequence
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#366) Line exceeds 132 characters; contains 161 characters
(#378) Line exceeds 132 characters; contains 133 characters
(#379) Short array syntax must be used to define arrays
(#387) Inline comments must end in full-stops, exclamation marks, or question marks
(#390) Short array syntax must be used to define arrays
(#394) There should be a comma after the last array item in a multi-line array.
(#435) File must end with a newline character
blocks/my_external_backup_restore_courses/tests/generator/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
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.
(#54) Test method test_user_contextlist() is missing any coverage information, own or at class level
(#75) Test method test_export_context_data_for_user() is missing any coverage information, own or at class level
(#86) Line indented incorrectly; expected at least 8 spaces, found 0
(#99) Line indented incorrectly; expected at least 8 spaces, found 0
(#112) Test method test_export_all_data_for_user() is missing any coverage information, own or at class level
(#123) Line indented incorrectly; expected at least 8 spaces, found 0
(#137) Line indented incorrectly; expected at least 8 spaces, found 0
(#150) Test method test_delete_data_for_all_users_in_context() is missing any coverage information, own or at class level
(#183) Test method test_delete_data_for_all_users() is missing any coverage information, own or at class level
(#220) Test method test_delete_data_for_user() is missing any coverage information, own or at class level
(#276) Short array syntax must be used to define arrays

Javascript coding style problems

(10 errors, 8 warnings)

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

blocks/my_external_backup_restore_courses/module.js
(#2) A space is required after ','. (comma-spacing)
(#4) Missing JSDoc comment. (require-jsdoc)
(#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)
(#19) Missing JSDoc comment. (require-jsdoc)
(#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

(146 errors, 38 warnings)

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

blocks/my_external_backup_restore_courses/admin/adminlist_filter_form.php
(#2) Empty line found after PHP open tag
(#15) Class adminlist_filter_form is not documented
(#16) Function adminlist_filter_form::definition is not documented
(#15) Package is not specified for class adminlist_filter_form. It is also not specified in file-level phpdocs
(#6) Package is not valid
blocks/my_external_backup_restore_courses/admin/coursetoimportadmintable.php
(#2) Empty line found after PHP open tag
(#142) Function block_my_external_backup_restore_course_admin_table::col_courseid is not documented
(#177) Function block_my_external_backup_restore_course_admin_table::col_action is not documented
(#182) Function block_my_external_backup_restore_course_admin_table::col_timecreated is not documented
(#185) Function block_my_external_backup_restore_course_admin_table::col_timemodified is not documented
(#188) Function block_my_external_backup_restore_course_admin_table::col_timescheduleprocessed is not documented
(#193) Function block_my_external_backup_restore_course_admin_table::start_html is not documented
(#202) Function block_my_external_backup_restore_course_admin_table::finish_html is not documented
(#37) Phpdocs for function block_my_external_backup_restore_course_admin_table::__construct has incomplete parameters list
(#6) Package tool_my_external_bakcup_restore_courses is not valid
blocks/my_external_backup_restore_courses/admin/managment.php
(#5) Package is not valid
blocks/my_external_backup_restore_courses/admin/restorecourseforuser.php
(#2) Empty line found after PHP open tag
(#6) Package tool_my_external_bakcup_restore_courses is not valid
blocks/my_external_backup_restore_courses/admin/restorecourseforuser_form.php
(#2) Empty line found after PHP open tag
(#18) Class restorecourseforuser_form is not documented
(#19) Function restorecourseforuser_form::definition is not documented
(#18) Package is not specified for class restorecourseforuser_form. It is also not specified in file-level phpdocs
(#6) Package is not valid
blocks/my_external_backup_restore_courses/backup_external_courses_helper.class.php
(#31) Class backup_external_courses_helper is not documented
(#48) Variable backup_external_courses_helper::$courseid is not documented
(#49) Variable backup_external_courses_helper::$userid is not documented
(#50) Variable backup_external_courses_helper::$filename is not documented
(#51) Variable backup_external_courses_helper::$filerecordid is not documented
(#52) Variable backup_external_courses_helper::$settingsnouserdatas is not documented
(#64) Variable backup_external_courses_helper::$settingsuserdatas is not documented
(#119) There is no description in phpdocs for function launch_automated_backup_delete
(#84) Phpdocs for function backup_external_courses_helper::run_external_backup has incomplete parameters list
(#120) Phpdocs for function backup_external_courses_helper::launch_automated_backup_delete has incomplete parameters list
(#87) Not recommended phpdocs tag @global used
(#180) 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)]}
(#31) Package is not specified for class backup_external_courses_helper. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/block_my_external_backup_restore_courses.php
(#31) Class block_my_external_backup_restore_courses is not documented
(#32) Function block_my_external_backup_restore_courses::init is not documented
(#36) Function block_my_external_backup_restore_courses::has_config is not documented
(#40) Function block_my_external_backup_restore_courses::get_content is not documented
(#60) Function block_my_external_backup_restore_courses::applicable_formats is not documented
(#31) Package is not specified for class block_my_external_backup_restore_courses. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/classes/privacy/provider.php
(#268) Phpdocs for function provider::validate_contextlist_contexts has incomplete parameters list
(#20) Package repository_flickr is not valid
blocks/my_external_backup_restore_courses/classes/task/backup_restore_task.php
(#31) Class backup_restore_task is not documented
(#32) Function backup_restore_task::get_name is not documented
(#37) Function backup_restore_task::execute is not documented
(#31) Package is not specified for class backup_restore_task. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/cli/install_server.php
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
blocks/my_external_backup_restore_courses/db/access.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/db/messages.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/db/services.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/db/tasks.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/db/upgrade.php
(#32) Function xmldb_block_my_external_backup_restore_courses_upgrade is not documented
(#32) Package is not specified for function xmldb_block_my_external_backup_restore_courses_upgrade. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/externallib.php
(#31) Class block_my_external_backup_restore_courses_external is not documented
(#32) Function block_my_external_backup_restore_courses_external::get_courses_zip is not documented
(#74) Function block_my_external_backup_restore_courses_external::get_courses_zip_parameters is not documented
(#84) Function block_my_external_backup_restore_courses_external::get_courses_zip_returns is not documented
(#93) Function block_my_external_backup_restore_courses_external::get_courses is not documented
(#134) Function block_my_external_backup_restore_courses_external::get_courses_parameters is not documented
(#143) Function block_my_external_backup_restore_courses_external::get_courses_returns is not documented
(#31) Package is not specified for class block_my_external_backup_restore_courses_external. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/get_user_backup_course_webservice.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/index.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/lang/en/block_my_external_backup_restore_courses.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/lang/fr/block_my_external_backup_restore_courses.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/locallib.php
(#31) Class block_my_external_backup_restore_courses_tools is not documented
(#400) Class block_my_external_backup_restore_courses_invalid_username_exception is not documented
(#410) Class block_my_external_backup_restore_courses_task_helper is not documented
(#548) Class block_my_external_backup_restore_courses_task is not documented
(#903) Class block_my_external_backup_restore_courses_task_error is not documented
(#976) Class block_my_external_backup_restore_courses_task_error_list is not documented
(#39) Function block_my_external_backup_restore_courses_tools::del_tree is not documented
(#47) Function block_my_external_backup_restore_courses_tools::enrol_get_courses_with_role is not documented
(#70) Function block_my_external_backup_restore_courses_tools::external_backup_course_sitename is not documented
(#84) Function block_my_external_backup_restore_courses_tools::external_backup_course_name is not documented
(#99) Function block_my_external_backup_restore_courses_tools::get_all_users_courses is not documented
(#217) Function block_my_external_backup_restore_courses_tools::print_content is not documented
(#232) Function block_my_external_backup_restore_courses_tools::rest_call_external_courses_client is not documented
(#261) Function block_my_external_backup_restore_courses_tools::get_formatted_concerned_roles_shortname is not documented
(#275) Function block_my_external_backup_restore_courses_tools::get_concerned_roles_shortname is not documented
(#282) Function block_my_external_backup_restore_courses_tools::format_string_list_for_sql is not documented
(#290) Function block_my_external_backup_restore_courses_tools::external_course_restored_or_on_way_by_other_users is not documented
(#304) Function block_my_external_backup_restore_courses_tools::array_contains_object_with_properties is not documented
(#313) Function block_my_external_backup_restore_courses_tools::install_webservice_moodle_server is not documented
(#369) Function block_my_external_backup_restore_courses_tools::get_external_moodles_url_token is not documented
(#389) Function block_my_external_backup_restore_courses_tools::get_external_moodle_token is not documented
(#393) Function block_my_external_backup_restore_courses_tools::admin_any_entries is not documented
(#413) Function block_my_external_backup_restore_courses_task_helper::run_automated_backup_restore is not documented
(#534) Function block_my_external_backup_restore_courses_task_helper::retrieve_tasks is not documented
(#551) Function block_my_external_backup_restore_courses_task::__construct is not documented
(#555) Function block_my_external_backup_restore_courses_task::enrol_requester_if_any is not documented
(#565) Function block_my_external_backup_restore_courses_task::retrieve_external_moodle_name is not documented
(#580) Function block_my_external_backup_restore_courses_task::download_external_backup_courses is not documented
(#604) Function block_my_external_backup_restore_courses_task::restore_course_from_backup_file is not documented
(#727) Function block_my_external_backup_restore_courses_task::download_backup_course is not documented
(#768) Function block_my_external_backup_restore_courses_task::change_task_status is not documented
(#775) Function block_my_external_backup_restore_courses_task::set_local_courseid is not documented
(#781) Function block_my_external_backup_restore_courses_task::get_username is not documented
(#789) Function block_my_external_backup_restore_courses_task::get_user is not documented
(#794) Function block_my_external_backup_restore_courses_task::get_manual_enrol is not documented
(#814) Function block_my_external_backup_restore_courses_task::enrol_user is not documented
(#817) Function block_my_external_backup_restore_courses_task::get_errors is not documented
(#820) Function block_my_external_backup_restore_courses_task::get_lang_object is not documented
(#848) Function block_my_external_backup_restore_courses_task::notify_success is not documented
(#898) Function block_my_external_backup_restore_courses_task::add_error is not documented
(#916) Function block_my_external_backup_restore_courses_task_error::_get is not documented
(#920) Function block_my_external_backup_restore_courses_task_error::__construct is not documented
(#934) Function block_my_external_backup_restore_courses_task_error::get_user is not documented
(#946) Function block_my_external_backup_restore_courses_task_error::get_lang_object is not documented
(#979) Function block_my_external_backup_restore_courses_task_error_list::add_error is not documented
(#982) Function block_my_external_backup_restore_courses_task_error_list::add_errors is not documented
(#985) Function block_my_external_backup_restore_courses_task_error_list::has_errors is not documented
(#988) Function block_my_external_backup_restore_courses_task_error_list::format_error_for_admin is not documented
(#1003) Function block_my_external_backup_restore_courses_task_error_list::notify_errors is not documented
(#549) Variable block_my_external_backup_restore_courses_task::$task is not documented
(#550) Variable block_my_external_backup_restore_courses_task::$taskerrors is not documented
(#905) Variable block_my_external_backup_restore_courses_task_error::$externalcourseid is not documented
(#906) Variable block_my_external_backup_restore_courses_task_error::$externalmoodleurl is not documented
(#907) Variable block_my_external_backup_restore_courses_task_error::$externalmoodlesitename is not documented
(#908) Variable block_my_external_backup_restore_courses_task_error::$courseid is not documented
(#909) Variable block_my_external_backup_restore_courses_task_error::$message is not documented
(#910) Variable block_my_external_backup_restore_courses_task_error::$usernameorid is not documented
(#911) Variable block_my_external_backup_restore_courses_task_error::$user is not documented
(#912) Variable block_my_external_backup_restore_courses_task_error::$externalcoursename is not documented
(#913) Variable block_my_external_backup_restore_courses_task_error::$internalcategoryname is not documented
(#914) Variable block_my_external_backup_restore_courses_task_error::$defaultcategoryname is not documented
(#978) Variable block_my_external_backup_restore_courses_task_error_list::$taskerrors is not documented
(#32) Constant block_my_external_backup_restore_courses_tools::STATUS_SCHEDULED is not documented
(#33) Constant block_my_external_backup_restore_courses_tools::STATUS_INPROGRESS is not documented
(#34) Constant block_my_external_backup_restore_courses_tools::STATUS_PERFORMED is not documented
(#35) Constant block_my_external_backup_restore_courses_tools::STATUS_ERROR is not documented
(#36) Constant block_my_external_backup_restore_courses_tools::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_ROLE is not documented
(#37) Constant block_my_external_backup_restore_courses_tools::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_DEFAULT_USER is not documented
(#411) Constant block_my_external_backup_restore_courses_task_helper::BACKUP_FILENAME is not documented
(#412) Constant block_my_external_backup_restore_courses_task_helper::BACKUP_TEMPDIRNAME is not documented
(#31) Package is not specified for class block_my_external_backup_restore_courses_tools. It is also not specified in file-level phpdocs
(#400) Package is not specified for class block_my_external_backup_restore_courses_invalid_username_exception. It is also not specified in file-level phpdocs
(#410) Package is not specified for class block_my_external_backup_restore_courses_task_helper. It is also not specified in file-level phpdocs
(#548) Package is not specified for class block_my_external_backup_restore_courses_task. It is also not specified in file-level phpdocs
(#903) Package is not specified for class block_my_external_backup_restore_courses_task_error. It is also not specified in file-level phpdocs
(#976) Package is not specified for class block_my_external_backup_restore_courses_task_error_list. It is also not specified in file-level phpdocs
(#20) Package is not valid
blocks/my_external_backup_restore_courses/settings.php
(#20) Package is not valid
blocks/my_external_backup_restore_courses/tests/behat/behat_block_my_external_backup_restore_courses.php
(#63) Function behat_block_my_external_backup_restore_courses::install_webservice_moodle_server is not documented
(#29) Constant behat_block_my_external_backup_restore_courses::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_ROLE is not documented
(#30) Constant behat_block_my_external_backup_restore_courses::BLOCK_MY_EXTERNAL_BACKUP_RESTORE_COURSES_DEFAULT_USER is not documented
blocks/my_external_backup_restore_courses/tests/externallib_test.php
(#51) Class externallib_test is not documented
(#246) Function externallib_test::set_comptencies is not documented
(#269) Function externallib_test::check_competencies is not documented
(#407) Function externallib_test::enrolmode_withuserdatas_competencies_provider is not documented
(#418) Function externallib_test::enrolmode_withoutuserdatas_competencies_provider is not documented
(#428) Function externallib_test::username_provider is not documented
(#52) Variable externallib_test::$datagenerator is not documented
(#53) Variable externallib_test::$course1 is not documented
(#54) Variable externallib_test::$defaultcategory is not documented
(#55) Variable externallib_test::$coursecategory is not documented
(#56) Variable externallib_test::$editingteacheruser is not documented
(#57) Variable externallib_test::$studentuser1 is not documented
(#58) Variable externallib_test::$studentuser2 is not documented
(#59) Variable externallib_test::$wsuser is not documented
(#60) Variable externallib_test::$wsrole is not documented
(#61) Variable externallib_test::$forum is not documented
(#62) Constant externallib_test::EDITING_TEACHER_USERNAME is not documented
(#78) There is no description in phpdocs for function test_get_courses_zip
(#138) There is no description in phpdocs for function test_restore_course_withoutuserdatas
(#343) There is no description in phpdocs for function restore_course
(#383) There is no description in phpdocs for function emulate_user_activites
(#78) Phpdocs for function externallib_test::test_get_courses_zip has incomplete parameters list
(#138) Phpdocs for function externallib_test::test_restore_course_withoutuserdatas has incomplete parameters list
(#344) Phpdocs for function externallib_test::restore_course has incomplete parameters list
blocks/my_external_backup_restore_courses/tests/generator/lib.php
(#30) Class block_my_external_backup_restore_courses_generator is not documented
(#32) Function block_my_external_backup_restore_courses_generator::create_backup_restore_entry is not documented
(#50) Function block_my_external_backup_restore_courses_generator::update_backup_restore_entry is not documented
(#20) Package block_user_session is not valid
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/version.php
(#20) Package is not valid

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

(30 errors, 0 warnings)

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

blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature
(#3) Missing Feature name
blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature
(#3) Missing Feature name
(#43) Multiple empty lines are not allowed
blocks/my_external_backup_restore_courses/tests/behat/restorecourseforuser.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature, blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature
(#3) Missing Feature name
(#39) Multiple empty lines are not allowed
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/myexternalbackuprestorecoursesstep.feature, blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature, blocks/my_external_backup_restore_courses/tests/behat/restorecourseforuser.feature
(#3) Missing Feature name
(#46) 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
(#90) Multiple empty lines are not allowed
(#91) Multiple empty lines are not allowed
(#92) 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/myexternalbackuprestorecoursesstep.feature, blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature, blocks/my_external_backup_restore_courses/tests/behat/restorecourseforuser.feature, blocks/my_external_backup_restore_courses/tests/behat/onlyoneinstance.feature
(#3) Missing Feature name
(#46) 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
(#90) Multiple empty lines are not allowed
(#91) Multiple empty lines are not allowed
(#92) Multiple empty lines are not allowed
blocks/my_external_backup_restore_courses/tests/behat/restorecourseforuser_enrolmentmode.feature
(#3) Feature name is already used in: blocks/my_external_backup_restore_courses/tests/behat/myexternalbackuprestorecoursesstep.feature, blocks/my_external_backup_restore_courses/tests/behat/enrolmentmethod.feature, blocks/my_external_backup_restore_courses/tests/behat/restorecourseforuser.feature, blocks/my_external_backup_restore_courses/tests/behat/onlyoneinstance.feature, blocks/my_external_backup_restore_courses/tests/behat/multipleinstances.feature
(#3) Missing Feature name
(#50) Multiple empty lines are not allowed
(#134) Multiple empty lines are not allowed
(#135) Multiple empty lines are not allowed