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

(62 errors, 45 warnings)

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

mod/assign/submission/mahara/backup/moodle2/backup_assignsubmission_mahara_subplugin.class.php
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Line exceeds 132 characters; contains 136 characters
(#50) Inline comments must start with a capital letter, digit or 3-dots sequence
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#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
mod/assign/submission/mahara/backup/moodle2/restore_assignsubmission_mahara_subplugin.class.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/assign/submission/mahara/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/assign/submission/mahara/db/upgrade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#72) Line exceeds 132 characters; contains 152 characters
(#73) Line exceeds 132 characters; contains 157 characters
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Inline comments must end in full-stops, exclamation marks, or question marks
(#134) Expected 1 space before "=>"; 0 found
(#134) Expected 1 space after "=>"; 0 found
(#143) Line exceeds maximum limit of 180 characters; contains 188 characters
(#146) Expected "} else {\n"; found "}\n else {\n"
(#146) Empty ELSE statement detected
mod/assign/submission/mahara/lib.php
(#62) Expected 1 space before "=>"; 0 found
(#62) Expected 1 space after "=>"; 0 found
mod/assign/submission/mahara/locallib.php
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#57) Line indented incorrectly; expected at least 4 spaces, found 3
(#67) Expected 1 space before "=>"; 0 found
(#67) Expected 1 space after "=>"; 0 found
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#92) Inline comments must end in full-stops, exclamation marks, or question marks
(#96) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Line exceeds 132 characters; contains 134 characters
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Line exceeds 132 characters; contains 140 characters
(#108) Line exceeds maximum limit of 180 characters; contains 187 characters
(#168) Expected "} else {\n"; found "}\n else {\n"
(#172) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) Expected 1 space before "=>"; 0 found
(#205) Expected 1 space after "=>"; 0 found
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#257) Expected "} else {\n"; found "}\n else {\n"
(#318) Expected "} else {\n"; found "}\n else {\n"
(#319) Expected 1 space before "=>"; 0 found
(#319) Expected 1 space after "=>"; 0 found
(#357) "require_once" must be immediately followed by an open parenthesis
(#358) "require_once" must be immediately followed by an open parenthesis
(#372) Commas (,) must be followed by white space.
(#391) Line indented incorrectly; expected 4 spaces, found 5
(#395) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) Inline comments must end in full-stops, exclamation marks, or question marks
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#473) Inline comments must end in full-stops, exclamation marks, or question marks
(#475) Line exceeds 132 characters; contains 140 characters
(#480) Inline comments must end in full-stops, exclamation marks, or question marks
(#483) Inline comments must end in full-stops, exclamation marks, or question marks
(#507) Line exceeds 132 characters; contains 140 characters
(#537) Closing brace indented incorrectly; expected 5 spaces, found 4
(#564) Inline comments must end in full-stops, exclamation marks, or question marks
(#589) Expected 5 space(s) before asterisk; 6 found
(#590) Expected 5 space(s) before asterisk; 6 found
(#591) Expected 5 space(s) before asterisk; 6 found
(#592) Expected 5 space(s) before asterisk; 6 found
(#593) Expected 5 space(s) before asterisk; 6 found
(#594) Expected 5 space(s) before asterisk; 6 found
(#602) Inline comments must end in full-stops, exclamation marks, or question marks
(#612) Inline comments must end in full-stops, exclamation marks, or question marks
(#613) Line exceeds 132 characters; contains 145 characters
(#622) Expected 5 space(s) before asterisk; 6 found
(#623) Expected 5 space(s) before asterisk; 6 found
(#624) Expected 5 space(s) before asterisk; 6 found
(#625) Expected 5 space(s) before asterisk; 6 found
(#626) Expected 5 space(s) before asterisk; 6 found
(#627) Expected 5 space(s) before asterisk; 6 found
(#631) Inline comments must end in full-stops, exclamation marks, or question marks
(#652) Expected 5 space(s) before asterisk; 6 found
(#653) Expected 5 space(s) before asterisk; 6 found
(#654) Expected 5 space(s) before asterisk; 6 found
(#655) Expected 5 space(s) before asterisk; 6 found
(#656) Expected 5 space(s) before asterisk; 6 found
(#657) Expected 5 space(s) before asterisk; 6 found
(#662) Inline comments must end in full-stops, exclamation marks, or question marks
(#697) Expected 1 space before "=>"; 0 found
(#697) Expected 1 space after "=>"; 0 found
(#719) Variable "popup_icon" must not contain underscores.
(#725) Variable "popup_icon" must not contain underscores.
(#755) Inline comments must end in full-stops, exclamation marks, or question marks
(#756) Expected 1 space before "=>"; 0 found
(#756) Expected 1 space after "=>"; 0 found
(#776) Expected 6 space(s) before asterisk; 5 found
(#777) Expected 6 space(s) before asterisk; 5 found
(#778) Expected 6 space(s) before asterisk; 5 found
(#779) Expected 6 space(s) before asterisk; 5 found
(#780) Expected 6 space(s) before asterisk; 5 found
(#781) Expected 6 space(s) before asterisk; 5 found
(#846) Expected 1 space before "=>"; 0 found
(#846) Expected 1 space after "=>"; 0 found
(#880) Expected 1 space before "=>"; 0 found
(#880) Expected 1 space after "=>"; 0 found
mod/assign/submission/mahara/mnetlib.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion
mod/assign/submission/mahara/settings.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#24) "require_once" must be immediately followed by an open parenthesis
mod/assign/submission/mahara/version.php
(#31) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(0 errors, 8 warnings)

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

mod/assign/submission/mahara/js/filter.js
(#29) Expected '!==' and instead saw '!='.
(#36) Unnecessary semicolon.
(#39) 'e' is defined but never used.
mod/assign/submission/mahara/js/popup.js
(#24) Expected '===' and instead saw '=='.
(#25) Expected '===' and instead saw '=='.
(#54) Expected '{' and instead saw 'removeElement'.
(#123) Don't make functions within a loop.
(#32) 'e' is defined but never used.

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(14 errors, 16 warnings)

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

mod/assign/submission/mahara/backup/moodle2/backup_assignsubmission_mahara_subplugin.class.php
(#36) Class backup_assignsubmission_mahara_subplugin is not documented
mod/assign/submission/mahara/lang/en/assignsubmission_mahara.php
(#20) Package assignsubmission_onlinetext is not valid
mod/assign/submission/mahara/locallib.php
(#39) Constant assign_submission_mahara::STATUS_SELECTED is not documented
(#42) Constant assign_submission_mahara::STATUS_SUBMITTED is not documented
(#46) Constant assign_submission_mahara::STATUS_RELEASED is not documented
(#764) There is no description in phpdocs for function view_summary
(#289) Phpdocs for function assign_submission_mahara::mnet_submit_view has incomplete parameters list
(#592) Phpdocs for function assign_submission_mahara::lock has incomplete parameters list
(#625) Phpdocs for function assign_submission_mahara::unlock has incomplete parameters list
(#692) Phpdocs for function assign_submission_mahara::get_view_url has incomplete parameters list
(#60) Not recommended phpdocs tag @global used
(#73) Not recommended phpdocs tag @global used
(#73) Not recommended phpdocs tag @global used
(#274) Not recommended phpdocs tag @global used
(#288) Not recommended phpdocs tag @global used
(#327) Not recommended phpdocs tag @global used
(#341) Not recommended phpdocs tag @global used
(#386) Not recommended phpdocs tag @global used
(#557) Not recommended phpdocs tag @global used
(#591) Not recommended phpdocs tag @global used
(#624) Not recommended phpdocs tag @global used
(#654) Not recommended phpdocs tag @global used
(#731) Not recommended phpdocs tag @global used
(#731) Not recommended phpdocs tag @global used
(#840) Not recommended phpdocs tag @global used
(#859) Not recommended phpdocs tag @global used
mod/assign/submission/mahara/mnetlib.php
(#28) Class mnetservice_assign_submission_mahara is not documented
(#29) Function mnetservice_assign_submission_mahara::donothing is not documented
mod/assign/submission/mahara/settings.php
(#21) Inline phpdocs tag not enclosed with curly brackets @link found
(#20) Package assignsubmission_file 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]