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

(933 errors, 213 warnings)

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

blocks/sharing_cart/backup/moodle2/restore_fix_missing_questions.php
(#47) Variable "workaround_qtypes" must not contain underscores.
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#60) Variable "workaround_qtypes" must not contain underscores.
(#76) Inline comments must start with a capital letter, digit or 3-dots sequence
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must start with a capital letter, digit or 3-dots sequence
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must start with a capital letter, digit or 3-dots sequence
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) This comment is 65% valid code; is this commented out code?
(#121) Inline comments must start with a capital letter, digit or 3-dots sequence
(#121) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) Inline comments must start with a capital letter, digit or 3-dots sequence
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Empty IF statement detected
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) Inline comments must end in full-stops, exclamation marks, or question marks
(#142) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#148) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/sharing_cart/backup/moodle2/restore_root_task_fix_missings.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Variable "fix_missing_questions" must not contain underscores.
(#39) Variable "fix_missing_questions" must not contain underscores.
(#42) Variable "fix_missing_questions" must not contain underscores.
blocks/sharing_cart/backup/util/helper/restore_fix_missings_helper.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#39) Inline comments must start with a capital letter, digit or 3-dots sequence
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) 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
blocks/sharing_cart/block_sharing_cart.php
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected at least 4 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#64) Spaces must be used to indent lines; tabs are not allowed
(#65) Spaces must be used to indent lines; tabs are not allowed
(#66) Spaces must be used to indent lines; tabs are not allowed
(#67) Spaces must be used to indent lines; tabs are not allowed
(#69) global $PAGE cannot be used in block classes. Use $this->page.
(#71) Variable "section_id" must not contain underscores.
(#89) Variable "sectionsHandler" must be all lower-case
(#90) Variable "sectionsHandler" must be all lower-case
(#104) Spaces must be used to indent lines; tabs are not allowed
(#104) Tab found within whitespace
(#104) Line indented incorrectly; expected at least 8 spaces, found 2
(#120) Variable "page_format" must not contain underscores.
(#120) global $PAGE cannot be used in block classes. Use $this->page.
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Expected "if (...) {\n"; found "if (...){\n"
(#123) Variable "page_format" must not contain underscores.
(#125) Variable "sections_dropdown" must not contain underscores.
(#132) Variable "sections_dropdown" must not contain underscores.
(#133) Line exceeds 132 characters; contains 166 characters
(#141) Variable "section_id" must not contain underscores.
(#143) Variable "sections_dropdown" must not contain underscores.
(#167) Inline comments must start with a capital letter, digit or 3-dots sequence
(#167) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/sharing_cart/bulkdelete.php
(#30) "require_once" must be immediately followed by an open parenthesis
(#48) Variable "delete_param" must not contain underscores.
(#52) Variable "delete_param" must not contain underscores.
(#58) Variable "delete_ids" must not contain underscores.
(#58) Variable "delete_param" must not contain underscores.
(#60) Variable "delete_ids" must not contain underscores.
(#68) Variable "deleted_ids" must not contain underscores.
(#71) Variable "deleted_ids" must not contain underscores.
(#74) Variable "deleted_ids" must not contain underscores.
(#81) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#84) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#86) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#113) Line indented incorrectly; expected 0 spaces, found 4
(#118) Line indented incorrectly; expected 0 spaces, found 4
(#129) Whitespace found at end of line within string
(#135) Line indented incorrectly; expected 4 spaces, found 8
(#142) Line indented incorrectly; expected 4 spaces, found 8
(#152) Line indented incorrectly; expected 0 spaces, found 4
blocks/sharing_cart/classes/controller.php
(#36) "require_once" must be immediately followed by an open parenthesis
(#45) Spaces must be used for alignment; tabs are not allowed
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected at least 4 spaces, found 1
(#49) Spaces must be used to indent lines; tabs are not allowed
(#50) Spaces must be used to indent lines; tabs are not allowed
(#51) Spaces must be used to indent lines; tabs are not allowed
(#52) Spaces must be used to indent lines; tabs are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#54) Spaces must be used to indent lines; tabs are not allowed
(#72) "require_once" must be immediately followed by an open parenthesis
(#74) Inline comments must start with a capital letter, digit or 3-dots sequence
(#74) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) Variable "course_repo" must not contain underscores.
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Variable "course_fullnames" must not contain underscores.
(#79) Variable "course_repo" must not contain underscores.
(#86) Variable "course_fullnames" must not contain underscores.
(#88) Variable "node_ptr" must not contain underscores.
(#91) Variable "node_ptr" must not contain underscores.
(#91) Variable "node_ptr" must not contain underscores.
(#92) Variable "node_ptr" must not contain underscores.
(#92) Variable "node_ptr" must not contain underscores.
(#94) Variable "node_ptr" must not contain underscores.
(#97) Inline comments must start with a capital letter, digit or 3-dots sequence
(#97) Inline comments must end in full-stops, exclamation marks, or question marks
(#98) Variable "sort_node" must not contain underscores.
(#98) Variable "sort_node" must not contain underscores.
(#100) Inline comments must start with a capital letter, digit or 3-dots sequence
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Variable "sort_node" must not contain underscores.
(#125) Variable "sort_node" must not contain underscores.
(#130) Spaces must be used to indent lines; tabs are not allowed
(#130) Tab found within whitespace
(#130) Line indented incorrectly; expected at least 4 spaces, found 1
(#131) Spaces must be used to indent lines; tabs are not allowed
(#132) Spaces must be used to indent lines; tabs are not allowed
(#133) Spaces must be used to indent lines; tabs are not allowed
(#134) Spaces must be used to indent lines; tabs are not allowed
(#135) Spaces must be used to indent lines; tabs are not allowed
(#136) Spaces must be used to indent lines; tabs are not allowed
(#137) Spaces must be used to indent lines; tabs are not allowed
(#148) Spaces must be used to indent lines; tabs are not allowed
(#148) Tab found within whitespace
(#148) Line indented incorrectly; expected at least 4 spaces, found 1
(#149) Spaces must be used to indent lines; tabs are not allowed
(#150) Spaces must be used to indent lines; tabs are not allowed
(#151) Spaces must be used to indent lines; tabs are not allowed
(#152) Spaces must be used to indent lines; tabs are not allowed
(#153) Spaces must be used to indent lines; tabs are not allowed
(#154) Spaces must be used to indent lines; tabs are not allowed
(#155) Spaces must be used to indent lines; tabs are not allowed
(#174) Expected 1 space before opening brace; found 0
(#175) Spaces must be used to indent lines; tabs are not allowed
(#175) Tab found within whitespace
(#175) Line indented incorrectly; expected at least 8 spaces, found 5
(#176) Spaces must be used to indent lines; tabs are not allowed
(#176) Tab found within whitespace
(#176) Line indented incorrectly; expected 8 spaces, found 5
(#177) Spaces must be used to indent lines; tabs are not allowed
(#177) Tab found within whitespace
(#177) Line indented incorrectly; expected at least 12 spaces, found 6
(#178) Spaces must be used to indent lines; tabs are not allowed
(#178) Tab found within whitespace
(#178) Line indented incorrectly; expected 8 spaces, found 5
(#179) Spaces must be used to indent lines; tabs are not allowed
(#179) Tab found within whitespace
(#179) Line indented incorrectly; expected at least 8 spaces, found 5
(#180) Spaces must be used to indent lines; tabs are not allowed
(#180) Tab found within whitespace
(#180) Line indented incorrectly; expected at least 8 spaces, found 5
(#196) Variable "has_userdata" must not contain underscores.
(#197) Inline comments must start with a capital letter, digit or 3-dots sequence
(#197) No space found before comment text; expected "// $CFG IS USED, DO NOT REMOVE IT" but found "//$CFG IS USED, DO NOT REMOVE IT"
(#204) Inline comments must end in full-stops, exclamation marks, or question marks
(#205) "require_once" must be immediately followed by an open parenthesis
(#207) Inline comments must start with a capital letter, digit or 3-dots sequence
(#207) Inline comments must end in full-stops, exclamation marks, or question marks
(#211) Variable "has_userdata" must not contain underscores.
(#216) Inline comments must start with a capital letter, digit or 3-dots sequence
(#216) Inline comments must end in full-stops, exclamation marks, or question marks
(#221) Inline comments must start with a capital letter, digit or 3-dots sequence
(#222) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#223) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#237) Variable "has_userdata" must not contain underscores.
(#254) Variable "current_setting" must not contain underscores.
(#255) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) Variable "current_setting" must not contain underscores.
(#259) Variable "current_setting" must not contain underscores.
(#268) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#280) Inline comments must start with a capital letter, digit or 3-dots sequence
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#332) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Variable "sharing_cart_section" must not contain underscores.
(#335) Variable "sharing_cart_section" must not contain underscores.
(#336) Variable "sharing_cart_section" must not contain underscores.
(#337) Variable "sharing_cart_section" must not contain underscores.
(#338) Variable "sharing_cart_section" must not contain underscores.
(#339) Variable "sharing_cart_section" must not contain underscores.
(#340) Variable "sc_section_id" must not contain underscores.
(#340) Variable "sharing_cart_section" must not contain underscores.
(#341) Variable "sc_section_id" must not contain underscores.
(#341) Variable "sc_section_id" must not contain underscores.
(#343) Inline comments must end in full-stops, exclamation marks, or question marks
(#344) Variable "sc_section_id" must not contain underscores.
(#345) Variable "course_context" must not contain underscores.
(#346) Variable "user_context" must not contain underscores.
(#349) Variable "course_context" must not contain underscores.
(#353) Variable "user_context" must not contain underscores.
(#356) Variable "sc_section_id" must not contain underscores.
(#365) Inline comments must end in full-stops, exclamation marks, or question marks
(#388) Line exceeds 132 characters; contains 134 characters
(#389) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#397) Whitespace found at end of line
(#399) Variable "sc_section_id" must not contain underscores.
(#401) Variable "sc_section_id" must not contain underscores.
(#405) Variable "sc_section_id" must not contain underscores.
(#408) Inline comments must end in full-stops, exclamation marks, or question marks
(#412) Inline comments must end in full-stops, exclamation marks, or question marks
(#413) Variable "folder_like" must not contain underscores.
(#414) Variable "folder_like" must not contain underscores.
(#417) Inline comments must end in full-stops, exclamation marks, or question marks
(#418) Variable "folder_number" must not contain underscores.
(#419) Variable "folder_number" must not contain underscores.
(#422) Inline comments must end in full-stops, exclamation marks, or question marks
(#485) "require_once" must be immediately followed by an open parenthesis
(#486) "require_once" must be immediately followed by an open parenthesis
(#488) Inline comments must start with a capital letter, digit or 3-dots sequence
(#488) Inline comments must end in full-stops, exclamation marks, or question marks
(#496) Inline comments must start with a capital letter, digit or 3-dots sequence
(#496) Inline comments must end in full-stops, exclamation marks, or question marks
(#509) Inline comments must start with a capital letter, digit or 3-dots sequence
(#509) Inline comments must end in full-stops, exclamation marks, or question marks
(#513) Inline comments must start with a capital letter, digit or 3-dots sequence
(#513) Inline comments must end in full-stops, exclamation marks, or question marks
(#519) Inline comments must start with a capital letter, digit or 3-dots sequence
(#519) Inline comments must end in full-stops, exclamation marks, or question marks
(#524) Inline comments must start with a capital letter, digit or 3-dots sequence
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
(#539) Inline comments must start with a capital letter, digit or 3-dots sequence
(#539) Inline comments must end in full-stops, exclamation marks, or question marks
(#568) Variable "cart_items" must not contain underscores.
(#569) Variable "cart_items" must not contain underscores.
(#569) Variable "cart_item" must not contain underscores.
(#570) Variable "cart_item" must not contain underscores.
(#570) Inline comments must start with a capital letter, digit or 3-dots sequence
(#570) Inline comments must end in full-stops, exclamation marks, or question marks
(#573) Variable "cart_item" must not contain underscores.
(#577) Variable "overwrite_section" must not contain underscores.
(#579) Variable "restored_section" must not contain underscores.
(#580) Variable "original_restored_section" must not contain underscores.
(#580) Variable "restored_section" must not contain underscores.
(#582) Variable "overwrite_section" must not contain underscores.
(#582) Variable "restored_section" must not contain underscores.
(#583) Variable "restored_section" must not contain underscores.
(#583) Variable "overwrite_section" must not contain underscores.
(#584) Variable "restored_section" must not contain underscores.
(#584) Variable "overwrite_section" must not contain underscores.
(#585) Variable "restored_section" must not contain underscores.
(#585) Variable "overwrite_section" must not contain underscores.
(#586) Variable "restored_section" must not contain underscores.
(#586) Variable "overwrite_section" must not contain underscores.
(#588) Variable "original_restored_section" must not contain underscores.
(#588) Variable "restored_section" must not contain underscores.
(#591) Inline comments must end in full-stops, exclamation marks, or question marks
(#592) Variable "user_context" must not contain underscores.
(#593) Variable "course_context" must not contain underscores.
(#595) Variable "user_context" must not contain underscores.
(#599) Variable "course_context" must not contain underscores.
(#602) Variable "restored_section" must not contain underscores.
(#657) Inline comments must start with a capital letter, digit or 3-dots sequence
(#657) Inline comments must end in full-stops, exclamation marks, or question marks
(#662) Inline comments must start with a capital letter, digit or 3-dots sequence
(#662) Inline comments must end in full-stops, exclamation marks, or question marks
(#709) Variable "cart_items" must not contain underscores.
(#710) Variable "cart_items" must not contain underscores.
(#710) Variable "cart_item" must not contain underscores.
(#711) Variable "cart_item" must not contain underscores.
(#716) Inline comments must end in full-stops, exclamation marks, or question marks
(#718) Variable "user_context" must not contain underscores.
(#719) Variable "user_context" must not contain underscores.
(#729) Expected 5 space(s) before asterisk; 4 found
(#730) Expected 5 space(s) before asterisk; 4 found
(#731) Expected 5 space(s) before asterisk; 4 found
(#732) Expected 5 space(s) before asterisk; 4 found
(#733) Expected 5 space(s) before asterisk; 4 found
(#734) Expected 5 space(s) before asterisk; 4 found
(#735) Expected 5 space(s) before asterisk; 4 found
(#736) Variable "course_id" must not contain underscores.
(#740) Variable "sql_params" must not contain underscores.
(#742) Inline doc block comments are not allowed; use "// Comment." instead
(#748) Variable "course_id" must not contain underscores.
(#750) Variable "sql_params" must not contain underscores.
(#750) Variable "course_id" must not contain underscores.
(#753) Variable "sql_params" must not contain underscores.
(#772) Variable "section_ids" must not contain underscores.
(#776) Variable "section_ids" must not contain underscores.
(#780) Variable "section_ids" must not contain underscores.
(#780) Variable "section_ids" must not contain underscores.
(#781) Variable "section_ids" must not contain underscores.
(#849) "include_once" must be immediately followed by an open parenthesis
blocks/sharing_cart/classes/exceptions/cannot_find_file_exception.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) 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".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#18) Member variable "context_id" must not contain underscores.
(#21) Member variable "item_id" must not contain underscores.
(#34) Variable "context_id" must not contain underscores.
(#35) Variable "item_id" must not contain underscores.
(#41) Variable "context_id" must not contain underscores.
(#42) Variable "item_id" must not contain underscores.
blocks/sharing_cart/classes/exceptions/no_backup_support_exception.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/sharing_cart/classes/files/cleaner.php
(#43) Expected 1 space before opening brace; found 0
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/sharing_cart/classes/files/file.php
(#35) Expected 1 space before opening brace; found 0
blocks/sharing_cart/classes/module.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/sharing_cart/classes/mysql_logger.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#11) Line indented incorrectly; expected 4 spaces, found 1
(#13) Spaces must be used to indent lines; tabs are not allowed
(#13) Tab found within whitespace
(#13) Line indented incorrectly; expected at least 4 spaces, found 1
(#14) Spaces must be used to indent lines; tabs are not allowed
(#14) Tab found within whitespace
(#14) Line indented incorrectly; expected at least 4 spaces, found 1
(#16) Spaces must be used to indent lines; tabs are not allowed
(#16) Tab found within whitespace
(#16) Line indented incorrectly; expected at least 4 spaces, found 1
(#17) Spaces must be used to indent lines; tabs are not allowed
(#18) Spaces must be used to indent lines; tabs are not allowed
(#19) Spaces must be used to indent lines; tabs are not allowed
(#20) Spaces must be used to indent lines; tabs are not allowed
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Line indented incorrectly; expected 4 spaces, found 1
(#21) Expected 1 space before opening brace; found 0
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 8 spaces, found 2
(#25) Spaces must be used to indent lines; tabs are not allowed
(#25) Tab found within whitespace
(#25) Line indented incorrectly; expected at least 8 spaces, found 2
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected 8 spaces, found 2
(#26) Expected "if (...) {\n"; found "if(...){\n"
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Line indented incorrectly; expected at least 12 spaces, found 3
(#28) Spaces must be used to indent lines; tabs are not allowed
(#28) Tab found within whitespace
(#28) Line indented incorrectly; expected at least 12 spaces, found 3
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected 8 spaces, found 2
(#31) Spaces must be used to indent lines; tabs are not allowed
(#31) Tab found within whitespace
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Line indented incorrectly; expected at least 8 spaces, found 2
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected 8 spaces, found 2
(#32) Expected "if (...) {\n"; found "if(...){\n"
(#33) Spaces must be used to indent lines; tabs are not allowed
(#33) Tab found within whitespace
(#33) Line indented incorrectly; expected at least 12 spaces, found 3
(#35) Spaces must be used to indent lines; tabs are not allowed
(#35) Tab found within whitespace
(#35) Line indented incorrectly; expected at least 12 spaces, found 3
(#35) Variable "xmldb_table" must not contain underscores.
(#37) Spaces must be used to indent lines; tabs are not allowed
(#37) Tab found within whitespace
(#37) Line indented incorrectly; expected at least 12 spaces, found 3
(#37) Variable "xmldb_table" must not contain underscores.
(#38) Spaces must be used to indent lines; tabs are not allowed
(#38) Tab found within whitespace
(#38) Line indented incorrectly; expected at least 12 spaces, found 3
(#38) Variable "xmldb_table" must not contain underscores.
(#40) Spaces must be used to indent lines; tabs are not allowed
(#40) Tab found within whitespace
(#40) Line indented incorrectly; expected at least 12 spaces, found 3
(#40) Variable "xmldb_table" must not contain underscores.
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected at least 12 spaces, found 3
(#41) Variable "xmldb_table" must not contain underscores.
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected at least 12 spaces, found 3
(#43) Variable "xmldb_table" must not contain underscores.
(#44) Spaces must be used to indent lines; tabs are not allowed
(#44) Tab found within whitespace
(#44) Line indented incorrectly; expected at least 12 spaces, found 3
(#44) Variable "xmldb_table" must not contain underscores.
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Line indented incorrectly; expected at least 12 spaces, found 3
(#46) Variable "xmldb_table" must not contain underscores.
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected 8 spaces, found 2
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected 4 spaces, found 1
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 4 spaces, found 1
(#51) Spaces must be used to indent lines; tabs are not allowed
(#52) Spaces must be used to indent lines; tabs are not allowed
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected 4 spaces, found 1
(#53) Expected 1 space before opening brace; found 0
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 8 spaces, found 2
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 8 spaces, found 2
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 4 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 4 spaces, found 1
(#59) Spaces must be used to indent lines; tabs are not allowed
(#60) Spaces must be used to indent lines; tabs are not allowed
(#61) Spaces must be used to indent lines; tabs are not allowed
(#62) Spaces must be used to indent lines; tabs are not allowed
(#63) Spaces must be used to indent lines; tabs are not allowed
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Line indented incorrectly; expected 4 spaces, found 1
(#64) Expected 1 space before opening brace; found 0
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 8 spaces, found 2
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Line indented incorrectly; expected at least 8 spaces, found 2
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 2
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected 8 spaces, found 2
(#69) Expected "if (...) {\n"; found "if(...){\n"
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 12 spaces, found 3
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected 8 spaces, found 2
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected at least 8 spaces, found 2
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected 4 spaces, found 1
(#75) File must end with a newline character
blocks/sharing_cart/classes/privacy/provider.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#82) Inline comments must end in full-stops, exclamation marks, or question marks
(#105) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#165) Variable "root_data_path" must not contain underscores.
(#168) Inline comments must end in full-stops, exclamation marks, or question marks
(#188) Inline comments must end in full-stops, exclamation marks, or question marks
(#193) Variable "root_data_path" must not contain underscores.
(#196) Inline comments must end in full-stops, exclamation marks, or question marks
(#198) Variable "root_data_path" must not contain underscores.
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Variable "user_sql" must not contain underscores.
(#227) Variable "user_params" must not contain underscores.
(#231) Variable "user_sql" must not contain underscores.
(#232) Variable "user_params" must not contain underscores.
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#237) Variable "in_sql" must not contain underscores.
(#237) Variable "in_params" must not contain underscores.
(#238) Variable "in_sql" must not contain underscores.
(#238) Variable "in_params" must not contain underscores.
(#241) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Variable "user_sql" must not contain underscores.
(#242) Variable "user_params" must not contain underscores.
blocks/sharing_cart/classes/record.php
(#62) Inline comments must start with a capital letter, digit or 3-dots sequence
(#62) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must start with a capital letter, digit or 3-dots sequence
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#154) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/sharing_cart/classes/renderer.php
(#46) Variable "requirede_capabilities" must not contain underscores.
(#50) Variable "requirede_capabilities" must not contain underscores.
(#54) Variable "requirede_capabilities" must not contain underscores.
(#56) Variable "missing_key" must not contain underscores.
(#56) Variable "requirede_capabilities" must not contain underscores.
(#60) Variable "missing_key" must not contain underscores.
(#62) Variable "requirede_capabilities" must not contain underscores.
(#91) Inline comments must start with a capital letter, digit or 3-dots sequence
(#91) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Whitespace found at end of line within string
(#165) Line exceeds 132 characters; contains 146 characters
(#194) global $OUTPUT cannot be used in renderers. Use $this->output.
(#196) Expected "if (...) {\n"; found "if(...) {\n"
(#197) Line exceeds maximum limit of 180 characters; contains 200 characters
(#200) global $OUTPUT cannot be used in renderers. Use $this->output.
(#202) Inline comments must start with a capital letter, digit or 3-dots sequence
(#205) global $OUTPUT cannot be used in renderers. Use $this->output.
(#207) global $OUTPUT cannot be used in renderers. Use $this->output.
blocks/sharing_cart/classes/repositories/course_repository.php
(#46) Expected 1 space before opening brace; found 0
(#57) Variable "course_ids" must not contain underscores.
(#58) Variable "course_ids" must not contain underscores.
(#68) Variable "default_name" must not contain underscores.
(#74) Variable "in_sql" must not contain underscores.
(#75) Variable "in_sql" must not contain underscores.
(#79) Variable "default_name" must not contain underscores.
blocks/sharing_cart/classes/required_capabilities.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) 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".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#21) Spaces must be used to indent lines; tabs are not allowed
(#21) Tab found within whitespace
(#21) Line indented incorrectly; expected at least 4 spaces, found 1
(#21) Member variable "required_capabilities" must not contain underscores.
(#23) Spaces must be used to indent lines; tabs are not allowed
(#23) Tab found within whitespace
(#23) Line indented incorrectly; expected at least 4 spaces, found 1
(#24) Spaces must be used to indent lines; tabs are not allowed
(#24) Tab found within whitespace
(#24) Line indented incorrectly; expected at least 4 spaces, found 1
(#24) Member variable "missing_capabilities" must not contain underscores.
(#26) Spaces must be used to indent lines; tabs are not allowed
(#26) Tab found within whitespace
(#26) Line indented incorrectly; expected at least 4 spaces, found 1
(#27) Spaces must be used to indent lines; tabs are not allowed
(#27) Tab found within whitespace
(#27) Line indented incorrectly; expected at least 4 spaces, found 1
(#27) Member variable "total_capabilities_missing" must not contain underscores.
(#29) Spaces must be used to indent lines; tabs are not allowed
(#29) Tab found within whitespace
(#29) Line indented incorrectly; expected at least 4 spaces, found 1
(#30) Spaces must be used to indent lines; tabs are not allowed
(#30) Tab found within whitespace
(#30) Line indented incorrectly; expected at least 4 spaces, found 1
(#30) Member variable "disallowed_actions" must not contain underscores.
(#32) Spaces must be used to indent lines; tabs are not allowed
(#32) Tab found within whitespace
(#32) Line indented incorrectly; expected at least 4 spaces, found 1
(#33) Spaces must be used to indent lines; tabs are not allowed
(#34) Spaces must be used to indent lines; tabs are not allowed
(#35) Spaces must be used to indent lines; tabs are not allowed
(#36) Spaces must be used to indent lines; tabs are not allowed
(#37) Spaces must be used to indent lines; tabs are not allowed
(#38) Spaces must be used to indent lines; tabs are not allowed
(#39) Spaces must be used to indent lines; tabs are not allowed
(#39) Tab found within whitespace
(#39) Line indented incorrectly; expected 4 spaces, found 1
(#39) Variable "required_capabilities" must not contain underscores.
(#41) Spaces must be used to indent lines; tabs are not allowed
(#41) Tab found within whitespace
(#41) Line indented incorrectly; expected 8 spaces, found 2
(#41) Variable "required_capabilities" must not contain underscores.
(#42) Spaces must be used to indent lines; tabs are not allowed
(#42) Tab found within whitespace
(#42) Line indented incorrectly; expected at least 12 spaces, found 3
(#43) Spaces must be used to indent lines; tabs are not allowed
(#43) Tab found within whitespace
(#43) Line indented incorrectly; expected 8 spaces, found 2
(#45) Spaces must be used to indent lines; tabs are not allowed
(#45) Tab found within whitespace
(#45) Line indented incorrectly; expected at least 8 spaces, found 2
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 8 spaces, found 2
(#47) Variable "course_context" must not contain underscores.
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Line indented incorrectly; expected 8 spaces, found 2
(#48) Variable "required_capabilities" must not contain underscores.
(#48) Variable "required_capability" must not contain underscores.
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected 12 spaces, found 3
(#50) Variable "required_capability" must not contain underscores.
(#50) Variable "course_context" must not contain underscores.
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected at least 16 spaces, found 4
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 12 spaces, found 3
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected at least 12 spaces, found 3
(#54) Variable "required_capability" must not contain underscores.
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 12 spaces, found 3
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 12 spaces, found 3
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 16 spaces, found 4
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected 12 spaces, found 3
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Line indented incorrectly; expected at least 12 spaces, found 3
(#62) Spaces must be used to indent lines; tabs are not allowed
(#62) Tab found within whitespace
(#62) Line indented incorrectly; expected 8 spaces, found 2
(#63) Spaces must be used to indent lines; tabs are not allowed
(#63) Tab found within whitespace
(#63) Line indented incorrectly; expected 4 spaces, found 1
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 4 spaces, found 1
(#66) Spaces must be used to indent lines; tabs are not allowed
(#67) Spaces must be used to indent lines; tabs are not allowed
(#68) Spaces must be used to indent lines; tabs are not allowed
(#69) Spaces must be used to indent lines; tabs are not allowed
(#70) Spaces must be used to indent lines; tabs are not allowed
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected 4 spaces, found 1
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected at least 8 spaces, found 2
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 4 spaces, found 1
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 4 spaces, found 1
(#76) Spaces must be used to indent lines; tabs are not allowed
(#77) Spaces must be used to indent lines; tabs are not allowed
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Line indented incorrectly; expected 4 spaces, found 1
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 8 spaces, found 2
(#80) Spaces must be used to indent lines; tabs are not allowed
(#80) Tab found within whitespace
(#80) Line indented incorrectly; expected 4 spaces, found 1
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 4 spaces, found 1
(#83) Spaces must be used to indent lines; tabs are not allowed
(#84) Spaces must be used to indent lines; tabs are not allowed
(#85) Spaces must be used to indent lines; tabs are not allowed
(#85) Tab found within whitespace
(#85) Line indented incorrectly; expected 4 spaces, found 1
(#86) Spaces must be used to indent lines; tabs are not allowed
(#86) Tab found within whitespace
(#86) Line indented incorrectly; expected at least 8 spaces, found 2
(#87) Spaces must be used to indent lines; tabs are not allowed
(#87) Tab found within whitespace
(#87) Line indented incorrectly; expected 4 spaces, found 1
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected at least 4 spaces, found 1
(#90) Spaces must be used to indent lines; tabs are not allowed
(#91) Spaces must be used to indent lines; tabs are not allowed
(#92) Spaces must be used to indent lines; tabs are not allowed
(#92) Tab found within whitespace
(#92) Line indented incorrectly; expected 4 spaces, found 1
(#93) Spaces must be used to indent lines; tabs are not allowed
(#93) Tab found within whitespace
(#93) Line indented incorrectly; expected at least 8 spaces, found 2
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected 4 spaces, found 1
blocks/sharing_cart/classes/section.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) Line 7 of the opening comment must start "//".
(#4) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#4) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#5) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#5) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#29) Variable "course_id" must not contain underscores.
(#29) Variable "section_number" must not contain underscores.
(#32) Variable "course_id" must not contain underscores.
(#36) Variable "section_number" must not contain underscores.
(#42) Variable "course_id" must not contain underscores.
(#43) Variable "section_number" must not contain underscores.
(#57) Variable "course_id" must not contain underscores.
(#58) Variable "course_id" must not contain underscores.
(#60) Variable "course_id" must not contain underscores.
blocks/sharing_cart/classes/section_title_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Member variable "items_count" must not contain underscores.
(#38) Variable "eligible_sections" must not contain underscores.
(#38) Variable "items_count" must not contain underscores.
(#38) Line exceeds 132 characters; contains 147 characters
(#43) Variable "eligible_sections" must not contain underscores.
(#44) Variable "items_count" must not contain underscores.
(#49) Variable "current_section_name" must not contain underscores.
(#65) Variable "current_section_name" must not contain underscores.
(#67) Variable "option_title" must not contain underscores.
(#69) Variable "option_title" must not contain underscores.
(#73) Variable "option_title" must not contain underscores.
blocks/sharing_cart/classes/storage.php
(#114) Expected "try {\n...} catch (...) {\n"; found "try {\n...}\n catch (...) {\n"
(#118) Empty CATCH statement detected
(#118) Empty CATCH statement must have a comment to explain why the exception is not handled
blocks/sharing_cart/classes/tests/sharing_chart_test_tools.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) 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".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#54) Variable "module_name" must not contain underscores.
(#55) Variable "module_name" must not contain underscores.
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/sharing_cart/db/upgrade.php
(#126) Inline comments must end in full-stops, exclamation marks, or question marks
(#131) Variable "field_name" must not contain underscores.
(#132) Variable "field_summary" must not contain underscores.
(#133) Variable "field_summaryformat" must not contain underscores.
(#133) Line exceeds 132 characters; contains 133 characters
(#135) Variable "field_name" must not contain underscores.
(#136) Variable "field_name" must not contain underscores.
(#138) Variable "field_summary" must not contain underscores.
(#139) Variable "field_summary" must not contain underscores.
(#141) Variable "field_summaryformat" must not contain underscores.
(#142) Variable "field_summaryformat" must not contain underscores.
(#153) Variable "field_availability" must not contain underscores.
(#154) Variable "field_availability" must not contain underscores.
(#155) Variable "field_availability" must not contain underscores.
blocks/sharing_cart/lang/es/block_sharing_cart.php
(#30) Whitespace found at end of line within string
blocks/sharing_cart/lib/settingslib.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#88) Line exceeds 132 characters; contains 167 characters
(#88) Inline comments must start with a capital letter, digit or 3-dots sequence
(#88) This comment is 59% valid code; is this commented out code?
(#88) Expected 1 space before comment text but found 12; use block comment if you need indentation
(#89) Expected 1 space before comment text but found 16; use block comment if you need indentation
(#106) Inline comments must start with a capital letter, digit or 3-dots sequence
(#106) Inline comments must end in full-stops, exclamation marks, or question marks
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) This comment is 44% valid code; is this commented out code?
blocks/sharing_cart/rest.php
(#18) Inline doc block comments are not allowed; use "// Comment." instead
(#30) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
(#30) "require_once" must be immediately followed by an open parenthesis
(#79) Variable "item_id" must not contain underscores.
(#80) Variable "folder_to" must not contain underscores.
(#81) Variable "item_id" must not contain underscores.
(#81) Variable "folder_to" must not contain underscores.
(#84) Variable "item_id" must not contain underscores.
(#85) Variable "area_to" must not contain underscores.
(#86) Variable "item_id" must not contain underscores.
(#86) Variable "area_to" must not contain underscores.
(#107) Spaces must be used to indent lines; tabs are not allowed
(#107) Tab found within whitespace
(#107) Line indented incorrectly; expected at least 4 spaces, found 1
(#121) Spaces must be used to indent lines; tabs are not allowed
(#121) Tab found within whitespace
(#121) Line indented incorrectly; expected at least 4 spaces, found 1
(#121) Inline doc block comments are not allowed; use "// Comment." instead
(#122) Spaces must be used to indent lines; tabs are not allowed
(#123) Spaces must be used to indent lines; tabs are not allowed
(#124) Expected "if (...) {\n"; found "if(...){\n"
(#125) Spaces must be used to indent lines; tabs are not allowed
(#125) Tab found within whitespace
(#125) Line indented incorrectly; expected 8 spaces, found 5
(#125) Expected "try {\n...} catch (...) {\n"; found "try{\n...}\n\t catch(...){"
(#126) Spaces must be used to indent lines; tabs are not allowed
(#126) Tab found within whitespace
(#126) Line indented incorrectly; expected at least 12 spaces, found 6
(#127) Spaces must be used to indent lines; tabs are not allowed
(#127) Tab found within whitespace
(#127) Line indented incorrectly; expected at least 12 spaces, found 6
(#128) Spaces must be used to indent lines; tabs are not allowed
(#128) Tab found within whitespace
(#128) Line indented incorrectly; expected 8 spaces, found 5
(#129) Spaces must be used to indent lines; tabs are not allowed
(#129) Tab found within whitespace
(#129) Line indented incorrectly; expected 8 spaces, found 5
(#129) Empty CATCH statement detected
(#129) Empty CATCH statement must have a comment to explain why the exception is not handled
(#129) Closing brace must be on a line by itself
blocks/sharing_cart/restore.php
(#28) "require_once" must be immediately followed by an open parenthesis
(#43) Variable "in_section" must not contain underscores.
(#51) Variable "in_section" must not contain underscores.
(#69) Variable "use_sc_section" must not contain underscores.
(#77) Variable "items_count" must not contain underscores.
(#79) Variable "use_sc_section" must not contain underscores.
(#82) Variable "dest_section" must not contain underscores.
(#91) Variable "in_section" must not contain underscores.
(#96) Object operator not indented correctly; expected 20 spaces but found 24
(#98) Object operator not indented correctly; expected 20 spaces but found 24
(#99) Object operator not indented correctly; expected 20 spaces but found 24
(#104) Variable "items_count" must not contain underscores.
(#111) Variable "use_sc_section" must not contain underscores.
(#114) Variable "use_sc_section" must not contain underscores.
(#115) Variable "use_sc_section" must not contain underscores.
(#124) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#127) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#129) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
blocks/sharing_cart/settings.php
(#27) "require_once" must be immediately followed by an open parenthesis
(#29) Inline doc block comments are not allowed; use "// Comment." instead
blocks/sharing_cart/tests/controller_test.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#25) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#36) 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
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#76) Inline comments must end in full-stops, exclamation marks, or question marks
(#87) Inline comments must end in full-stops, exclamation marks, or question marks
(#90) Inline comments must end in full-stops, exclamation marks, or question marks
(#93) Inline comments must end in full-stops, exclamation marks, or question marks
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#111) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Inline comments must end in full-stops, exclamation marks, or question marks
(#151) Variable "copied_labels" must not contain underscores.
(#152) Variable "copied_assignments" must not contain underscores.
(#180) Variable "new_course" must not contain underscores.
(#181) Variable "new_course" must not contain underscores.
(#183) Variable "course_modules" must not contain underscores.
(#183) Variable "new_course" must not contain underscores.
(#184) Variable "course_modules" must not contain underscores.
(#188) Variable "new_course" must not contain underscores.
(#190) Expected "} else {\n"; found "}\n else {\n"
(#191) Variable "new_course" must not contain underscores.
(#195) Variable "new_course_modules" must not contain underscores.
(#195) Variable "new_course" must not contain underscores.
(#196) Variable "new_course_modules" must not contain underscores.
(#198) Variable "exclude_properties" must not contain underscores.
(#204) Variable "new_course_modules" must not contain underscores.
(#204) Variable "new_module" must not contain underscores.
(#206) Variable "new_module" must not contain underscores.
(#222) Variable "new_module" must not contain underscores.
(#222) Variable "exclude_properties" must not contain underscores.
(#246) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Variable "sharing_cart_assignment" must not contain underscores.
(#255) Variable "sharing_cart_forum" must not contain underscores.
(#256) Variable "sharing_cart_label" must not contain underscores.
(#259) Inline comments must end in full-stops, exclamation marks, or question marks
(#260) Variable "sharing_cart_forum" must not contain underscores.
(#262) Variable "weight_assignment" must not contain underscores.
(#262) Variable "sharing_cart_assignment" must not contain underscores.
(#263) Variable "weight_forum" must not contain underscores.
(#263) Variable "sharing_cart_forum" must not contain underscores.
(#264) Variable "weight_label" must not contain underscores.
(#264) Variable "sharing_cart_label" must not contain underscores.
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#267) Variable "weight_assignment" must not contain underscores.
(#267) Variable "weight_label" must not contain underscores.
(#267) Variable "weight_label" must not contain underscores.
(#267) Variable "weight_forum" must not contain underscores.
(#270) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Variable "sharing_cart_label" must not contain underscores.
(#271) Variable "sharing_cart_assignment" must not contain underscores.
(#273) Variable "weight_assignment" must not contain underscores.
(#273) Variable "sharing_cart_assignment" must not contain underscores.
(#274) Variable "weight_forum" must not contain underscores.
(#274) Variable "sharing_cart_forum" must not contain underscores.
(#275) Variable "weight_label" must not contain underscores.
(#275) Variable "sharing_cart_label" must not contain underscores.
(#277) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) Variable "weight_label" must not contain underscores.
(#278) Variable "weight_assignment" must not contain underscores.
(#278) Variable "weight_assignment" must not contain underscores.
(#278) Variable "weight_forum" must not contain underscores.
(#281) Inline comments must end in full-stops, exclamation marks, or question marks
(#282) Variable "sharing_cart_forum" must not contain underscores.
(#282) Variable "sharing_cart_label" must not contain underscores.
(#283) Inline comments must start with a capital letter, digit or 3-dots sequence
(#283) Inline comments must end in full-stops, exclamation marks, or question marks
(#284) Variable "sharing_cart_assignment" must not contain underscores.
(#284) Variable "sharing_cart_label" must not contain underscores.
(#286) Variable "weight_assignment" must not contain underscores.
(#286) Variable "sharing_cart_assignment" must not contain underscores.
(#287) Variable "weight_forum" must not contain underscores.
(#287) Variable "sharing_cart_forum" must not contain underscores.
(#288) Variable "weight_label" must not contain underscores.
(#288) Variable "sharing_cart_label" must not contain underscores.
(#290) Inline comments must end in full-stops, exclamation marks, or question marks
(#291) Variable "weight_forum" must not contain underscores.
(#291) Variable "weight_assignment" must not contain underscores.
(#291) Variable "weight_assignment" must not contain underscores.
(#291) Variable "weight_label" must not contain underscores.
(#293) Inline comments must end in full-stops, exclamation marks, or question marks
(#294) Variable "sharing_cart_label" must not contain underscores.
(#296) Variable "section_label" must not contain underscores.
(#296) Variable "sharing_cart_label" must not contain underscores.
(#297) Variable "section_label" must not contain underscores.
(#299) Inline comments must end in full-stops, exclamation marks, or question marks
(#300) Variable "sharing_cart_label" must not contain underscores.
(#302) Variable "section_label" must not contain underscores.
(#302) Variable "sharing_cart_label" must not contain underscores.
(#303) Variable "section_label" must not contain underscores.
(#324) Inline comments must end in full-stops, exclamation marks, or question marks
(#327) Variable "entities_no_folder" must not contain underscores.
(#328) Variable "entities_with_folder" must not contain underscores.
(#330) Inline comments must end in full-stops, exclamation marks, or question marks
(#331) Variable "entities_no_folder" must not contain underscores.
(#333) Inline comments must end in full-stops, exclamation marks, or question marks
(#334) Variable "entities_with_folder" must not contain underscores.
(#336) Variable "entities_no_folder" must not contain underscores.
(#340) Variable "entities_no_folder" must not contain underscores.
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#342) Variable "entities_no_folder" must not contain underscores.
(#345) Variable "entities_with_folder" must not contain underscores.
(#346) Inline comments must end in full-stops, exclamation marks, or question marks
(#347) Variable "entities_with_folder" must not contain underscores.
(#355) Variable "exclude_properties" must not contain underscores.
(#356) Variable "obj_a" must not contain underscores.
(#357) Variable "obj_b" must not contain underscores.
(#358) Variable "obj_a" must not contain underscores.
(#358) Variable "obj_b" must not contain underscores.
(#360) Variable "obj_a" must not contain underscores.
(#361) Variable "exclude_properties" must not contain underscores.
(#364) Variable "obj_b" must not contain underscores.
(#364) Variable "obj_b" must not contain underscores.
blocks/sharing_cart/tests/course_repository_test.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) 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".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#48) Variable "actual_course_fullnames" must not contain underscores.
(#49) Variable "expect_course_fullnames" must not contain underscores.
(#54) Variable "actual_course_fullnames" must not contain underscores.
(#55) Variable "expect_course_fullnames" must not contain underscores.
(#57) Variable "expect_course_fullnames" must not contain underscores.
(#57) Variable "actual_course_fullnames" must not contain underscores.
(#72) Variable "actual_course_fullnames" must not contain underscores.
(#74) Variable "actual_course_fullnames" must not contain underscores.
blocks/sharing_cart/tests/db_test.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#12) Member variable "junk_tables" must not contain underscores.
(#42) Variable "old_column_names" must not contain underscores.
(#44) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Variable "old_column_names" must not contain underscores.
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Variable "new_column_names" must not contain underscores.
(#63) Variable "new_column_names" must not contain underscores.
(#71) Line exceeds 132 characters; contains 170 characters
(#78) Inline comments must end in full-stops, exclamation marks, or question marks
(#79) Variable "working_table" must not contain underscores.
(#86) Variable "working_table" must not contain underscores.
(#86) Variable "working_table" must not contain underscores.
(#87) Variable "working_table" must not contain underscores.
(#97) Expected 1 space after asterisk; 0 found
(#104) Variable "field_name" must not contain underscores.
(#105) Variable "field_summary" must not contain underscores.
(#106) Variable "field_summaryformat" must not contain underscores.
(#108) Variable "field_name" must not contain underscores.
(#109) Variable "field_name" must not contain underscores.
(#111) Variable "field_summary" must not contain underscores.
(#112) Variable "field_summary" must not contain underscores.
(#114) Variable "field_summaryformat" must not contain underscores.
(#115) Variable "field_summaryformat" must not contain underscores.
(#127) Variable "table_name" must not contain underscores.
(#128) Variable "table_name" must not contain underscores.
(#129) Variable "table_name" must not contain underscores.
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Variable "table_name" must not contain underscores.
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#141) Inline comments must end in full-stops, exclamation marks, or question marks
(#161) Variable "field_name" must not contain underscores.
(#162) Variable "field_name" must not contain underscores.
(#164) Variable "field_name" must not contain underscores.
(#166) Variable "field_name" must not contain underscores.
(#188) Variable "exist_tables" must not contain underscores.
(#191) Variable "exist_tables" must not contain underscores.
(#195) Variable "exist_tables" must not contain underscores.
(#196) Variable "exist_tables" must not contain underscores.
(#228) Variable "first_letter" must not contain underscores.
(#230) Variable "first_letter" must not contain underscores.
blocks/sharing_cart/tests/privacy_test.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Variable "user1_context" must not contain underscores.
(#60) Variable "user2_context" must not contain underscores.
(#67) Variable "user1_context" must not contain underscores.
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Inline comments must end in full-stops, exclamation marks, or question marks
(#80) Variable "user2_context" must not contain underscores.
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Inline comments must end in full-stops, exclamation marks, or question marks
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#122) Inline comments must end in full-stops, exclamation marks, or question marks
(#123) Variable "root_cm_names" must not contain underscores.
(#126) Variable "section1_cm_names" must not contain underscores.
(#129) Variable "section2_cm_names" must not contain underscores.
(#134) Inline comments must end in full-stops, exclamation marks, or question marks
(#137) Variable "root_name" must not contain underscores.
(#139) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must end in full-stops, exclamation marks, or question marks
(#146) Inline comments must end in full-stops, exclamation marks, or question marks
(#147) Variable "section1_name" must not contain underscores.
(#148) Variable "section2_name" must not contain underscores.
(#149) Variable "section2_name_copy" must not contain underscores.
(#149) Variable "section2_name" must not contain underscores.
(#151) Variable "data_root" must not contain underscores.
(#151) Variable "root_name" must not contain underscores.
(#152) Variable "data_section1" must not contain underscores.
(#152) Variable "root_name" must not contain underscores.
(#152) Variable "section1_name" must not contain underscores.
(#153) Variable "data_section2" must not contain underscores.
(#153) Variable "root_name" must not contain underscores.
(#153) Variable "section2_name" must not contain underscores.
(#154) Variable "data_section2_copy" must not contain underscores.
(#154) Variable "root_name" must not contain underscores.
(#154) Variable "section2_name_copy" must not contain underscores.
(#156) Inline comments must end in full-stops, exclamation marks, or question marks
(#157) Variable "data_root" must not contain underscores.
(#158) Variable "data_section1" must not contain underscores.
(#159) Variable "data_section2" must not contain underscores.
(#160) Variable "data_section2_copy" must not contain underscores.
(#162) Variable "data_root" must not contain underscores.
(#164) Variable "root_cm_names" must not contain underscores.
(#167) Variable "data_section1" must not contain underscores.
(#169) Variable "section1_cm_names" must not contain underscores.
(#172) Variable "data_section2" must not contain underscores.
(#174) Variable "section2_cm_names" must not contain underscores.
(#177) Variable "data_section2_copy" must not contain underscores.
(#179) Variable "section2_cm_names" must not contain underscores.
(#221) Inline comments must end in full-stops, exclamation marks, or question marks
(#224) Inline comments must end in full-stops, exclamation marks, or question marks
(#225) Variable "section1_assign1" must not contain underscores.
(#226) Variable "section2_assign1" must not contain underscores.
(#227) Variable "section2_assign2" must not contain underscores.
(#228) Variable "section3_assign1" must not contain underscores.
(#229) Variable "section3_assign2" must not contain underscores.
(#230) Variable "section3_assign3" must not contain underscores.
(#231) Variable "section4_assign1" must not contain underscores.
(#232) Variable "section4_assign2" must not contain underscores.
(#233) Variable "section4_assign3" must not contain underscores.
(#234) Variable "section4_assign4" must not contain underscores.
(#236) Inline comments must end in full-stops, exclamation marks, or question marks
(#242) Inline comments must end in full-stops, exclamation marks, or question marks
(#248) Inline comments must end in full-stops, exclamation marks, or question marks
(#254) Inline comments must end in full-stops, exclamation marks, or question marks
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#272) Inline comments must end in full-stops, exclamation marks, or question marks
(#279) Inline comments must end in full-stops, exclamation marks, or question marks
(#286) Inline comments must end in full-stops, exclamation marks, or question marks
(#287) Variable "user2_data" must not contain underscores.
(#288) Variable "user4_data" must not contain underscores.
(#289) Variable "user2_data" must not contain underscores.
(#290) Variable "user4_data" must not contain underscores.
(#292) Inline comments must end in full-stops, exclamation marks, or question marks
(#309) Inline comments must end in full-stops, exclamation marks, or question marks
(#316) Inline comments must start with a capital letter, digit or 3-dots sequence
(#316) Inline comments must end in full-stops, exclamation marks, or question marks
(#322) Inline comments must end in full-stops, exclamation marks, or question marks
(#323) Variable "user2_data" must not contain underscores.
(#324) Variable "user4_data" must not contain underscores.
(#325) Variable "user2_data" must not contain underscores.
(#326) Variable "user4_data" must not contain underscores.
(#350) Inline comments must end in full-stops, exclamation marks, or question marks
(#354) Inline comments must end in full-stops, exclamation marks, or question marks
(#359) Commas (,) must be followed by white space.
(#359) Commas (,) must be followed by white space.
(#360) Inline comments must end in full-stops, exclamation marks, or question marks
(#363) Inline comments must end in full-stops, exclamation marks, or question marks
(#367) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Commas (,) must be followed by white space.
(#370) Inline comments must end in full-stops, exclamation marks, or question marks
(#373) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#382) Inline comments must end in full-stops, exclamation marks, or question marks
(#392) Inline comments must end in full-stops, exclamation marks, or question marks
(#396) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) Inline comments must end in full-stops, exclamation marks, or question marks
(#423) Variable "section_record" must not contain underscores.
(#428) Inline comments must end in full-stops, exclamation marks, or question marks
(#429) Variable "section_record" must not contain underscores.
(#433) Variable "section_name" must not contain underscores.
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#437) Variable "section_record" must not contain underscores.
(#437) Variable "section_name" must not contain underscores.
(#439) Variable "section_name" must not contain underscores.
(#472) File must end with a newline character
blocks/sharing_cart/tests/storage_test.php
(#2) Line 1 of the opening comment must start "// This file is part of".
(#2) Line 2 of the opening comment must start "//".
(#3) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#3) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#3) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#3) Line 6 of the opening comment must start "// (at your option) any later version.".
(#3) 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".
(#4) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#4) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#4) Line 12 of the opening comment must start "//".
(#4) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#4) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#36) Variable "file_storage" must not contain underscores.
(#37) Variable "expected_file" must not contain underscores.
(#37) Variable "file_storage" must not contain underscores.
(#43) Variable "actual_file" must not contain underscores.
(#45) Variable "expected_file" must not contain underscores.
(#45) Variable "actual_file" must not contain underscores.
(#46) Variable "actual_file" must not contain underscores.
(#47) Variable "actual_file" must not contain underscores.
(#56) Variable "user_id" must not contain underscores.
(#57) Variable "user_id" must not contain underscores.
(#58) Variable "occupied_names" must not contain underscores.
(#60) Expected "do {\n...} while (...);\n"; found "do {\n...}\n while (...);\n"
(#66) Variable "occupied_names" must not contain underscores.
blocks/sharing_cart/version.php
(#30) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(2 errors, 275 warnings)

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

blocks/sharing_cart/amd/src/bulkdelete.js
(#13) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#13) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#18) Missing JSDoc parameter type for 'object'. (valid-jsdoc)
(#20) Identifier 'confirm_modal' is not in camel case. (camelcase)
(#45) Identifier 'get_checks' is not in camel case. (camelcase)
(#52) Missing JSDoc parameter type for 'check'. (valid-jsdoc)
(#54) Identifier 'check_all' is not in camel case. (camelcase)
(#65) Identifier 'delete_checked' is not in camel case. (camelcase)
(#67) Identifier 'checked_checkbox' is not in camel case. (camelcase)
(#69) Expected to return a value at the end of function. (consistent-return)
(#71) Identifier 'checked_checkbox' is not in camel case. (camelcase)
(#76) Identifier 'delete_checked' is not in camel case. (camelcase)
(#76) Identifier 'checked_checkbox' is not in camel case. (camelcase)
(#98) Identifier 'modal_body' is not in camel case. (camelcase)
(#99) Identifier 'selected_input' is not in camel case. (camelcase)
(#102) Identifier 'modal_body' is not in camel case. (camelcase)
(#104) Identifier 'modal_body' is not in camel case. (camelcase)
(#108) Identifier 'modal_body' is not in camel case. (camelcase)
blocks/sharing_cart/amd/src/script.js
(#36) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#36) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#46) Identifier 'get_action_url' is not in camel case. (camelcase)
(#61) Missing JSDoc parameter type for 'obj'. (valid-jsdoc)
(#63) Identifier 'confirm_modal' is not in camel case. (camelcase)
(#105) Missing JSDoc parameter type for '$section'. (valid-jsdoc)
(#108) Identifier 'in_place_edit_section_name' is not in camel case. (camelcase)
(#118) Missing JSDoc parameter type for 'post_data'. (valid-jsdoc)
(#119) Missing JSDoc parameter type for 'title_str'. (valid-jsdoc)
(#120) Missing JSDoc parameter type for 'body_str'. (valid-jsdoc)
(#121) Missing JSDoc parameter type for 'isSection'. (valid-jsdoc)
(#123) Identifier 'on_backup_modal' is not in camel case. (camelcase)
(#123) Identifier 'post_data' is not in camel case. (camelcase)
(#123) Identifier 'title_str' is not in camel case. (camelcase)
(#123) Identifier 'body_str' is not in camel case. (camelcase)
(#124) Identifier 'on_success' is not in camel case. (camelcase)
(#141) Identifier 'title_str' is not in camel case. (camelcase)
(#142) Identifier 'body_str' is not in camel case. (camelcase)
(#147) Identifier 'post_data' is not in camel case. (camelcase)
(#147) Identifier 'post_data' is not in camel case. (camelcase)
(#147) Identifier 'post_data' is not in camel case. (camelcase)
(#149) Identifier 'post_data' is not in camel case. (camelcase)
(#203) Identifier 'is_frontpage' is not in camel case. (camelcase)
(#211) Identifier 'show_error' is not in camel case. (camelcase)
(#231) Identifier 'verify_layout' is not in camel case. (camelcase)
(#238) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#239) Missing JSDoc parameter type for 'value'. (valid-jsdoc)
(#240) Missing JSDoc parameter type for 'expireTimeInMillisecond'. (valid-jsdoc)
(#251) Missing JSDoc parameter type for 'param'. (valid-jsdoc)
(#259) Missing JSDoc @returns for function. (valid-jsdoc)
(#265) Identifier 'create_command' is not in camel case. (camelcase)
(#281) Missing JSDoc parameter type for '$node'. (valid-jsdoc)
(#284) Identifier 'add_spinner' is not in camel case. (camelcase)
(#292) Missing JSDoc parameter type for '$node'. (valid-jsdoc)
(#295) Identifier 'add_node_spinner' is not in camel case. (camelcase)
(#296) Identifier '$node_spinner' is not in camel case. (camelcase)
(#298) Identifier '$node_spinner' is not in camel case. (camelcase)
(#309) Identifier 'reload_tree' is not in camel case. (camelcase)
(#337) Identifier '$node_spinner' is not in camel case. (camelcase)
(#354) Identifier '$node_spinner' is not in camel case. (camelcase)
(#367) Identifier 'backup_section' is not in camel case. (camelcase)
(#381) Identifier '$node_spinner' is not in camel case. (camelcase)
(#401) Identifier '$node_spinner' is not in camel case. (camelcase)
(#418) Missing JSDoc comment. (require-jsdoc)
(#424) Missing JSDoc comment. (require-jsdoc)
(#431) Missing JSDoc comment. (require-jsdoc)
(#474) Identifier 'move_targets' is not in camel case. (camelcase)
(#500) Expected JSDoc for 'item_id' but found 'id'. (valid-jsdoc)
(#502) Identifier 'item_id' is not in camel case. (camelcase)
(#505) Missing JSDoc comment. (require-jsdoc)
(#508) Identifier 'item_id' is not in camel case. (camelcase)
(#509) Identifier 'area_to' is not in camel case. (camelcase)
(#515) Identifier 'item_id' is not in camel case. (camelcase)
(#516) Identifier 'area_to' is not in camel case. (camelcase)
(#530) Identifier 'item_id' is not in camel case. (camelcase)
(#534) Identifier 'next_id' is not in camel case. (camelcase)
(#536) Identifier 'next_id' is not in camel case. (camelcase)
(#541) Missing JSDoc parameter type for 'item_id'. (valid-jsdoc)
(#542) Missing JSDoc parameter type for 'area_to'. (valid-jsdoc)
(#545) Identifier 'create_target' is not in camel case. (camelcase)
(#545) Identifier 'item_id' is not in camel case. (camelcase)
(#545) Identifier 'area_to' is not in camel case. (camelcase)
(#547) Identifier 'item_id' is not in camel case. (camelcase)
(#547) Identifier 'area_to' is not in camel case. (camelcase)
(#566) Identifier 'item_id' is not in camel case. (camelcase)
(#569) Identifier 'move_targets' is not in camel case. (camelcase)
(#577) Identifier 'next_id' is not in camel case. (camelcase)
(#596) Identifier 'restore_targets' is not in camel case. (camelcase)
(#597) Identifier 'is_directory' is not in camel case. (camelcase)
(#609) Missing JSDoc comment. (require-jsdoc)
(#609) Identifier 'create_target' is not in camel case. (camelcase)
(#613) Identifier 'restore_targets' is not in camel case. (camelcase)
(#726) Identifier 'get_plugin_name' is not in camel case. (camelcase)
(#744) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#745) Missing JSDoc parameter type for 'activityName'. (valid-jsdoc)
(#747) Identifier 'on_backup' is not in camel case. (camelcase)
(#775) Identifier 'on_movedir' is not in camel case. (camelcase)
(#778) Identifier '$current_dir' is not in camel case. (camelcase)
(#779) Identifier 'current_path' is not in camel case. (camelcase)
(#779) Identifier '$current_dir' is not in camel case. (camelcase)
(#779) Identifier '$current_dir' is not in camel case. (camelcase)
(#781) Identifier 'item_id' is not in camel case. (camelcase)
(#792) Missing JSDoc comment. (require-jsdoc)
(#793) Identifier 'folder_to' is not in camel case. (camelcase)
(#798) Identifier 'item_id' is not in camel case. (camelcase)
(#799) Identifier 'folder_to' is not in camel case. (camelcase)
(#863) Identifier 'on_move' is not in camel case. (camelcase)
(#867) Identifier 'move_targets' is not in camel case. (camelcase)
(#875) Identifier 'on_delete' is not in camel case. (camelcase)
(#882) Identifier 'description_text' is not in camel case. (camelcase)
(#887) Identifier 'description_text' is not in camel case. (camelcase)
(#892) Identifier 'description_text' is not in camel case. (camelcase)
(#940) Identifier 'on_restore' is not in camel case. (camelcase)
(#946) Identifier 'restore_targets' is not in camel case. (camelcase)
(#946) Identifier 'is_directory' is not in camel case. (camelcase)
(#949) Identifier 'restore_targets' is not in camel case. (camelcase)
(#949) Identifier 'is_directory' is not in camel case. (camelcase)
(#952) Identifier 'restore_targets' is not in camel case. (camelcase)
(#963) Identifier 'on_section_backup' is not in camel case. (camelcase)
(#972) Identifier 'body_html' is not in camel case. (camelcase)
(#978) Missing JSDoc for parameter 'isspeciallayout'. (valid-jsdoc)
(#981) Identifier 'init_bulk_delete' is not in camel case. (camelcase)
(#995) Missing JSDoc for parameter 'isspeciallayout'. (valid-jsdoc)
(#998) Identifier 'init_help_icon' is not in camel case. (camelcase)
(#1011) Identifier 'init_block_header' is not in camel case. (camelcase)
(#1020) Identifier 'init_item_tree' is not in camel case. (camelcase)
(#1021) Missing JSDoc comment. (require-jsdoc)
(#1021) Identifier 'add_actions' is not in camel case. (camelcase)
(#1034) Identifier 'activity_actions' is not in camel case. (camelcase)
(#1036) Identifier 'activity_actions' is not in camel case. (camelcase)
(#1039) Identifier 'directory_actions' is not in camel case. (camelcase)
(#1043) Expected space(s) after "if". (keyword-spacing)
(#1064) Identifier 'init_activity_commands' is not in camel case. (camelcase)
(#1082) Identifier 'activity_id' is not in camel case. (camelcase)
(#1083) Identifier 'activity_id' is not in camel case. (camelcase)
(#1094) Missing JSDoc return type. (valid-jsdoc)
(#1099) Identifier 'create_backup_icon' is not in camel case. (camelcase)
(#1112) Missing JSDoc parameter type for '$activity'. (valid-jsdoc)
(#1114) Identifier 'add_activity_backup_control' is not in camel case. (camelcase)
(#1145) Missing JSDoc parameter type for '$section'. (valid-jsdoc)
(#1147) Identifier 'add_section_backup_control' is not in camel case. (camelcase)
(#1209) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#1224) Identifier '$section_selected' is not in camel case. (camelcase)
(#1225) Identifier '$section_selected' is not in camel case. (camelcase)
(#1226) Identifier '$section_selected' is not in camel case. (camelcase)
(#1227) Identifier '$section_selected' is not in camel case. (camelcase)
(#1228) Identifier '$section_selected' is not in camel case. (camelcase)
blocks/sharing_cart/script.js
(#34) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#34) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#44) Identifier 'get_action_url' is not in camel case. (camelcase)
(#59) Missing JSDoc parameter type for 'obj'. (valid-jsdoc)
(#61) Identifier 'confirm_modal' is not in camel case. (camelcase)
(#102) Missing JSDoc parameter type for '$section'. (valid-jsdoc)
(#105) Identifier 'in_place_edit_section_name' is not in camel case. (camelcase)
(#115) Missing JSDoc parameter type for 'post_data'. (valid-jsdoc)
(#116) Missing JSDoc parameter type for 'title_str'. (valid-jsdoc)
(#117) Missing JSDoc parameter type for 'body_str'. (valid-jsdoc)
(#118) Missing JSDoc parameter type for 'isSection'. (valid-jsdoc)
(#120) Identifier 'on_backup_modal' is not in camel case. (camelcase)
(#120) Identifier 'post_data' is not in camel case. (camelcase)
(#120) Identifier 'title_str' is not in camel case. (camelcase)
(#120) Identifier 'body_str' is not in camel case. (camelcase)
(#121) Identifier 'on_success' is not in camel case. (camelcase)
(#138) Identifier 'title_str' is not in camel case. (camelcase)
(#139) Identifier 'body_str' is not in camel case. (camelcase)
(#144) Identifier 'post_data' is not in camel case. (camelcase)
(#144) Identifier 'post_data' is not in camel case. (camelcase)
(#144) Identifier 'post_data' is not in camel case. (camelcase)
(#146) Identifier 'post_data' is not in camel case. (camelcase)
(#200) Identifier 'is_frontpage' is not in camel case. (camelcase)
(#208) Identifier 'show_error' is not in camel case. (camelcase)
(#228) Identifier 'verify_layout' is not in camel case. (camelcase)
(#235) Missing JSDoc parameter type for 'name'. (valid-jsdoc)
(#236) Missing JSDoc parameter type for 'value'. (valid-jsdoc)
(#237) Missing JSDoc parameter type for 'expireTimeInMillisecond'. (valid-jsdoc)
(#248) Missing JSDoc parameter type for 'param'. (valid-jsdoc)
(#256) Missing JSDoc @returns for function. (valid-jsdoc)
(#262) Identifier 'create_command' is not in camel case. (camelcase)
(#278) Missing JSDoc parameter type for '$node'. (valid-jsdoc)
(#281) Identifier 'add_spinner' is not in camel case. (camelcase)
(#289) Missing JSDoc parameter type for '$node'. (valid-jsdoc)
(#292) Identifier 'add_node_spinner' is not in camel case. (camelcase)
(#293) Identifier '$node_spinner' is not in camel case. (camelcase)
(#295) Identifier '$node_spinner' is not in camel case. (camelcase)
(#302) Identifier 'reload_tree' is not in camel case. (camelcase)
(#329) Identifier '$node_spinner' is not in camel case. (camelcase)
(#346) Identifier '$node_spinner' is not in camel case. (camelcase)
(#359) Identifier 'backup_section' is not in camel case. (camelcase)
(#373) Identifier '$node_spinner' is not in camel case. (camelcase)
(#394) Identifier '$node_spinner' is not in camel case. (camelcase)
(#411) Missing JSDoc comment. (require-jsdoc)
(#417) Missing JSDoc comment. (require-jsdoc)
(#424) Missing JSDoc comment. (require-jsdoc)
(#467) Identifier 'move_targets' is not in camel case. (camelcase)
(#493) Expected JSDoc for 'item_id' but found 'id'. (valid-jsdoc)
(#495) Identifier 'item_id' is not in camel case. (camelcase)
(#498) Missing JSDoc comment. (require-jsdoc)
(#501) Identifier 'item_id' is not in camel case. (camelcase)
(#502) Identifier 'area_to' is not in camel case. (camelcase)
(#508) Identifier 'item_id' is not in camel case. (camelcase)
(#509) Identifier 'area_to' is not in camel case. (camelcase)
(#523) Identifier 'item_id' is not in camel case. (camelcase)
(#527) Identifier 'next_id' is not in camel case. (camelcase)
(#529) Identifier 'next_id' is not in camel case. (camelcase)
(#534) Missing JSDoc parameter type for 'item_id'. (valid-jsdoc)
(#535) Missing JSDoc parameter type for 'area_to'. (valid-jsdoc)
(#538) Identifier 'create_target' is not in camel case. (camelcase)
(#538) Identifier 'item_id' is not in camel case. (camelcase)
(#538) Identifier 'area_to' is not in camel case. (camelcase)
(#540) Identifier 'item_id' is not in camel case. (camelcase)
(#540) Identifier 'area_to' is not in camel case. (camelcase)
(#559) Identifier 'item_id' is not in camel case. (camelcase)
(#562) Identifier 'move_targets' is not in camel case. (camelcase)
(#570) Identifier 'next_id' is not in camel case. (camelcase)
(#588) Identifier 'restore_targets' is not in camel case. (camelcase)
(#589) Identifier 'is_directory' is not in camel case. (camelcase)
(#595) Missing JSDoc parameter type for 'id'. (valid-jsdoc)
(#596) Missing JSDoc parameter type for 'section'. (valid-jsdoc)
(#599) Identifier 'create_target' is not in camel case. (camelcase)
(#603) Identifier 'restore_targets' is not in camel case. (camelcase)
(#715) Identifier 'get_plugin_name' is not in camel case. (camelcase)
(#733) Missing JSDoc parameter type for 'e'. (valid-jsdoc)
(#734) Missing JSDoc parameter type for 'activityName'. (valid-jsdoc)
(#736) Identifier 'on_backup' is not in camel case. (camelcase)
(#764) Identifier 'on_movedir' is not in camel case. (camelcase)
(#767) Identifier '$current_dir' is not in camel case. (camelcase)
(#768) Identifier 'current_path' is not in camel case. (camelcase)
(#768) Identifier '$current_dir' is not in camel case. (camelcase)
(#768) Identifier '$current_dir' is not in camel case. (camelcase)
(#770) Identifier 'item_id' is not in camel case. (camelcase)
(#778) Script URL is a form of eval. (no-script-url)
(#780) Missing JSDoc comment. (require-jsdoc)
(#781) Identifier 'folder_to' is not in camel case. (camelcase)
(#786) Identifier 'item_id' is not in camel case. (camelcase)
(#787) Identifier 'folder_to' is not in camel case. (camelcase)
(#851) Identifier 'on_move' is not in camel case. (camelcase)
(#855) Identifier 'move_targets' is not in camel case. (camelcase)
(#863) Identifier 'on_delete' is not in camel case. (camelcase)
(#870) Identifier 'description_text' is not in camel case. (camelcase)
(#875) Identifier 'description_text' is not in camel case. (camelcase)
(#880) Identifier 'description_text' is not in camel case. (camelcase)
(#928) Identifier 'on_restore' is not in camel case. (camelcase)
(#934) Identifier 'restore_targets' is not in camel case. (camelcase)
(#934) Identifier 'is_directory' is not in camel case. (camelcase)
(#937) Identifier 'restore_targets' is not in camel case. (camelcase)
(#937) Identifier 'is_directory' is not in camel case. (camelcase)
(#940) Identifier 'restore_targets' is not in camel case. (camelcase)
(#951) Identifier 'on_section_backup' is not in camel case. (camelcase)
(#963) Missing JSDoc for parameter 'isspeciallayout'. (valid-jsdoc)
(#966) Identifier 'init_bulk_delete' is not in camel case. (camelcase)
(#980) Missing JSDoc for parameter 'isspeciallayout'. (valid-jsdoc)
(#983) Identifier 'init_help_icon' is not in camel case. (camelcase)
(#996) Identifier 'init_block_header' is not in camel case. (camelcase)
(#1002) Missing JSDoc return type. (valid-jsdoc)
(#1005) Missing JSDoc parameter type for 'actions'. (valid-jsdoc)
(#1006) Missing JSDoc parameter type for 'actionKey'. (valid-jsdoc)
(#1010) Identifier 'remove_action' is not in camel case. (camelcase)
(#1021) Identifier 'init_item_tree' is not in camel case. (camelcase)
(#1022) Missing JSDoc comment. (require-jsdoc)
(#1022) Identifier 'add_actions' is not in camel case. (camelcase)
(#1027) Use '===' to compare with null. (no-eq-null)
(#1042) Identifier 'activity_actions' is not in camel case. (camelcase)
(#1044) Identifier 'activity_actions' is not in camel case. (camelcase)
(#1047) Identifier 'directory_actions' is not in camel case. (camelcase)
(#1068) Identifier 'init_activity_commands' is not in camel case. (camelcase)
(#1086) Identifier 'activity_id' is not in camel case. (camelcase)
(#1087) Identifier 'activity_id' is not in camel case. (camelcase)
(#1098) Missing JSDoc return type. (valid-jsdoc)
(#1103) Identifier 'create_backup_icon' is not in camel case. (camelcase)
(#1116) Missing JSDoc parameter type for '$activity'. (valid-jsdoc)
(#1118) Identifier 'add_activity_backup_control' is not in camel case. (camelcase)
(#1149) Missing JSDoc parameter type for '$section'. (valid-jsdoc)
(#1151) Identifier 'add_section_backup_control' is not in camel case. (camelcase)
(#1213) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#1228) Identifier '$section_selected' is not in camel case. (camelcase)
(#1229) Identifier '$section_selected' is not in camel case. (camelcase)
(#1230) Identifier '$section_selected' is not in camel case. (camelcase)
(#1231) Identifier '$section_selected' is not in camel case. (camelcase)
(#1232) Identifier '$section_selected' is not in camel case. (camelcase)

CSS problems

(2 errors, 1 warnings)

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

blocks/sharing_cart/custom.css
(#245) Unexpected !important (declaration-no-important)
blocks/sharing_cart/styles.css
(#86) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(146 errors, 36 warnings)

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

blocks/sharing_cart/backup/moodle2/restore_fix_missing_questions.php
(#38) Not recommended phpdocs tag @global used
(#116) Not recommended phpdocs tag @global used
(#49) Inline phpdocs tag not enclosed with curly brackets @see found
(#143) Inline phpdocs tag not enclosed with curly brackets @see found
blocks/sharing_cart/backup/moodle2/restore_root_task_fix_missings.php
(#33) Function restore_root_task_fix_missings::build is not documented
blocks/sharing_cart/block_sharing_cart.php
(#43) Function block_sharing_cart::init is not documented
(#47) Function block_sharing_cart::applicable_formats is not documented
(#55) Function block_sharing_cart::has_config is not documented
(#30) No one-line description found in phpdocs for class block_sharing_cart
(#66) Not recommended phpdocs tag @global used
blocks/sharing_cart/classes/controller.php
(#170) There is no description in phpdocs for function get_unique_filename
(#861) There is no description in phpdocs for function ensure_backup_in_module
(#877) There is no description in phpdocs for function attach_uninstall_attribute
(#186) Phpdocs for function controller::backup has incomplete parameters list
(#697) Phpdocs for function controller::delete_directory has incomplete parameters list
(#42) Invalid phpdocs tag @const used
(#742) Invalid phpdocs tag @lang used
(#66) Not recommended phpdocs tag @global used
(#66) Not recommended phpdocs tag @global used
(#192) Not recommended phpdocs tag @global used
(#192) Not recommended phpdocs tag @global used
(#192) Not recommended phpdocs tag @global used
(#478) Not recommended phpdocs tag @global used
(#478) Not recommended phpdocs tag @global used
(#478) Not recommended phpdocs tag @global used
(#618) Not recommended phpdocs tag @global used
(#645) Not recommended phpdocs tag @global used
(#645) Not recommended phpdocs tag @global used
(#677) Not recommended phpdocs tag @global used
(#789) Not recommended phpdocs tag @global used
(#823) Not recommended phpdocs tag @global used
(#844) Not recommended phpdocs tag @global used
blocks/sharing_cart/classes/exceptions/cannot_find_file_exception.php
(#3) Package block_sharing_cart\exceptions is not valid
(#12) Class cannot_find_file_exception is not documented
(#32) Function cannot_find_file_exception::__construct is not documented
(#2) No one-line description found in phpdocs for file
(#53) There is no description in phpdocs for function get_file_info
(#63) There is no description in phpdocs for function get_file_record
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
blocks/sharing_cart/classes/exceptions/no_backup_support_exception.php
(#8) Package block_sharing_cart\exceptions is not valid
(#2) Empty line found after PHP open tag
blocks/sharing_cart/classes/files/cleaner.php
(#30) Class cleaner is not documented
(#48) There is no description in phpdocs for function remove_related_sharing_cart_entity
(#69) There is no description in phpdocs for function can_delete
(#77) There is no description in phpdocs for function get_sharing_cart_file_parameters
(#87) There is no description in phpdocs for function get_table_name
blocks/sharing_cart/classes/files/file.php
(#30) Class file is not documented
(#35) Function file::__construct is not documented
(#39) There is no description in phpdocs for function get_id
(#46) There is no description in phpdocs for function get_user_id
(#53) There is no description in phpdocs for function get_area
(#60) There is no description in phpdocs for function get_name
(#67) There is no description in phpdocs for function is_backup_file
blocks/sharing_cart/classes/module.php
(#2) Empty line found after PHP open tag
(#13) There is no description in phpdocs for function has_backup
blocks/sharing_cart/classes/mysql_logger.php
(#2) Empty line found after PHP open tag
(#50) There is no description in phpdocs for function get_db
(#58) There is no description in phpdocs for function log
(#59) Phpdocs for function mysql_logger::log has incomplete parameters list
blocks/sharing_cart/classes/privacy/provider.php
(#18) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#18) Class provider is not documented
(#159) There is no description in phpdocs for function export_user_sharing_cart
(#23) Phpdocs for function provider::get_contexts_for_userid has incomplete parameters list
blocks/sharing_cart/classes/record.php
(#39) Variable record::$id is not documented
(#40) Variable record::$userid is not documented
(#41) Variable record::$modname is not documented
(#42) Variable record::$modicon is not documented
(#43) Variable record::$modtext is not documented
(#44) Variable record::$ctime is not documented
(#45) Variable record::$filename is not documented
(#46) Variable record::$tree is not documented
(#47) Variable record::$weight is not documented
(#48) Variable record::$course is not documented
(#49) Variable record::$coursefullname is not documented
(#35) Constant record::TABLE is not documented
(#37) Constant record::WEIGHT_BOTTOM is not documented
(#132) Not recommended phpdocs tag @global used
(#132) Not recommended phpdocs tag @global used
blocks/sharing_cart/classes/renderer.php
(#213) There is no description in phpdocs for function strip_label
(#221) There is no description in phpdocs for function replace_image_with_string
(#39) Phpdocs for function renderer::render_tree has incomplete parameters list
(#76) Phpdocs for function renderer::render_node has incomplete parameters list
(#108) Not recommended phpdocs tag @global used
(#191) Not recommended phpdocs tag @global used
(#202) Inline phpdocs tag not enclosed with curly brackets @see found
blocks/sharing_cart/classes/repositories/course_repository.php
(#35) Package block_sharing_cart\repositories is not valid
(#50) There is no description in phpdocs for function get_course_fullnames_by_sharing_carts
(#61) There is no description in phpdocs for function get_course_fullnames
(#86) There is no description in phpdocs for function extract_course_ids
blocks/sharing_cart/classes/required_capabilities.php
(#2) No one-line description found in phpdocs for file
(#65) There is no description in phpdocs for function init
(#75) There is no description in phpdocs for function get_disallowed_actions
(#82) There is no description in phpdocs for function get_missing_capabilities
(#89) There is no description in phpdocs for function total_capabilities_missing
(#66) Phpdocs for function required_capabilities::init has incomplete parameters list
(#2) File-level phpdocs block does not have @license tag
(#3) Invalid phpdocs tag @developer used
(#4) Invalid phpdocs tag @date used
(#5) Invalid phpdocs tag @company used
blocks/sharing_cart/classes/section.php
(#16) Package sharing_cart is not valid
(#2) No one-line description found in phpdocs for file
(#52) There is no description in phpdocs for function all
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
blocks/sharing_cart/classes/section_title_form.php
(#9) Package is not specified for class section_title_form. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#9) Class section_title_form is not documented
(#48) Function section_title_form::definition is not documented
blocks/sharing_cart/classes/storage.php
(#34) Function get_file_storage is not documented
blocks/sharing_cart/classes/tests/sharing_chart_test_tools.php
(#3) Package block_sharing_cart\tests is not valid
(#17) Package block_sharing_cart\tests is not valid
(#2) No one-line description found in phpdocs for file
(#39) There is no description in phpdocs for function get_sharing_cart_weight
(#48) There is no description in phpdocs for function get_sharing_cart_by_module
(#122) There is no description in phpdocs for function create_module
(#158) There is no description in phpdocs for function create_sharing_chart_record
(#23) Phpdocs for function get_course_section has incomplete parameters list
(#80) Phpdocs for function enrol_users has incomplete parameters list
(#112) Phpdocs for function create_assignment has incomplete parameters list
(#123) Phpdocs for function create_module has incomplete parameters list
(#159) Phpdocs for function create_sharing_chart_record has incomplete parameters list
(#2) File-level phpdocs block does not have @license tag
(#4) Invalid phpdocs tag @developer used
(#6) Invalid phpdocs tag @companyinfo used
blocks/sharing_cart/db/upgrade.php
(#27) Phpdocs for function xmldb_block_sharing_cart_upgrade has incomplete parameters list
(#30) Not recommended phpdocs tag @global used
blocks/sharing_cart/lib.php
(#27) Phpdocs for function block_sharing_cart_after_file_deleted has incomplete parameters list
blocks/sharing_cart/lib/settingslib.php
(#124) There is no description in phpdocs for function __construct
(#148) There is no description in phpdocs for function __construct
(#129) Not recommended phpdocs tag @global used
(#129) Not recommended phpdocs tag @global used
(#153) Not recommended phpdocs tag @global used
blocks/sharing_cart/rest.php
(#16) File-level phpdocs block is not found
blocks/sharing_cart/settings.php
(#30) Not recommended phpdocs tag @global used
(#30) Not recommended phpdocs tag @global used
blocks/sharing_cart/tests/controller_test.php
(#6) Package is not specified for class block_sharing_cart_controller_testcase. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#350) There is no description in phpdocs for function compare_properties
(#351) Phpdocs for function block_sharing_cart_controller_testcase::compare_properties has incomplete parameters list
blocks/sharing_cart/tests/course_repository_test.php
(#2) No one-line description found in phpdocs for file
(#28) There is no description in phpdocs for function test_get_course_fullnames_from_sharing_chart_entities
(#60) There is no description in phpdocs for function test_get_course_fullnames_from_empty_entity_list
(#77) There is no description in phpdocs for function db
(#2) File-level phpdocs block does not have @license tag
(#5) Invalid phpdocs tag @companyinfo used
blocks/sharing_cart/tests/db_test.php
(#9) Package block_sharing_cart\tests is not valid
(#2) Empty line found after PHP open tag
(#12) Variable block_sharing_cart_db_testcase::$junk_tables is not documented
(#5) No one-line description found in phpdocs for class block_sharing_cart_db_testcase
(#147) There is no description in phpdocs for function create_table
(#200) There is no description in phpdocs for function drop_tables
(#220) There is no description in phpdocs for function random_name
(#237) There is no description in phpdocs for function get_column_names
(#201) Phpdocs for function block_sharing_cart_db_testcase::drop_tables has incomplete parameters list
(#25) Invalid phpdocs tag @test used
(#73) Invalid phpdocs tag @test used
(#98) Invalid phpdocs tag @test used
blocks/sharing_cart/tests/privacy_test.php
(#10) Package is not specified for class block_sharing_cart_privacy_testcase. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#43) There is no description in phpdocs for function get_users_in_context
(#183) There is no description in phpdocs for function delete_data_for_all_users_in_context
(#442) There is no description in phpdocs for function get_user_sharing_cart
(#460) There is no description in phpdocs for function create_assignment
(#443) Phpdocs for function block_sharing_cart_privacy_testcase::get_user_sharing_cart has incomplete parameters list
(#25) Invalid phpdocs tag @test used
(#44) Invalid phpdocs tag @test used
(#97) Invalid phpdocs tag @test used
(#184) Invalid phpdocs tag @test used
(#212) Invalid phpdocs tag @test used
(#331) Invalid phpdocs tag @test used
blocks/sharing_cart/tests/storage_test.php
(#12) Class block_sharing_cart_storage_testcase is not documented
(#2) No one-line description found in phpdocs for file
(#14) There is no description in phpdocs for function setUp
(#50) There is no description in phpdocs for function get_unique_filename_by_user_id
(#71) There is no description in phpdocs for function get_filenames_by_user_id
(#94) There is no description in phpdocs for function create_file_record_by_user_id
(#109) There is no description in phpdocs for function db
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
(#15) Invalid phpdocs tag @inheridoc used

Update savepoints problems

(4 errors, 0 warnings)

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

blocks/sharing_cart/db/upgrade.php
Detected more 'if' blocks (8) than 'savepoint' calls (5)
version 2011111100 is missing corresponding savepoint call
version 2011111101 is missing corresponding savepoint call
version 2012050800 is missing corresponding savepoint call

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
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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


Gherkin .feature problems

(0 errors, 0 warnings)

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