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, 3 warnings)

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

user/profile/field/cpf/define.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion
(#5) Visibility must be declared on method "define_form_specific"
user/profile/field/cpf/field.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Expected MOODLE_INTERNAL check or config.php inclusion
(#5) Visibility must be declared on method "edit_field_add"
(#6) Line exceeds 132 characters; contains 138 characters
(#9) Visibility must be declared on method "edit_validate_field"
(#15) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#24) Expected "if (...) {\n"; found "if(...) {\n"
(#33) Variable "db_cpf" must not contain underscores.
(#34) Whitespace found at end of line
(#35) Expected "if (...) {\n"; found "if(...) {\n"
(#35) Variable "db_cpf" must not contain underscores.
(#41) Private method name "profile_field_cpf::validateCPF" must be in lower-case letters only
(#43) Expected "if (...) {\n"; found "if(...) {\n"
(#56) Expected "} else if (...) {\n"; found "}\n // Verifica se nenhuma das sequencias invalidas abaixo.\n // Foi digitada. Caso afirmativo, retorna falso.\n else if (...) {\n"
(#56) Line exceeds maximum limit of 180 characters; contains 274 characters
(#58) Line indented incorrectly; expected at least 12 spaces, found 9
(#59) Line indented incorrectly; expected 8 spaces, found 9
(#59) Closing brace indented incorrectly; expected 8 spaces, found 9
(#59) Whitespace found at end of line
(#61) Whitespace found at end of line
(#70) Whitespace found at end of line
(#72) Closing brace indented incorrectly; expected 9 spaces, found 8
user/profile/field/cpf/lang/en/profilefield_cpf.php
(#2) The opening <?php tag must be followed by exactly one newline.
user/profile/field/cpf/lang/pt_br/profilefield_cpf.php
(#2) The opening <?php tag must be followed by exactly one newline.

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, 0 warnings)

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


PHPDocs style problems

(15 errors, 4 warnings)

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

user/profile/field/cpf/define.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Class profile_define_cpf is not documented
(#5) Function profile_define_cpf::define_form_specific is not documented
(#3) Package is not specified for class profile_define_cpf. It is also not specified in file-level phpdocs
user/profile/field/cpf/field.class.php
(#2) Empty line found after PHP open tag
(#3) File-level phpdocs block is not found
(#3) Class profile_field_cpf is not documented
(#5) Function profile_field_cpf::edit_field_add is not documented
(#9) Function profile_field_cpf::edit_validate_field is not documented
(#21) Function profile_field_cpf::exists is not documented
(#41) Function profile_field_cpf::validateCPF is not documented
(#3) Package is not specified for class profile_field_cpf. It is also not specified in file-level phpdocs
user/profile/field/cpf/lang/en/profilefield_cpf.php
(#2) Empty line found after PHP open tag
(#21) Package cpf_text is not valid
user/profile/field/cpf/lang/pt_br/profilefield_cpf.php
(#2) Empty line found after PHP open tag
(#21) Package cpf_text is not valid
user/profile/field/cpf/version.php
(#17) No one-line description found in phpdocs for file
(#18) Package cpf 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]