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

(70 errors, 2 warnings)

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

repository/cvod/callback.php
(#20) Whitespace found at end of line
(#22) Whitespace found at end of line
(#34) Variable "fileShortPlusSource" must be all lower-case
(#35) Expected 1 space after "="; 2 found
(#37) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#45) Commas (,) must be followed by white space.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#48) Expected 1 space after "="; 0 found
(#55) Whitespace found at end of line within string
repository/cvod/lang/en/repository_cvod.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#30) Expected 1 space after "="; 2 found
repository/cvod/lib.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#45) Expected 1 space before "=>"; 0 found
(#45) Expected 1 space after "=>"; 0 found
(#47) Variable "tempURl" must be all lower-case
(#49) Whitespace found at end of line
(#50) Expected 1 space after "="; 2 found
(#50) Variable "tempURl" must be all lower-case
(#57) Whitespace found at end of line
(#72) Whitespace found at end of line
(#79) Commas (,) must be followed by white space.
(#90) Variable "launchURl" must be all lower-case
(#91) Whitespace found at end of line
(#95) Whitespace found at end of line
(#96) Line indented incorrectly; expected 8 spaces, found 9
(#96) Variable "launchURl" must be all lower-case
(#97) Variable "launchURl" must be all lower-case
(#98) Closing brace indented incorrectly; expected 9 spaces, found 8
(#101) Whitespace found at end of line
(#102) Expected 1 space before "=>"; 0 found
(#102) Expected 1 space after "=>"; 0 found
(#102) Variable "launchURl" must be all lower-case
(#102) Commas (,) must be followed by white space.
(#102) Line exceeds 132 characters; contains 136 characters
(#105) Whitespace found at end of line
(#106) Expected 1 space before "=>"; 0 found
(#106) Expected 1 space after "=>"; 0 found
(#106) Commas (,) must be followed by white space.
(#106) Line exceeds 132 characters; contains 139 characters
(#109) Whitespace found at end of line
(#110) Whitespace found at end of line
(#112) Line indented incorrectly; expected at least 8 spaces, found 4
(#112) Variable "templaunchUrl" must be all lower-case
(#112) Whitespace found at end of line
(#113) Whitespace found at end of line
(#114) Line indented incorrectly; expected 8 spaces, found 4
(#114) Expected "if (...) {\n"; found "if(...)\n {\n"
(#114) Variable "templaunchUrl" must be all lower-case
(#116) Line indented incorrectly; expected at least 12 spaces, found 10
(#117) Closing brace indented incorrectly; expected 4 spaces, found 8
(#118) Line indented incorrectly; expected 8 spaces, found 4
(#118) Expected "} else {\n"; found "}\n else\n {\n"
(#120) Line indented incorrectly; expected 12 spaces, found 13
(#120) Expected "if (...) {\n"; found "if(...)\n {\n"
(#120) Variable "templaunchUrl" must be all lower-case
(#120) Whitespace found at end of line
(#121) Variable "templaunchUrl" must be all lower-case
(#121) Expected 1 space before "==="; 4 found
(#123) Line indented incorrectly; expected at least 20 spaces, found 18
(#124) Line indented incorrectly; expected 12 spaces, found 16
(#124) Closing brace indented incorrectly; expected 13 spaces, found 16
(#125) Expected "} else {\n"; found "}\n else\n {\n"
(#127) Whitespace found at end of line
(#128) Line indented incorrectly; expected 12 spaces, found 16
(#128) Closing brace indented incorrectly; expected 12 spaces, found 16
(#129) Closing brace indented incorrectly; expected 4 spaces, found 8
(#130) Whitespace found at end of line
(#133) Whitespace found at end of line
(#142) Whitespace found at end of line

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

(7 errors, 1 warnings)

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

repository/cvod/lang/en/repository_cvod.php
(#2) Empty line found after PHP open tag
repository/cvod/lib.php
(#30) Class repository_cvod is not documented
(#32) Function repository_cvod::__construct is not documented
(#111) Function repository_cvod::type_form_validation is not documented
(#143) Function repository_cvod::supported_filetypes is not documented
(#39) Phpdocs for function repository_cvod::get_listing has incomplete parameters list
(#85) Phpdocs for function repository_cvod::type_config_form has incomplete parameters list
repository/cvod/version.php
(#20) Package repository 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]


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]