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

(203 errors, 130 warnings)

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

local/course_creator/addcourse.php
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Whitespace found at end of line
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Whitespace found at end of line
(#48) Line exceeds maximum limit of 180 characters; contains 195 characters
(#49) Line exceeds 132 characters; contains 160 characters
(#54) Perl-style comments are not allowed; use "// Comment." instead
(#83) Perl-style comments are not allowed; use "// Comment." instead
(#86) Commas (,) must be followed by white space.
(#86) Line exceeds 132 characters; contains 171 characters
(#123) File must end with a newline character
local/course_creator/addheading.php
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#48) Line exceeds maximum limit of 180 characters; contains 195 characters
(#49) Line exceeds 132 characters; contains 162 characters
(#54) Perl-style comments are not allowed; use "// Comment." instead
(#79) Inline comments must start with a capital letter, digit or 3-dots sequence
(#79) This comment is 63% valid code; is this commented out code?
(#85) Line exceeds 132 characters; contains 136 characters
(#116) File must end with a newline character
local/course_creator/classes/courselist_table.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) "require" must be immediately followed by an open parenthesis
(#38) Visibility must be declared on method "__construct"
(#41) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#57) Visibility must be declared on method "col_course"
(#65) Visibility must be declared on method "col_category"
(#68) Whitespace found at end of line
(#73) Visibility must be declared on method "col_action"
(#78) Expected "if (...) {\n"; found "if(...){\n"
(#81) Line exceeds 132 characters; contains 142 characters
(#84) Whitespace found at end of line
(#91) Inline doc block comments are not allowed; use "// Comment." instead
local/course_creator/classes/headingcourse_table.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) "require" must be immediately followed by an open parenthesis
(#36) Visibility must be declared on method "__construct"
(#39) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#51) Visibility must be declared on method "col_courseid"
(#60) Visibility must be declared on method "col_action"
(#67) Whitespace found at end of line within string
(#68) Line exceeds 132 characters; contains 142 characters
(#77) Inline doc block comments are not allowed; use "// Comment." instead
local/course_creator/classes/headinglist_table.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) "require" must be immediately followed by an open parenthesis
(#36) Visibility must be declared on method "__construct"
(#39) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#53) Visibility must be declared on method "col_totalcourse"
(#62) Visibility must be declared on method "col_action"
(#68) Line exceeds 132 characters; contains 151 characters
(#69) Line exceeds 132 characters; contains 148 characters
(#78) Inline doc block comments are not allowed; use "// Comment." instead
local/course_creator/classes/local/restore_course_wizard.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#19) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#24) Variable "EXTDB" must be all lower-case
(#26) "require_once" must be immediately followed by an open parenthesis
(#27) "require_once" must be immediately followed by an open parenthesis
(#45) Visibility must be declared on method "__construct"
(#74) Variable "course_data" must not contain underscores.
(#75) Variable "course_data" must not contain underscores.
(#76) Variable "course_data" must not contain underscores.
(#77) Variable "course_data" must not contain underscores.
(#78) Variable "course_data" must not contain underscores.
(#79) Variable "course_data" must not contain underscores.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must start with a capital letter, digit or 3-dots sequence
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) This comment is 67% valid code; is this commented out code?
(#116) No space found before comment text; expected "// echo html_writer::script('document.getElementById("executionprogress").style.display = "none";');" but found "//echo html_writer::script('document.getElementById("executionprogress").style.display = "none";');"
(#125) File must end with a newline character
local/course_creator/classes/privacy/provider.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) 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".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) File must end with a newline character
local/course_creator/course_backup.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Variable "EXTDB" must be all lower-case
(#34) Variable "jsUrl" must be all lower-case
(#36) Variable "jsUrl" must be all lower-case
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) No space found before comment text; expected "// try to load normal js" but found "//try to load normal js"
(#39) Variable "localRenderer" must be all lower-case
(#43) Inline doc block comments are not allowed; use "// Comment." instead
(#57) Commas (,) must be followed by white space.
(#58) Commas (,) must be followed by white space.
(#87) Inline comments must start with a capital letter, digit or 3-dots sequence
(#87) This comment is 78% valid code; is this commented out code?
(#87) Line indented incorrectly; expected at least 12 spaces, found 0
(#87) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#90) Inline comments must start with a capital letter, digit or 3-dots sequence
(#90) This comment is 67% valid code; is this commented out code?
(#90) Line indented incorrectly; expected at least 12 spaces, found 0
(#90) Expected 1 space before comment text but found 20; use block comment if you need indentation
(#98) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) This comment is 77% valid code; is this commented out code?
(#143) No space found before comment text; expected "// echo $renderer->progress_bar($backup->get_progress_bar());" but found "//echo $renderer->progress_bar($backup->get_progress_bar());"
(#144) Variable "localRenderer" must be all lower-case
(#158) Whitespace found at end of line
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) No space found before comment text; expected "// Delete the backup file from filedir and remove entry from the database" but found "//Delete the backup file from filedir and remove entry from the database"
(#161) Whitespace found at end of line
(#162) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
(#167) No space found before comment text; expected "// Div to fix the backup process" but found "//Div to fix the backup process"
(#171) Inline comments must start with a capital letter, digit or 3-dots sequence
(#171) Inline comments must end in full-stops, exclamation marks, or question marks
(#171) This comment is 70% valid code; is this commented out code?
(#173) Line exceeds 132 characters; contains 168 characters
(#200) Inline comments must start with a capital letter, digit or 3-dots sequence
(#200) Inline comments must end in full-stops, exclamation marks, or question marks
(#200) This comment is 77% valid code; is this commented out code?
(#200) No space found before comment text; expected "// echo $renderer->progress_bar($backup->get_progress_bar());" but found "//echo $renderer->progress_bar($backup->get_progress_bar());"
(#201) Variable "localRenderer" must be all lower-case
local/course_creator/course_restore.php
(#29) Variable "EXTDB" must be all lower-case
(#31) "require_once" must be immediately followed by an open parenthesis
(#34) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Commas (,) must be followed by white space.
(#44) Commas (,) must be followed by white space.
(#45) Line exceeds 132 characters; contains 142 characters
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) No space found before comment text; expected "// Handle form cancel operation, if cancel button is present on form" but found "//Handle form cancel operation, if cancel button is present on form"
(#55) Variable "course_full_name" must not contain underscores.
(#56) Variable "course_shortname" must not contain underscores.
(#57) Variable "restore_course" must not contain underscores.
(#57) Variable "course_full_name" must not contain underscores.
(#57) Variable "course_shortname" must not contain underscores.
(#58) Variable "restore_course" must not contain underscores.
(#59) Variable "restore_course" must not contain underscores.
(#61) Variable "restore_course" must not contain underscores.
(#61) Line exceeds 132 characters; contains 161 characters
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 71% valid code; is this commented out code?
local/course_creator/courselist.php
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Line exceeds maximum limit of 180 characters; contains 195 characters
(#51) Line exceeds 132 characters; contains 162 characters
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// plan list table" but found "//plan list table"
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) This comment is 60% valid code; is this commented out code?
(#60) No space found before comment text; expected "// $search = optional_param('search', '', PARAM_ALPHA);" but found "//$search = optional_param('search', '', PARAM_ALPHA);"
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) This comment is 91% valid code; is this commented out code?
(#75) Line exceeds maximum limit of 180 characters; contains 274 characters
(#79) File must end with a newline character
local/course_creator/db/uninstall.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
local/course_creator/db/upgrade.php
(#22) Whitespace found at end of line
(#42) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/course_creator/forms/local_course_creator_addcourse_form.php
(#45) Perl-style comments are not allowed; use "// Comment." instead
(#47) Variable "category_arr" must not contain underscores.
(#50) Inline control structures are not allowed
(#51) Variable "category_arr" must not contain underscores.
(#54) Perl-style comments are not allowed; use "// Comment." instead
(#55) Variable "course_arr" must not contain underscores.
(#77) Line exceeds maximum limit of 180 characters; contains 278 characters
(#88) Variable "category_arr" must not contain underscores.
(#92) Inline comments must start with a capital letter, digit or 3-dots sequence
(#92) This comment is 71% valid code; is this commented out code?
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) This comment is 75% valid code; is this commented out code?
(#116) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/course_creator/forms/local_course_creator_addheading_form.php
(#59) Line exceeds maximum limit of 180 characters; contains 278 characters
(#74) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) This comment is 68% valid code; is this commented out code?
(#78) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) This comment is 75% valid code; is this commented out code?
(#95) Functions must not contain multiple empty lines in a row; found 2 empty lines
local/course_creator/forms/local_course_creator_course_create_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#46) Line exceeds 132 characters; contains 146 characters
(#47) Line exceeds 132 characters; contains 146 characters
(#48) Line exceeds 132 characters; contains 146 characters
(#53) Expected 1 space before "=>"; 0 found
(#53) Expected 1 space after "=>"; 0 found
(#53) Line exceeds 132 characters; contains 141 characters
(#58) Line exceeds 132 characters; contains 157 characters
(#60) Inline comments must start with a capital letter, digit or 3-dots sequence
(#61) Expected 1 space before "=>"; 0 found
(#61) Line exceeds 132 characters; contains 150 characters
(#66) Line exceeds 132 characters; contains 171 characters
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) This comment is 77% valid code; is this commented out code?
(#66) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#68) Variable "courseTemplate_arr" must be all lower-case
(#68) Variable "courseTemplate_arr" must not contain underscores.
(#69) Line exceeds maximum limit of 180 characters; contains 280 characters
(#71) Variable "courseTemplate_arr" must be all lower-case
(#71) Variable "courseTemplate_arr" must not contain underscores.
(#74) Variable "courseTemplate_arr" must be all lower-case
(#74) Variable "courseTemplate_arr" must not contain underscores.
(#74) Line exceeds 132 characters; contains 176 characters
(#75) Inline comments must start with a capital letter, digit or 3-dots sequence
local/course_creator/forms/local_course_creator_course_restore_form.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".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) 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".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) This comment is 64% valid code; is this commented out code?
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) This comment is 57% valid code; is this commented out code?
(#56) Line exceeds 132 characters; contains 157 characters
local/course_creator/headingcourse_table.php
(#24) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#27) "require" must be immediately followed by an open parenthesis
(#36) Visibility must be declared on method "__construct"
(#39) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#51) Visibility must be declared on method "col_courseid"
(#60) Visibility must be declared on method "col_action"
(#67) Whitespace found at end of line within string
(#68) Line exceeds 132 characters; contains 142 characters
(#77) Inline doc block comments are not allowed; use "// Comment." instead
local/course_creator/headingcourselist.php
(#54) Line exceeds maximum limit of 180 characters; contains 195 characters
(#55) Line exceeds maximum limit of 180 characters; contains 193 characters
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// plan list table" but found "//plan list table"
(#67) Commas (,) must be followed by white space.
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#77) Line exceeds maximum limit of 180 characters; contains 270 characters
(#81) File must end with a newline character
local/course_creator/headinglist.php
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Line exceeds maximum limit of 180 characters; contains 195 characters
(#50) Line exceeds 132 characters; contains 164 characters
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) No space found before comment text; expected "// plan list table" but found "//plan list table"
(#65) Commas (,) must be followed by white space.
(#67) Whitespace found at end of line
(#70) Commas (,) must be followed by white space.
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) This comment is 91% valid code; is this commented out code?
(#79) Line exceeds maximum limit of 180 characters; contains 274 characters
(#83) File must end with a newline character
local/course_creator/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#54) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) This comment is 61% valid code; is this commented out code?
(#57) Line exceeds maximum limit of 180 characters; contains 183 characters
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) This comment is 66% valid code; is this commented out code?
(#62) Line indented incorrectly; expected at least 8 spaces, found 0
(#62) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#63) Line exceeds 132 characters; contains 167 characters
(#64) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#68) File must end with a newline character
local/course_creator/renderer.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Class constants must be uppercase; expected COURSE_CREATOR but found course_creator
(#40) Line exceeds 132 characters; contains 167 characters
(#52) File must end with a newline character
local/course_creator/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must start with a capital letter, digit or 3-dots sequence
(#28) Line exceeds 132 characters; contains 162 characters
(#32) Line exceeds 132 characters; contains 142 characters
local/course_creator/version.php
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) Inline comments must start with a capital letter, digit or 3-dots sequence
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#30) Inline comments must start with a capital letter, digit or 3-dots sequence
(#30) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) File must end with a newline character
local/course_creator/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) "require_once" must be immediately followed by an open parenthesis
(#28) Variable "EXTDB" must be all lower-case
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) No space found before comment text; expected "// Try to add js externally" but found "//Try to add js externally"
(#48) Variable "jsUrl" must be all lower-case
(#50) Variable "jsUrl" must be all lower-case
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#51) No space found before comment text; expected "// try to load normal js" but found "//try to load normal js"
(#54) Commas (,) must be followed by white space.
(#55) Commas (,) must be followed by white space.
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) No space found before comment text; expected "// Handle form cancel operation, if cancel button is present on form" but found "//Handle form cancel operation, if cancel button is present on form"
(#65) No space found before comment text; expected "// In this case you process validated data. $mform->get_data() returns data posted in form." but found "//In this case you process validated data. $mform->get_data() returns data posted in form."
(#66) Variable "course_template_id" must not contain underscores.
(#67) Variable "course_create_type" must not contain underscores.
(#68) Variable "course_prev_id" must not contain underscores.
(#69) Variable "course_create_type" must not contain underscores.
(#72) Usage of ELSEIF not allowed; use ELSE IF instead
(#72) Variable "course_create_type" must not contain underscores.
(#73) Variable "course_prev_id" must not contain underscores.
(#73) Line exceeds 132 characters; contains 165 characters
(#74) Usage of ELSEIF not allowed; use ELSE IF instead
(#74) Variable "course_create_type" must not contain underscores.
(#75) Variable "course_template_id" must not contain underscores.
(#75) Line exceeds 132 characters; contains 169 characters
(#80) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Line exceeds 132 characters; contains 159 characters
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) This comment is 56% valid code; is this commented out code?
(#82) No space found before comment text; expected "// $linkcontent = '<div style="text-align:right;margin-bottom: 20px;"><a href="'.$addurl.'">'.get_string('add_heading','local_course_creator').'</a></div>';" but found "//$linkcontent = '<div style="text-align:right;margin-bottom: 20px;"><a href="'.$addurl.'">'.get_string('add_heading','local_course_creator').'</a></div>';"
(#83) No space found before comment text; expected "// echo $linkcontent;" but found "//echo $linkcontent;"

Javascript coding style problems

(8 errors, 9 warnings)

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

local/course_creator/module.js
(#1) Expected space or tab after '/**' in comment. (spaced-comment)
(#8) Identifier 'course_create' is not in camel case. (camelcase)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#10) 'Y' is defined but never used. (no-unused-vars)
(#10) Unexpected empty function. (no-empty-function)
(#14) Unexpected space before function parentheses. (space-before-function-paren)
(#14) 'Y' is defined but never used. (no-unused-vars)
(#15) '$' is not defined. (no-undef)
(#16) '$' is not defined. (no-undef)
(#19) '$' is not defined. (no-undef)
(#19) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#29) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#37) 'Y' is defined but never used. (no-unused-vars)
(#38) '$' is not defined. (no-undef)
(#40) '$' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(89 errors, 19 warnings)

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

local/course_creator/addcourse.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/addheading.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/classes/courselist_table.php
(#19) Package local is not valid
(#31) Class courselist_table is not documented
(#57) Function courselist_table::col_course is not documented
(#65) Function courselist_table::col_category is not documented
(#73) Function courselist_table::col_action is not documented
(#18) No one-line description found in phpdocs for file
(#18) File-level phpdocs block does not have @copyright tag
local/course_creator/classes/headingcourse_table.php
(#18) Package local is not valid
(#29) Class headingcourse_table is not documented
(#51) Function headingcourse_table::col_courseid is not documented
(#60) Function headingcourse_table::col_action is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/classes/headinglist_table.php
(#18) Package local is not valid
(#29) Class headinglist_table is not documented
(#53) Function headinglist_table::col_totalcourse is not documented
(#62) Function headinglist_table::col_action is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/classes/local/restore_course_wizard.php
(#32) Package local is not valid
(#2) Empty line found after PHP open tag
(#45) Function restore_course_wizard::__construct is not documented
(#51) Function restore_course_wizard::extract_backup_file is not documented
(#64) Function restore_course_wizard::delete is not documented
(#73) Function restore_course_wizard::update_course is not documented
(#82) Function restore_course_wizard::execute is not documented
(#122) Function restore_course_wizard::get_course_id is not documented
(#38) Variable restore_course_wizard::$fullname is not documented
(#39) Variable restore_course_wizard::$shortname is not documented
(#40) Variable restore_course_wizard::$category is not documented
(#41) Variable restore_course_wizard::$directory is not documented
(#42) Variable restore_course_wizard::$filepath is not documented
(#43) Variable restore_course_wizard::$courseid is not documented
local/course_creator/classes/privacy/provider.php
(#4) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#4) Class provider is not documented
local/course_creator/course_backup.php
(#18) Package local is not valid
(#2) Empty line found after PHP open tag
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/course_restore.php
(#17) Package local is not valid
(#16) No one-line description found in phpdocs for file
(#16) File-level phpdocs block does not have @copyright tag
local/course_creator/courselist.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/db/uninstall.php
(#20) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/db/upgrade.php
(#18) Package local is not valid
(#24) Function xmldb_local_course_creator_upgrade is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/forms/local_course_creator_addcourse_form.php
(#19) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/forms/local_course_creator_addheading_form.php
(#19) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/forms/local_course_creator_course_create_form.php
(#27) Package local is not valid
(#2) Empty line found after PHP open tag
(#36) Class local_course_creator_course_create_form is not documented
(#39) Function local_course_creator_course_create_form::definition is not documented
(#37) Constant local_course_creator_course_create_form::TEMPELATE_CAT_ID is not documented
(#25) File-level phpdocs block does not have @copyright tag
local/course_creator/forms/local_course_creator_course_restore_form.php
(#26) Package local is not valid
(#35) Class local_course_creator_course_restore_form is not documented
(#36) Function local_course_creator_course_restore_form::definition is not documented
(#24) File-level phpdocs block does not have @copyright tag
local/course_creator/headingcourse_table.php
(#18) Package local is not valid
(#29) Class headingcourse_table is not documented
(#51) Function headingcourse_table::col_courseid is not documented
(#60) Function headingcourse_table::col_action is not documented
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/headingcourselist.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/headinglist.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/lang/en/local_course_creator.php
(#19) Package local is not valid
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/lib.php
(#20) Package local is not valid
(#2) Empty line found after PHP open tag
(#19) No one-line description found in phpdocs for file
(#19) File-level phpdocs block does not have @copyright tag
local/course_creator/renderer.php
(#27) Package local is not valid
(#2) Empty line found after PHP open tag
(#34) Class local_course_creator_renderer is not documented
(#39) Function local_course_creator_renderer::display_breadcrumb is not documented
(#35) Constant local_course_creator_renderer::course_creator is not documented
(#36) Constant local_course_creator_renderer::COURSE_SETUP is not documented
(#37) Constant local_course_creator_renderer::COURSE_INFORMATION is not documented
(#19) File-level phpdocs block does not have @copyright tag
local/course_creator/settings.php
(#19) Package local is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#18) File-level phpdocs block does not have @copyright tag
local/course_creator/version.php
(#18) Package local is not valid
(#17) No one-line description found in phpdocs for file
(#17) File-level phpdocs block does not have @copyright tag
local/course_creator/view.php
(#19) Package local is not valid
(#2) Empty line found after PHP open tag
(#18) No one-line description found in phpdocs for file
(#18) File-level phpdocs block does not have @copyright tag

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

This section shows problems detected in mustache templates [More info]


Gherkin .feature problems

(0 errors, 0 warnings)

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