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

(109 errors, 67 warnings)

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

mod/ejsapp/add_to_log.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/backup/moodle2/backup_ejsapp_activity_task.class.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/backup/moodle2/backup_ejsapp_settingslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/backup/moodle2/backup_ejsapp_stepslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#101) This comment is 68% valid code; is this commented out code?
mod/ejsapp/backup/moodle2/restore_ejsapp_activity_task.class.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/backup/moodle2/restore_ejsapp_stepslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) This comment is 56% valid code; is this commented out code?
mod/ejsapp/check_user_sarlab.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#35) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#67) Inline comments must start with a capital letter, digit or 3-dots sequence
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) This comment is 60% valid code; is this commented out code?
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#74) This comment is 60% valid code; is this commented out code?
(#81) This comment is 60% valid code; is this commented out code?
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) This comment is 60% valid code; is this commented out code?
(#135) Function mcrypt_module_open() is deprecated since PHP 7.1; Use OpenSSL instead
(#135) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#137) Function mcrypt_generic_init() is deprecated since PHP 7.1; Use OpenSSL instead
(#137) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#138) Function mcrypt_get_block_size() is deprecated since PHP 7.1; Use OpenSSL instead
(#138) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#141) Function mcrypt_generic() is deprecated since PHP 7.1; Use OpenSSL instead
(#141) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#143) Function mcrypt_generic_deinit() is deprecated since PHP 7.1; Use OpenSSL instead
(#143) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#144) Function mcrypt_module_close() is deprecated since PHP 7.1; Use OpenSSL instead
(#144) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#159) Function mcrypt_module_open() is deprecated since PHP 7.1; Use OpenSSL instead
(#159) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#161) Function mcrypt_generic_init() is deprecated since PHP 7.1; Use OpenSSL instead
(#161) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#163) Function mdecrypt_generic() is deprecated since PHP 7.1; Use OpenSSL instead
(#168) Function mcrypt_generic_deinit() is deprecated since PHP 7.1; Use OpenSSL instead
(#168) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
(#169) Function mcrypt_module_close() is deprecated since PHP 7.1; Use OpenSSL instead
(#169) Extension 'mcrypt' is deprecated since PHP 7.1; Use openssl (preferred) or pecl/mcrypt once available instead
mod/ejsapp/classes/event/ejsapp_book.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_booked.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_collab.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_inactive.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_instance_list_viewed.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_viewed.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/classes/event/ejsapp_wait.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#49) This comment is 43% valid code; is this commented out code?
mod/ejsapp/classes/event/ejsapp_working.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#49) This comment is 43% valid code; is this commented out code?
mod/ejsapp/classes/observers.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#54) This comment is 66% valid code; is this commented out code?
(#67) This comment is 66% valid code; is this commented out code?
(#80) This comment is 66% valid code; is this commented out code?
(#93) This comment is 66% valid code; is this commented out code?
(#106) This comment is 66% valid code; is this commented out code?
(#119) This comment is 66% valid code; is this commented out code?
(#132) This comment is 66% valid code; is this commented out code?
mod/ejsapp/countdown.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/access.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/events.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/install.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/log.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/uninstall.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/db/upgrade.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#58) Whitespace found at end of line
mod/ejsapp/generate_embedding_code.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#346) Expected 1 space after "+"; newline found
(#355) Inline comments must start with a capital letter, digit or 3-dots sequence
(#355) This comment is 67% valid code; is this commented out code?
(#355) No space found before comment text; expected "// if (!$sarlabinfo) { // Without Sarlab, launch the Java file as a Web Start Application with the JNLP." but found "//if (!$sarlabinfo) { // Without Sarlab, launch the Java file as a Web Start Application with the JNLP."
(#356) Line indented incorrectly; expected 8 spaces, found 12
(#358) Line indented incorrectly; expected 8 spaces, found 12
(#360) Line indented incorrectly; expected 8 spaces, found 12
(#362) Line indented incorrectly; expected 8 spaces, found 12
(#364) Line indented incorrectly; expected 8 spaces, found 12
(#365) This comment is 52% valid code; is this commented out code?
(#404) Line indented incorrectly; expected 8 spaces, found 12
(#417) Line indented incorrectly; expected 8 spaces, found 12
(#438) This comment is 42% valid code; is this commented out code?
(#446) This comment is 61% valid code; is this commented out code?
mod/ejsapp/index.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/kick_out.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/lang/en/ejsapp.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/lang/es/ejsapp.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/lib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/locallib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#430) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#861) Line exceeds 132 characters; contains 133 characters
(#1249) Expected 1 space before "-"; newline found
(#1261) Expected 1 space before "-"; newline found
(#1683) Spaces must be used to indent lines; tabs are not allowed
(#1683) Tab found within whitespace
(#1683) Line indented incorrectly; expected at least 8 spaces, found 3
(#1684) Spaces must be used to indent lines; tabs are not allowed
(#1684) Tab found within whitespace
(#1684) Line indented incorrectly; expected at least 8 spaces, found 3
(#1685) Spaces must be used to indent lines; tabs are not allowed
(#1685) Tab found within whitespace
(#1685) Line indented incorrectly; expected at least 8 spaces, found 2
(#1686) Spaces must be used for alignment; tabs are not allowed
(#1686) Tab found within whitespace
(#1686) Whitespace found at end of line
(#1687) Spaces must be used for alignment; tabs are not allowed
(#1687) Tab found within whitespace
(#1687) Line indented incorrectly; expected at least 8 spaces, found 3
(#1692) Spaces must be used for alignment; tabs are not allowed
(#1692) Tab found within whitespace
(#1692) Line indented incorrectly; expected at least 8 spaces, found 2
(#1700) Whitespace found at end of line within string
(#1739) Spaces must be used for alignment; tabs are not allowed
(#1739) Tab found within whitespace
(#1739) Line indented incorrectly; expected 12 spaces, found 3
(#1740) Spaces must be used for alignment; tabs are not allowed
(#1740) Tab found within whitespace
(#1740) Line indented incorrectly; expected 16 spaces, found 4
(#1741) Spaces must be used for alignment; tabs are not allowed
(#1741) Tab found within whitespace
(#1741) Line indented incorrectly; expected at least 20 spaces, found 5
(#1742) Spaces must be used for alignment; tabs are not allowed
(#1742) Tab found within whitespace
(#1742) Line indented incorrectly; expected 16 spaces, found 4
(#1743) Spaces must be used for alignment; tabs are not allowed
(#1743) Tab found within whitespace
(#1743) Line indented incorrectly; expected 12 spaces, found 3
mod/ejsapp/mod_form.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#47) Whitespace found at end of line
(#230) Spaces must be used to indent lines; tabs are not allowed
(#230) Tab found within whitespace
(#230) Line indented incorrectly; expected at least 8 spaces, found 2
(#234) Spaces must be used to indent lines; tabs are not allowed
(#234) Tab found within whitespace
(#234) Whitespace found at end of line
(#244) Spaces must be used to indent lines; tabs are not allowed
(#244) Tab found within whitespace
(#244) Whitespace found at end of line
(#245) Spaces must be used to indent lines; tabs are not allowed
(#245) Tab found within whitespace
(#245) Line indented incorrectly; expected at least 8 spaces, found 2
(#339) Whitespace found at end of line
(#395) Spaces must be used to indent lines; tabs are not allowed
(#395) Tab found within whitespace
(#395) Line indented incorrectly; expected at least 16 spaces, found 4
(#396) Spaces must be used to indent lines; tabs are not allowed
(#396) Tab found within whitespace
(#396) Line indented incorrectly; expected 12 spaces, found 3
(#396) Closing brace indented incorrectly; expected 12 spaces, found 3
(#403) This comment is 58% valid code; is this commented out code?
(#443) This comment is 48% valid code; is this commented out code?
mod/ejsapp/personalized_vars_values.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#278) Whitespace found at end of line
(#280) Whitespace found at end of line
mod/ejsapp/sarlab.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#32) Expected login check (require_login, require_course_login, admin_externalpage_setup) following config inclusion. None found.
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) This comment is 75% valid code; is this commented out code?
(#33) No space found before comment text; expected "// require_login();" but found "//require_login();"
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) This comment is 45% valid code; is this commented out code?
(#54) This comment is 47% valid code; is this commented out code?
(#59) This comment is 50% valid code; is this commented out code?
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#62) This comment is 63% valid code; is this commented out code?
mod/ejsapp/send_files_list.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/settings.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/upload_file.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/version.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsapp/view.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#139) This comment is 61% valid code; is this commented out code?
(#222) Line exceeds 132 characters; contains 133 characters

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(0 errors, 0 warnings)

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


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

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Task "eslint:amd" failed. Use --force to continue.
Problems running grunt

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]