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

(123 errors, 6 warnings)

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

filter/jsxgraph/filter.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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".
(#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.".
(#5) Line 7 of the opening comment must start "//".
(#5) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#6) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#6) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#7) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#8) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#8) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#45) Line indented incorrectly; expected 0 spaces, found 4
(#49) Line indented incorrectly; expected 4 spaces, found 8
(#53) Line indented incorrectly; expected 4 spaces, found 8
(#63) Line indented incorrectly; expected 4 spaces, found 8
(#65) Line indented incorrectly; expected 8 spaces, found 12
(#67) Line indented incorrectly; expected 8 spaces, found 12
(#70) Line indented incorrectly; expected 4 spaces, found 8
(#80) Line indented incorrectly; expected 4 spaces, found 8
(#86) Variable "ref_boardid_title" must not contain underscores.
(#98) Line indented incorrectly; expected 8 spaces, found 12
(#100) Line indented incorrectly; expected 8 spaces, found 12
(#102) Line indented incorrectly; expected 8 spaces, found 12
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Line indented incorrectly; expected 8 spaces, found 12
(#123) Line indented incorrectly; expected 8 spaces, found 16
(#125) Line indented incorrectly; expected 8 spaces, found 16
(#127) Line indented incorrectly; expected 8 spaces, found 16
(#128) Line indented incorrectly; expected 8 spaces, found 12
(#134) Line indented incorrectly; expected 8 spaces, found 12
(#155) Line indented incorrectly; expected 12 spaces, found 16
(#157) Line indented incorrectly; expected 12 spaces, found 16
(#158) Line indented incorrectly; expected 12 spaces, found 16
(#160) Line indented incorrectly; expected 12 spaces, found 16
(#167) Line indented incorrectly; expected 12 spaces, found 16
(#180) Line indented incorrectly; expected 12 spaces, found 16
(#191) Variable "ref_boardid_title" must not contain underscores.
(#192) Variable "ref_boardid_title" must not contain underscores.
(#195) Line indented incorrectly; expected 12 spaces, found 16
(#198) Line indented incorrectly; expected 16 spaces, found 20
(#198) Using an unparenthesized expression containing a "." before a "+" or "-" has been deprecated in PHP 7.4 and removed in PHP 8.0
(#200) Line indented incorrectly; expected 16 spaces, found 20
(#201) Line indented incorrectly; expected 12 spaces, found 16
(#214) Line indented incorrectly; expected 12 spaces, found 16
(#217) Line indented incorrectly; expected 12 spaces, found 16
(#223) Line indented incorrectly; expected 12 spaces, found 16
(#227) Line indented incorrectly; expected 12 spaces, found 16
(#231) Line indented incorrectly; expected 12 spaces, found 16
(#242) Line indented incorrectly; expected 8 spaces, found 12
(#258) Line indented incorrectly; expected 4 spaces, found 8
(#268) Line indented incorrectly; expected 4 spaces, found 8
(#275) Line indented incorrectly; expected 8 spaces, found 12
(#277) Line indented incorrectly; expected 12 spaces, found 16
(#278) Line indented incorrectly; expected 16 spaces, found 20
(#280) Line indented incorrectly; expected 16 spaces, found 20
(#285) Line indented incorrectly; expected 16 spaces, found 20
(#290) Line indented incorrectly; expected 16 spaces, found 20
(#292) Line indented incorrectly; expected 12 spaces, found 16
(#295) Line indented incorrectly; expected 12 spaces, found 16
(#303) Line indented incorrectly; expected 12 spaces, found 16
(#304) Line indented incorrectly; expected 16 spaces, found 20
(#306) Line indented incorrectly; expected 16 spaces, found 20
(#307) Line indented incorrectly; expected 12 spaces, found 16
(#313) Line indented incorrectly; expected 12 spaces, found 16
(#316) Line indented incorrectly; expected 12 spaces, found 16
(#318) Line indented incorrectly; expected 12 spaces, found 16
(#320) Line indented incorrectly; expected 12 spaces, found 16
(#322) Line indented incorrectly; expected 12 spaces, found 16
(#323) Line indented incorrectly; expected 8 spaces, found 12
(#328) Line indented incorrectly; expected 4 spaces, found 8
(#335) Line indented incorrectly; expected 4 spaces, found 8
(#352) Line indented incorrectly; expected 8 spaces, found 12
(#354) Line indented incorrectly; expected 8 spaces, found 12
(#356) Line indented incorrectly; expected 8 spaces, found 12
(#358) Line indented incorrectly; expected 8 spaces, found 12
(#360) Line indented incorrectly; expected 8 spaces, found 12
(#362) Line indented incorrectly; expected 8 spaces, found 12
(#364) Line indented incorrectly; expected 8 spaces, found 12
(#366) Line indented incorrectly; expected 8 spaces, found 12
(#368) Line indented incorrectly; expected 8 spaces, found 12
(#370) Line indented incorrectly; expected 8 spaces, found 12
(#372) Line indented incorrectly; expected 8 spaces, found 12
(#374) Line indented incorrectly; expected 8 spaces, found 12
(#376) Line indented incorrectly; expected 8 spaces, found 12
(#378) Line indented incorrectly; expected 8 spaces, found 12
(#380) Line indented incorrectly; expected 8 spaces, found 12
(#382) Line indented incorrectly; expected 8 spaces, found 12
(#385) Line indented incorrectly; expected 4 spaces, found 8
(#394) Line indented incorrectly; expected 4 spaces, found 8
(#407) Line indented incorrectly; expected 8 spaces, found 12
(#408) Line indented incorrectly; expected 12 spaces, found 16
(#410) Line indented incorrectly; expected 12 spaces, found 16
(#412) Line indented incorrectly; expected 12 spaces, found 16
(#413) Line indented incorrectly; expected 8 spaces, found 12
(#416) Line indented incorrectly; expected 4 spaces, found 8
(#426) Line indented incorrectly; expected 4 spaces, found 8
(#427) Line indented incorrectly; expected 8 spaces, found 12
(#429) Line indented incorrectly; expected 8 spaces, found 12
(#431) Line indented incorrectly; expected 8 spaces, found 12
(#433) Line indented incorrectly; expected 8 spaces, found 12
(#434) Line indented incorrectly; expected 4 spaces, found 8
(#444) Line indented incorrectly; expected 4 spaces, found 8
(#445) Line indented incorrectly; expected 8 spaces, found 12
(#447) Line indented incorrectly; expected 8 spaces, found 12
(#449) Line indented incorrectly; expected 8 spaces, found 12
(#450) Line indented incorrectly; expected 4 spaces, found 8
(#451) Line indented incorrectly; expected 0 spaces, found 4
filter/jsxgraph/settings.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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".
(#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.".
(#5) Line 7 of the opening comment must start "//".
(#5) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#6) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#6) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#7) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#8) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#8) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#38) Line indented incorrectly; expected 0 spaces, found 4
(#45) Line indented incorrectly; expected 4 spaces, found 8
(#47) Line indented incorrectly; expected 4 spaces, found 8
(#64) Line exceeds 132 characters; contains 134 characters
(#99) Line exceeds 132 characters; contains 168 characters
(#99) Inline comments must start with a capital letter, digit or 3-dots sequence
(#99) Inline comments must end in full-stops, exclamation marks, or question marks
(#99) This comment is 60% valid code; is this commented out code?
(#100) Line indented incorrectly; expected 0 spaces, found 4

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

(2 errors, 0 warnings)

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

filter/jsxgraph/styles.css
(#108) Unexpected empty block (block-no-empty)
(#119) Unexpected duplicate "background-color" (declaration-block-no-duplicate-properties)

PHPDocs style problems

(19 errors, 2 warnings)

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

filter/jsxgraph/classes/privacy/provider.php
(#26) Package jsxgraph filter is not valid
(#40) Class provider is not documented
(#17) No one-line description found in phpdocs for file
filter/jsxgraph/filter.php
(#26) Package jsxgraph filter is not valid
(#2) Empty line found after PHP open tag
(#17) No one-line description found in phpdocs for file
(#263) Phpdocs for function filter_jsxgraph::load_jsxgraph has incomplete parameters list
(#390) Phpdocs for function filter_jsxgraph::get_tagattributes has incomplete parameters list
(#421) Phpdocs for function filter_jsxgraph::convert_bool has incomplete parameters list
(#439) Phpdocs for function filter_jsxgraph::string_or has incomplete parameters list
(#46) Phpdocs for variable filter_jsxgraph::$recommended does not contain @var or incorrect
(#50) Phpdocs for variable filter_jsxgraph::$jsxcore does not contain @var or incorrect
filter/jsxgraph/lang/de/filter_jsxgraph.php
(#26) Package jsxgraph filter is not valid
(#17) No one-line description found in phpdocs for file
filter/jsxgraph/lang/en/filter_jsxgraph.php
(#26) Package jsxgraph filter is not valid
(#17) No one-line description found in phpdocs for file
filter/jsxgraph/settings.php
(#26) Package jsxgraph filter is not valid
(#2) Empty line found after PHP open tag
(#17) No one-line description found in phpdocs for file
filter/jsxgraph/version.php
(#26) Package jsxgraph filter is not valid
(#17) No one-line description found in phpdocs for file

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

(1 errors, 1 warnings)

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

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

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]