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

(205 errors, 67 warnings)

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

mod/assign/submission/onlineaudio/backup/moodle2/backup_assignsubmission_onlineaudio_subplugin.class.php
(#19) Whitespace found at end of line
(#39) Whitespace found at end of line
(#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
(#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
(#57) Line exceeds 132 characters; contains 145 characters
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Whitespace found at end of line
mod/assign/submission/onlineaudio/backup/moodle2/restore_assignsubmission_onlineaudio_subplugin.class.php
(#19) Whitespace found at end of line
(#32) Expected MOODLE_INTERNAL check or config.php inclusion
(#34) Inline comments must start with a capital letter, digit or 3-dots sequence
(#34) 76 slashes comments are not allowed; use "// Comment." instead
(#36) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) 76 slashes comments are not allowed; use "// Comment." instead
(#47) 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
(#50) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) 76 slashes comments are not allowed; use "// Comment." instead
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) 76 slashes comments are not allowed; use "// Comment." instead
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Whitespace found at end of line
mod/assign/submission/onlineaudio/db/access.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/assign/submission/onlineaudio/db/upgrade.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
mod/assign/submission/onlineaudio/delete.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#19) Inline comments must end in full-stops, exclamation marks, or question marks
(#25) Whitespace found at end of line
(#26) Commas (,) must be followed by white space.
(#26) Commas (,) must be followed by white space.
(#35) Variable "submission_plugin" must not contain underscores.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Line exceeds 132 characters; contains 134 characters
(#42) Variable "submission_plugin" must not contain underscores.
(#45) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#46) Expected "if (...) {\n"; found "if(...) {\n"
(#46) Expected 1 space before "=="; 0 found
(#46) Expected 1 space after "=="; 0 found
(#46) Expected 1 space before "=="; 0 found
(#46) Expected 1 space after "=="; 0 found
(#52) Expected "if (...) {\n"; found "if(...) {\n"
(#57) Expected "if (...) {\n"; found "if(...) {\n"
(#69) Line exceeds 132 characters; contains 137 characters
mod/assign/submission/onlineaudio/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#41) Whitespace found at end of line
(#48) Expected 1 space before "=>"; 0 found
(#48) Expected 1 space after "=>"; 0 found
(#50) Whitespace found at end of line
(#51) Expected 1 space before "=>"; 0 found
(#51) Expected 1 space after "=>"; 0 found
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Inline comments must start with a capital letter, digit or 3-dots sequence
mod/assign/submission/onlineaudio/locallib.php
(#1) Whitespace found at end of line
(#1) The opening <?php tag must be followed by exactly one newline.
(#19) Whitespace found at end of line
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#40) Whitespace found at end of line
(#46) Whitespace found at end of line
(#49) Whitespace found at end of line
(#69) Inline comments must start with a capital letter, digit or 3-dots sequence
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#70) Expected 1 space before "=>"; 0 found
(#70) Expected 1 space after "=>"; 0 found
(#70) Line exceeds 132 characters; contains 138 characters
(#93) Whitespace found at end of line
(#96) Whitespace found at end of line
(#99) Whitespace found at end of line
(#103) Expected 1 space before "=>"; 0 found
(#103) Expected 1 space after "=>"; 0 found
(#105) Whitespace found at end of line
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#125) Whitespace found at end of line
(#128) Expected "for (...) {\n"; found "for(...) {\n"
(#131) Whitespace found at end of line
(#132) Line exceeds 132 characters; contains 154 characters
(#137) Expected 1 space after "=>"; 0 found
(#137) Line exceeds maximum limit of 180 characters; contains 229 characters
(#138) Line exceeds 132 characters; contains 158 characters
(#144) Line exceeds 132 characters; contains 159 characters
(#150) Whitespace found at end of line
(#155) Whitespace found at end of line
(#178) Line exceeds 132 characters; contains 175 characters
(#192) Line exceeds maximum limit of 180 characters; contains 199 characters
(#193) Line exceeds 132 characters; contains 162 characters
(#194) Inline comments must end in full-stops, exclamation marks, or question marks
(#196) Commas (,) must be followed by white space.
(#196) Commas (,) must be followed by white space.
(#197) Inline comments must end in full-stops, exclamation marks, or question marks
(#199) Expected "if (...) {\n"; found "if(...) {\n"
(#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 53% valid code; is this commented out code?
(#200) No space found before comment text; expected "// &amp;userid={$submission->userid} &amp;mode=$mode&amp;offset=$offset" but found "//&amp;userid={$submission->userid} &amp;mode=$mode&amp;offset=$offset"
(#203) Line exceeds 132 characters; contains 134 characters
(#205) Line exceeds 132 characters; contains 171 characters
(#206) Expected 1 space before "=>"; 0 found
(#206) Expected 1 space after "=>"; 0 found
(#206) Expected 1 space before "=>"; 0 found
(#206) Expected 1 space after "=>"; 0 found
(#206) Line exceeds maximum limit of 180 characters; contains 246 characters
(#212) Expected 1 space before "=>"; 0 found
(#212) Expected 1 space after "=>"; 0 found
(#212) Expected 1 space before "=>"; 0 found
(#212) Expected 1 space after "=>"; 0 found
(#212) Line exceeds 132 characters; contains 169 characters
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Expected 1 space before "=>"; 0 found
(#213) Expected 1 space after "=>"; 0 found
(#213) Line exceeds maximum limit of 180 characters; contains 233 characters
(#217) Line exceeds maximum limit of 180 characters; contains 189 characters
(#218) Expected 1 space before "=>"; 0 found
(#218) Expected 1 space after "=>"; 0 found
(#218) Expected 1 space before "=>"; 0 found
(#218) Expected 1 space after "=>"; 0 found
(#218) Line exceeds maximum limit of 180 characters; contains 242 characters
(#227) Whitespace found at end of line
(#230) Whitespace found at end of line
(#234) Whitespace found at end of line
(#246) Expected "if (...) {\n"; found "if(...) {\n"
(#247) Expected 1 space before "="; 0 found
(#247) Expected 1 space after "="; 0 found
(#247) Line exceeds 132 characters; contains 144 characters
(#248) Line exceeds 132 characters; contains 154 characters
(#251) Expected "if (...) {\n"; found "if(...) {\n"
(#252) Expected 1 space before "="; 0 found
(#252) Expected 1 space after "="; 0 found
(#252) Expected 1 space before "?"; 0 found
(#252) Expected 1 space after "?"; 0 found
(#252) Expected 1 space before ":"; 0 found
(#252) Expected 1 space after ":"; 0 found
(#253) Expected 1 space before "="; 0 found
(#253) Expected 1 space after "="; 0 found
(#253) Expected 1 space before "=="; 0 found
(#253) Expected 1 space after "=="; 0 found
(#253) Expected 1 space before "?"; 0 found
(#253) Expected 1 space after "?"; 0 found
(#253) Expected 1 space before ":"; 0 found
(#253) Expected 1 space after ":"; 0 found
(#254) Expected 1 space before "="; 0 found
(#254) Expected 1 space after "="; 0 found
(#255) Expected 1 space before "="; 0 found
(#255) Expected 1 space after "="; 0 found
(#256) Expected 1 space before "="; 0 found
(#256) Expected 1 space after "="; 0 found
(#257) Expected 1 space before ".="; 0 found
(#257) Expected 1 space after ".="; 0 found
(#257) Commas (,) must be followed by white space.
(#257) Commas (,) must be followed by white space.
(#258) Expected 1 space before "="; 0 found
(#258) Expected 1 space after "="; 0 found
(#274) Line exceeds maximum limit of 180 characters; contains 207 characters
(#285) Whitespace found at end of line
(#291) Whitespace found at end of line
(#294) Whitespace found at end of line
(#299) Line exceeds 132 characters; contains 142 characters
(#311) Whitespace found at end of line
(#319) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Whitespace found at end of line
(#333) Commas (,) must be followed by white space.
(#336) Whitespace found at end of line
(#337) Variable "temp_name" must not contain underscores.
(#337) Expected 1 space before "="; 0 found
(#337) Expected 1 space after "="; 0 found
(#337) Commas (,) must be followed by white space.
(#340) Variable "temp_name" must not contain underscores.
(#340) Expected 1 space before "="; 0 found
(#340) Expected 1 space after "="; 0 found
(#340) Variable "temp_name" must not contain underscores.
(#340) Commas (,) must be followed by white space.
(#341) Expected 1 space before "="; 0 found
(#341) Expected 1 space after "="; 0 found
(#341) Variable "temp_name" must not contain underscores.
(#342) Inline comments must start with a capital letter, digit or 3-dots sequence
(#343) Expected 1 space before "="; 0 found
(#343) Expected 1 space after "="; 0 found
(#344) Expected "while (...) {\n"; found "while(...) {\n"
(#344) Line exceeds 132 characters; contains 176 characters
(#345) Expected 1 space before "="; 0 found
(#345) Expected 1 space after "="; 0 found
(#345) Variable "temp_name" must not contain underscores.
(#348) Inline comments must end in full-stops, exclamation marks, or question marks
(#358) Line exceeds maximum limit of 180 characters; contains 181 characters
(#360) Inline comments must start with a capital letter, digit or 3-dots sequence
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#373) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#390) Whitespace found at end of line
(#398) Line exceeds maximum limit of 180 characters; contains 187 characters
(#405) Whitespace found at end of line
(#415) Inline comments must start with a capital letter, digit or 3-dots sequence
(#426) Whitespace found at end of line
(#428) Whitespace found at end of line
(#431) Line exceeds 132 characters; contains 141 characters
(#433) Whitespace found at end of line
(#439) Whitespace found at end of line
(#450) Whitespace found at end of line
(#451) Whitespace found at end of line
(#453) Whitespace found at end of line
(#455) Whitespace found at end of line
(#461) Commas (,) must be followed by white space.
(#462) Inline comments must end in full-stops, exclamation marks, or question marks
(#468) Whitespace found at end of line
(#471) Whitespace found at end of line
(#484) Whitespace found at end of line
(#488) Whitespace found at end of line
(#493) Whitespace found at end of line
(#494) Inline comments must start with a capital letter, digit or 3-dots sequence
(#494) Inline comments must end in full-stops, exclamation marks, or question marks
(#495) Whitespace found at end of line
(#496) Whitespace found at end of line
(#497) Whitespace found at end of line
(#499) Inline comments must end in full-stops, exclamation marks, or question marks
(#500) Whitespace found at end of line
(#501) Whitespace found at end of line
(#502) Whitespace found at end of line
(#510) Whitespace found at end of line
(#516) Inline comments must start with a capital letter, digit or 3-dots sequence
(#516) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) Expected 1 space before "=>"; 0 found
(#517) Expected 1 space after "=>"; 0 found
(#518) Whitespace found at end of line
(#521) Whitespace found at end of line
(#524) Whitespace found at end of line
(#526) Whitespace found at end of line
(#530) Inline comments must start with a capital letter, digit or 3-dots sequence
(#530) Inline comments must end in full-stops, exclamation marks, or question marks
(#550) Expected 1 space before "=>"; 0 found
(#550) Expected 1 space after "=>"; 0 found
mod/assign/submission/onlineaudio/settings.php
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/assign/submission/onlineaudio/upload.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Inline comments must start with a capital letter, digit or 3-dots sequence
(#1) Inline comments must end in full-stops, exclamation marks, or question marks
(#1) This comment is 45% valid code; is this commented out code?
(#2) 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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) 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/>.".
(#8) Inline comments must end in full-stops, exclamation marks, or question marks
(#17) Inline comments must end in full-stops, exclamation marks, or question marks
(#24) Commas (,) must be followed by white space.
(#24) Commas (,) must be followed by white space.
(#32) Variable "submission_plugin" must not contain underscores.
(#33) Variable "submission_plugin" must not contain underscores.
(#35) Expected "if (...) {\n"; found "if(...) {\n"
(#35) Variable "submission_plugin" must not contain underscores.
mod/assign/submission/onlineaudio/version.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.

Javascript coding style problems

(0 errors, 241 warnings)

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

mod/assign/submission/onlineaudio/assets/swfobject.js
(#4) Line is too long.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '!==' and instead saw '!='.
(#4) Confusing use of '!'.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 'h' was used before it was defined.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Confusing use of '!'.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Avoid arguments.callee.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '!==' and instead saw '!='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Expected '===' and instead saw '=='.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Expected '===' and instead saw '=='.
(#4) Missing 'new' prefix when invoking a constructor.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) Missing semicolon.
(#4) 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.
(#4) 'k' is defined but never used.
(#4) 'd' 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, 13 warnings)

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

mod/assign/submission/onlineaudio/backup/moodle2/restore_assignsubmission_onlineaudio_subplugin.class.php
(#34) Found comment starting with three or more slashes
(#36) Found comment starting with three or more slashes
(#53) Found comment starting with three or more slashes
(#55) Found comment starting with three or more slashes
(#59) Not recommended phpdocs tag @global used
mod/assign/submission/onlineaudio/delete.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
mod/assign/submission/onlineaudio/lib.php
(#2) Empty line found after PHP open tag
(#30) Not recommended phpdocs tag @global used
mod/assign/submission/onlineaudio/locallib.php
(#2) Empty line found after PHP open tag
(#45) Class assign_submission_onlineaudio is not documented
(#168) Phpdocs for function assign_submission_onlineaudio::print_user_files has incomplete parameters list
(#231) Phpdocs for function assign_submission_onlineaudio::get_form_elements has incomplete parameters list
(#309) Phpdocs for function assign_submission_onlineaudio::add_recording has incomplete parameters list
(#391) Phpdocs for function assign_submission_onlineaudio::get_files has incomplete parameters list
(#409) Phpdocs for function assign_submission_onlineaudio::view_summary has incomplete parameters list
(#456) Phpdocs for function assign_submission_onlineaudio::upgrade_settings has incomplete parameters list
(#538) Phpdocs for function assign_submission_onlineaudio::is_empty has incomplete parameters list
(#97) Not recommended phpdocs tag @global used
(#109) Not recommended phpdocs tag @global used
(#109) Not recommended phpdocs tag @global used
(#307) Not recommended phpdocs tag @global used
(#307) Not recommended phpdocs tag @global used
(#472) Not recommended phpdocs tag @global used
(#511) Not recommended phpdocs tag @global used
mod/assign/submission/onlineaudio/upload.php
(#2) Empty line found after PHP open tag
(#3) 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]


Mustache template problems

(0 errors, 0 warnings)

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