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

(95 errors, 28 warnings)

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

blocks/ejsapp_file_browser/action.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#11) Line 12 of the opening comment must start "//".
(#11) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#11) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Commas (,) must be followed by white space.
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Commas (,) must be followed by white space.
(#71) Commas (,) must be followed by white space.
(#72) Inline comments must end in full-stops, exclamation marks, or question marks
(#77) 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
(#85) 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
(#95) Commas (,) must be followed by white space.
(#98) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) 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
(#106) Commas (,) must be followed by white space.
(#108) Commas (,) must be followed by white space.
(#109) Commas (,) must be followed by white space.
(#112) 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
(#117) Commas (,) must be followed by white space.
(#119) Commas (,) must be followed by white space.
(#120) Commas (,) must be followed by white space.
(#124) Commas (,) must be followed by white space.
blocks/ejsapp_file_browser/block_ejsapp_file_browser.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#117) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/ejsapp_file_browser/classes/privacy/provider.php
(#33) Expected MOODLE_INTERNAL check or config.php inclusion
blocks/ejsapp_file_browser/db/access.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/ejsapp_file_browser/db/upgrade.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/ejsapp_file_browser/edit.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/ejsapp_file_browser/lang/en/block_ejsapp_file_browser.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#83) Expected 1 space after "="; 0 found
(#94) Expected 1 space after "="; 2 found
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// Privacy" but found "//Privacy"
blocks/ejsapp_file_browser/lang/es/block_ejsapp_file_browser.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#83) Expected 1 space after "="; 0 found
(#94) Expected 1 space after "="; 2 found
(#100) Inline comments must end in full-stops, exclamation marks, or question marks
(#100) No space found before comment text; expected "// Privacy" but found "//Privacy"
blocks/ejsapp_file_browser/refresh_tree.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/ejsapp_file_browser/renderer.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#119) Expected 1 space after ".="; 2 found
(#136) Line exceeds 132 characters; contains 146 characters
blocks/ejsapp_file_browser/settings.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
blocks/ejsapp_file_browser/share_files.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#11) Line 12 of the opening comment must start "//".
(#11) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#11) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#78) Expected "if (...) {\n"; found "if (...) {\n"
(#199) This comment is 62% valid code; is this commented out code?
(#368) Inline comments must end in full-stops, exclamation marks, or question marks
(#369) Commas (,) must be followed by white space.
(#373) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#374) Expected 1 space before "="; 0 found
(#374) Expected 1 space after "="; 0 found
(#383) Commas (,) must be followed by white space.
(#404) Expected 1 space before "=="; 0 found
(#404) Expected 1 space after "=="; 0 found
(#404) Inline comments must end in full-stops, exclamation marks, or question marks
blocks/ejsapp_file_browser/shared_files_usr.php
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#5) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#6) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#7) Line 6 of the opening comment must start "// (at your option) any later version.".
(#9) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#10) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#10) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#11) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#11) Line 12 of the opening comment must start "//".
(#11) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#11) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#17) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Variable "files_selected" must not contain underscores.
(#169) Line exceeds maximum limit of 180 characters; contains 211 characters
(#203) Variable "files_selected" must not contain underscores.
(#205) Expected 1 space before "=>"; 0 found
(#205) Expected 1 space after "=>"; 0 found
(#213) Commas (,) must be followed by white space.
(#215) Inline control structures are not allowed
(#216) Commas (,) must be followed by white space.
(#218) Commas (,) must be followed by white space.
(#223) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Commas (,) must be followed by white space.
(#231) Inline comments must start with a capital letter, digit or 3-dots sequence
(#249) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) Variable "files_selected" must not contain underscores.
(#264) Inline comments must end in full-stops, exclamation marks, or question marks
(#271) Commas (,) must be followed by white space.
(#276) Commas (,) must be followed by white space.
(#277) Commas (,) must be followed by white space.
(#278) Commas (,) must be followed by white space.
(#279) Commas (,) must be followed by white space.
(#281) Commas (,) must be followed by white space.
(#282) Commas (,) must be followed by white space.
(#283) Commas (,) must be followed by white space.
(#284) Commas (,) must be followed by white space.
(#285) Commas (,) must be followed by white space.
(#286) Commas (,) must be followed by white space.
(#287) Commas (,) must be followed by white space.
(#288) Commas (,) must be followed by white space.
(#293) This comment is 64% valid code; is this commented out code?
(#297) This comment is 43% valid code; is this commented out code?
(#299) This comment is 45% valid code; is this commented out code?
blocks/ejsapp_file_browser/version.php
(#15) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".

Javascript coding style problems

(11 errors, 20 warnings)

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

blocks/ejsapp_file_browser/amd/src/buttons_states.js
(#79) '_model' is not defined. (no-undef)
(#88) '_model' is not defined. (no-undef)
(#88) '_model' is not defined. (no-undef)
(#95) '_model' is not defined. (no-undef)
(#103) '_model' is not defined. (no-undef)
(#104) '_model' is not defined. (no-undef)
(#108) Unexpected alert. (no-alert)
(#120) 'stepCaptureButton' is not defined. (no-undef)
(#121) 'stepCaptureButton' is not defined. (no-undef)
(#123) 'stepCaptureButton' is not defined. (no-undef)
(#125) '_model' is not defined. (no-undef)
blocks/ejsapp_file_browser/module.js
(#31) Identifier 'block_ejsapp_file_browser' is not in camel case. (camelcase)
(#33) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#33) Missing JSDoc parameter type for 'expand'. (valid-jsdoc)
(#33) Missing JSDoc parameter type for 'htmlid'. (valid-jsdoc)
(#39) Identifier 'init_tree' is not in camel case. (camelcase)
(#44) Comments should not begin with a lowercase character (capitalized-comments)
(#56) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#56) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#56) Missing JSDoc parameter type for 'htmlid'. (valid-jsdoc)
(#62) Identifier 'init_reload' is not in camel case. (camelcase)
(#83) Missing JSDoc parameter type for 'frequency'. (valid-jsdoc)
(#83) Missing JSDoc parameter type for 'htmlid'. (valid-jsdoc)
(#83) Missing JSDoc parameter type for 'url'. (valid-jsdoc)
(#83) Missing JSDoc parameter type for 'Y'. (valid-jsdoc)
(#90) Identifier 'init_auto_refresh' is not in camel case. (camelcase)
(#104) Statement inside of curly braces should be on next line. (brace-style)
(#104) Requires a space after '{'. (block-spacing)
(#104) Closing curly brace should be on the same line as opening curly brace or on the line after the previous block. (brace-style)
(#104) Requires a space before '}'. (block-spacing)
(#108) Move function declaration to function body root. (no-inner-declarations)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(3 errors, 0 warnings)

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

blocks/ejsapp_file_browser/action.php
(#10) File-level phpdocs block does not have @license tag
blocks/ejsapp_file_browser/share_files.php
(#10) File-level phpdocs block does not have @license tag
blocks/ejsapp_file_browser/shared_files_usr.php
(#10) File-level phpdocs block does not have @license tag

Update savepoints problems

(0 errors, 0 warnings)

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


Third party library modification problems

(0 errors, 0 warnings)

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


grunt changes

(1 errors, 1 warnings)

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

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

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 0 warnings)

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