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

(79 errors, 5 warnings)

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

local/yuja/classes/local_yuja/yuja_client.class.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#32) Whitespace found at end of line
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) This comment is 48% valid code; is this commented out code?
(#55) No space found before comment text; expected "// $userfull = trim($usergiven . ' ' . $userfamily);" but found "//$userfull = trim($usergiven . ' ' . $userfamily);"
local/yuja/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) 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".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#5) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#5) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#9) Whitespace found at end of line
(#11) Whitespace found at end of line
(#12) Spaces must be used to indent lines; tabs are not allowed
(#12) Tab found within whitespace
(#12) Line indented incorrectly; expected at least 8 spaces, found 5
(#13) Spaces must be used to indent lines; tabs are not allowed
(#13) Tab found within whitespace
(#13) Whitespace found at end of line
(#14) Spaces must be used to indent lines; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected at least 8 spaces, found 5
(#15) Spaces must be used to indent lines; tabs are not allowed
(#15) Tab found within whitespace
(#15) Line indented incorrectly; expected at least 8 spaces, found 6
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#16) Line indented incorrectly; expected at least 8 spaces, found 6
(#17) Spaces must be used to indent lines; tabs are not allowed
(#17) Tab found within whitespace
(#17) Line indented incorrectly; expected at least 8 spaces, found 6
(#18) Spaces must be used to indent lines; tabs are not allowed
(#18) Tab found within whitespace
(#18) Line indented incorrectly; expected at least 8 spaces, found 6
(#19) Spaces must be used to indent lines; tabs are not allowed
(#19) Tab found within whitespace
(#19) Line indented incorrectly; expected at least 8 spaces, found 6
(#20) Spaces must be used to indent lines; tabs are not allowed
(#20) Tab found within whitespace
(#20) Line indented incorrectly; expected at least 8 spaces, found 6
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Line indented incorrectly; expected at least 8 spaces, found 6
(#22) Spaces must be used to indent lines; tabs are not allowed
(#22) Tab found within whitespace
(#22) Line indented incorrectly; expected at least 8 spaces, found 6
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 8 spaces, found 6
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected at least 8 spaces, found 6
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 8 spaces, found 6
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected at least 8 spaces, found 6
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Line indented incorrectly; expected at least 8 spaces, found 6
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected at least 8 spaces, found 2
local/yuja/lang/en/local_yuja.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) Expected 1 space before "="; 0 found
local/yuja/lib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#28) No space found before comment text; expected "// $path = dirname(__FILE__) . '/library';" but found "//$path = dirname(__FILE__) . '/library';"
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#29) No space found before comment text; expected "// set_include_path(get_include_path() . PATH_SEPARATOR . $path);" but found "//set_include_path(get_include_path() . PATH_SEPARATOR . $path);"
local/yuja/settings.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
local/yuja/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

local/yuja/classes/privacy/provider.php
(#8) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#8) Class provider is not documented
(#10) Function provider::get_metadata is not documented

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]


grunt changes

(0 errors, 0 warnings)

This section shows files built by grunt and not commited [More info]


shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]