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

(243 errors, 18 warnings)

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

calendar/type/hijri/classes/structure.php
(#30) Expected MOODLE_INTERNAL check or config.php inclusion
(#217) Inline comments must start with a capital letter, digit or 3-dots sequence
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#315) Variable "AMstring" must be all lower-case
(#316) Variable "PMstring" must be all lower-case
(#327) Inline comments must start with a capital letter, digit or 3-dots sequence
(#327) 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."
(#347) Variable "AMstring" must be all lower-case
(#347) Variable "PMstring" must be all lower-case
(#490) Expected 1 space after "+"; newline found
(#503) Expected 1 space after "+"; newline found
(#504) Expected 1 space after "+"; newline found
(#505) Expected 1 space after "+"; newline found
(#506) Expected 1 space after "+"; newline found
(#507) Expected 1 space after "+"; newline found
(#508) Expected 1 space after "+"; newline found
(#558) Expected 1 space before "="; 0 found
(#558) Expected 1 space after "="; 0 found
(#560) Expected 1 space before ">"; 0 found
(#560) Expected 1 space after ">"; 0 found
(#560) Expected 1 space before "=="; 0 found
(#560) Expected 1 space after "=="; 0 found
(#560) Expected 1 space before ">"; 0 found
(#560) Expected 1 space after ">"; 0 found
(#560) Expected 1 space before "=="; 0 found
(#560) Expected 1 space after "=="; 0 found
(#560) Expected 1 space before "=="; 0 found
(#560) Expected 1 space after "=="; 0 found
(#560) Expected 1 space before ">"; 0 found
(#560) Expected 1 space after ">"; 0 found
(#561) Inline comments must start with a capital letter, digit or 3-dots sequence
(#561) Inline comments must end in full-stops, exclamation marks, or question marks
(#561) No space found before comment text; expected "// added delta=1 on jd to comply isna rulling 2007" but found "//added delta=1 on jd to comply isna rulling 2007"
(#562) Expected 1 space before "*"; 0 found
(#562) Expected 1 space after "*"; 0 found
(#562) Expected 1 space before "+"; 0 found
(#562) Expected 1 space after "+"; 0 found
(#562) Expected 1 space before "+"; 0 found
(#562) Expected 1 space after "+"; 0 found
(#562) Expected 1 space before "-"; 0 found
(#562) Expected 1 space after "-"; 0 found
(#562) Expected 1 space before "/"; 0 found
(#562) Expected 1 space after "/"; 0 found
(#562) Expected 1 space before "/"; 0 found
(#562) Expected 1 space after "/"; 0 found
(#562) Expected 1 space before "*"; 0 found
(#562) Expected 1 space after "*"; 0 found
(#562) Expected 1 space before "-"; 0 found
(#562) Expected 1 space after "-"; 0 found
(#562) Expected 1 space before "-"; 0 found
(#562) Expected 1 space after "-"; 0 found
(#562) Expected 1 space before "*"; 0 found
(#562) Expected 1 space after "*"; 0 found
(#562) Expected 1 space before "-"; 0 found
(#562) Expected 1 space after "-"; 0 found
(#562) Expected 1 space before "/"; 0 found
(#562) Expected 1 space after "/"; 0 found
(#562) Expected 1 space before "/"; 0 found
(#562) Expected 1 space after "/"; 0 found
(#562) Line exceeds 132 characters; contains 162 characters
(#562) Expected 1 space after "-"; newline found
(#563) Expected 1 space before "*"; 0 found
(#563) Expected 1 space before "+"; 0 found
(#563) Expected 1 space after "+"; 0 found
(#563) Expected 1 space before "+"; 0 found
(#563) Expected 1 space after "+"; 0 found
(#563) Expected 1 space before "-"; 0 found
(#563) Expected 1 space after "-"; 0 found
(#563) Expected 1 space before "/"; 0 found
(#563) Expected 1 space after "/"; 0 found
(#563) Expected 1 space before "/"; 0 found
(#563) Expected 1 space after "/"; 0 found
(#563) Expected 1 space after "/"; 0 found
(#563) Line exceeds 132 characters; contains 139 characters
(#565) Inline comments must start with a capital letter, digit or 3-dots sequence
(#565) Inline comments must end in full-stops, exclamation marks, or question marks
(#565) No space found before comment text; expected "// added +1 on jd to comply isna rulling" but found "//added +1 on jd to comply isna rulling"
(#566) Expected 1 space before "*"; 0 found
(#566) Expected 1 space after "*"; 0 found
(#566) Expected 1 space before "*"; 0 found
(#566) Expected 1 space after "*"; 0 found
(#566) Expected 1 space before "+"; 0 found
(#566) Expected 1 space after "+"; 0 found
(#566) Expected 1 space before "+"; 0 found
(#566) Expected 1 space after "+"; 0 found
(#566) Expected 1 space before "-"; 0 found
(#566) Expected 1 space after "-"; 0 found
(#566) Expected 1 space before "/"; 0 found
(#566) Expected 1 space after "/"; 0 found
(#566) Expected 1 space before "/"; 0 found
(#566) Expected 1 space after "/"; 0 found
(#566) Expected 1 space before "*"; 0 found
(#566) Expected 1 space after "*"; 0 found
(#566) Expected 1 space before "/"; 0 found
(#566) Expected 1 space after "/"; 0 found
(#566) Line exceeds 132 characters; contains 153 characters
(#569) Inline comments must start with a capital letter, digit or 3-dots sequence
(#569) Inline comments must end in full-stops, exclamation marks, or question marks
(#569) No space found before comment text; expected "// added -1 on jd1 to comply isna rulling" but found "//added -1 on jd1 to comply isna rulling"
(#570) Expected 1 space before "-"; 0 found
(#570) Expected 1 space after "-"; 0 found
(#572) Expected 1 space before "-"; 0 found
(#572) Expected 1 space after "-"; 0 found
(#572) Expected 1 space before "/"; 0 found
(#572) Expected 1 space after "/"; 0 found
(#573) Expected 1 space before "*"; 0 found
(#573) Expected 1 space after "*"; 0 found
(#574) Expected 1 space before "-"; 0 found
(#574) Expected 1 space after "-"; 0 found
(#574) Expected 1 space before "/"; 0 found
(#574) Expected 1 space after "/"; 0 found
(#574) Expected 1 space before "*"; 0 found
(#574) Expected 1 space after "*"; 0 found
(#574) Expected 1 space before "*"; 0 found
(#574) Expected 1 space after "*"; 0 found
(#574) Expected 1 space before "/"; 0 found
(#574) Expected 1 space after "/"; 0 found
(#574) Expected 1 space before "+"; 0 found
(#574) Expected 1 space after "+"; 0 found
(#574) Expected 1 space before "/"; 0 found
(#574) Expected 1 space after "/"; 0 found
(#574) Expected 1 space before "*"; 0 found
(#574) Expected 1 space after "*"; 0 found
(#574) Expected 1 space before "*"; 0 found
(#574) Expected 1 space after "*"; 0 found
(#574) Expected 1 space before "/"; 0 found
(#574) Expected 1 space after "/"; 0 found
(#574) Line exceeds 132 characters; contains 137 characters
(#575) Expected 1 space before "-"; 0 found
(#575) Expected 1 space after "-"; 0 found
(#575) Expected 1 space before "/"; 0 found
(#575) Expected 1 space after "/"; 0 found
(#575) Expected 1 space before "*"; 0 found
(#575) Expected 1 space after "*"; 0 found
(#575) Expected 1 space before "/"; 0 found
(#575) Expected 1 space after "/"; 0 found
(#575) Expected 1 space before "/"; 0 found
(#575) Expected 1 space after "/"; 0 found
(#575) Expected 1 space before "*"; 0 found
(#575) Expected 1 space after "*"; 0 found
(#575) Expected 1 space before "/"; 0 found
(#575) Expected 1 space after "/"; 0 found
(#575) Line exceeds 132 characters; contains 146 characters
(#576) Expected 1 space before "*"; 0 found
(#576) Expected 1 space after "*"; 0 found
(#576) Expected 1 space before "/"; 0 found
(#576) Expected 1 space after "/"; 0 found
(#577) Expected 1 space before "*"; 0 found
(#577) Expected 1 space after "*"; 0 found
(#577) Expected 1 space before "/"; 0 found
(#577) Expected 1 space after "/"; 0 found
(#578) Expected 1 space before "*"; 0 found
(#578) Expected 1 space after "*"; 0 found
(#585) Expected 1 space before "=>"; 0 found
(#594) Inline comments must start with a capital letter, digit or 3-dots sequence
(#594) Inline comments must end in full-stops, exclamation marks, or question marks
(#594) No space found before comment text; expected "// added - delta=1 on jd to comply isna rulling" but found "//added - delta=1 on jd to comply isna rulling"
(#595) Expected 1 space before "*"; 0 found
(#595) Expected 1 space after "*"; 0 found
(#595) Expected 1 space before "+"; 0 found
(#595) Expected 1 space after "+"; 0 found
(#595) Expected 1 space before "/"; 0 found
(#595) Expected 1 space after "/"; 0 found
(#595) Expected 1 space before "*"; 0 found
(#595) Expected 1 space after "*"; 0 found
(#595) Expected 1 space before "*"; 0 found
(#595) Expected 1 space after "*"; 0 found
(#595) Expected 1 space before "-"; 0 found
(#595) Expected 1 space after "-"; 0 found
(#595) Expected 1 space before "/"; 0 found
(#595) Expected 1 space after "/"; 0 found
(#595) Line exceeds 132 characters; contains 133 characters
(#597) Expected 1 space before ">"; 0 found
(#599) Expected 1 space before "*"; 0 found
(#599) Expected 1 space after "*"; 0 found
(#599) Expected 1 space before "/"; 0 found
(#599) Expected 1 space after "/"; 0 found
(#600) Expected 1 space before "*"; 0 found
(#600) Expected 1 space after "*"; 0 found
(#600) Expected 1 space before "+"; 0 found
(#600) Expected 1 space after "+"; 0 found
(#600) Expected 1 space before "/"; 0 found
(#600) Expected 1 space after "/"; 0 found
(#601) Expected 1 space before "*"; 0 found
(#601) Expected 1 space after "*"; 0 found
(#601) Expected 1 space before "+"; 0 found
(#601) Expected 1 space after "+"; 0 found
(#601) Expected 1 space before "/"; 0 found
(#601) Expected 1 space after "/"; 0 found
(#602) Expected 1 space before "*"; 0 found
(#602) Expected 1 space after "*"; 0 found
(#602) Expected 1 space before "/"; 0 found
(#602) Expected 1 space after "/"; 0 found
(#603) Expected 1 space before "*"; 0 found
(#603) Expected 1 space after "*"; 0 found
(#603) Expected 1 space before "/"; 0 found
(#603) Expected 1 space after "/"; 0 found
(#604) Expected 1 space before "*"; 0 found
(#604) Expected 1 space after "*"; 0 found
(#604) Expected 1 space before "/"; 0 found
(#604) Expected 1 space after "/"; 0 found
(#605) Expected 1 space before "/"; 0 found
(#605) Expected 1 space after "/"; 0 found
(#606) Expected 1 space before "*"; 0 found
(#606) Expected 1 space after "*"; 0 found
(#607) Expected 1 space before "*"; 0 found
(#607) Expected 1 space after "*"; 0 found
(#607) Expected 1 space before "-"; 0 found
(#607) Expected 1 space after "-"; 0 found
(#610) Expected 1 space before "-"; 0 found
(#610) Expected 1 space after "-"; 0 found
(#610) Expected 1 space before "/"; 0 found
(#610) Expected 1 space after "/"; 0 found
(#611) Expected 1 space before "*"; 0 found
(#611) Expected 1 space after "*"; 0 found
(#612) Expected 1 space before "-"; 0 found
(#612) Expected 1 space after "-"; 0 found
(#612) Expected 1 space before "/"; 0 found
(#612) Expected 1 space after "/"; 0 found
(#612) Expected 1 space before "-"; 0 found
(#612) Expected 1 space after "-"; 0 found
(#612) Expected 1 space before "/"; 0 found
(#612) Expected 1 space after "/"; 0 found
(#613) Expected 1 space before "*"; 0 found
(#613) Expected 1 space after "*"; 0 found
(#614) Expected 1 space before "*"; 0 found
(#614) Expected 1 space after "*"; 0 found
(#614) Expected 1 space before "/"; 0 found
(#614) Expected 1 space after "/"; 0 found
(#615) Expected 1 space before "*"; 0 found
(#615) Expected 1 space after "*"; 0 found
(#615) Expected 1 space before "/"; 0 found
(#615) Expected 1 space after "/"; 0 found
(#616) Expected 1 space before "/"; 0 found
(#616) Expected 1 space after "/"; 0 found
(#617) Expected 1 space before "*"; 0 found
(#617) Expected 1 space after "*"; 0 found
(#618) Expected 1 space before "*"; 0 found
(#618) Expected 1 space after "*"; 0 found
(#626) Expected 1 space before "=>"; 0 found
(#628) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#633) Private method name "structure::intPart" must be in lower-case letters only
(#633) Variable "floatNum" must be all lower-case
(#634) Variable "floatNum" must be all lower-case
(#634) Expected 1 space before "<"; 0 found
(#634) Expected 1 space after "<"; 0 found
(#635) Variable "floatNum" must be all lower-case
(#635) Expected 1 space before "-"; 0 found
(#635) Expected 1 space after "-"; 0 found
(#637) Variable "floatNum" must be all lower-case
(#637) Expected 1 space before "+"; 0 found
(#637) Expected 1 space after "+"; 0 found
calendar/type/hijri/settings.php
(#11) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#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) Expected 1 space(s) before asterisk; 0 found
(#18) Expected 1 space(s) before asterisk; 0 found
(#19) Expected 1 space(s) before asterisk; 0 found
(#20) Expected 1 space(s) before asterisk; 0 found
(#21) Expected 1 space(s) before asterisk; 0 found
(#22) Expected 1 space(s) before asterisk; 0 found

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

(6 errors, 0 warnings)

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

calendar/type/hijri/classes/structure.php
(#17) File-level phpdocs block is not found
(#443) Function structure::convert_from_gregorian_algorithm_a is not documented
(#452) Function structure::convert_to_gregorian_algorithm_a is not documented
(#557) Function structure::convert_from_gregorian_algorithm_b is not documented
(#591) Function structure::convert_to_gregorian_algorithm_b is not documented
(#633) Function structure::intPart 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]