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

(51 errors, 10 warnings)

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

mod/ejsappbooking/backup/moodle2/backup_ejsappbooking_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/ejsappbooking/backup/moodle2/backup_ejsappbooking_settingslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/backup/moodle2/backup_ejsappbooking_stepslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/backup/moodle2/restore_ejsappbooking_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/ejsappbooking/backup/moodle2/restore_ejsappbooking_stepslib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/bookings.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#51) Whitespace found at end of line within string
mod/ejsappbooking/classes/event/ejsappbooking_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/ejsappbooking/classes/event/ejsappbooking_viewed.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/classes/observers.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/classes/privacy/provider.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
mod/ejsappbooking/classes/task/update_remlab_table.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ejsappbooking/classes/task/update_users_table.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#40) Expected MOODLE_INTERNAL check or config.php inclusion
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
mod/ejsappbooking/db/access.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/db/events.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/db/install.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/db/log.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/db/tasks.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
mod/ejsappbooking/db/uninstall.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/db/upgrade.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/index.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/lang/en/ejsappbooking.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Privacy" but found "//Privacy"
mod/ejsappbooking/lang/es/ejsappbooking.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) No space found before comment text; expected "// Privacy" but found "//Privacy"
mod/ejsappbooking/lib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/locallib.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/mod_form.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/send_messages.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#163) Line indented incorrectly; expected 0 spaces, found 2
(#171) Line indented incorrectly; expected 0 spaces, found 2
(#173) Line indented incorrectly; expected 0 spaces, found 2
(#175) Line indented incorrectly; expected 0 spaces, found 2
(#177) Line indented incorrectly; expected 0 spaces, found 2
mod/ejsappbooking/set_permissions.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#324) This comment is 62% valid code; is this commented out code?
(#569) Whitespace found at end of line within string
(#671) This comment is 50% valid code; is this commented out code?
(#680) This comment is 65% valid code; is this commented out code?
mod/ejsappbooking/version.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
mod/ejsappbooking/view.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#109) Whitespace found at end of line within string
(#182) Commas (,) must be followed by white space.
(#184) Commas (,) must be followed by white space.
(#228) Whitespace found at end of line within string
(#280) Whitespace found at end of line within string
(#311) Whitespace found at end of line within string
(#312) Whitespace found at end of line within string
(#581) Whitespace found at end of line within string
(#582) Whitespace found at end of line within string
(#604) Whitespace found at end of line within string
(#605) Whitespace found at end of line within string
(#606) Whitespace found at end of line within string
(#726) Whitespace found at end of line within string

Javascript coding style problems

(3 errors, 39 warnings)

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

mod/ejsappbooking/module.js
(#1) Unexpected Unicode BOM (Byte Order Mark). (unicode-bom)
(#33) 'YUI' is not defined. (no-undef)
(#33) Multiple spaces found before '{'. (no-multi-spaces)
(#33) There should be no space after '{'. (object-curly-spacing)
(#35) 'YUI' is not defined. (no-undef)
(#35) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#38) Comments should not begin with a lowercase character (capitalized-comments)
(#42) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#46) Comments should not begin with a lowercase character (capitalized-comments)
(#48) Comments should not begin with a lowercase character (capitalized-comments)
(#53) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#66) Comments should not begin with a lowercase character (capitalized-comments)
(#70) Comments should not begin with a lowercase character (capitalized-comments)
(#75) Comments should not begin with a lowercase character (capitalized-comments)
(#79) Comments should not begin with a lowercase character (capitalized-comments)
(#83) Comments should not begin with a lowercase character (capitalized-comments)
(#87) Comments should not begin with a lowercase character (capitalized-comments)
(#100) Comments should not begin with a lowercase character (capitalized-comments)
(#101) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#103) Comments should not begin with a lowercase character (capitalized-comments)
(#107) Comments should not begin with a lowercase character (capitalized-comments)
(#120) Comments should not begin with a lowercase character (capitalized-comments)
(#121) Unexpected space before function parentheses. (space-before-function-paren)
(#174) Comments should not begin with a lowercase character (capitalized-comments)
(#181) Missing JSDoc parameter type for 'node'. (valid-jsdoc)
(#181) Missing JSDoc parameter type for 'date'. (valid-jsdoc)
(#189) Comments should not begin with a lowercase character (capitalized-comments)
(#195) Comments should not begin with a lowercase character (capitalized-comments)
(#207) Comments should not begin with a lowercase character (capitalized-comments)
(#210) Comments should not begin with a lowercase character (capitalized-comments)
(#214) Comments should not begin with a lowercase character (capitalized-comments)
(#218) Comments should not begin with a lowercase character (capitalized-comments)
(#221) Comments should not begin with a lowercase character (capitalized-comments)
(#259) Missing JSDoc parameter type for 'date'. (valid-jsdoc)
(#301) Comments should not begin with a lowercase character (capitalized-comments)
(#304) Missing JSDoc parameter type for 'ev'. (valid-jsdoc)
(#309) Comments should not begin with a lowercase character (capitalized-comments)
(#311) Comments should not begin with a lowercase character (capitalized-comments)
(#314) Comments should not begin with a lowercase character (capitalized-comments)
(#318) Comments should not begin with a lowercase character (capitalized-comments)
(#321) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#337) Comments should not begin with a lowercase character (capitalized-comments)

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

(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]