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

(503 errors, 347 warnings)

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

mod/lanebs/backup/moodle2/backup_lanebs_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#58) The static declaration must come after the visibility declaration
(#61) Commas (,) must be followed by white space.
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) No space found before comment text; expected "// Access a list of all links in a course" but found "//Access a list of all links in a course"
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#68) No space found before comment text; expected "// Access the link supplying a course module id" but found "//Access the link supplying a course module id"
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) No space found before comment text; expected "// Access the link supplying an instance id" but found "//Access the link supplying an instance id"
mod/lanebs/backup/moodle2/backup_lanebs_stepslib.php
(#1) No one-line description found in phpdocs for docblock of file backup_lanebs_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Missing docblock for function define_structure
(#33) Opening brace should be on the same line as the declaration
(#35) Short array syntax must be used to define arrays
(#35) Short array syntax must be used to define arrays
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#41) Short array syntax must be used to define arrays
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
mod/lanebs/backup/moodle2/restore_lanebs_activity_task.class.php
(#1) No one-line description found in phpdocs for docblock of file restore_lanebs_activity_task.class.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Inline comments must start with a capital letter, digit or 3-dots sequence
(#46) Inline comments must end in full-stops, exclamation marks, or question marks
(#54) The static declaration must come after the visibility declaration
(#55) Short array syntax must be used to define arrays
(#57) Short array syntax must be used to define arrays
(#66) The static declaration must come after the visibility declaration
(#67) Short array syntax must be used to define arrays
(#83) The static declaration must come after the visibility declaration
(#84) Short array syntax must be used to define arrays
(#103) The static declaration must come after the visibility declaration
(#104) Short array syntax must be used to define arrays
mod/lanebs/backup/moodle2/restore_lanebs_stepslib.php
(#1) No one-line description found in phpdocs for docblock of file restore_lanebs_stepslib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Missing docblock for function define_structure
(#36) Short array syntax must be used to define arrays
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Missing docblock for function process_lanebs
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Missing docblock for function after_execute
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
mod/lanebs/classes/event/course_module_instance_list_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Short array syntax must be used to define arrays
(#34) There should be a comma after the last array item in a multi-line array.
(#39) Closing brace must be on a line by itself
mod/lanebs/classes/event/course_module_viewed.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#50) Short array syntax must be used to define arrays
(#52) There should be a comma after the last array item in a multi-line array.
(#69) Missing docblock for function get_objectid_mapping
(#70) Short array syntax must be used to define arrays
mod/lanebs/classes/privacy/provider.php
(#20) Incorrect @package tag for file provider.php. Expected mod_lanebs, found tool_availabilityconditions.
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) There must not be a space before the colon in a return type declaration
(#46) File must end with a newline character
mod/lanebs/constructor_externallib.php
(#20) Incorrect @package tag for file constructor_externallib.php. Expected mod_lanebs, found local_constructor.
(#27) "require_once" must be immediately followed by an open parenthesis
(#36) Missing docblock for class mod_lanebs_constructor_external
(#37) Opening brace should be on the same line as the declaration for class mod_lanebs_constructor_external
(#39) Missing docblock for constant mod_lanebs_constructor_external::SERVICE_NAME
(#40) Missing docblock for constant mod_lanebs_constructor_external::LANEBS_MODULE
(#41) Missing docblock for constant mod_lanebs_constructor_external::QUIZ_MODULE
(#42) Missing docblock for constant mod_lanebs_constructor_external::DIR_MODULE
(#43) Missing docblock for constant mod_lanebs_constructor_external::AUTH_URL
(#44) Missing docblock for constant mod_lanebs_constructor_external::SCRIPT_URL
(#45) Missing docblock for constant mod_lanebs_constructor_external::LOG_URL
(#46) Missing docblock for constant mod_lanebs_constructor_external::SERVICE_USER
(#47) Missing docblock for constant mod_lanebs_constructor_external::BOOK_TYPE
(#48) Missing docblock for constant mod_lanebs_constructor_external::JOURNAL_TYPE
(#49) Missing docblock for constant mod_lanebs_constructor_external::VIDEO_TYPE
(#50) Missing member variable doc comment
(#50) Member variable "bookFolder" must be all lower-case
(#51) Missing member variable doc comment
(#51) Member variable "journalFolder" must be all lower-case
(#52) Missing member variable doc comment
(#52) Member variable "videoFolder" must be all lower-case
(#53) Missing member variable doc comment
(#53) Member variable "testingFolder" must be all lower-case
(#55) Missing docblock for function create_mod_lanebs_parameters
(#56) Opening brace should be on the same line as the declaration
(#58) Short array syntax must be used to define arrays
(#60) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#83) Short array syntax must be used to define arrays
(#95) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#121) Missing docblock for function create_mod_lanebs
(#121) Variable "courseData" must be all lower-case
(#121) Variable "resourceData" must be all lower-case
(#122) Opening brace should be on the same line as the declaration
(#124) Variable "modId" must be all lower-case
(#125) Short array syntax must be used to define arrays
(#125) Variable "modId" must be all lower-case
(#126) Short array syntax must be used to define arrays
(#126) Variable "courseData" must be all lower-case
(#128) Short array syntax must be used to define arrays
(#129) Short array syntax must be used to define arrays
(#130) There should be a comma after the last array item in a multi-line array.
(#133) Variable "lanModule" must be all lower-case
(#133) Short array syntax must be used to define arrays
(#134) Variable "dirModule" must be all lower-case
(#134) Short array syntax must be used to define arrays
(#135) Variable "courseData" must be all lower-case
(#136) Variable "bookFolder" must be all lower-case
(#136) Variable "courseData" must be all lower-case
(#137) Variable "journalFolder" must be all lower-case
(#137) Variable "courseData" must be all lower-case
(#138) Variable "videoFolder" must be all lower-case
(#138) Variable "courseData" must be all lower-case
(#140) Variable "resourceData" must be all lower-case
(#141) Inline comments must start with a capital letter, digit or 3-dots sequence
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Variable "resourceData" must be all lower-case
(#144) Variable "bookFolder" must be all lower-case
(#144) Variable "dirModule" must be all lower-case
(#144) Variable "courseData" must be all lower-case
(#148) Short array syntax must be used to define arrays
(#149) Short array syntax must be used to define arrays
(#154) Variable "courseData" must be all lower-case
(#154) Variable "lanModule" must be all lower-case
(#173) Short array syntax must be used to define arrays
(#174) Short array syntax must be used to define arrays
(#181) Inline comments must start with a capital letter, digit or 3-dots sequence
(#181) Inline comments must end in full-stops, exclamation marks, or question marks
(#182) Variable "resourceData" must be all lower-case
(#183) Variable "resourceData" must be all lower-case
(#185) Variable "journalFolder" must be all lower-case
(#185) Variable "dirModule" must be all lower-case
(#185) Variable "courseData" must be all lower-case
(#189) Short array syntax must be used to define arrays
(#190) Short array syntax must be used to define arrays
(#195) Variable "courseData" must be all lower-case
(#195) Variable "lanModule" must be all lower-case
(#211) Short array syntax must be used to define arrays
(#212) Short array syntax must be used to define arrays
(#219) Inline comments must start with a capital letter, digit or 3-dots sequence
(#219) Inline comments must end in full-stops, exclamation marks, or question marks
(#220) Variable "resourceData" must be all lower-case
(#221) Variable "resourceData" must be all lower-case
(#223) Variable "videoFolder" must be all lower-case
(#223) Variable "dirModule" must be all lower-case
(#223) Variable "courseData" must be all lower-case
(#227) Short array syntax must be used to define arrays
(#228) Short array syntax must be used to define arrays
(#233) Variable "courseData" must be all lower-case
(#233) Variable "lanModule" must be all lower-case
(#236) Inline comments must start with a capital letter, digit or 3-dots sequence
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Variable "videoFolder" must be all lower-case
(#242) Variable "lanVideo" must be all lower-case
(#242) Short array syntax must be used to define arrays
(#244) Variable "videoId" must be all lower-case
(#245) Variable "videoId" must be all lower-case
(#245) Variable "videoId" must be all lower-case
(#247) Variable "lanVideo" must be all lower-case
(#247) Short array syntax must be used to define arrays
(#251) Variable "videoId" must be all lower-case
(#252) There should be a comma after the last array item in a multi-line array.
(#255) Variable "lanVideo" must be all lower-case
(#259) Short array syntax must be used to define arrays
(#260) Short array syntax must be used to define arrays
(#265) Short array syntax must be used to define arrays
(#266) There should be a comma after the last array item in a multi-line array.
(#270) Missing docblock for function create_mod_quiz_returns
(#271) Opening brace should be on the same line as the declaration
(#273) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#279) Missing docblock for function create_mod_quiz_parameters
(#280) Opening brace should be on the same line as the declaration
(#281) Short array syntax must be used to define arrays
(#283) Short array syntax must be used to define arrays
(#286) There should be a comma after the last array item in a multi-line array.
(#291) Short array syntax must be used to define arrays
(#301) There should be a comma after the last array item in a multi-line array.
(#305) Missing docblock for function create_mod_quiz
(#305) Variable "courseData" must be all lower-case
(#305) Variable "testData" must be all lower-case
(#306) Opening brace should be on the same line as the declaration
(#308) Short array syntax must be used to define arrays
(#308) Variable "courseData" must be all lower-case
(#310) Short array syntax must be used to define arrays
(#311) Short array syntax must be used to define arrays
(#312) There should be a comma after the last array item in a multi-line array.
(#315) Short array syntax must be used to define arrays
(#316) Short array syntax must be used to define arrays
(#317) Variable "dirModule" must be all lower-case
(#317) Short array syntax must be used to define arrays
(#318) Variable "courseData" must be all lower-case
(#319) Variable "testingFolder" must be all lower-case
(#319) Variable "courseData" must be all lower-case
(#321) Variable "testingFolder" must be all lower-case
(#321) Variable "dirModule" must be all lower-case
(#321) Variable "courseData" must be all lower-case
(#325) Short array syntax must be used to define arrays
(#326) Short array syntax must be used to define arrays
(#330) Variable "testData" must be all lower-case
(#332) Variable "courseData" must be all lower-case
(#334) Variable "newQuiz" must be all lower-case
(#335) Variable "quizContext" must be all lower-case
(#335) Short array syntax must be used to define arrays
(#335) Variable "newQuiz" must be all lower-case
(#336) Variable "quizContext" must be all lower-case
(#336) Variable "quizContext" must be all lower-case
(#337) Short array syntax must be used to define arrays
(#337) Variable "quizContext" must be all lower-case
(#338) Variable "newQuiz" must be all lower-case
(#341) Variable "qIds" must be all lower-case
(#343) Variable "qIds" must be all lower-case
(#344) Variable "newQuiz" must be all lower-case
(#347) Variable "randomCount" must be all lower-case
(#348) Variable "newQuiz" must be all lower-case
(#348) Variable "randomCount" must be all lower-case
(#351) Short array syntax must be used to define arrays
(#352) Short array syntax must be used to define arrays
(#358) Short array syntax must be used to define arrays
(#363) Missing docblock for function create_mod_lanebs_returns
(#364) Opening brace should be on the same line as the declaration
(#366) Short array syntax must be used to define arrays
(#367) There should be a comma after the last array item in a multi-line array.
(#372) Missing docblock for function get_service_token_parameters
(#373) Opening brace should be on the same line as the declaration
(#374) Short array syntax must be used to define arrays
(#377) Missing docblock for function get_service_token
(#378) Opening brace should be on the same line as the declaration
(#380) Short array syntax must be used to define arrays
(#381) Short array syntax must be used to define arrays
(#383) Variable "tokenUser" must be all lower-case
(#383) Short array syntax must be used to define arrays
(#384) Variable "tokenUser" must be all lower-case
(#387) Short array syntax must be used to define arrays
(#387) Variable "tokenUser" must be all lower-case
(#387) Line exceeds 132 characters; contains 134 characters
(#407) Short array syntax must be used to define arrays
(#410) Missing docblock for function get_service_token_returns
(#411) Opening brace should be on the same line as the declaration
(#413) Short array syntax must be used to define arrays
(#414) There should be a comma after the last array item in a multi-line array.
(#419) Missing docblock for function get_subscriber_token_parameters
(#420) Opening brace should be on the same line as the declaration
(#421) Short array syntax must be used to define arrays
(#424) Missing docblock for function get_subscriber_token
(#425) Opening brace should be on the same line as the declaration
(#428) Short array syntax must be used to define arrays
(#429) Short array syntax must be used to define arrays
(#431) Short array syntax must be used to define arrays
(#432) Short array syntax must be used to define arrays
(#435) Missing docblock for function get_subscriber_token_returns
(#436) Opening brace should be on the same line as the declaration
(#438) Short array syntax must be used to define arrays
(#439) There should be a comma after the last array item in a multi-line array.
(#444) Missing docblock for function get_reader_token_parameters
(#445) Opening brace should be on the same line as the declaration
(#447) Short array syntax must be used to define arrays
(#453) Missing docblock for function get_reader_token
(#453) Variable "subscriberToken" must be all lower-case
(#454) Opening brace should be on the same line as the declaration
(#456) Short array syntax must be used to define arrays
(#460) Line exceeds 132 characters; contains 143 characters
(#462) Short array syntax must be used to define arrays
(#462) Short array syntax must be used to define arrays
(#462) Variable "subscriberToken" must be all lower-case
(#463) Variable "authUrl" must be all lower-case
(#464) Variable "authUrl" must be all lower-case
(#467) Short array syntax must be used to define arrays
(#468) Short array syntax must be used to define arrays
(#470) Short array syntax must be used to define arrays
(#471) Short array syntax must be used to define arrays
(#474) Missing docblock for function get_reader_token_returns
(#475) Opening brace should be on the same line as the declaration
(#477) Short array syntax must be used to define arrays
(#478) There should be a comma after the last array item in a multi-line array.
(#483) Missing docblock for function get_script_names_parameters
(#484) Opening brace should be on the same line as the declaration
(#485) Short array syntax must be used to define arrays
(#488) Missing docblock for function get_script_names
(#489) Opening brace should be on the same line as the declaration
(#491) Short array syntax must be used to define arrays
(#495) Line exceeds 132 characters; contains 143 characters
(#497) Variable "scriptUrl" must be all lower-case
(#498) Short array syntax must be used to define arrays
(#500) There should be a comma after the last array item in a multi-line array.
(#502) Variable "scriptUrl" must be all lower-case
(#505) Short array syntax must be used to define arrays
(#507) Short array syntax must be used to define arrays
(#509) Short array syntax must be used to define arrays
(#512) Missing docblock for function get_script_names_returns
(#513) Opening brace should be on the same line as the declaration
(#515) Short array syntax must be used to define arrays
(#516) There should be a comma after the last array item in a multi-line array.
(#521) Missing docblock for function send_log_parameters
(#522) Opening brace should be on the same line as the declaration
(#523) Short array syntax must be used to define arrays
(#525) Short array syntax must be used to define arrays
(#532) There should be a comma after the last array item in a multi-line array.
(#534) There should be a comma after the last array item in a multi-line array.
(#538) Missing docblock for function send_log
(#539) Opening brace should be on the same line as the declaration
(#541) Short array syntax must be used to define arrays
(#544) Missing docblock for function send_log_returns
(#545) Opening brace should be on the same line as the declaration
(#547) Short array syntax must be used to define arrays
(#548) There should be a comma after the last array item in a multi-line array.
(#552) File must end with a newline character
mod/lanebs/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Short array syntax must be used to define arrays
(#13) Short array syntax must be used to define arrays
(#17) Short array syntax must be used to define arrays
(#19) There should be a comma after the last array item in a multi-line array.
(#22) Short array syntax must be used to define arrays
(#26) Short array syntax must be used to define arrays
(#28) There should be a comma after the last array item in a multi-line array.
(#30) There should be a comma after the last array item in a multi-line array.
(#32) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#41) File must end with a newline character
mod/lanebs/db/install.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
mod/lanebs/db/services.php
(#1) Missing @copyright tag
(#1) Missing @license tag
(#1) Missing docblock for file services.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#2) Line 2 of the opening comment must start "//".
(#2) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#2) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#2) Short array syntax must be used to define arrays
(#2) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#2) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Short array syntax must be used to define arrays
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#4) Short array syntax must be used to define arrays
(#4) Line exceeds maximum limit of 180 characters; contains 229 characters
(#12) Short array syntax must be used to define arrays
(#13) Short array syntax must be used to define arrays
(#13) Line exceeds maximum limit of 180 characters; contains 243 characters
(#23) Short array syntax must be used to define arrays
(#24) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#32) There should be a comma after the last array item in a multi-line array.
(#34) Short array syntax must be used to define arrays
(#41) Short array syntax must be used to define arrays
(#42) There should be a comma after the last array item in a multi-line array.
(#44) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#54) Short array syntax must be used to define arrays
(#61) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#71) Short array syntax must be used to define arrays
(#74) Short array syntax must be used to define arrays
(#81) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#91) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#101) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#111) Short array syntax must be used to define arrays
(#114) Short array syntax must be used to define arrays
(#121) Short array syntax must be used to define arrays
(#124) Short array syntax must be used to define arrays
(#131) Short array syntax must be used to define arrays
(#134) Short array syntax must be used to define arrays
(#141) Short array syntax must be used to define arrays
(#144) Short array syntax must be used to define arrays
(#151) Short array syntax must be used to define arrays
(#154) Short array syntax must be used to define arrays
(#161) Short array syntax must be used to define arrays
(#164) Short array syntax must be used to define arrays
(#171) Short array syntax must be used to define arrays
(#174) File must end with a newline character
mod/lanebs/db/uninstall.php
(#21) Invalid @category tag value "uninstall".
(#28) "require_once" must be immediately followed by an open parenthesis
(#34) Short array syntax must be used to define arrays
(#35) There should be a comma after the last array item in a multi-line array.
mod/lanebs/db/upgrade.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#74) This comment is 60% valid code; is this commented out code?
mod/lanebs/external_fork.php
(#1) No one-line description found in phpdocs for docblock of file external_fork.php
(#1) DocBlock missing a @package tag for file external_fork.php. Expected @package mod_lanebs
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Missing @copyright tag
(#3) Missing @license tag
(#4) Docblock tag "@global" is not recommended.
(#6) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#7) Inline comments must start with a capital letter, digit or 3-dots sequence
(#7) Inline comments must end in full-stops, exclamation marks, or question marks
(#7) This comment is 64% valid code; is this commented out code?
(#7) Line indented incorrectly; expected at least 4 spaces, found 0
(#7) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#21) File must end with a newline character
mod/lanebs/externallib.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#33) Missing docblock for class mod_lanebs_external
(#34) Opening brace should be on the same line as the declaration for class mod_lanebs_external
(#36) Missing member variable doc comment
(#36) Member variable "subscribeToken" must be all lower-case
(#37) Missing member variable doc comment
(#37) Member variable "readerToken" must be all lower-case
(#38) Missing member variable doc comment
(#38) Member variable "authUrl" must be all lower-case
(#39) Missing docblock for constant mod_lanebs_external::SORT_CREATE_DESC
(#47) Opening brace should be on the same line as the declaration
(#49) Short array syntax must be used to define arrays
(#51) Short array syntax must be used to define arrays
(#72) No one-line description found in phpdocs for docblock of function search_books
(#72) Variable "searchParam" must be all lower-case
(#72) Variable "catId" must be all lower-case
(#73) Opening brace should be on the same line as the declaration
(#75) Variable "readerToken" must be all lower-case
(#78) Variable "subscribeToken" must be all lower-case
(#80) Short array syntax must be used to define arrays
(#81) Variable "baseUrl" must be all lower-case
(#82) Variable "baseUrl" must be all lower-case
(#83) Variable "searchParam" must be all lower-case
(#83) Variable "searchParam" must be all lower-case
(#84) Variable "searchParam" must be all lower-case
(#86) Variable "baseUrl" must be all lower-case
(#88) Variable "searchParam" must be all lower-case
(#88) Variable "searchParam" must be all lower-case
(#89) Variable "searchParam" must be all lower-case
(#91) Variable "searchParam" must be all lower-case
(#92) Variable "searchParam" must be all lower-case
(#94) Variable "catId" must be all lower-case
(#94) Variable "catId" must be all lower-case
(#95) Variable "catId" must be all lower-case
(#99) Short array syntax must be used to define arrays
(#104) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#105) Variable "subscribeToken" must be all lower-case
(#106) Variable "readerToken" must be all lower-case
(#106) There should be a comma after the last array item in a multi-line array.
(#110) Short array syntax must be used to define arrays
(#111) There should be a comma after the last array item in a multi-line array.
(#121) Short array syntax must be used to define arrays
(#127) Missing docblock for function book_content
(#128) Opening brace should be on the same line as the declaration
(#130) Variable "readerToken" must be all lower-case
(#133) Variable "subscribeToken" must be all lower-case
(#136) Short array syntax must be used to define arrays
(#140) Line exceeds 132 characters; contains 151 characters
(#142) Short array syntax must be used to define arrays
(#143) Short array syntax must be used to define arrays
(#143) Variable "subscribeToken" must be all lower-case
(#144) Variable "readerToken" must be all lower-case
(#144) There should be a comma after the last array item in a multi-line array.
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) This comment is 48% valid code; is this commented out code?
(#147) No space found before comment text; expected "// $readerUrl = get_lanebs_config('reader_url'). '/old/book/'. $id . '?moodle=1';" but found "//$readerUrl = get_lanebs_config('reader_url'). '/old/book/'. $id . '?moodle=1';"
(#148) Short array syntax must be used to define arrays
(#149) There should be a comma after the last array item in a multi-line array.
(#149) Variable "readerToken" must be all lower-case
(#153) Missing docblock for function book_content_parameters
(#154) Opening brace should be on the same line as the declaration
(#156) Short array syntax must be used to define arrays
(#158) There should be a comma after the last array item in a multi-line array.
(#163) Missing docblock for function book_content_returns
(#164) Opening brace should be on the same line as the declaration
(#166) Short array syntax must be used to define arrays
(#172) Missing docblock for function category_tree_parameters
(#173) Opening brace should be on the same line as the declaration
(#175) Short array syntax must be used to define arrays
(#176) Short array syntax must be used to define arrays
(#177) There should be a comma after the last array item in a multi-line array.
(#182) Missing docblock for function category_tree
(#182) Variable "categoryId" must be all lower-case
(#183) Opening brace should be on the same line as the declaration
(#186) Variable "readerToken" must be all lower-case
(#189) Variable "subscribeToken" must be all lower-case
(#192) Short array syntax must be used to define arrays
(#196) Line exceeds 132 characters; contains 151 characters
(#198) Short array syntax must be used to define arrays
(#199) Short array syntax must be used to define arrays
(#199) Variable "subscribeToken" must be all lower-case
(#200) Variable "readerToken" must be all lower-case
(#200) There should be a comma after the last array item in a multi-line array.
(#203) Variable "categoryId" must be all lower-case
(#203) Variable "categoryId" must be all lower-case
(#204) Variable "baseUrl" must be all lower-case
(#205) Variable "categoryId" must be all lower-case
(#205) Variable "categoryId" must be all lower-case
(#205) Variable "categoryId" must be all lower-case
(#206) Variable "baseUrl" must be all lower-case
(#208) Expected "} else {\n"; found "}\n else {\n"
(#209) Variable "baseUrl" must be all lower-case
(#209) Variable "categoryId" must be all lower-case
(#212) Short array syntax must be used to define arrays
(#213) There should be a comma after the last array item in a multi-line array.
(#217) Missing docblock for function category_tree_returns
(#218) Opening brace should be on the same line as the declaration
(#220) Short array syntax must be used to define arrays
(#226) Missing docblock for function auth_parameters
(#227) Opening brace should be on the same line as the declaration
(#228) Short array syntax must be used to define arrays
(#231) Missing docblock for function auth
(#232) Opening brace should be on the same line as the declaration
(#234) Variable "subscribeToken" must be all lower-case
(#237) Short array syntax must be used to define arrays
(#241) Line exceeds 132 characters; contains 150 characters
(#244) Short array syntax must be used to define arrays
(#245) Short array syntax must be used to define arrays
(#246) Variable "subscribeToken" must be all lower-case
(#248) Variable "authUrl" must be all lower-case
(#248) Variable "authUrl" must be all lower-case
(#249) Variable "authUrl" must be all lower-case
(#255) Expected "} else {\n"; found "}\n else {\n"
(#258) Short array syntax must be used to define arrays
(#261) Missing docblock for function auth_returns
(#262) Opening brace should be on the same line as the declaration
(#264) Short array syntax must be used to define arrays
(#265) There should be a comma after the last array item in a multi-line array.
(#270) Missing docblock for function lanebs_info_parameters
(#271) Opening brace should be on the same line as the declaration
(#273) Short array syntax must be used to define arrays
(#274) There should be a comma after the last array item in a multi-line array.
(#279) Missing docblock for function lanebs_info
(#280) Opening brace should be on the same line as the declaration
(#282) Short array syntax must be used to define arrays
(#288) Short array syntax must be used to define arrays
(#290) Short array syntax must be used to define arrays
(#297) Short array syntax must be used to define arrays
(#299) Short array syntax must be used to define arrays
(#304) Missing docblock for function lanebs_info_returns
(#305) Opening brace should be on the same line as the declaration
(#307) Short array syntax must be used to define arrays
(#313) Missing docblock for function toc_name_parameters
(#314) Opening brace should be on the same line as the declaration
(#316) Short array syntax must be used to define arrays
(#323) Missing docblock for function toc_name
(#324) Opening brace should be on the same line as the declaration
(#326) Variable "readerToken" must be all lower-case
(#329) Variable "subscribeToken" must be all lower-case
(#332) Short array syntax must be used to define arrays
(#336) Line exceeds 132 characters; contains 151 characters
(#338) Short array syntax must be used to define arrays
(#339) Short array syntax must be used to define arrays
(#339) Variable "subscribeToken" must be all lower-case
(#340) Variable "readerToken" must be all lower-case
(#340) There should be a comma after the last array item in a multi-line array.
(#343) Variable "readerUrl" must be all lower-case
(#344) Variable "readerUrl" must be all lower-case
(#346) Variable "tocName" must be all lower-case
(#346) Short array syntax must be used to define arrays
(#352) Variable "tocId" must be all lower-case
(#354) Variable "tocName" must be all lower-case
(#358) Variable "tocId" must be all lower-case
(#358) Expected 1 space before "+"; 0 found
(#358) Expected 1 space after "+"; 0 found
(#358) Variable "tocId" must be all lower-case
(#358) Expected 1 space before "+"; 0 found
(#358) Expected 1 space after "+"; 0 found
(#359) Variable "tocName" must be all lower-case
(#363) Variable "tocId" must be all lower-case
(#363) Expected 1 space before "+"; 0 found
(#363) Expected 1 space after "+"; 0 found
(#364) Variable "tocName" must be all lower-case
(#369) Variable "tocName" must be all lower-case
(#371) Short array syntax must be used to define arrays
(#372) Variable "tocName" must be all lower-case
(#372) There should be a comma after the last array item in a multi-line array.
(#376) Missing docblock for function toc_name_returns
(#377) Opening brace should be on the same line as the declaration
(#379) Short array syntax must be used to define arrays
(#380) There should be a comma after the last array item in a multi-line array.
(#385) Missing docblock for function toc_videos_parameters
(#386) Opening brace should be on the same line as the declaration
(#388) Short array syntax must be used to define arrays
(#394) Missing docblock for function toc_videos
(#395) Opening brace should be on the same line as the declaration
(#397) Variable "readerToken" must be all lower-case
(#400) Variable "subscribeToken" must be all lower-case
(#403) Short array syntax must be used to define arrays
(#407) Line exceeds 132 characters; contains 151 characters
(#409) Short array syntax must be used to define arrays
(#410) Short array syntax must be used to define arrays
(#410) Variable "subscribeToken" must be all lower-case
(#411) Variable "readerToken" must be all lower-case
(#411) There should be a comma after the last array item in a multi-line array.
(#414) Variable "readerUrl" must be all lower-case
(#415) Variable "readerUrl" must be all lower-case
(#417) Variable "formatItems" must be all lower-case
(#417) Short array syntax must be used to define arrays
(#420) Variable "formatItems" must be all lower-case
(#420) Short array syntax must be used to define arrays
(#425) There should be a comma after the last array item in a multi-line array.
(#429) Short array syntax must be used to define arrays
(#430) Variable "formatItems" must be all lower-case
(#430) There should be a comma after the last array item in a multi-line array.
(#434) Missing docblock for function toc_videos_returns
(#435) Opening brace should be on the same line as the declaration
(#437) Short array syntax must be used to define arrays
(#438) There should be a comma after the last array item in a multi-line array.
(#443) Missing docblock for function video_stat_returns
(#444) Opening brace should be on the same line as the declaration
(#446) Short array syntax must be used to define arrays
(#447) There should be a comma after the last array item in a multi-line array.
(#452) Missing docblock for function video_stat
(#452) Variable "bookId" must be all lower-case
(#452) Variable "videoId" must be all lower-case
(#453) Opening brace should be on the same line as the declaration
(#456) Variable "readerToken" must be all lower-case
(#459) Variable "subscribeToken" must be all lower-case
(#461) Short array syntax must be used to define arrays
(#465) Line exceeds 132 characters; contains 150 characters
(#466) Variable "readerToken" must be all lower-case
(#470) Variable "profileUrl" must be all lower-case
(#471) Variable "profileUrl" must be all lower-case
(#471) Short array syntax must be used to define arrays
(#471) Variable "bookId" must be all lower-case
(#471) Variable "videoId" must be all lower-case
(#472) Short array syntax must be used to define arrays
(#473) There should be a comma after the last array item in a multi-line array.
(#477) Missing docblock for function video_stat_parameters
(#478) Opening brace should be on the same line as the declaration
(#480) Short array syntax must be used to define arrays
(#487) Missing docblock for function regexReplace
(#487) Public method name "mod_lanebs_external::regexReplace" must be in lower-case letters only
(#488) Opening brace should be on the same line as the declaration
(#489) Variable "readerUrl" must be all lower-case
(#490) Variable "patternHref" must be all lower-case
(#491) Variable "replaceHref" must be all lower-case
(#491) Variable "readerUrl" must be all lower-case
(#492) Variable "patternSrc" must be all lower-case
(#493) Variable "replaceSrc" must be all lower-case
(#493) Variable "readerUrl" must be all lower-case
(#494) Variable "patternImg" must be all lower-case
(#495) Variable "replaceImg" must be all lower-case
(#496) Variable "patternImg" must be all lower-case
(#496) Variable "replaceImg" must be all lower-case
(#497) Variable "patternHref" must be all lower-case
(#497) Variable "replaceHref" must be all lower-case
(#498) Variable "patternSrc" must be all lower-case
(#498) Variable "replaceSrc" must be all lower-case
(#501) File must end with a newline character
mod/lanebs/index.php
(#31) Short array syntax must be used to define arrays
(#36) Short array syntax must be used to define arrays
(#37) There should be a comma after the last array item in a multi-line array.
(#40) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#62) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#65) Short array syntax must be used to define arrays
(#66) Short array syntax must be used to define arrays
(#68) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#75) Short array syntax must be used to define arrays
(#77) Short array syntax must be used to define arrays
(#80) Short array syntax must be used to define arrays
(#84) Logical operator "or" is prohibited; use "||" instead
(#85) Short array syntax must be used to define arrays
(#87) Short array syntax must be used to define arrays
mod/lanebs/lang/en/lanebs.php
(#104) File must end with a newline character
mod/lanebs/lang/ru/lanebs.php
(#104) File must end with a newline character
mod/lanebs/lib.php
(#15) Inline comments must end in full-stops, exclamation marks, or question marks
(#97) Short array syntax must be used to define arrays
(#102) Short array syntax must be used to define arrays
(#119) Line exceeds 132 characters; contains 144 characters
(#121) Short array syntax must be used to define arrays
(#121) Expected 1 space before "=>"; 0 found
(#121) Expected 1 space after "=>"; 0 found
(#123) TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL"
(#133) Line exceeds maximum limit of 180 characters; contains 218 characters
(#147) Opening brace should be on the same line as the declaration
(#149) Variable "userEmail" must be all lower-case
(#150) Variable "systemContext" must be all lower-case
(#151) Variable "systemContext" must be all lower-case
(#157) Variable "webserviceUser" must be all lower-case
(#157) Variable "userEmail" must be all lower-case
(#159) Variable "webserviceUser" must be all lower-case
(#159) Short array syntax must be used to define arrays
(#159) Variable "userEmail" must be all lower-case
(#161) Variable "webserviceUser" must be all lower-case
(#162) Short array syntax must be used to define arrays
(#173) Variable "webserviceUser" must be all lower-case
(#173) Short array syntax must be used to define arrays
(#175) Variable "wsName" must be all lower-case
(#176) Variable "wsroleId" must be all lower-case
(#176) Short array syntax must be used to define arrays
(#176) Variable "wsName" must be all lower-case
(#177) Variable "wsroleId" must be all lower-case
(#178) Variable "wsroleId" must be all lower-case
(#178) Variable "wsroleId" must be all lower-case
(#180) Variable "wsroleId" must be all lower-case
(#180) Variable "wsName" must be all lower-case
(#182) Variable "wsroleId" must be all lower-case
(#183) Variable "wsroleId" must be all lower-case
(#183) Variable "systemContext" must be all lower-case
(#184) Variable "wsroleId" must be all lower-case
(#184) Variable "systemContext" must be all lower-case
(#185) Variable "wsroleId" must be all lower-case
(#185) Variable "systemContext" must be all lower-case
(#186) Variable "wsroleId" must be all lower-case
(#186) Variable "systemContext" must be all lower-case
(#187) Variable "wsroleId" must be all lower-case
(#187) Variable "systemContext" must be all lower-case
(#188) Variable "wsroleId" must be all lower-case
(#188) Variable "webserviceUser" must be all lower-case
(#188) Variable "systemContext" must be all lower-case
(#190) Variable "webserviceManager" must be all lower-case
(#191) Variable "webserviceManager" must be all lower-case
(#193) Variable "webserviceManager" must be all lower-case
(#198) Variable "webserviceManager" must be all lower-case
(#199) Variable "authUser" must be all lower-case
(#199) Variable "webserviceManager" must be all lower-case
(#199) Variable "webserviceUser" must be all lower-case
(#200) Variable "authUser" must be all lower-case
(#201) Variable "webserviceManager" must be all lower-case
(#201) Variable "webserviceUser" must be all lower-case
(#203) Variable "webserviceManager" must be all lower-case
(#203) Variable "webserviceUser" must be all lower-case
(#206) Variable "webserviceUser" must be all lower-case
(#206) Variable "systemContext" must be all lower-case
(#208) Expected "} else {\n"; found "}\n else {\n"
(#209) Variable "webserviceUser" must be all lower-case
(#209) Variable "systemContext" must be all lower-case
(#215) Missing docblock for function install_permissions
(#216) Opening brace should be on the same line as the declaration
(#218) Variable "userEmail" must be all lower-case
(#219) Variable "systemContext" must be all lower-case
(#220) Variable "systemContext" must be all lower-case
(#222) Variable "webserviceUser" must be all lower-case
(#222) Variable "userEmail" must be all lower-case
(#224) Variable "webserviceUser" must be all lower-case
(#224) Short array syntax must be used to define arrays
(#224) Variable "userEmail" must be all lower-case
(#226) Variable "systemContext" must be all lower-case
(#226) Variable "webserviceUser" must be all lower-case
(#227) Variable "wsName" must be all lower-case
(#228) Variable "wsroleId" must be all lower-case
(#228) Short array syntax must be used to define arrays
(#228) Variable "wsName" must be all lower-case
(#229) Variable "wsroleId" must be all lower-case
(#230) Variable "wsroleId" must be all lower-case
(#230) Variable "systemContext" must be all lower-case
(#231) Variable "wsroleId" must be all lower-case
(#231) Variable "systemContext" must be all lower-case
(#232) Variable "wsroleId" must be all lower-case
(#232) Variable "systemContext" must be all lower-case
(#233) Variable "wsroleId" must be all lower-case
(#233) Variable "systemContext" must be all lower-case
(#234) Variable "wsroleId" must be all lower-case
(#234) Variable "systemContext" must be all lower-case
(#238) Missing docblock for function getLanebs
(#238) function name "getLanebs" must be lower-case letters only
(#239) Opening brace should be on the same line as the declaration
(#244) Short array syntax must be used to define arrays
(#262) Short array syntax must be used to define arrays
(#268) Missing docblock for function getQuiz
(#268) function name "getQuiz" must be lower-case letters only
(#268) Variable "quizData" must be all lower-case
(#269) Opening brace should be on the same line as the declaration
(#274) Variable "quizData" must be all lower-case
(#276) Variable "quizData" must be all lower-case
(#282) Variable "quizData" must be all lower-case
(#283) Variable "quizData" must be all lower-case
(#283) Expected 1 space before "*"; 0 found
(#283) Expected 1 space after "*"; 0 found
(#283) Expected 1 space before "/"; 0 found
(#283) Expected 1 space after "/"; 0 found
(#284) Variable "quizData" must be all lower-case
(#303) Missing docblock for function importQuestions
(#303) function name "importQuestions" must be lower-case letters only
(#304) Opening brace should be on the same line as the declaration
(#307) Inline comments must start with a capital letter, digit or 3-dots sequence
(#307) This comment is 80% valid code; is this commented out code?
(#307) No space found before comment text; expected "// $qformat->setCatfromfile(false);" but found "//$qformat->setCatfromfile(false);"
(#308) No space found before comment text; expected "// $qformat->setContexts($contexts);" but found "//$qformat->setContexts($contexts);"
(#310) Inline comments must start with a capital letter, digit or 3-dots sequence
(#310) This comment is 86% valid code; is this commented out code?
(#310) No space found before comment text; expected "// $qformat->setContextfromfile(true);" but found "//$qformat->setContextfromfile(true);"
(#317) Missing docblock for function createFolder
(#317) function name "createFolder" must be lower-case letters only
(#318) Opening brace should be on the same line as the declaration
(#351) Missing docblock for function send_logs
(#352) Opening brace should be on the same line as the declaration
(#358) Short array syntax must be used to define arrays
(#362) Line exceeds 132 characters; contains 146 characters
(#369) Missing docblock for function send_stat
(#370) Opening brace should be on the same line as the declaration
(#376) Short array syntax must be used to define arrays
(#380) Line exceeds 132 characters; contains 146 characters
(#387) Missing docblock for function get_course_creator
(#388) Opening brace should be on the same line as the declaration
(#390) Short array syntax must be used to define arrays
(#391) Short array syntax must be used to define arrays
(#406) Missing docblock for function get_lanebs_config
(#407) Opening brace should be on the same line as the declaration
(#409) "require" must be immediately followed by an open parenthesis
(#411) File must end with a newline character
mod/lanebs/mod_form.php
(#39) Missing docblock for function definition
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#47) Variable "baseUrl" must be all lower-case
(#51) Expected "} else if (...) {\n"; found "}\n else if (...) {\n"
(#59) Short array syntax must be used to define arrays
(#59) Variable "baseUrl" must be all lower-case
(#65) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
(#90) Line exceeds maximum limit of 180 characters; contains 253 characters
(#93) Inline comments must start with a capital letter, digit or 3-dots sequence
(#93) This comment is 73% valid code; is this commented out code?
(#93) No space found before comment text; expected "// $mform->addElement('button', 'modal_show_button', get_string('button_desc', 'mod_lanebs'));" but found "//$mform->addElement('button', 'modal_show_button', get_string('button_desc', 'mod_lanebs'));"
(#94) No space found before comment text; expected "// $mform->addHelpButton('modal_show_button', 'lanebsbutton', 'mod_lanebs');" but found "//$mform->addHelpButton('modal_show_button', 'lanebsbutton', 'mod_lanebs');"
(#96) Line exceeds 132 characters; contains 168 characters
(#96) Inline comments must start with a capital letter, digit or 3-dots sequence
(#96) This comment is 71% valid code; is this commented out code?
(#96) No space found before comment text; expected "// $mform->addElement('button', 'modal_video_button', get_string('video_button_desc', 'mod_lanebs'), array('data-action' => 'video_modal', 'class' => 'hidden'));" but found "//$mform->addElement('button', 'modal_video_button', get_string('video_button_desc', 'mod_lanebs'), array('data-action' => 'video_modal', 'class' => 'hidden'));"
(#97) No space found before comment text; expected "// $mform->addElement('html', '<div class="video_preview_container row"></div>');" but found "//$mform->addElement('html', '<div class="video_preview_container row"></div>');"
(#135) Missing docblock for function validation
(#135) Possible useless method overriding detected
mod/lanebs/settings.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#31) Line indented incorrectly; expected at least 4 spaces, found 3
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) Line indented incorrectly; expected at least 4 spaces, found 3
(#39) Short array syntax must be used to define arrays
(#40) There should be a comma after the last array item in a multi-line array.
mod/lanebs/version.php
(#37) File must end with a newline character
mod/lanebs/view.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#59) Expected "} else if (...) {\n"; found "}\nelse if (...) {\n"
(#68) Short array syntax must be used to define arrays
(#68) Line exceeds 132 characters; contains 177 characters
(#74) Short array syntax must be used to define arrays
(#81) There should be a comma after the last array item in a multi-line array.
(#86) Short array syntax must be used to define arrays
(#93) Variable "videosBlock" must be all lower-case
(#95) Variable "videosBlock" must be all lower-case
(#97) Variable "videosBlock" must be all lower-case
(#97) Line exceeds maximum limit of 180 characters; contains 272 characters
(#103) Inline comments must start with a capital letter, digit or 3-dots sequence
(#103) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Variable "cssHidden" must be all lower-case
(#106) Variable "cssHidden" must be all lower-case
(#112) Line exceeds 132 characters; contains 145 characters
(#114) Variable "cssHidden" must be all lower-case
(#115) Line exceeds maximum limit of 180 characters; contains 293 characters
(#118) Line exceeds maximum limit of 180 characters; contains 238 characters
(#121) Commas (,) must be followed by white space.
(#121) Line exceeds 132 characters; contains 157 characters
(#124) Variable "videosBlock" must be all lower-case

Javascript coding style problems

(65 errors, 358 warnings)

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

mod/lanebs/amd/src/copy_paste.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) 'title' is defined but never used. (no-unused-vars)
(#24) 'e' is defined but never used. (no-unused-vars)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Unexpected console statement. (no-console)
(#37) Unexpected space before function parentheses. (space-before-function-paren)
(#37) 'e' is defined but never used. (no-unused-vars)
(#41) Unexpected space before function parentheses. (space-before-function-paren)
(#42) Unexpected console statement. (no-console)
(#67) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Unexpected console statement. (no-console)
mod/lanebs/amd/src/log.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Identifier 'course_date' is not in camel case. (camelcase)
(#5) Operator '+' must be spaced. (space-infix-ops)
(#5) Operator '+' must be spaced. (space-infix-ops)
(#5) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Identifier 'course_date' is not in camel case. (camelcase)
(#21) Identifier 'course_date' is not in camel case. (camelcase)
mod/lanebs/amd/src/modal_book.js
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Missing JSDoc @param "root" declaration. (jsdoc/require-param)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#57) Operator '+' must be spaced. (space-infix-ops)
(#57) Unexpected space before function parentheses. (space-before-function-paren)
(#59) Expected catch,fail() or return (promise/catch-or-return)
(#59) Each then() should return a value or throw (promise/always-return)
(#59) Unexpected space before function parentheses. (space-before-function-paren)
(#64) Unexpected space before function parentheses. (space-before-function-paren)
(#66) This line has a length of 177. Maximum allowed is 132. (max-len)
(#67) Comments should not begin with a lowercase character. (capitalized-comments)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#80) Unexpected space before function parentheses. (space-before-function-paren)
(#83) ["body"] is better written in dot notation. (dot-notation)
(#93) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected console statement. (no-console)
(#99) Unexpected space before function parentheses. (space-before-function-paren)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#101) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
(#102) Operator '+' must be spaced. (space-infix-ops)
mod/lanebs/amd/src/modal_book_handle.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Expected catch,fail() or return (promise/catch-or-return)
(#10) Each then() should return a value or throw (promise/always-return)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
mod/lanebs/amd/src/modal_constructor.js
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Missing JSDoc @param "root" declaration. (jsdoc/require-param)
(#37) 'SELECTORS' is assigned a value but never used. (no-unused-vars)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#45) Unexpected space before function parentheses. (space-before-function-paren)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#60) ["body"] is better written in dot notation. (dot-notation)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#63) Unexpected console statement. (no-console)
mod/lanebs/amd/src/modal_constructor_handle.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Unexpected space before function parentheses. (space-before-function-paren)
(#10) Identifier 'base_url' is not in camel case. (camelcase)
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#13) ["subscriber_token"] is better written in dot notation. (dot-notation)
(#14) ["subscriber_token"] is better written in dot notation. (dot-notation)
(#17) Unexpected space before function parentheses. (space-before-function-paren)
(#18) ["service_token"] is better written in dot notation. (dot-notation)
(#19) ["service_token"] is better written in dot notation. (dot-notation)
(#22) 'event' is defined but never used. (no-unused-vars)
(#23) Unexpected console statement. (no-console)
(#25) Expected catch,fail() or return (promise/catch-or-return)
(#25) Each then() should return a value or throw (promise/always-return)
(#26) Unexpected console statement. (no-console)
(#31) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Identifier 'base_url' is not in camel case. (camelcase)
(#32) Operator '+' must be spaced. (space-infix-ops)
(#33) This line has a length of 134. Maximum allowed is 132. (max-len)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#40) A space is required after ','. (comma-spacing)
(#44) Missing semicolon. (@babel/semi)
(#45) Missing semicolon. (@babel/semi)
(#46) Missing semicolon. (@babel/semi)
(#47) Missing semicolon. (@babel/semi)
(#48) Missing semicolon. (@babel/semi)
(#52) Missing JSDoc comment. (jsdoc/require-jsdoc)
(#62) Missing JSDoc comment. (jsdoc/require-jsdoc)
mod/lanebs/amd/src/modal_player.js
(#12) Unexpected space before function parentheses. (space-before-function-paren)
(#32) Missing JSDoc @param "root" declaration. (jsdoc/require-param)
(#51) Unexpected space before function parentheses. (space-before-function-paren)
(#54) Unexpected space before function parentheses. (space-before-function-paren)
(#58) Missing semicolon. (@babel/semi)
(#62) Unexpected space before function parentheses. (space-before-function-paren)
(#66) Missing semicolon. (@babel/semi)
(#70) Unexpected space before function parentheses. (space-before-function-paren)
(#72) This line has a length of 177. Maximum allowed is 132. (max-len)
(#73) 'mobile' is assigned a value but never used. (no-unused-vars)
(#73) Comments should not begin with a lowercase character. (capitalized-comments)
(#76) This line has a length of 284. Maximum allowed is 132. (max-len)
(#76) Operator '+' must be spaced. (space-infix-ops)
(#76) Operator '+' must be spaced. (space-infix-ops)
mod/lanebs/amd/src/modal_player_handle.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Expected catch,fail() or return (promise/catch-or-return)
(#9) Each then() should return a value or throw (promise/always-return)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
mod/lanebs/amd/src/modal_search.js
(#15) Unexpected space before function parentheses. (space-before-function-paren)
(#32) There should be no space after this paren. (space-in-parens)
(#32) There should be no space after this paren. (space-in-parens)
(#32) There should be no space before this paren. (space-in-parens)
(#34) Expected space(s) after "if". (keyword-spacing)
(#35) Opening curly brace does not appear on the same line as controlling statement. (brace-style)
(#39) Expected space(s) after "if". (keyword-spacing)
(#39) There should be no space after this paren. (space-in-parens)
(#39) There should be no space before this paren. (space-in-parens)
(#40) There should be no space after '['. (array-bracket-spacing)
(#47) Expected space(s) after "if". (keyword-spacing)
(#47) There should be no space after this paren. (space-in-parens)
(#47) There should be no space before this paren. (space-in-parens)
(#48) Expected space(s) after "if". (keyword-spacing)
(#48) There should be no space after this paren. (space-in-parens)
(#48) There should be no space after this paren. (space-in-parens)
(#48) There should be no space before this paren. (space-in-parens)
(#48) There should be no space before this paren. (space-in-parens)
(#49) There should be no space after this paren. (space-in-parens)
(#49) There should be no space before this paren. (space-in-parens)
(#51) There should be no space after '['. (array-bracket-spacing)
(#52) There should be no space after this paren. (space-in-parens)
(#52) There should be no space before this paren. (space-in-parens)
(#58) Expected space(s) after "if". (keyword-spacing)
(#58) There should be no space after this paren. (space-in-parens)
(#58) There should be no space before this paren. (space-in-parens)
(#59) Expected space(s) after "if". (keyword-spacing)
(#59) There should be no space after this paren. (space-in-parens)
(#59) There should be no space after this paren. (space-in-parens)
(#59) There should be no space before this paren. (space-in-parens)
(#59) There should be no space before this paren. (space-in-parens)
(#60) There should be no space after this paren. (space-in-parens)
(#60) There should be no space before this paren. (space-in-parens)
(#62) There should be no space after '['. (array-bracket-spacing)
(#63) There should be no space after this paren. (space-in-parens)
(#63) There should be no space before this paren. (space-in-parens)
(#102) Missing JSDoc @param "root" declaration. (jsdoc/require-param)
(#110) Expected catch,fail() or return (promise/catch-or-return)
(#110) Each then() should return a value or throw (promise/always-return)
(#110) Unexpected space before function parentheses. (space-before-function-paren)
(#115) Expected catch,fail() or return (promise/catch-or-return)
(#115) Each then() should return a value or throw (promise/always-return)
(#115) Unexpected space before function parentheses. (space-before-function-paren)
(#126) Unexpected space before function parentheses. (space-before-function-paren)
(#128) Expected to return a value at the end of function. (consistent-return)
(#128) Unexpected space before function parentheses. (space-before-function-paren)
(#134) Expected to return a value at the end of function. (consistent-return)
(#134) Unexpected space before function parentheses. (space-before-function-paren)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#151) Expected catch,fail() or return (promise/catch-or-return)
(#152) Each then() should return a value or throw (promise/always-return)
(#152) Unexpected space before function parentheses. (space-before-function-paren)
(#158) Unexpected space before function parentheses. (space-before-function-paren)
(#168) Expected to return a value at the end of function. (consistent-return)
(#168) Unexpected space before function parentheses. (space-before-function-paren)
(#175) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#182) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#186) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#189) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#206) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#213) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#217) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) ["lanebs_from"] is better written in dot notation. (dot-notation)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#219) Operator '+' must be spaced. (space-infix-ops)
(#222) Expected catch,fail() or return (promise/catch-or-return)
(#223) Each then() should return a value or throw (promise/always-return)
(#223) Unexpected space before function parentheses. (space-before-function-paren)
(#231) Unexpected space before function parentheses. (space-before-function-paren)
(#243) Unexpected space before function parentheses. (space-before-function-paren)
(#250) Unexpected space before function parentheses. (space-before-function-paren)
(#254) ["lanebs_error_book"] is better written in dot notation. (dot-notation)
(#255) Unexpected console statement. (no-console)
(#255) ["lanebs_error_book"] is better written in dot notation. (dot-notation)
(#262) Unexpected space before function parentheses. (space-before-function-paren)
(#266) ["lanebs_read_pg"] is better written in dot notation. (dot-notation)
(#274) Unexpected space before function parentheses. (space-before-function-paren)
(#276) Missing semicolon. (@babel/semi)
(#278) Unexpected space before function parentheses. (space-before-function-paren)
(#284) Missing semicolon. (@babel/semi)
(#286) Unexpected space before function parentheses. (space-before-function-paren)
(#292) Operator '+' must be spaced. (space-infix-ops)
(#292) Operator '+' must be spaced. (space-infix-ops)
(#293) ["lanebs_show_desc"] is better written in dot notation. (dot-notation)
(#295) Operator '+' must be spaced. (space-infix-ops)
(#295) Operator '+' must be spaced. (space-infix-ops)
(#303) This line has a length of 133. Maximum allowed is 132. (max-len)
(#303) Operator '+' must be spaced. (space-infix-ops)
(#303) Operator '+' must be spaced. (space-infix-ops)
(#303) Operator '+' must be spaced. (space-infix-ops)
(#303) ["lanebs_cover"] is better written in dot notation. (dot-notation)
(#303) Operator '+' must be spaced. (space-infix-ops)
(#306) This line has a length of 168. Maximum allowed is 132. (max-len)
(#306) Operator '+' must be spaced. (space-infix-ops)
(#313) This line has a length of 144. Maximum allowed is 132. (max-len)
(#313) Operator '+' must be spaced. (space-infix-ops)
(#313) ["lanebs_add"] is better written in dot notation. (dot-notation)
(#313) Operator '+' must be spaced. (space-infix-ops)
(#315) This line has a length of 182. Maximum allowed is 132. (max-len)
(#315) Operator '+' must be spaced. (space-infix-ops)
(#315) Operator '+' must be spaced. (space-infix-ops)
(#315) Operator '+' must be spaced. (space-infix-ops)
(#315) ["lanebs_preshow"] is better written in dot notation. (dot-notation)
(#315) Operator '+' must be spaced. (space-infix-ops)
(#315) Operator '+' must be spaced. (space-infix-ops)
(#320) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#322) This line has a length of 136. Maximum allowed is 132. (max-len)
(#322) Operator '+' must be spaced. (space-infix-ops)
(#322) ["lanebs_error_empty_search"] is better written in dot notation. (dot-notation)
(#322) Operator '+' must be spaced. (space-infix-ops)
(#325) Unexpected space before function parentheses. (space-before-function-paren)
(#330) Unexpected space before function parentheses. (space-before-function-paren)
(#340) Operator '+' must be spaced. (space-infix-ops)
(#340) Operator '+' must be spaced. (space-infix-ops)
(#349) Comments should not begin with a lowercase character. (capitalized-comments)
(#354) Unexpected space before function parentheses. (space-before-function-paren)
(#356) Expected to return a value at the end of function. (consistent-return)
(#356) Unexpected space before function parentheses. (space-before-function-paren)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#362) Operator '+' must be spaced. (space-infix-ops)
(#363) Operator '+' must be spaced. (space-infix-ops)
(#363) Operator '+' must be spaced. (space-infix-ops)
(#364) Operator '+' must be spaced. (space-infix-ops)
(#364) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#367) Operator '+' must be spaced. (space-infix-ops)
(#367) Unexpected space before function parentheses. (space-before-function-paren)
(#379) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#387) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#399) Identifier 'parent_id' is not in camel case. (camelcase)
(#403) Operator '+' must be spaced. (space-infix-ops)
(#403) Identifier 'parent_id' is not in camel case. (camelcase)
(#403) Operator '+' must be spaced. (space-infix-ops)
(#404) Operator '+' must be spaced. (space-infix-ops)
(#404) ["lanebs_BACK"] is better written in dot notation. (dot-notation)
(#404) Operator '+' must be spaced. (space-infix-ops)
(#406) Unexpected space before function parentheses. (space-before-function-paren)
(#407) Identifier 'parent_id' is not in camel case. (camelcase)
(#418) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#428) Unexpected space before function parentheses. (space-before-function-paren)
(#432) Unexpected space before function parentheses. (space-before-function-paren)
(#433) Operator '+' must be spaced. (space-infix-ops)
(#433) Operator '+' must be spaced. (space-infix-ops)
(#433) Operator '+' must be spaced. (space-infix-ops)
(#433) Operator '+' must be spaced. (space-infix-ops)
(#439) Unexpected space before function parentheses. (space-before-function-paren)
(#448) ["body"] is better written in dot notation. (dot-notation)
(#450) Unexpected space before function parentheses. (space-before-function-paren)
(#451) Unexpected console statement. (no-console)
(#456) Unexpected space before function parentheses. (space-before-function-paren)
(#463) Operator '+' must be spaced. (space-infix-ops)
(#463) Operator '+' must be spaced. (space-infix-ops)
(#463) ["lanebs_from"] is better written in dot notation. (dot-notation)
(#463) Operator '+' must be spaced. (space-infix-ops)
(#463) Operator '+' must be spaced. (space-infix-ops)
(#465) Closing curly brace does not appear on the same line as the subsequent block. (brace-style)
(#467) This line has a length of 133. Maximum allowed is 132. (max-len)
(#467) Operator '+' must be spaced. (space-infix-ops)
(#467) Operator '+' must be spaced. (space-infix-ops)
(#467) ["lanebs_from"] is better written in dot notation. (dot-notation)
(#467) Operator '+' must be spaced. (space-infix-ops)
(#467) Operator '+' must be spaced. (space-infix-ops)
(#472) Unexpected space before function parentheses. (space-before-function-paren)
(#475) Unexpected space before function parentheses. (space-before-function-paren)
(#484) Unexpected space before function parentheses. (space-before-function-paren)
(#489) Operator '-' must be spaced. (space-infix-ops)
(#494) Unexpected space before function parentheses. (space-before-function-paren)
(#496) Unexpected space before function parentheses. (space-before-function-paren)
mod/lanebs/amd/src/modal_search_handle.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#19) Unexpected space before function parentheses. (space-before-function-paren)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#21) 'index' is defined but never used. (no-unused-vars)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#28) Unexpected space before function parentheses. (space-before-function-paren)
(#33) Expected catch,fail() or return (promise/catch-or-return)
(#33) Each then() should return a value or throw (promise/always-return)
(#33) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Requires a space after '{'. (block-spacing)
(#35) Statement inside of curly braces should be on next line. (brace-style)
(#35) Requires a space before '}'. (block-spacing)
(#35) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#36) Unexpected space before function parentheses. (space-before-function-paren)
(#36) Requires a space after '{'. (block-spacing)
(#36) Statement inside of curly braces should be on next line. (brace-style)
(#36) Unexpected console statement. (no-console)
(#36) Requires a space before '}'. (block-spacing)
(#36) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#40) Unexpected space before function parentheses. (space-before-function-paren)
(#41) ["code"] is better written in dot notation. (dot-notation)
(#41) ["code"] is better written in dot notation. (dot-notation)
(#42) Expected catch,fail() or return (promise/catch-or-return)
(#42) Avoid nesting promises. (promise/no-nesting)
(#42) Each then() should return a value or throw (promise/always-return)
(#42) Unexpected space before function parentheses. (space-before-function-paren)
(#43) Unexpected console statement. (no-console)
mod/lanebs/amd/src/modal_video.js
(#13) Unexpected space before function parentheses. (space-before-function-paren)
(#24) 'Str' is defined but never used. (no-unused-vars)
(#46) Missing JSDoc @param "root" declaration. (jsdoc/require-param)
(#61) Unexpected space before function parentheses. (space-before-function-paren)
(#66) Operator '+' must be spaced. (space-infix-ops)
(#66) Operator '+' must be spaced. (space-infix-ops)
(#66) Unexpected space before function parentheses. (space-before-function-paren)
(#68) Expected catch,fail() or return (promise/catch-or-return)
(#68) Each then() should return a value or throw (promise/always-return)
(#68) Unexpected space before function parentheses. (space-before-function-paren)
(#72) Comments should not begin with a lowercase character. (capitalized-comments)
(#77) Unexpected space before function parentheses. (space-before-function-paren)
(#84) Unexpected space before function parentheses. (space-before-function-paren)
(#88) Unexpected space before function parentheses. (space-before-function-paren)
(#94) Unexpected space before function parentheses. (space-before-function-paren)
(#96) ["page"] is better written in dot notation. (dot-notation)
(#100) Unexpected space before function parentheses. (space-before-function-paren)
(#100) 'videoIndex' is defined but never used. (no-unused-vars)
(#101) ["start_page"] is better written in dot notation. (dot-notation)
(#103) ["unique_id"] is better written in dot notation. (dot-notation)
(#108) This line has a length of 195. Maximum allowed is 132. (max-len)
(#108) ["link_url"] is better written in dot notation. (dot-notation)
(#109) ["link_name"] is better written in dot notation. (dot-notation)
(#111) This line has a length of 251. Maximum allowed is 132. (max-len)
(#111) ["link_url"] is better written in dot notation. (dot-notation)
(#111) ["link_name"] is better written in dot notation. (dot-notation)
(#111) ["link_url"] is better written in dot notation. (dot-notation)
(#115) ["start_page"] is better written in dot notation. (dot-notation)
(#122) Expected { after 'if' condition. (curly)
(#128) This line has a length of 158. Maximum allowed is 132. (max-len)
(#128) ["title"] is better written in dot notation. (dot-notation)
(#128) ["lanebs_read_pg"] is better written in dot notation. (dot-notation)
(#128) ["page"] is better written in dot notation. (dot-notation)
(#129) This line has a length of 151. Maximum allowed is 132. (max-len)
(#132) This line has a length of 145. Maximum allowed is 132. (max-len)
(#140) Unexpected space before function parentheses. (space-before-function-paren)
(#144) Unexpected space before function parentheses. (space-before-function-paren)
(#160) Unexpected space before function parentheses. (space-before-function-paren)
(#169) ["body"] is better written in dot notation. (dot-notation)
(#171) Unexpected space before function parentheses. (space-before-function-paren)
(#172) Unexpected console statement. (no-console)
(#177) Unexpected space before function parentheses. (space-before-function-paren)
(#179) Unexpected space before function parentheses. (space-before-function-paren)
(#179) 'index' is defined but never used. (no-unused-vars)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#183) ["unique"] is better written in dot notation. (dot-notation)
(#183) Operator '+' must be spaced. (space-infix-ops)
(#184) This line has a length of 255. Maximum allowed is 132. (max-len)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) ["link"] is better written in dot notation. (dot-notation)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) ["name"] is better written in dot notation. (dot-notation)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#184) ["link"] is better written in dot notation. (dot-notation)
(#184) Operator '+' must be spaced. (space-infix-ops)
(#186) Operator '+' must be spaced. (space-infix-ops)
(#186) ["name"] is better written in dot notation. (dot-notation)
(#186) Operator '+' must be spaced. (space-infix-ops)
(#194) Unexpected space before function parentheses. (space-before-function-paren)
(#199) Unexpected space before function parentheses. (space-before-function-paren)
(#201) Operator '+' must be spaced. (space-infix-ops)
(#201) Operator '+' must be spaced. (space-infix-ops)
(#204) Unexpected space before function parentheses. (space-before-function-paren)
(#209) Unexpected console statement. (no-console)
(#214) Unexpected space before function parentheses. (space-before-function-paren)
(#215) Unexpected space before function parentheses. (space-before-function-paren)
(#215) 'index' is defined but never used. (no-unused-vars)
(#216) Operator '+' must be spaced. (space-infix-ops)
(#216) ["unique"] is better written in dot notation. (dot-notation)
(#216) Operator '+' must be spaced. (space-infix-ops)
(#220) Unexpected space before function parentheses. (space-before-function-paren)
(#221) Unexpected space before function parentheses. (space-before-function-paren)
(#222) Unexpected space before function parentheses. (space-before-function-paren)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#225) Operator '+' must be spaced. (space-infix-ops)
(#232) Unexpected space before function parentheses. (space-before-function-paren)
(#234) Operator '+' must be spaced. (space-infix-ops)
(#234) Operator '+' must be spaced. (space-infix-ops)
(#235) Unexpected space before function parentheses. (space-before-function-paren)
(#242) Identifier 'video_id' is not in camel case. (camelcase)
(#248) Missing semicolon. (@babel/semi)
(#250) Unexpected space before function parentheses. (space-before-function-paren)
(#255) Unexpected space before function parentheses. (space-before-function-paren)
(#258) Missing semicolon. (@babel/semi)
mod/lanebs/amd/src/modal_video_handle.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) Unexpected space before function parentheses. (space-before-function-paren)
(#9) Unexpected space before function parentheses. (space-before-function-paren)
(#11) Unexpected space before function parentheses. (space-before-function-paren)
(#11) 'index' is defined but never used. (no-unused-vars)
(#16) Unexpected space before function parentheses. (space-before-function-paren)
(#18) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Expected catch,fail() or return (promise/catch-or-return)
(#23) Each then() should return a value or throw (promise/always-return)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Unexpected space before function parentheses. (space-before-function-paren)
(#25) Requires a space after '{'. (block-spacing)
(#25) Statement inside of curly braces should be on next line. (brace-style)
(#25) Requires a space before '}'. (block-spacing)
(#25) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#26) Unexpected space before function parentheses. (space-before-function-paren)
(#26) Requires a space after '{'. (block-spacing)
(#26) Statement inside of curly braces should be on next line. (brace-style)
(#26) Unexpected console statement. (no-console)
(#26) Requires a space before '}'. (block-spacing)
(#26) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#34) Missing semicolon. (@babel/semi)
mod/lanebs/amd/src/player_button.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)
(#4) 'e' is defined but never used. (no-unused-vars)
(#9) Comments should not begin with a lowercase character. (capitalized-comments)
(#21) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Unexpected console statement. (no-console)
(#22) ["body"] is better written in dot notation. (dot-notation)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#24) Unexpected console statement. (no-console)
mod/lanebs/amd/src/view_button.js
(#2) Unexpected space before function parentheses. (space-before-function-paren)

CSS problems

(17 errors, 0 warnings)

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

mod/lanebs/css/lanebs_modal.css
(#47) Unexpected !important (declaration-no-important)
(#50) Unexpected !important (declaration-no-important)
(#53) Unexpected !important (declaration-no-important)
(#62) Unexpected !important (declaration-no-important)
(#65) Unexpected !important (declaration-no-important)
(#68) Unexpected !important (declaration-no-important)
(#71) Unexpected !important (declaration-no-important)
(#34) Unexpected unknown animation name "spinner-border" (no-unknown-animations)
mod/lanebs/css/modal_book.css
(#2) Expected single space before "!" (declaration-bang-space-before)
(#3) Expected single space before "!" (declaration-bang-space-before)
(#6) Expected single space before "!" (declaration-bang-space-before)
(#9) Expected single space before "!" (declaration-bang-space-before)
(#2) Unexpected !important (declaration-no-important)
(#3) Unexpected !important (declaration-no-important)
(#6) Unexpected !important (declaration-no-important)
(#9) Unexpected !important (declaration-no-important)
(#9) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(6 errors, 0 warnings)

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

mod/lanebs/backup/moodle2/restore_lanebs_activity_task.class.php
(#79) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#81) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#95) Inline phpdocs tag {@link restore_logs_processor} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
(#97) Inline phpdocs tag {@link restore_log_rule} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}
mod/lanebs/externallib.php
(#65) Phpdocs for function mod_lanebs_external::search_books has incomplete parameters list
mod/lanebs/lib.php
(#112) Inline phpdocs tag {@link get_array_of_activities()} with incorrect contents found. It must match {@link [valid URL] [description (optional)]} or {@see [valid FQSEN] [description (optional)]}

Update savepoints problems

(2 errors, 1 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]

mod/lanebs/db/upgrade.php
Detected fewer 'if' blocks (2) than 'savepoint' calls (3). Repeated savepoints?
version 2021102128 has wrong savepoint call with version 2021102129
version 2022090535 has wrong savepoint call with version 2022090534

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]

Problems running grunt
ENOENT: no such file or directory, stat 'mod/lanebs/fonts' Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 6 warnings)

This section shows problems detected in mustache templates [More info]

mod/lanebs/templates/modal_book.mustache
(#1) Example context missing (@template section not found.)
mod/lanebs/templates/modal_constructor.mustache
(#1) Example context missing (@template section not found.)
mod/lanebs/templates/modal_player.mustache
(#1) Example context missing (@template section not found.)
mod/lanebs/templates/modal_search.mustache
(#1) Example context missing (@template section not found.)
(#1) HTML Validation error, line 22: Element “style” not allowed as child of element “div” in this context. (Suppressing further errors from this subtree.) (> <style>.bg-pr)
mod/lanebs/templates/modal_video.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]