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

(157 errors, 6 warnings)

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

calendar/type/jalali/classes/structure.php
(#27) Expected MOODLE_INTERNAL check or config.php inclusion
(#214) Inline comments must start with a capital letter, digit or 3-dots sequence
(#214) Inline comments must end in full-stops, exclamation marks, or question marks
(#243) Inline control structures are not allowed
(#245) Inline control structures are not allowed
(#245) Usage of ELSEIF not allowed; use ELSE IF instead
(#248) Inline comments must start with a capital letter, digit or 3-dots sequence
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#313) Variable "AMstring" must be all lower-case
(#314) Variable "PMstring" must be all lower-case
(#325) Inline comments must start with a capital letter, digit or 3-dots sequence
(#325) No space found before comment text; expected "// this is not sufficient code, change it. but it works correctly." but found "//this is not sufficient code, change it. but it works correctly."
(#345) Variable "AMstring" must be all lower-case
(#345) Variable "PMstring" must be all lower-case
(#370) Expected 1 space after "-"; 0 found
(#370) Expected 1 space before "-"; 0 found
(#370) Expected 1 space after "-"; 0 found
(#394) Variable "g_day_no" must not contain underscores.
(#394) Expected 1 space before "*"; 0 found
(#394) Expected 1 space after "*"; 0 found
(#394) Expected 1 space before "+"; 0 found
(#394) Expected 1 space after "+"; 0 found
(#394) Expected 1 space before "+"; 0 found
(#394) Expected 1 space after "+"; 0 found
(#394) Commas (,) must be followed by white space.
(#394) Expected 1 space before "-"; 0 found
(#394) Expected 1 space after "-"; 0 found
(#394) Expected 1 space before "+"; 0 found
(#394) Expected 1 space after "+"; 0 found
(#394) Commas (,) must be followed by white space.
(#394) Expected 1 space before "+"; 0 found
(#394) Expected 1 space after "+"; 0 found
(#394) Expected 1 space before "+"; 0 found
(#394) Expected 1 space after "+"; 0 found
(#394) Commas (,) must be followed by white space.
(#396) Expected 1 space before "="; 0 found
(#396) Expected 1 space after "="; 0 found
(#397) Variable "g_day_no" must not contain underscores.
(#399) Expected 1 space before ">"; 0 found
(#399) Expected 1 space after ">"; 0 found
(#399) Expected 1 space before "%"; 0 found
(#399) Expected 1 space after "%"; 0 found
(#399) Expected 1 space before "=="; 0 found
(#399) Expected 1 space after "=="; 0 found
(#399) Expected 1 space before "%"; 0 found
(#399) Expected 1 space after "%"; 0 found
(#399) Expected 1 space before "!="; 0 found
(#399) Expected 1 space after "!="; 0 found
(#399) Expected 1 space before "%"; 0 found
(#399) Expected 1 space after "%"; 0 found
(#399) Expected 1 space before "=="; 0 found
(#399) Expected 1 space after "=="; 0 found
(#401) Variable "g_day_no" must not contain underscores.
(#403) Variable "g_day_no" must not contain underscores.
(#404) Whitespace found at end of line
(#405) Variable "j_day_no" must not contain underscores.
(#405) Variable "g_day_no" must not contain underscores.
(#405) Expected 1 space before "-"; 0 found
(#405) Expected 1 space after "-"; 0 found
(#407) Variable "j_np" must not contain underscores.
(#407) Variable "j_day_no" must not contain underscores.
(#408) Variable "j_day_no" must not contain underscores.
(#410) Expected 1 space before "+"; 0 found
(#410) Expected 1 space after "+"; 0 found
(#410) Expected 1 space before "*"; 0 found
(#410) Expected 1 space after "*"; 0 found
(#410) Variable "j_np" must not contain underscores.
(#410) Expected 1 space before "+"; 0 found
(#410) Expected 1 space after "+"; 0 found
(#410) Expected 1 space before "*"; 0 found
(#410) Expected 1 space after "*"; 0 found
(#410) Variable "j_day_no" must not contain underscores.
(#410) Commas (,) must be followed by white space.
(#412) Variable "j_day_no" must not contain underscores.
(#414) Variable "j_day_no" must not contain underscores.
(#415) Variable "j_day_no" must not contain underscores.
(#415) Expected 1 space before "-"; 0 found
(#415) Expected 1 space after "-"; 0 found
(#416) Variable "j_day_no" must not contain underscores.
(#416) Variable "j_day_no" must not contain underscores.
(#416) Expected 1 space before "-"; 0 found
(#416) Expected 1 space after "-"; 0 found
(#416) Expected 1 space before "%"; 0 found
(#416) Expected 1 space after "%"; 0 found
(#419) Variable "j_day_no" must not contain underscores.
(#420) Line indented incorrectly; expected at least 12 spaces, found 10
(#420) Variable "j_day_no" must not contain underscores.
(#422) Expected 1 space before "+"; 0 found
(#422) Expected 1 space after "+"; 0 found
(#423) Variable "j_day_no" must not contain underscores.
(#423) Expected 1 space before "+"; 0 found
(#423) Expected 1 space after "+"; 0 found
(#447) Expected 1 space before "-"; 0 found
(#447) Expected 1 space after "-"; 0 found
(#448) Expected 1 space before "-"; 0 found
(#448) Expected 1 space after "-"; 0 found
(#449) Expected 1 space before "-"; 0 found
(#449) Expected 1 space after "-"; 0 found
(#451) Variable "j_day_no" must not contain underscores.
(#451) Expected 1 space before "*"; 0 found
(#451) Expected 1 space after "*"; 0 found
(#451) Expected 1 space before "*"; 0 found
(#451) Expected 1 space after "*"; 0 found
(#451) Expected 1 space before "%"; 0 found
(#451) Expected 1 space after "%"; 0 found
(#451) Expected 1 space before "+"; 0 found
(#451) Expected 1 space after "+"; 0 found
(#452) Inline control structures are not allowed
(#452) Expected 1 space before "="; 0 found
(#452) Expected 1 space after "="; 0 found
(#453) Variable "j_day_no" must not contain underscores.
(#455) Variable "j_day_no" must not contain underscores.
(#457) Variable "g_day_no" must not contain underscores.
(#457) Variable "j_day_no" must not contain underscores.
(#457) Expected 1 space before "+"; 0 found
(#457) Expected 1 space after "+"; 0 found
(#459) Expected 1 space before "*"; 0 found
(#459) Expected 1 space after "*"; 0 found
(#459) Variable "g_day_no" must not contain underscores.
(#460) Variable "g_day_no" must not contain underscores.
(#460) Variable "g_day_no" must not contain underscores.
(#463) Expected "if (...) {\n"; found "if (...) /* 36525 = 365*100 + 100/4 */\n {\n"
(#463) Variable "g_day_no" must not contain underscores.
(#465) Variable "g_day_no" must not contain underscores.
(#466) Expected 1 space before "*"; 0 found
(#466) Expected 1 space after "*"; 0 found
(#466) Variable "g_day_no" must not contain underscores.
(#467) Variable "g_day_no" must not contain underscores.
(#467) Variable "g_day_no" must not contain underscores.
(#469) Inline control structures are not allowed
(#469) Variable "g_day_no" must not contain underscores.
(#470) Variable "g_day_no" must not contain underscores.
(#471) Inline control structures are not allowed
(#475) Expected 1 space before "*"; 0 found
(#475) Expected 1 space after "*"; 0 found
(#475) Variable "g_day_no" must not contain underscores.
(#476) Variable "g_day_no" must not contain underscores.
(#478) Variable "g_day_no" must not contain underscores.
(#481) Variable "g_day_no" must not contain underscores.
(#482) Variable "g_day_no" must not contain underscores.
(#483) Variable "g_day_no" must not contain underscores.
(#483) Variable "g_day_no" must not contain underscores.
(#486) Inline control structures are not allowed
(#486) Variable "g_day_no" must not contain underscores.
(#487) Variable "g_day_no" must not contain underscores.
(#488) Expected 1 space before "+"; 0 found
(#488) Expected 1 space after "+"; 0 found
(#489) Variable "g_day_no" must not contain underscores.
(#489) Expected 1 space before "+"; 0 found
(#489) Expected 1 space after "+"; 0 found
(#512) Expected 1 space before "+"; 0 found
(#512) Expected 1 space after "+"; 0 found
(#512) Expected 1 space before "%"; 0 found
(#512) Expected 1 space after "%"; 0 found
(#512) Expected 1 space before "+"; 0 found
(#512) Expected 1 space after "+"; 0 found
(#512) Expected 1 space before "%"; 0 found
(#512) Expected 1 space after "%"; 0 found
(#512) Expected 1 space before "*"; 0 found
(#512) Expected 1 space after "*"; 0 found
(#512) Expected 1 space before "%"; 0 found
(#512) Expected 1 space after "%"; 0 found
(#515) Commas (,) must be followed by white space.

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]

calendar/type/jalali/classes/structure.php
(#17) File-level phpdocs block is not found
(#510) Function structure::isleap_solar is not documented
(#515) Function structure::div 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]