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

(210 errors, 20 warnings)

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

blocks/bulkactivity/ajax.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#31) Commas (,) must be followed by white space.
(#31) Expected 1 space before opening brace; found 0
(#33) Expected 1 space after "="; 3 found
(#33) Commas (,) must be followed by white space.
(#33) Expected 1 space before "=>"; 0 found
(#33) Expected 1 space after "=>"; 0 found
(#33) Commas (,) must be followed by white space.
(#35) Expected "if (...) {\n"; found "if(...){\n"
(#35) Expected 1 space after "!="; 0 found
(#36) Commas (,) must be followed by white space.
(#37) Expected "} else {\n"; found "}else{\n"
(#43) Commas (,) must be followed by white space.
(#44) TRUE, FALSE and NULL must be lowercase; expected "null" but found "Null"
(#45) Expected 1 space after "="; 0 found
(#47) Expected 1 space after "="; 0 found
(#49) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#61) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#62) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#63) Expected 1 space after "="; 2 found
(#66) Functions must not contain multiple empty lines in a row; found 4 empty lines
(#74) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#76) Commas (,) must be followed by white space.
(#77) Commas (,) must be followed by white space.
(#77) Commas (,) must be followed by white space.
(#78) Expected "if (...) {\n"; found "if(...) {\n"
(#80) Commas (,) must be followed by white space.
(#81) Usage of ELSEIF not allowed; use ELSE IF instead
(#82) Whitespace found at end of line
(#84) Expected 1 space after "="; 3 found
(#84) Commas (,) must be followed by white space.
(#86) Commas (,) must be followed by white space.
(#91) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
(#93) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#96) TRUE, FALSE and NULL must be lowercase; expected "null" but found "Null"
(#97) Expected 1 space after "="; 0 found
(#98) Expected 1 space after "="; 2 found
(#99) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#100) Expected 1 space after "="; 0 found
(#102) Commas (,) must be followed by white space.
(#103) Expected "if (...) {\n"; found "if(...) {\n"
(#105) Commas (,) must be followed by white space.
(#106) Usage of ELSEIF not allowed; use ELSE IF instead
(#108) Expected 1 space after "="; 3 found
(#108) Commas (,) must be followed by white space.
(#110) Commas (,) must be followed by white space.
(#115) Whitespace found at end of line within string
(#118) Whitespace found at end of line within string
(#119) Whitespace found at end of line within string
(#120) Whitespace found at end of line within string
(#121) Whitespace found at end of line within string
(#122) Line exceeds 132 characters; contains 173 characters
(#122) Whitespace found at end of line within string
(#123) Line exceeds maximum limit of 180 characters; contains 191 characters
(#123) Whitespace found at end of line within string
(#124) Whitespace found at end of line within string
(#125) Whitespace found at end of line within string
(#126) Whitespace found at end of line within string
(#127) Line exceeds 132 characters; contains 154 characters
(#127) Whitespace found at end of line within string
(#128) Whitespace found at end of line within string
(#129) Whitespace found at end of line within string
(#130) Whitespace found at end of line within string
(#131) Whitespace found at end of line within string
(#138) Whitespace found at end of line within string
(#139) Line exceeds maximum limit of 180 characters; contains 199 characters
(#139) Whitespace found at end of line within string
(#140) Whitespace found at end of line within string
(#150) Expected 1 space after "="; 0 found
(#150) Commas (,) must be followed by white space.
(#151) Commas (,) must be followed by white space.
blocks/bulkactivity/block_bulkactivity.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/bulkactivity/createbulkactivities.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#34) Commas (,) must be followed by white space.
(#34) Commas (,) must be followed by white space.
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#36) Commas (,) must be followed by white space.
(#36) Expected 1 space before "=>"; 0 found
(#36) Expected 1 space after "=>"; 0 found
(#37) Variable "company_form" must not contain underscores.
(#37) Commas (,) must be followed by white space.
(#38) Variable "company_form" must not contain underscores.
(#42) Inline comments must start with a capital letter, digit or 3-dots sequence
(#42) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) This comment is 72% valid code; is this commented out code?
(#42) Line indented incorrectly; expected at least 4 spaces, found 0
(#42) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#51) Inline comments must start with a capital letter, digit or 3-dots sequence
(#51) This comment is 75% valid code; is this commented out code?
(#51) No space found before comment text; expected "// $PAGE->navbar->ignore_active();" but found "//$PAGE->navbar->ignore_active();"
(#55) Inline comments must start with a capital letter, digit or 3-dots sequence
(#55) This comment is 69% valid code; is this commented out code?
(#55) No space found before comment text; expected "// $PAGE->requires->js( new moodle_url('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js'),true);" but found "//$PAGE->requires->js( new moodle_url('https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js'),true);"
(#56) No space found before comment text; expected "// $PAGE->requires->js( new moodle_url('https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js'),true);" but found "//$PAGE->requires->js( new moodle_url('https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js'),true);"
(#61) Variable "company_form" must not contain underscores.
(#63) TRUE, FALSE and NULL must be lowercase; expected "null" but found "Null"
(#64) Expected 1 space after "="; 0 found
(#66) Line indented incorrectly; expected 4 spaces, found 3
(#66) Expected 1 space before opening brace; found 0
(#67) Line indented incorrectly; expected at least 8 spaces, found 7
(#68) Expected 1 space after "="; 3 found
(#68) Commas (,) must be followed by white space.
(#68) Expected 1 space before "=>"; 0 found
(#68) Expected 1 space after "=>"; 0 found
(#68) Commas (,) must be followed by white space.
(#69) Line indented incorrectly; expected 8 spaces, found 12
(#69) Expected "if (...) {\n"; found "if(...){\n"
(#69) Expected 1 space after "!="; 0 found
(#71) Line indented incorrectly; expected 8 spaces, found 12
(#71) Expected "} else {\n"; found "}else{\n"
(#73) Line indented incorrectly; expected 8 spaces, found 12
(#74) Closing brace indented incorrectly; expected 3 spaces, found 4
(#79) Expected "foreach (...) {\n"; found "foreach(...) {\n"
(#91) Commas (,) must be followed by white space.
(#92) Commas (,) must be followed by white space.
(#93) Commas (,) must be followed by white space.
(#97) Commas (,) must be followed by white space.
(#97) Commas (,) must be followed by white space.
(#98) Expected "if (...) {\n"; found "if(...){\n"
(#100) Expected "} else {\n"; found "}else{\n"
(#103) Expected 1 space after "="; 3 found
(#103) Commas (,) must be followed by white space.
(#107) Commas (,) must be followed by white space.
(#110) Inline comments must start with a capital letter, digit or 3-dots sequence
(#110) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) This comment is 72% valid code; is this commented out code?
(#110) Line indented incorrectly; expected at least 4 spaces, found 0
(#110) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#118) Commas (,) must be followed by white space.
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#118) Commas (,) must be followed by white space.
(#118) Expected 1 space before "=>"; 0 found
(#118) Expected 1 space after "=>"; 0 found
(#119) Variable "company_form" must not contain underscores.
(#119) Commas (,) must be followed by white space.
(#120) Variable "company_form" must not contain underscores.
(#127) Variable "company_form" must not contain underscores.
(#128) Line indented incorrectly; expected at least 4 spaces, found 2
(#129) Line indented incorrectly; expected at least 4 spaces, found 0
(#129) Expected 1 space after "="; 0 found
(#129) Commas (,) must be followed by white space.
(#133) Line indented incorrectly; expected 4 spaces, found 2
(#133) Expected "if (...) {\n"; found "if(...){\n"
(#133) Expected 1 space before "=="; 0 found
(#133) Expected 1 space after "=="; 0 found
(#134) Line indented incorrectly; expected at least 8 spaces, found 4
(#134) Variable "actual_link" must not contain underscores.
(#135) Line indented incorrectly; expected at least 8 spaces, found 4
(#135) Variable "actual_link" must not contain underscores.
(#136) Line indented incorrectly; expected 4 spaces, found 2
(#141) Commas (,) must be followed by white space.
(#198) Commas (,) must be followed by white space.
(#218) Usage of ELSEIF not allowed; use ELSE IF instead
(#220) Usage of ELSEIF not allowed; use ELSE IF instead
(#223) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#256) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#261) Inline comments must end in full-stops, exclamation marks, or question marks
(#276) Variable "course_id" must not contain underscores.
(#286) Variable "course_id" must not contain underscores.
(#293) Variable "actual_link" must not contain underscores.
(#294) Variable "actual_link" must not contain underscores.
blocks/bulkactivity/db/access.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/bulkactivity/formslib.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) 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".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) 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/>.".
(#7) Visibility must be declared on method "definition"
(#8) Opening brace should be on the same line as the declaration
(#9) Commas (,) must be followed by white space.
(#9) Commas (,) must be followed by white space.
(#14) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#17) Expected 1 space after ".="; 0 found
(#17) Whitespace found at end of line within string
(#18) Whitespace found at end of line within string
(#21) Expected 1 space after ".="; 0 found
(#21) Whitespace found at end of line within string
(#22) Whitespace found at end of line within string
(#23) Whitespace found at end of line within string
(#24) Whitespace found at end of line within string
(#25) Whitespace found at end of line within string
(#26) Line exceeds 132 characters; contains 165 characters
(#26) Whitespace found at end of line within string
(#27) Line exceeds 132 characters; contains 150 characters
(#27) Whitespace found at end of line within string
(#28) Whitespace found at end of line within string
(#29) Whitespace found at end of line within string
(#30) Whitespace found at end of line within string
(#31) Line exceeds 132 characters; contains 171 characters
(#31) Whitespace found at end of line within string
(#32) Whitespace found at end of line within string
(#33) Line exceeds 132 characters; contains 135 characters
(#33) Whitespace found at end of line within string
(#34) Whitespace found at end of line within string
(#35) Whitespace found at end of line within string
(#38) Expected 1 space after ".="; 0 found
(#42) Commas (,) must be followed by white space.
(#42) Commas (,) must be followed by white space.
(#42) Expected 1 space before "=>"; 0 found
(#42) Expected 1 space after "=>"; 0 found
(#46) Commas (,) must be followed by white space.
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Commas (,) must be followed by white space.
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Commas (,) must be followed by white space.
(#47) Expected 1 space before "=>"; 0 found
(#47) Expected 1 space after "=>"; 0 found
(#47) Line exceeds 132 characters; contains 163 characters
(#56) A closing tag is not permitted at the end of a PHP file
blocks/bulkactivity/lang/en/block_bulkactivity.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
blocks/bulkactivity/rest.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected login check (require_login, require_course_login, require_admin, admin_externalpage_setup) following config inclusion. None found.
blocks/bulkactivity/version.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"

Javascript coding style problems

(307 errors, 56 warnings)

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

blocks/bulkactivity/script.js
(#1) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#2) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#3) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#4) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#5) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#6) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#7) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#8) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#9) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#10) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#11) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#12) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#13) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#14) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#15) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#16) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#17) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#18) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#19) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#20) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#21) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#22) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#23) Unexpected space before function parentheses. (space-before-function-paren)
(#23) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#24) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#25) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#26) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#27) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#28) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#29) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#30) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#31) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#32) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#33) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#34) Identifier '$spinner_modal' is not in camel case. (camelcase)
(#34) '$spinner_modal' is assigned a value but never used. (no-unused-vars)
(#34) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#35) Unexpected space before function parentheses. (space-before-function-paren)
(#35) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#36) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#37) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#38) Unexpected space before function parentheses. (space-before-function-paren)
(#38) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#39) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#40) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#41) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#42) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#43) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#44) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#45) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#46) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#47) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#48) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#49) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#50) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#50) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#50) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#51) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#52) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#53) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#54) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#55) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#56) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#57) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#58) Identifier 'show_error' is not in camel case. (camelcase)
(#58) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#59) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#60) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#61) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#62) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#63) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#64) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#65) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#66) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#67) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#68) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#69) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#70) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#71) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#72) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#73) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#74) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#75) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#76) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#77) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#78) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#79) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#80) Identifier 'get_action_url' is not in camel case. (camelcase)
(#80) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#81) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#82) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#83) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#84) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#85) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#86) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#87) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#88) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#89) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#90) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#91) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#92) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#93) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#94) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#95) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#96) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#97) Identifier 'verify_layout' is not in camel case. (camelcase)
(#97) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#98) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#99) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#100) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#101) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#102) Missing JSDoc comment. (require-jsdoc)
(#102) Identifier 'create_command' is not in camel case. (camelcase)
(#102) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#103) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#104) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#105) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#106) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#107) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#108) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#109) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#110) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#111) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#112) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#113) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#114) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#115) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#116) Missing JSDoc @returns for function. (valid-jsdoc)
(#116) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#117) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#118) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#119) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#120) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#121) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#122) Identifier 'create_special_activity_command' is not in camel case. (camelcase)
(#122) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#123) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#124) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#125) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#126) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#127) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#128) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#129) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#130) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#131) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#132) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#133) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#134) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#135) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#136) Missing JSDoc parameter type for '$node'. (valid-jsdoc)
(#136) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#137) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#138) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#139) Identifier 'add_spinner' is not in camel case. (camelcase)
(#139) 'add_spinner' is defined but never used. (no-unused-vars)
(#139) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#140) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#141) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#142) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#143) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#144) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#145) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#146) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#147) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#148) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#149) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#150) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#151) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#152) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#153) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#154) Missing JSDoc comment. (require-jsdoc)
(#154) 'userdata' is defined but never used. (no-unused-vars)
(#154) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#155) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#156) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#157) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#158) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#159) Identifier 'get_plugin_name' is not in camel case. (camelcase)
(#159) Unexpected space before function parentheses. (space-before-function-paren)
(#159) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#160) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#161) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#162) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#163) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#164) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#165) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#166) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#167) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#168) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#169) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#170) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#171) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#172) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#173) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#174) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#175) Identifier 'on_backupbulk' is not in camel case. (camelcase)
(#175) Unexpected space before function parentheses. (space-before-function-paren)
(#175) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#176) Unexpected space before function parentheses. (space-before-function-paren)
(#176) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#177) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#178) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#179) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#180) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#181) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#182) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#183) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#184) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#185) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#186) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#187) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#188) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#189) Unexpected space before function parentheses. (space-before-function-paren)
(#189) Identifier 'on_success' is not in camel case. (camelcase)
(#189) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#190) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#191) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#192) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#193) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#194) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#195) Unexpected space before function parentheses. (space-before-function-paren)
(#195) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#196) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#197) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#198) Unexpected space before function parentheses. (space-before-function-paren)
(#198) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#199) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#200) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#201) Unexpected space before function parentheses. (space-before-function-paren)
(#201) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#202) Missing JSDoc comment. (require-jsdoc)
(#202) Identifier 'embed_cmid' is not in camel case. (camelcase)
(#202) 'embed_cmid' is defined but never used. (no-unused-vars)
(#202) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#203) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#204) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#205) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#206) Missing JSDoc comment. (require-jsdoc)
(#206) Identifier 'parse_cmid' is not in camel case. (camelcase)
(#206) 'parse_cmid' is defined but never used. (no-unused-vars)
(#206) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#207) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#208) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#209) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#210) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#211) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#212) Unexpected confirm. (no-alert)
(#212) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#213) Unexpected confirm. (no-alert)
(#213) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#214) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#215) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#216) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#217) Unexpected confirm. (no-alert)
(#217) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#218) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#219) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#220) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#221) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#222) Unexpected confirm. (no-alert)
(#222) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#223) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#224) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#225) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#226) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#227) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#228) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#229) Identifier 'init_activity_commands' is not in camel case. (camelcase)
(#229) Unexpected space before function parentheses. (space-before-function-paren)
(#229) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#230) Missing JSDoc comment. (require-jsdoc)
(#230) Identifier 'add_backupbulk_comand' is not in camel case. (camelcase)
(#230) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#231) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#232) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#233) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#234) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#235) This line has a length of 154. Maximum allowed is 132. (max-len)
(#235) '$backupbulk' used outside of binding context. (block-scoped-var)
(#235) Script URL is a form of eval. (no-script-url)
(#235) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#236) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#237) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#238) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#239) This line has a length of 224. Maximum allowed is 132. (max-len)
(#239) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#240) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#241) This line has a length of 213. Maximum allowed is 132. (max-len)
(#241) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#242) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#243) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#244) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#245) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#246) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#247) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#248) '$backupbulk' is already defined. (no-redeclare)
(#248) '$backupbulk' used outside of binding context. (block-scoped-var)
(#248) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#249) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#250) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#251) '$backupbulk' used outside of binding context. (block-scoped-var)
(#251) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#252) '$backupbulk' used outside of binding context. (block-scoped-var)
(#252) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#253) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#254) '$backupbulk' used outside of binding context. (block-scoped-var)
(#254) '$backupbulk' used outside of binding context. (block-scoped-var)
(#254) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#255) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#256) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#257) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#258) '$backupbulk' used outside of binding context. (block-scoped-var)
(#258) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#259) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#260) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#261) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#262) '$backupbulk' used outside of binding context. (block-scoped-var)
(#262) '$backupbulk' used outside of binding context. (block-scoped-var)
(#262) Unexpected space before function parentheses. (space-before-function-paren)
(#262) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#263) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#264) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#265) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#266) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#267) Comments should not begin with a lowercase character. (capitalized-comments)
(#267) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#268) Unexpected space before function parentheses. (space-before-function-paren)
(#268) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#269) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#270) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#271) Unexpected space before function parentheses. (space-before-function-paren)
(#271) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#272) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#273) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#274) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#275) Unexpected space before function parentheses. (space-before-function-paren)
(#275) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#276) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#277) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#278) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#279) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#280) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#281) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#282) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#283) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#284) Unexpected space before function parentheses. (space-before-function-paren)
(#284) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#285) 'M.str' is restricted from being used. Use AMD module "core/str" or M.util.get_string() (no-restricted-properties)
(#285) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#286) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#287) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#288) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#289) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#290) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#291) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#292) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#293) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#294) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#295) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#296) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#297) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)
(#298) Expected linebreaks to be 'LF' but found 'CRLF'. (linebreak-style)

CSS problems

(2 errors, 1 warnings)

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

blocks/bulkactivity/styles.css
(#2) Unexpected !important (declaration-no-important)
(#6) Unexpected !important (declaration-no-important)
(#15) Unexpected unit (length-zero-no-unit)

PHPDocs style problems

(12 errors, 4 warnings)

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

blocks/bulkactivity/ajax.php
(#31) Function block_get_parentcategory is not documented
(#42) Function getcategories is not documented
(#91) Function courselist is not documented
blocks/bulkactivity/block_bulkactivity.php
(#31) Function block_bulkactivity::init is not documented
(#36) Function block_bulkactivity::applicable_formats is not documented
(#48) Function block_bulkactivity::instance_can_be_docked is not documented
(#52) Function block_bulkactivity::has_config is not documented
(#60) Not recommended phpdocs tag @global used
(#60) Not recommended phpdocs tag @global used
(#98) Not recommended phpdocs tag @global used
blocks/bulkactivity/createbulkactivities.php
(#66) Function block_get_parentcategory is not documented
(#141) Function duplicate_modulebac is not documented
blocks/bulkactivity/formslib.php
(#5) Package is not specified for class compactivity_form. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#5) Class compactivity_form is not documented
(#7) Function compactivity_form::definition is not documented

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

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

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]