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

(31 errors, 2 warnings)

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

mod/assign/submission/pdf/backup/moodle2/restore_assignsubmission_pdf_subplugin.class.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
mod/assign/submission/pdf/edittemplates.php
(#26) Expected 1 space before "=>"; 0 found
(#26) Expected 1 space after "=>"; 0 found
mod/assign/submission/pdf/edittemplates_class.php
(#17) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#38) Expected 1 space before "=>"; 0 found
(#38) Expected 1 space after "=>"; 0 found
(#101) Variable "templates_data" must not contain underscores.
(#103) Variable "templates_data" must not contain underscores.
(#196) Variable "items_data" must not contain underscores.
(#197) Variable "items_data" must not contain underscores.
(#200) Variable "items_data" must not contain underscores.
(#205) Variable "items_data" must not contain underscores.
(#428) Expected 1 space before "=>"; 0 found
(#428) Expected 1 space after "=>"; 0 found
(#428) Expected 1 space before "=>"; 0 found
(#428) Expected 1 space after "=>"; 0 found
(#757) Variable "items_data" must not contain underscores.
(#758) Variable "items_data" must not contain underscores.
(#781) Expected 1 space before "=>"; 0 found
(#781) Expected 1 space after "=>"; 0 found
mod/assign/submission/pdf/locallib.php
(#115) Expected 1 space before "<="; 0 found
(#115) Expected 1 space after "<="; 0 found
(#149) Variable "templates_data" must not contain underscores.
(#151) Variable "templates_data" must not contain underscores.
(#168) Variable "default_values" must not contain underscores.
(#181) Variable "default_values" must not contain underscores.
(#362) Expected 1 space before ">"; 0 found
(#362) Expected 1 space after ">"; 0 found
(#631) Expected 1 space before ">"; 0 found
(#631) Expected 1 space after ">"; 0 found
mod/assign/submission/pdf/settings.php
(#37) Expected 1 space before "="; 0 found
(#37) Expected 1 space after "="; 0 found
mod/assign/submission/pdf/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(45 errors, 7 warnings)

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

mod/assign/submission/pdf/backup/moodle2/restore_assignsubmission_pdf_subplugin.class.php
(#78) Function restore_assignsubmission_pdf_subplugin::process_assignsubmission_pdf_comment is not documented
(#88) Function restore_assignsubmission_pdf_subplugin::process_assignsubmission_pdf_annotation is not documented
mod/assign/submission/pdf/db/upgrade.php
(#32) Function xmldb_assignsubmission_pdf_upgrade is not documented
mod/assign/submission/pdf/edittemplates.php
(#17) File-level phpdocs block is not found
mod/assign/submission/pdf/edittemplates_class.php
(#17) File-level phpdocs block is not found
(#22) Class edit_templates is not documented
(#776) Class edit_templates_form is not documented
(#32) Function edit_templates::__construct is not documented
(#50) Function edit_templates::view is not documented
(#70) Function edit_templates::caneditsite is not documented
(#74) Function edit_templates::view_header is not documented
(#80) Function edit_templates::view_footer is not documented
(#86) Function edit_templates::view_select_template is not documented
(#117) Function edit_templates::view_template_edit_form is not documented
(#235) Function edit_templates::view_item_form is not documented
(#416) Function edit_templates::view_image is not documented
(#477) Function edit_templates::process_actions is not documented
(#527) Function edit_templates::save_template is not documented
(#588) Function edit_templates::delete_template is not documented
(#628) Function edit_templates::save_item is not documented
(#661) Function edit_templates::delete_item is not documented
(#686) Function edit_templates::upload_preview is not documented
(#731) Function edit_templates::duplicate_template is not documented
(#767) Function edit_templates::count_uses is not documented
(#777) Function edit_templates_form::definition is not documented
(#786) Function edit_templates_form::addhidden is not documented
(#24) Variable edit_templates::$courseid is not documented
(#25) Variable edit_templates::$templateid is not documented
(#26) Variable edit_templates::$imagetime is not documented
(#27) Variable edit_templates::$itemid is not documented
(#28) Variable edit_templates::$url is not documented
(#30) Variable edit_templates::$extrajs is not documented
(#22) Package is not specified for class edit_templates. It is also not specified in file-level phpdocs
(#776) Package is not specified for class edit_templates_form. It is also not specified in file-level phpdocs
mod/assign/submission/pdf/lang/en/assignsubmission_pdf.php
(#20) Package mod_assign is not valid
mod/assign/submission/pdf/lib.php
(#53) Function assignsubmission_pdf_pluginfile is not documented
(#17) No one-line description found in phpdocs for file
mod/assign/submission/pdf/locallib.php
(#43) Class assign_submission_pdf is not documented
(#471) Function assign_submission_pdf::get_temp_folder is not documented
(#479) Function assign_submission_pdf::create_submission_pdf is not documented
(#765) Function assign_submission_pdf::get_subfolder is not documented
(#17) No one-line description found in phpdocs for file
(#745) Phpdocs for function assign_submission_pdf::is_empty has incomplete parameters list
(#81) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#92) Not recommended phpdocs tag @global used
(#307) Not recommended phpdocs tag @global used
(#307) Not recommended phpdocs tag @global used
(#692) Not recommended phpdocs tag @global used
(#708) Not recommended phpdocs tag @global used
(#38) Package mod_assign is not valid
mod/assign/submission/pdf/previewimage.php
(#17) File-level phpdocs block is not found

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]