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

(24 errors, 8 warnings)

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

local/technicalsignals/db/upgrade.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Whitespace found at end of line
(#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) Inline comments must end in full-stops, exclamation marks, or question marks
local/technicalsignals/lang/en/local_technicalsignals.php
(#2) The opening <?php tag must be followed by exactly one newline.
local/technicalsignals/lang/fr/local_technicalsignals.php
(#2) The opening <?php tag must be followed by exactly one newline.
local/technicalsignals/lib.php
(#24) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#29) Whitespace found at end of line
(#40) Inline comments must start with a capital letter, digit or 3-dots sequence
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Inline control structures are not allowed
(#44) Expected "if (...) {\n"; found "if (...){\n"
(#49) Expected "if (...) {\n"; found "if (...){\n"
(#50) "require_once" must be immediately followed by an open parenthesis
(#88) Line exceeds maximum limit of 180 characters; contains 193 characters
(#93) Line exceeds 132 characters; contains 144 characters
local/technicalsignals/settings.php
(#42) Line exceeds 132 characters; contains 148 characters
(#46) Line exceeds maximum limit of 180 characters; contains 198 characters
(#52) Line exceeds 132 characters; contains 158 characters
(#60) Line exceeds 132 characters; contains 166 characters
(#64) Line exceeds maximum limit of 180 characters; contains 214 characters
(#65) Line exceeds 132 characters; contains 174 characters
(#67) Line exceeds maximum limit of 180 characters; contains 182 characters

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 2 warnings)

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

local/technicalsignals/styles.css
(#11) Use of !important
(#12) Use of !important

PHPDocs style problems

(15 errors, 2 warnings)

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

local/technicalsignals/db/access.php
(#17) No one-line description found in phpdocs for file
local/technicalsignals/db/install.php
(#17) No one-line description found in phpdocs for file
local/technicalsignals/db/upgrade.php
(#19) File-level phpdocs block is not found
(#21) Function xmldb_local_technicalsignals_upgrade is not documented
(#21) Package is not specified for function xmldb_local_technicalsignals_upgrade. It is also not specified in file-level phpdocs
local/technicalsignals/lang/en/local_technicalsignals.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
local/technicalsignals/lang/fr/local_technicalsignals.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
local/technicalsignals/lib.php
(#17) No one-line description found in phpdocs for file
(#28) Phpdocs for function local_print_administrator_message has incomplete parameters list
(#19) Category local is not valid
local/technicalsignals/resetmessage.php
(#17) No one-line description found in phpdocs for file
(#19) Category local is not valid
local/technicalsignals/settings.php
(#21) Category blocks is not valid
local/technicalsignals/version.php
(#20) Package local_tabbedquickform is not valid
(#21) Category local 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]