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

(27 errors, 2 warnings)

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

blocks/annulab_lrs/block_annulab_lrs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#46) Line exceeds maximum limit of 180 characters; contains 228 characters
(#48) Expected 1 space before "="; 0 found
(#48) Expected 1 space after "="; 0 found
(#56) Line exceeds 132 characters; contains 150 characters
(#57) Line exceeds 132 characters; contains 135 characters
blocks/annulab_lrs/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Line indented incorrectly; expected 4 spaces, found 5
(#36) Closing brace indented incorrectly; expected 5 spaces, found 4
blocks/annulab_lrs/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#23) Expected 1 space(s) before asterisk; 0 found
blocks/annulab_lrs/db/upgrade.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/annulab_lrs/lang/en/block_annulab_lrs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#23) Expected 1 space(s) before asterisk; 0 found
blocks/annulab_lrs/lang/fr/block_annulab_lrs.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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
(#23) Expected 1 space(s) before asterisk; 0 found
blocks/annulab_lrs/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#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/>.".

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

(9 errors, 0 warnings)

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

blocks/annulab_lrs/block_annulab_lrs.php
(#27) Class block_annulab_lrs is not documented
(#29) Function block_annulab_lrs::init is not documented
(#33) Function block_annulab_lrs::get_content is not documented
blocks/annulab_lrs/classes/privacy/provider.php
(#30) Class provider is not documented
(#31) Function provider::get_metadata is not documented
blocks/annulab_lrs/db/upgrade.php
(#44) Package is not specified for function xmldb_block_annulab_lrs_upgrade. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#47) Inline phpdocs tag {@see lib/db/upgrade.php} with incorrect contents found. It must match {@link valid URL} or {@see valid FQSEN}

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]