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

(112 errors, 2 warnings)

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

blocks/searchonmath/block_searchonmath.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) Expected MOODLE_INTERNAL check or config.php inclusion
(#28) Line indented incorrectly; expected 4 spaces, found 2
(#29) Line indented incorrectly; expected at least 8 spaces, found 4
(#30) Line indented incorrectly; expected 4 spaces, found 2
(#32) Line indented incorrectly; expected 4 spaces, found 2
(#33) Line indented incorrectly; expected at least 8 spaces, found 4
(#34) Line indented incorrectly; expected 4 spaces, found 2
(#36) Line indented incorrectly; expected 4 spaces, found 2
(#37) Line indented incorrectly; expected at least 8 spaces, found 4
(#39) Line indented incorrectly; expected at least 8 spaces, found 4
(#40) Line indented incorrectly; expected at least 8 spaces, found 4
(#41) Line indented incorrectly; expected at least 8 spaces, found 4
(#42) Line indented incorrectly; expected 4 spaces, found 2
(#44) Line indented incorrectly; expected 4 spaces, found 2
(#45) Line indented incorrectly; expected 8 spaces, found 4
(#46) Line indented incorrectly; expected at least 12 spaces, found 6
(#47) Line indented incorrectly; expected 8 spaces, found 4
(#49) Line indented incorrectly; expected at least 8 spaces, found 4
(#50) Line indented incorrectly; expected at least 8 spaces, found 4
(#51) Line indented incorrectly; expected at least 8 spaces, found 4
(#52) Line indented incorrectly; expected at least 8 spaces, found 4
(#52) Whitespace found at end of line within string
(#53) Whitespace found at end of line within string
(#54) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#57) Whitespace found at end of line within string
(#58) Whitespace found at end of line within string
(#59) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#62) Whitespace found at end of line within string
(#63) Whitespace found at end of line within string
(#64) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#68) Whitespace found at end of line within string
(#69) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
(#72) Whitespace found at end of line within string
(#73) Whitespace found at end of line within string
(#74) Whitespace found at end of line within string
(#75) Whitespace found at end of line within string
(#76) Whitespace found at end of line within string
(#77) Whitespace found at end of line within string
(#78) Whitespace found at end of line within string
(#79) Whitespace found at end of line within string
(#81) Line indented incorrectly; expected at least 8 spaces, found 0
(#82) Line indented incorrectly; expected at least 8 spaces, found 0
(#83) Line indented incorrectly; expected 4 spaces, found 0
(#83) Closing brace indented incorrectly; expected 2 spaces, found 0
(#84) Whitespace found at end of line
blocks/searchonmath/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
blocks/searchonmath/jquery/plugins.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#17) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
blocks/searchonmath/lang/en/block_searchonmath.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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 "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/searchonmath/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#12) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#14) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Whitespace found at end of line
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(6 errors, 635 warnings)

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

blocks/searchonmath/jquery/jquerymodule/jquery-1.11.2.min.js
(#2) Line is too long.
(#2) Missing semicolon.
(#2) Expected an identifier and instead saw '=='.
(#2) Expected an operator and instead saw 'typeof'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'throw'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) 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.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'a'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw ';'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'if'.
(#2) Confusing use of '!'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing '()' invoking a constructor.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing '()' invoking a constructor.
(#2) Missing semicolon.
(#2) Unexpected use of '<<'.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Unexpected use of '>>'.
(#2) Unexpected use of '|'.
(#2) Unexpected use of '&'.
(#2) Unexpected use of '|'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw ';'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'o'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'try'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) 'hb' was used before it was defined.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing semicolon.
(#2) Unexpected use of '~'.
(#2) Unexpected use of '~'.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'c'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw '1'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Unexpected use of '&'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Unexpected use of '&'.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Unexpected use of '&'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'h'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'i'.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'try'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'b'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'c'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'c'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'm'.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw '('.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Unexpected use of '~'.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'a'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'd'.
(#2) Expected '{' and instead saw 'd'.
(#2) A constructor name should start with an uppercase letter.
(#2) Missing '()' invoking a constructor.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw '!'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'd'.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Did you mean to return a conditional instead of an assignment?
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'gb'.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw '('.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw '('.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw '('.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw '('.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'r'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Don't make functions within a loop.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Missing semicolon.
(#2) Don't make functions within a loop.
(#2) Missing semicolon.
(#2) Don't make functions within a loop.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'm'.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'break'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) A leading decimal point can be confused with a dot: '.1'.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'if'.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected a conditional expression and instead saw an assignment.
(#2) Expected '{' and instead saw 'o'.
(#2) Expected '{' and instead saw 'while'.
(#2) Expected '{' and instead saw 'r'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'f'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing 'new' prefix when invoking a constructor.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'break'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Unexpected use of '&'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) 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.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Confusing use of '!'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'if'.
(#2) Expected '{' and instead saw 'return'.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'm'.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '===' and instead saw '=='.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '===' and instead saw '=='.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected '{' and instead saw 'for'.
(#2) Expected '{' and instead saw 'm'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Expected '{' and instead saw 'return'.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Missing semicolon.
(#2) Missing semicolon.
(#2) Expected '!==' and instead saw '!='.
(#2) Missing semicolon.
(#2) Expected an assignment or function call and instead saw an expression.
(#2) Unmatched '('.
(#2) Too many errors. (100% scanned).
blocks/searchonmath/jquery/jquerymodule/qtip/jquery-qtip.js
(#29) Unnecessary semicolon.
(#96) Unnecessary semicolon.
(#240) Possible strict violation.
(#241) Possible strict violation.
(#243) Possible strict violation.
(#247) Possible strict violation.
(#248) Possible strict violation.
(#252) Possible strict violation.
(#253) Expected an assignment or function call and instead saw an expression.
(#257) Possible strict violation.
(#258) Possible strict violation.
(#259) Possible strict violation.
(#268) Possible strict violation.
(#273) Possible strict violation.
(#277) Possible strict violation.
(#277) Possible strict violation.
(#277) Possible strict violation.
(#277) Possible strict violation.
(#278) Possible strict violation.
(#278) Possible strict violation.
(#281) Possible strict violation.
(#287) Expected an assignment or function call and instead saw an expression.
(#296) Unnecessary semicolon.
(#382) Expected an assignment or function call and instead saw an expression.
(#408) Expected an assignment or function call and instead saw an expression.
(#425) Expected an assignment or function call and instead saw an expression.
(#437) Missing semicolon.
(#437) Expected an identifier and instead saw '==='.
(#437) Expected an operator and instead saw 'typeof'.
(#437) Expected an assignment or function call and instead saw an expression.
(#437) Missing semicolon.
(#437) Expected an assignment or function call and instead saw an expression.
(#440) Expected an assignment or function call and instead saw an expression.
(#445) Expected an assignment or function call and instead saw an expression.
(#450) Expected an assignment or function call and instead saw an expression.
(#453) Expected an assignment or function call and instead saw an expression.
(#456) Expected an assignment or function call and instead saw an expression.
(#459) Expected an assignment or function call and instead saw an expression.
(#464) Expected an assignment or function call and instead saw an expression.
(#490) Expected a conditional expression and instead saw an assignment.
(#509) Possible strict violation.
(#510) Possible strict violation.
(#511) Expected a conditional expression and instead saw an assignment.
(#514) Possible strict violation.
(#515) Possible strict violation.
(#516) Possible strict violation.
(#516) Possible strict violation.
(#579) Unnecessary semicolon.
(#691) Unnecessary semicolon.
(#962) Unnecessary semicolon.
(#981) Expected an assignment or function call and instead saw an expression.
(#1122) Unnecessary semicolon.
(#1168) Unnecessary semicolon.
(#1193) Unnecessary semicolon.
(#1241) Unnecessary semicolon.
(#1269) Unnecessary semicolon.
(#1285) Possible strict violation.
(#1288) Possible strict violation.
(#1292) Possible strict violation.
(#1295) Possible strict violation.
(#1296) Possible strict violation.
(#1299) Possible strict violation.
(#1299) Possible strict violation.
(#1301) Possible strict violation.
(#1306) Possible strict violation.
(#1310) Possible strict violation.
(#1311) Possible strict violation.
(#1314) Possible strict violation.
(#1315) Possible strict violation.
(#1319) Possible strict violation.
(#1320) Possible strict violation.
(#1321) Possible strict violation.
(#1334) Possible strict violation.
(#1334) Possible strict violation.
(#1336) Possible strict violation.
(#1337) Possible strict violation.
(#1342) Possible strict violation.
(#1342) Possible strict violation.
(#1345) Possible strict violation.
(#1347) Possible strict violation.
(#1347) Possible strict violation.
(#1349) Possible strict violation.
(#1354) Possible strict violation.
(#1354) Possible strict violation.
(#1354) Possible strict violation.
(#1368) Expected an assignment or function call and instead saw an expression.
(#1381) Expected an assignment or function call and instead saw an expression.
(#1399) Expected an assignment or function call and instead saw an expression.
(#1454) Expected an assignment or function call and instead saw an expression.
(#1490) Possible strict violation.
(#1490) Possible strict violation.
(#1493) Possible strict violation.
(#1494) Possible strict violation.
(#1497) Possible strict violation.
(#1498) Possible strict violation.
(#1498) Possible strict violation.
(#1657) Unnecessary semicolon.
(#1821) Unnecessary semicolon.
(#1890) Unnecessary semicolon.
(#1973) Unnecessary semicolon.
(#2166) ['width'] is better written in dot notation.
(#2167) ['height'] is better written in dot notation.
(#2384) Expected an assignment or function call and instead saw an expression.
(#2395) Expected an assignment or function call and instead saw an expression.
(#2510) Expected a conditional expression and instead saw an assignment.
(#2511) Expected a conditional expression and instead saw an assignment.
(#2597) Unnecessary semicolon.
(#2929) Unnecessary semicolon.
(#3040) Unnecessary semicolon.
(#3154) Unnecessary semicolon.
(#3255) Unnecessary semicolon.
(#3297) Unnecessary semicolon.
(#3315) Expected an assignment or function call and instead saw an expression.
(#3417) Expected an assignment or function call and instead saw an expression.
(#3435) Unnecessary semicolon.
(#47) 'FLIP' is defined but never used.
(#1976) 'TIPNS' is defined but never used.
(#140) 'namespace' is defined but never used.
(#252) 'name' is defined but never used.
(#533) 'checks' is defined but never used.
(#579) 'reposition' is defined but never used.
(#989) 'otherOpts' is defined but never used.
(#996) 'showEvent' is defined but never used.
(#996) 'delay' is defined but never used.
(#1129) 'focusedElem' is defined but never used.
(#1525) 'bodyTarget' is defined but never used.
(#1849) 'titles' is defined but never used.
(#1849) 'title' is defined but never used.
(#1927) 'viewport' is defined but never used.
(#2254) 'BACKING_STORE_RATIO' is defined but never used.
(#2408) 'isWidget' is defined but never used.
(#2449) 'viewport' is defined but never used.
(#2712) 'docBody' is defined but never used.
(#2719) 'zindex' is defined but never used.
(#3164) 'dimensions' is defined but never used.
(#3263) 'next' is defined but never used.
(#3255) 'adjustMethod' is defined but never used.
(#3307) 'qtip' is defined but never used.
(#3320) 'scroll' is defined but never used.
(#11) 'console' is defined but never used.

CSS problems

(0 errors, 5 warnings)

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

blocks/searchonmath/jquery/jquerymodule/qtip/css/jquery-qtip.css
(#47) Use of !important
(#97) Rule is empty.
(#100) Rule is empty.
(#250) Use of !important
(#640) Use of !important

PHPDocs style problems

(6 errors, 4 warnings)

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

blocks/searchonmath/block_searchonmath.php
(#2) Empty line found after PHP open tag
(#26) Class block_searchonmath is not documented
(#28) Function block_searchonmath::init is not documented
(#32) Function block_searchonmath::applicable_formats is not documented
(#36) Function block_searchonmath::get_required_javascript is not documented
(#44) Function block_searchonmath::get_content is not documented
blocks/searchonmath/db/access.php
(#2) Empty line found after PHP open tag
blocks/searchonmath/jquery/plugins.php
(#2) Empty line found after PHP open tag
blocks/searchonmath/lang/en/block_searchonmath.php
(#2) File-level phpdocs block is not found
blocks/searchonmath/version.php
(#2) Empty line found after PHP open 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]


Mustache template problems

(0 errors, 0 warnings)

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