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, 10 warnings)

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

mod/bootstrapelements/backup/moodle2/backup_bootstrapelements_stepslib.php
(#34) Expected MOODLE_INTERNAL check or config.php inclusion
mod/bootstrapelements/backup/moodle2/restore_bootstrapelements_stepslib.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/bootstrapelements/db/upgrade.php
(#33) Whitespace found at end of line
mod/bootstrapelements/index.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#27) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
mod/bootstrapelements/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#115) Line exceeds 132 characters; contains 147 characters
(#116) Line exceeds 132 characters; contains 143 characters
(#121) Line exceeds 132 characters; contains 147 characters
(#126) Line exceeds 132 characters; contains 147 characters
(#128) Whitespace found at end of line
(#131) Line exceeds 132 characters; contains 147 characters
(#175) Closing brace must be on a line by itself
(#176) Closing brace must be on a line by itself
(#177) Closing brace must be on a line by itself
(#178) Closing brace must be on a line by itself
(#179) Closing brace must be on a line by itself
(#180) Closing brace must be on a line by itself
(#181) Closing brace must be on a line by itself
(#182) Closing brace must be on a line by itself
(#183) Closing brace must be on a line by itself
(#184) Closing brace must be on a line by itself
(#185) Closing brace must be on a line by itself
(#187) Closing brace must be on a line by itself
(#268) Whitespace found at end of line
(#327) Whitespace found at end of line
(#329) Whitespace found at end of line
(#331) Whitespace found at end of line
mod/bootstrapelements/mod_form.php
(#33) Visibility must be declared on method "definition"
(#35) Whitespace found at end of line
(#46) Line exceeds maximum limit of 180 characters; contains 333 characters
(#47) Whitespace found at end of line
(#49) Whitespace found at end of line
(#50) Variable "form_html" must not contain underscores.
(#50) Line exceeds 132 characters; contains 145 characters
(#51) Variable "form_html" must not contain underscores.
(#51) Line exceeds 132 characters; contains 144 characters
(#52) Variable "form_html" must not contain underscores.
(#52) Line exceeds maximum limit of 180 characters; contains 183 characters
(#53) Whitespace found at end of line
(#54) Variable "form_html" must not contain underscores.

Javascript coding style problems

(2 errors, 180 warnings)

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

mod/bootstrapelements/js/fontawesome-iconpicker.min.js
(#1) Line is too long.
(#1) 'c' is already defined.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected '{' and instead saw 'b'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#1) Missing semicolon.
(#1) Expected an identifier and instead saw '=='.
(#1) Expected an operator and instead saw 'typeof'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Wrap an immediate function invocation in parens to assist the reader in understanding that the expression is the result of a function, and not the function itself.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '===' and instead saw '=='.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Confusing use of '!'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Confusing use of '!'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Confusing use of '!'.
(#1) Expected '===' and instead saw '=='.
(#1) Expected '{' and instead saw 'return'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected '{' and instead saw 'return'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Confusing use of '!'.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Confusing use of '!'.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) A constructor name should start with an uppercase letter.
(#1) Expected '===' and instead saw '=='.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.
(#1) Missing semicolon.
(#1) Expected an assignment or function call and instead saw an expression.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(35 errors, 4 warnings)

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

mod/bootstrapelements/backup/moodle2/backup_bootstrapelements_activity_task.class.php
(#31) Class backup_bootstrapelements_activity_task does not have @copyright tag
(#31) Class backup_bootstrapelements_activity_task does not have @license tag
(#20) Package mod is not valid
mod/bootstrapelements/backup/moodle2/backup_bootstrapelements_stepslib.php
(#36) Function backup_bootstrapelements_activity_structure_step::define_structure is not documented
(#31) Class backup_bootstrapelements_activity_structure_step does not have @copyright tag
(#31) Class backup_bootstrapelements_activity_structure_step does not have @license tag
(#20) Package mod is not valid
mod/bootstrapelements/backup/moodle2/restore_bootstrapelements_activity_task.class.php
(#31) No one-line description found in phpdocs for class restore_bootstrapelements_activity_task
(#31) Class restore_bootstrapelements_activity_task does not have @copyright tag
(#31) Class restore_bootstrapelements_activity_task does not have @license tag
(#20) Package mod is not valid
mod/bootstrapelements/backup/moodle2/restore_bootstrapelements_stepslib.php
(#32) Function restore_bootstrapelements_activity_structure_step::define_structure is not documented
(#41) Function restore_bootstrapelements_activity_structure_step::process_bootstrapelements is not documented
(#54) Function restore_bootstrapelements_activity_structure_step::after_execute is not documented
(#27) Class restore_bootstrapelements_activity_structure_step does not have @copyright tag
(#27) Class restore_bootstrapelements_activity_structure_step does not have @license tag
(#20) Package mod is not valid
mod/bootstrapelements/db/access.php
(#20) Package mod is not valid
mod/bootstrapelements/db/log.php
(#20) Package mod is not valid
mod/bootstrapelements/db/upgrade.php
(#29) Function xmldb_bootstrapelements_upgrade is not documented
(#20) Package mod is not valid
mod/bootstrapelements/index.php
(#20) Package mod is not valid
mod/bootstrapelements/lang/en/bootstrapelements.php
(#20) Package mod is not valid
mod/bootstrapelements/lib.php
(#191) Function bootstrapelements_standard is not documented
(#203) Function bootstrapelements_toggle_outline is not documented
(#242) Function bootstrapelements_modal_outline is not documented
(#312) Function bootstrapelements_modal_button is not documented
(#325) Function bootstrapelements_blockquote is not documented
(#161) There is no description in phpdocs for function bootstrapelements_supports
(#35) Not recommended phpdocs tag @global used
(#51) Not recommended phpdocs tag @global used
(#69) Not recommended phpdocs tag @global used
(#95) Not recommended phpdocs tag @global used
(#20) Package mod is not valid
mod/bootstrapelements/mod_form.php
(#31) Class mod_bootstrapelements_mod_form is not documented
(#33) Function mod_bootstrapelements_mod_form::definition is not documented
(#20) Package mod is not valid
mod/bootstrapelements/version.php
(#20) Package mod is not valid
mod/bootstrapelements/view.php
(#20) Package mod is not valid

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]


Mustache template problems

(0 errors, 0 warnings)

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