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

(474 errors, 74 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/classes/constants.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration for class constants
(#34) Line indented incorrectly; expected at least 4 spaces, found 0
(#34) Expected 1 space before "="; 0 found
(#34) Expected 1 space after "="; 0 found
(#35) Line indented incorrectly; expected at least 4 spaces, found 0
(#35) Expected 1 space before "="; 0 found
(#35) Expected 1 space after "="; 0 found
(#36) Line indented incorrectly; expected at least 4 spaces, found 0
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#37) Line indented incorrectly; expected at least 4 spaces, found 0
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#38) Expected 1 space before "="; 0 found
(#38) Expected 1 space after "="; 0 found
(#40) Line indented incorrectly; expected at least 4 spaces, found 0
(#40) Expected 1 space before "="; 0 found
(#40) Expected 1 space after "="; 0 found
(#42) Line indented incorrectly; expected at least 4 spaces, found 0
(#43) Line indented incorrectly; expected at least 4 spaces, found 0
(#45) Line indented incorrectly; expected at least 4 spaces, found 0
(#46) Line indented incorrectly; expected at least 4 spaces, found 0
(#47) Line indented incorrectly; expected at least 4 spaces, found 0
(#48) Line indented incorrectly; expected at least 4 spaces, found 0
(#49) Line indented incorrectly; expected at least 4 spaces, found 0
(#51) Line indented incorrectly; expected at least 4 spaces, found 0
(#52) Line indented incorrectly; expected at least 4 spaces, found 0
(#53) Line indented incorrectly; expected at least 4 spaces, found 0
(#54) Line indented incorrectly; expected at least 4 spaces, found 0
(#55) Line indented incorrectly; expected at least 4 spaces, found 0
(#56) Line indented incorrectly; expected at least 4 spaces, found 0
(#57) Line indented incorrectly; expected at least 4 spaces, found 0
(#58) Line indented incorrectly; expected at least 4 spaces, found 0
(#59) Line indented incorrectly; expected at least 4 spaces, found 0
(#60) Line indented incorrectly; expected at least 4 spaces, found 0
(#61) Line indented incorrectly; expected at least 4 spaces, found 0
(#62) Line indented incorrectly; expected at least 4 spaces, found 0
(#63) Line indented incorrectly; expected at least 4 spaces, found 0
(#64) Line indented incorrectly; expected at least 4 spaces, found 0
(#64) Expected 1 space after "="; 0 found
(#65) Line indented incorrectly; expected at least 4 spaces, found 0
(#65) Expected 1 space after "="; 0 found
(#66) Line indented incorrectly; expected at least 4 spaces, found 0
(#66) Expected 1 space after "="; 0 found
(#67) Line indented incorrectly; expected at least 4 spaces, found 0
(#67) Expected 1 space after "="; 0 found
(#68) Line indented incorrectly; expected at least 4 spaces, found 0
(#68) Expected 1 space after "="; 0 found
(#69) Line indented incorrectly; expected at least 4 spaces, found 0
(#69) Expected 1 space after "="; 0 found
(#70) Line indented incorrectly; expected at least 4 spaces, found 0
(#70) Expected 1 space after "="; 0 found
(#71) Line indented incorrectly; expected at least 4 spaces, found 0
(#71) Expected 1 space after "="; 0 found
(#72) Line indented incorrectly; expected at least 4 spaces, found 0
(#72) Expected 1 space after "="; 0 found
(#73) Line indented incorrectly; expected at least 4 spaces, found 0
(#73) Expected 1 space after "="; 0 found
(#74) Line indented incorrectly; expected at least 4 spaces, found 0
(#74) Expected 1 space after "="; 0 found
(#75) Line indented incorrectly; expected at least 4 spaces, found 0
(#75) Expected 1 space after "="; 0 found
(#76) Line indented incorrectly; expected at least 4 spaces, found 0
(#76) Expected 1 space after "="; 0 found
(#77) Line indented incorrectly; expected at least 4 spaces, found 0
(#77) Expected 1 space after "="; 0 found
(#78) Line indented incorrectly; expected at least 4 spaces, found 0
(#78) Expected 1 space after "="; 0 found
(#79) Line indented incorrectly; expected at least 4 spaces, found 0
(#79) Expected 1 space after "="; 0 found
(#80) Line indented incorrectly; expected at least 4 spaces, found 0
(#80) Expected 1 space after "="; 0 found
(#81) Line indented incorrectly; expected at least 4 spaces, found 0
(#81) Expected 1 space after "="; 0 found
(#83) Line indented incorrectly; expected at least 4 spaces, found 0
(#84) Line indented incorrectly; expected at least 4 spaces, found 0
(#86) Line indented incorrectly; expected at least 4 spaces, found 0
(#87) Line indented incorrectly; expected at least 4 spaces, found 0
(#88) Line indented incorrectly; expected at least 4 spaces, found 0
(#90) Line indented incorrectly; expected at least 4 spaces, found 0
(#90) Expected 1 space after "="; 0 found
(#91) Line indented incorrectly; expected at least 4 spaces, found 0
(#91) Expected 1 space after "="; 0 found
(#92) Line indented incorrectly; expected at least 4 spaces, found 0
(#92) Expected 1 space after "="; 0 found
(#93) Line indented incorrectly; expected at least 4 spaces, found 0
(#93) Expected 1 space after "="; 0 found
(#94) Line indented incorrectly; expected at least 4 spaces, found 0
(#94) Expected 1 space after "="; 0 found
(#96) Line indented incorrectly; expected at least 4 spaces, found 0
(#97) Line indented incorrectly; expected at least 4 spaces, found 0
(#98) Line indented incorrectly; expected at least 4 spaces, found 0
(#99) Line indented incorrectly; expected at least 4 spaces, found 0
(#100) Line indented incorrectly; expected at least 4 spaces, found 0
(#101) Line indented incorrectly; expected at least 4 spaces, found 0
(#102) Line indented incorrectly; expected at least 4 spaces, found 0
(#103) Line indented incorrectly; expected at least 4 spaces, found 0
(#104) Line indented incorrectly; expected at least 4 spaces, found 0
(#105) Line indented incorrectly; expected at least 4 spaces, found 0
(#106) Line indented incorrectly; expected at least 4 spaces, found 0
(#107) Line indented incorrectly; expected at least 4 spaces, found 0
(#109) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/classes/privacy/provider.php
(#32) No space found before comment text; expected "// 3.3 user_provider not backported so we use this switch to avoid errors when using same codebase for 3.3 and higher" but found "//3.3 user_provider not backported so we use this switch to avoid errors when using same codebase for 3.3 and higher"
(#33) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#34) Closing brace must be on a line by itself
(#36) Duplicate interface name "tinymce_cloudpoodll\privacy\the_user_provider" found; first defined in /var/lib/jenkins/git_repositories/prechecker/lib/editor/tinymce/plugins/cloudpoodll/classes/privacy/provider.php on line 34
(#36) Closing brace must be on a line by itself
(#53) Inline comments must start with a capital letter, digit or 3-dots sequence
(#53) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) No space found before comment text; expected "// user provider 3.4 and above" but found "//user provider 3.4 and above"
(#54) Expected 1 space before opening brace; found 0
(#58) Method name "_get_metadata" should not be prefixed with an underscore to indicate visibility
(#58) Expected 1 space before opening brace; found 0
(#73) Method name "_get_contexts_for_userid" should not be prefixed with an underscore to indicate visibility
(#82) Method name "_export_user_data" should not be prefixed with an underscore to indicate visibility
(#90) Method name "_delete_data_for_all_users_in_context" should not be prefixed with an underscore to indicate visibility
(#98) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
lib/editor/tinymce/plugins/cloudpoodll/classes/renderer.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/>.".
(#11) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#19) Expected 1 space before opening brace; found 0
(#43) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/classes/utils.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration for class utils
(#34) Expected 1 space before opening brace; found 0
(#35) Variable "rec_options" must not contain underscores.
(#37) Variable "rec_options" must not contain underscores.
(#40) Expected 1 space before opening brace; found 0
(#47) Expected 1 space before opening brace; found 0
(#48) Variable "rec_options" must not contain underscores.
(#53) Variable "rec_options" must not contain underscores.
(#56) Expected 1 space before opening brace; found 0
(#58) Commas (,) must be followed by white space.
(#59) Commas (,) must be followed by white space.
(#60) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#62) Commas (,) must be followed by white space.
(#63) Commas (,) must be followed by white space.
(#64) Commas (,) must be followed by white space.
(#65) Commas (,) must be followed by white space.
(#66) Commas (,) must be followed by white space.
(#67) Commas (,) must be followed by white space.
(#68) Commas (,) must be followed by white space.
(#69) Commas (,) must be followed by white space.
(#73) Expected 1 space before opening brace; found 0
(#75) Expected 1 space before "=>"; 0 found
(#75) Expected 1 space after "=>"; 0 found
(#76) Expected 1 space before "=>"; 0 found
(#76) Expected 1 space after "=>"; 0 found
(#77) Expected 1 space before "=>"; 0 found
(#77) Expected 1 space after "=>"; 0 found
(#78) Expected 1 space before "=>"; 0 found
(#78) Expected 1 space after "=>"; 0 found
(#79) Expected 1 space before "=>"; 0 found
(#79) Expected 1 space after "=>"; 0 found
(#80) Expected 1 space before "=>"; 0 found
(#80) Expected 1 space after "=>"; 0 found
(#81) Expected 1 space before "=>"; 0 found
(#81) Expected 1 space after "=>"; 0 found
(#82) Expected 1 space before "=>"; 0 found
(#82) Expected 1 space after "=>"; 0 found
(#83) Expected 1 space before "=>"; 0 found
(#83) Expected 1 space after "=>"; 0 found
(#83) Commas (,) must be followed by white space.
(#88) Opening brace should be on the same line as the declaration
(#125) Opening brace should be on the same line as the declaration
(#128) No space found before comment text; expected "// TinyMCE in Moodle has not had audio and video set in extended_valid_elements" but found "//TinyMCE in Moodle has not had audio and video set in extended_valid_elements"
(#129) Inline comments must end in full-stops, exclamation marks, or question marks
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) No space found before comment text; expected "// are we willing and able to transcribe submissions?" but found "//are we willing and able to transcribe submissions?"
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#135) No space found before comment text; expected "// The regions that can transcribe" but found "//The regions that can transcribe"
(#144) Inline comments must start with a capital letter, digit or 3-dots sequence
(#144) No space found before comment text; expected "// we use curl to fetch transcripts from AWS and Tokens from cloudpoodll" but found "//we use curl to fetch transcripts from AWS and Tokens from cloudpoodll"
(#145) Inline comments must end in full-stops, exclamation marks, or question marks
(#145) No space found before comment text; expected "// this is our helper" but found "//this is our helper"
(#146) Commas (,) must be followed by white space.
(#147) Opening brace should be on the same line as the declaration
(#157) No space found before comment text; expected "// This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings" but found "//This is called from the settings page and we do not want to make calls out to cloud.poodll.com on settings"
(#158) No space found before comment text; expected "// page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a" but found "//page load, for performance and stability issues. So if the cache is empty and/or no token, we just show a"
(#159) Inline comments must end in full-stops, exclamation marks, or question marks
(#159) No space found before comment text; expected "// "refresh token" links" but found "//"refresh token" links"
(#160) Commas (,) must be followed by white space.
(#160) Expected 1 space before opening brace; found 0
(#163) No space found before comment text; expected "// First check that we have an API id and secret" but found "//First check that we have an API id and secret"
(#164) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) No space found before comment text; expected "// refresh token" but found "//refresh token"
(#166) Commas (,) must be followed by white space.
(#167) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#172) Expected "if (...) {\n"; found "if(...){\n"
(#173) Commas (,) must be followed by white space.
(#175) Expected "if (...) {\n"; found "if(...){\n"
(#176) Commas (,) must be followed by white space.
(#179) Expected "if (...) {\n"; found "if(...){\n"
(#183) Inline comments must end in full-stops, exclamation marks, or question marks
(#183) No space found before comment text; expected "// Fetch from cache and process the results and display" but found "//Fetch from cache and process the results and display"
(#187) Inline comments must start with a capital letter, digit or 3-dots sequence
(#187) Inline comments must end in full-stops, exclamation marks, or question marks
(#187) No space found before comment text; expected "// if we have no token object the creds were wrong ... or something" but found "//if we have no token object the creds were wrong ... or something"
(#188) Expected "if (...) {\n"; found "if(...){\n"
(#189) Commas (,) must be followed by white space.
(#190) Inline comments must start with a capital letter, digit or 3-dots sequence
(#190) Inline comments must end in full-stops, exclamation marks, or question marks
(#190) No space found before comment text; expected "// if we have an object but its no good, creds werer wrong ..or something" but found "//if we have an object but its no good, creds werer wrong ..or something"
(#191) Usage of ELSEIF not allowed; use ELSE IF instead
(#191) Commas (,) must be followed by white space.
(#192) Commas (,) must be followed by white space.
(#193) Inline comments must start with a capital letter, digit or 3-dots sequence
(#193) No space found before comment text; expected "// if we do not have subs, then we are on a very old token or something is wrong, just get out of here." but found "//if we do not have subs, then we are on a very old token or something is wrong, just get out of here."
(#194) Usage of ELSEIF not allowed; use ELSE IF instead
(#194) Commas (,) must be followed by white space.
(#197) Expected "if (...) {\n"; found "if(...){\n"
(#201) Inline comments must start with a capital letter, digit or 3-dots sequence
(#201) No space found before comment text; expected "// we have enough info to display a report. Lets go." but found "//we have enough info to display a report. Lets go."
(#202) Expected "foreach (...) {\n"; found "foreach (...){\n"
(#203) Commas (,) must be followed by white space.
(#204) Commas (,) must be followed by white space.
(#206) Inline comments must end in full-stops, exclamation marks, or question marks
(#206) No space found before comment text; expected "// Is app authorised" but found "//Is app authorised"
(#207) Expected "if (...) {\n"; found "if(...){\n"
(#207) Commas (,) must be followed by white space.
(#208) Commas (,) must be followed by white space.
(#209) Expected "} else {\n"; found "}else{\n"
(#210) Commas (,) must be followed by white space.
(#217) Inline comments must end in full-stops, exclamation marks, or question marks
(#217) No space found before comment text; expected "// We need a Poodll token to make this happen" but found "//We need a Poodll token to make this happen"
(#219) Opening brace should be on the same line as the declaration
(#227) Inline comments must start with a capital letter, digit or 3-dots sequence
(#227) No space found before comment text; expected "// if we got a token and its less than expiry time" but found "//if we got a token and its less than expiry time"
(#228) Inline comments must end in full-stops, exclamation marks, or question marks
(#229) Expected "if (...) {\n"; found "if(...){\n"
(#229) Expected 1 space before "=="; 0 found
(#229) Expected 1 space after "=="; 0 found
(#230) Expected "if (...) {\n"; found "if(...){\n"
(#235) Inline comments must end in full-stops, exclamation marks, or question marks
(#236) Variable "token_url" must not contain underscores.
(#236) Expected 1 space after "="; 0 found
(#240) Expected 1 space before "=>"; 0 found
(#240) Expected 1 space after "=>"; 0 found
(#242) Variable "token_response" must not contain underscores.
(#242) Variable "token_url" must not contain underscores.
(#242) Commas (,) must be followed by white space.
(#243) Variable "token_response" must not contain underscores.
(#244) Variable "resp_object" must not contain underscores.
(#244) Variable "token_response" must not contain underscores.
(#245) Expected "if (...) {\n"; found "if(...) {\n"
(#245) Variable "resp_object" must not contain underscores.
(#245) Variable "resp_object" must not contain underscores.
(#245) Commas (,) must be followed by white space.
(#246) Variable "resp_object" must not contain underscores.
(#247) Inline comments must start with a capital letter, digit or 3-dots sequence
(#247) Inline comments must end in full-stops, exclamation marks, or question marks
(#247) No space found before comment text; expected "// store the expiry timestamp and adjust it for diffs between our server times" but found "//store the expiry timestamp and adjust it for diffs between our server times"
(#248) Expected "if (...) {\n"; found "if(...) {\n"
(#248) Variable "resp_object" must not contain underscores.
(#249) Variable "resp_object" must not contain underscores.
(#249) Variable "resp_object" must not contain underscores.
(#250) Inline comments must start with a capital letter, digit or 3-dots sequence
(#250) Inline comments must end in full-stops, exclamation marks, or question marks
(#250) No space found before comment text; expected "// we refresh one hour out, to prevent any overlap" but found "//we refresh one hour out, to prevent any overlap"
(#252) Expected "} else {\n"; found "}else{\n"
(#256) Inline comments must start with a capital letter, digit or 3-dots sequence
(#256) Inline comments must end in full-stops, exclamation marks, or question marks
(#256) No space found before comment text; expected "// cache the token" but found "//cache the token"
(#260) Expected 1 space before "="; 0 found
(#260) Expected 1 space after "="; 0 found
(#261) Expected 1 space before "="; 0 found
(#261) Expected 1 space after "="; 0 found
(#262) Expected 1 space before "="; 0 found
(#262) Expected 1 space after "="; 0 found
(#263) Expected "if (...) {\n"; found "if(...){\n"
(#263) Variable "resp_object" must not contain underscores.
(#263) Commas (,) must be followed by white space.
(#264) Variable "resp_object" must not contain underscores.
(#266) Expected "if (...) {\n"; found "if(...){\n"
(#266) Variable "resp_object" must not contain underscores.
(#266) Commas (,) must be followed by white space.
(#267) Variable "resp_object" must not contain underscores.
(#269) Expected "if (...) {\n"; found "if(...){\n"
(#269) Variable "resp_object" must not contain underscores.
(#269) Commas (,) must be followed by white space.
(#270) Variable "resp_object" must not contain underscores.
(#275) Expected "} else {\n"; found "}else{\n"
(#277) Expected "if (...) {\n"; found "if(...) {\n"
(#277) Empty IF statement detected
(#277) Variable "resp_object" must not contain underscores.
(#277) Variable "resp_object" must not contain underscores.
(#277) Commas (,) must be followed by white space.
(#278) Inline comments must end in full-stops, exclamation marks, or question marks
(#278) This comment is 43% valid code; is this commented out code?
(#278) No space found before comment text; expected "// ERROR = $resp_object->error" but found "//ERROR = $resp_object->error"
(#281) Expected "} else {\n"; found "}else{\n"
(#282) Expected 1 space before "="; 0 found
(#282) Expected 1 space after "="; 0 found
(#286) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/cloudpoodll.php
(#36) Inline comments must start with a capital letter, digit or 3-dots sequence
(#36) No space found before comment text; expected "// it was necessary to remove the course / cm information becusae on M4.0 (and earlier ..?)" but found "//it was necessary to remove the course / cm information becusae on M4.0 (and earlier ..?)"
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
(#39) No space found before comment text; expected "// require_login($course, false, $cm);" but found "//require_login($course, false, $cm);"
(#45) Inline comments must start with a capital letter, digit or 3-dots sequence
(#45) This comment is 73% valid code; is this commented out code?
(#45) No space found before comment text; expected "// $PAGE->set_context(context_system::instance());" but found "//$PAGE->set_context(context_system::instance());"
(#59) Inline comments must start with a capital letter, digit or 3-dots sequence
(#59) This comment is 54% valid code; is this commented out code?
(#59) No space found before comment text; expected "// $PAGE->requires->js(new moodle_url($CFG->wwwroot. constants::M_ROOT . '/tinymce/js/dialog.js'), true);" but found "//$PAGE->requires->js(new moodle_url($CFG->wwwroot. constants::M_ROOT . '/tinymce/js/dialog.js'), true);"
lib/editor/tinymce/plugins/cloudpoodll/fetchcbpage.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#37) Expected "if (...) {\n"; found "if(...){\n"
(#37) Commas (,) must be followed by white space.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#39) Commas (,) must be followed by white space.
(#39) Expected 1 space before "=>"; 0 found
(#39) Expected 1 space after "=>"; 0 found
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#40) Commas (,) must be followed by white space.
(#40) Expected 1 space before "=>"; 0 found
(#40) Expected 1 space after "=>"; 0 found
(#42) Commas (,) must be followed by white space.
(#44) Expected "} else {\n"; found "}else{\n"
lib/editor/tinymce/plugins/cloudpoodll/lang/en/tinymce_cloudpoodll.php
(#113) Expected 1 space before "="; 0 found
(#113) Expected 1 space after "="; 0 found
(#114) Expected 1 space before "="; 0 found
(#114) Expected 1 space after "="; 0 found
(#170) Inline comments must start with a capital letter, digit or 3-dots sequence
(#170) Inline comments must end in full-stops, exclamation marks, or question marks
(#170) No space found before comment text; expected "// shown in popup" but found "//shown in popup"
(#177) Expected 1 space before "="; 0 found
(#177) Expected 1 space after "="; 0 found
(#177) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/lib.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#40) Commas (,) must be followed by white space.
(#49) Commas (,) must be followed by white space.
(#51) Expected 1 space before "="; 0 found
(#51) Expected 1 space after "="; 0 found
(#52) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#52) Expected 1 space before "=>"; 0 found
(#52) Expected 1 space after "=>"; 0 found
(#53) Expected 1 space before "="; 0 found
(#57) Expected 1 space after "="; 0 found
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Commas (,) must be followed by white space.
(#57) Line exceeds 132 characters; contains 140 characters
(#58) Commas (,) must be followed by white space.
(#58) Commas (,) must be followed by white space.
(#58) Commas (,) must be followed by white space.
(#59) Commas (,) must be followed by white space.
(#59) Commas (,) must be followed by white space.
(#61) Commas (,) must be followed by white space.
(#64) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#66) Inline comments must start with a capital letter, digit or 3-dots sequence
(#66) No space found before comment text; expected "// use tinymce/poodll:visible capability" but found "//use tinymce/poodll:visible capability"
(#67) Inline comments must end in full-stops, exclamation marks, or question marks
(#67) No space found before comment text; expected "// If they don't have permission don't show it" but found "//If they don't have permission don't show it"
(#68) Expected "if (...) {\n"; found "if(...){\n"
(#71) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#73) Commas (,) must be followed by white space.
(#74) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#75) Commas (,) must be followed by white space.
(#76) Expected "if (...) {\n"; found "if(...){\n"
(#80) Functions must not contain multiple empty lines in a row; found 3 empty lines
(#83) Inline comments must start with a capital letter, digit or 3-dots sequence
(#83) Inline comments must end in full-stops, exclamation marks, or question marks
(#83) No space found before comment text; expected "// cloudpoodll params" but found "//cloudpoodll params"
(#86) Inline comments must start with a capital letter, digit or 3-dots sequence
(#86) Inline comments must end in full-stops, exclamation marks, or question marks
(#86) No space found before comment text; expected "// subitling ok" but found "//subitling ok"
(#90) Whitespace found at end of line
(#91) Variable "cp_params" must not contain underscores.
(#92) Variable "cp_params" must not contain underscores.
(#93) Variable "cp_params" must not contain underscores.
(#94) Variable "cp_params" must not contain underscores.
(#95) Variable "cp_params" must not contain underscores.
(#95) Commas (,) must be followed by white space.
(#96) Variable "cp_params" must not contain underscores.
(#97) Variable "cp_params" must not contain underscores.
(#97) Commas (,) must be followed by white space.
(#98) Variable "cp_params" must not contain underscores.
(#99) Variable "cp_params" must not contain underscores.
(#100) Variable "cp_params" must not contain underscores.
(#101) Variable "cp_params" must not contain underscores.
(#102) Variable "cp_params" must not contain underscores.
(#103) Variable "cp_params" must not contain underscores.
(#104) Variable "cp_params" must not contain underscores.
(#105) Variable "cp_params" must not contain underscores.
(#107) Inline comments must start with a capital letter, digit or 3-dots sequence
(#107) Inline comments must end in full-stops, exclamation marks, or question marks
(#107) No space found before comment text; expected "// insert method" but found "//insert method"
(#108) Variable "cp_params" must not contain underscores.
(#108) Expected 1 space before "="; 0 found
(#108) Expected 1 space after "="; 0 found
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) This comment is 75% valid code; is this commented out code?
(#108) No space found before comment text; expected "// $config->insertmethod;" but found "//$config->insertmethod;"
(#109) Variable "cp_params" must not contain underscores.
(#109) Expected 1 space before "="; 0 found
(#109) Expected 1 space after "="; 0 found
(#110) Variable "cp_params" must not contain underscores.
(#110) Expected 1 space before "="; 0 found
(#110) Expected 1 space after "="; 0 found
(#112) Inline comments must end in full-stops, exclamation marks, or question marks
(#113) Expected 1 space before "="; 0 found
(#113) Expected 1 space after "="; 0 found
(#113) Variable "cp_params" must not contain underscores.
(#120) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/refreshtoken.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Expected "if (...) {\n"; found "if(...){\n"
(#36) Commas (,) must be followed by white space.
(#37) Commas (,) must be followed by white space.
(#38) Expected 1 space before "="; 0 found
(#38) Expected 1 space after "="; 0 found
(#38) Commas (,) must be followed by white space.
(#39) Expected 1 space before "="; 0 found
(#39) Expected 1 space after "="; 0 found
(#40) Expected "if (...) {\n"; found "if(...) {\n"
(#44) File must end with a newline character
lib/editor/tinymce/plugins/cloudpoodll/settings.php
(#29) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#35) Variable "cloudpoodll_apiuser" must not contain underscores.
(#35) Expected 1 space before "="; 0 found
(#35) Expected 1 space after "="; 0 found
(#35) Commas (,) must be followed by white space.
(#36) Variable "cloudpoodll_apisecret" must not contain underscores.
(#36) Expected 1 space before "="; 0 found
(#36) Expected 1 space after "="; 0 found
(#36) Commas (,) must be followed by white space.
(#37) Variable "show_below_apisecret" must not contain underscores.
(#37) Expected 1 space before "="; 0 found
(#37) Expected 1 space after "="; 0 found
(#38) Inline comments must start with a capital letter, digit or 3-dots sequence
(#38) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Line indented incorrectly; expected at least 4 spaces, found 0
(#38) No space found before comment text; expected "// if we have an API user and secret we fetch token" but found "//if we have an API user and secret we fetch token"
(#39) Expected "if (...) {\n"; found "if(...) {\n"
(#39) Variable "cloudpoodll_apiuser" must not contain underscores.
(#39) Variable "cloudpoodll_apisecret" must not contain underscores.
(#40) Variable "cloudpoodll_apiuser" must not contain underscores.
(#40) Commas (,) must be followed by white space.
(#40) Variable "cloudpoodll_apisecret" must not contain underscores.
(#41) Variable "show_below_apisecret" must not contain underscores.
(#41) Expected 1 space before "="; 0 found
(#41) Expected 1 space after "="; 0 found
(#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) Line indented incorrectly; expected at least 8 spaces, found 0
(#42) No space found before comment text; expected "// if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link" but found "//if we have no API user and secret we show a "fetch from elsewhere on site" or "take a free trial" link"
(#43) Expected "} else {\n"; found "}else{\n"
(#44) Expected 1 space before "="; 0 found
(#44) Expected 1 space after "="; 0 found
(#44) Expected 1 space before "=>"; 0 found
(#44) Expected 1 space after "=>"; 0 found
(#45) Variable "cp_components" must not contain underscores.
(#45) Expected 1 space before "="; 0 found
(#45) Expected 1 space after "="; 0 found
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Commas (,) must be followed by white space.
(#45) Line exceeds 132 characters; contains 153 characters
(#46) Commas (,) must be followed by white space.
(#46) Commas (,) must be followed by white space.
(#47) Expected "foreach (...) {\n"; found "foreach(...){\n"
(#47) Variable "cp_components" must not contain underscores.
(#47) Variable "cp_component" must not contain underscores.
(#48) Variable "cp_component" must not contain underscores.
(#50) Expected 1 space before "="; 0 found
(#50) Expected 1 space after "="; 0 found
(#51) Expected 1 space before "="; 0 found
(#51) Expected 1 space after "="; 0 found
(#54) Expected 1 space before "="; 0 found
(#54) Expected 1 space after "="; 0 found
(#55) Expected 1 space before "="; 0 found
(#55) Expected 1 space after "="; 0 found
(#58) Expected 1 space before "="; 0 found
(#58) Expected 1 space after "="; 0 found
(#59) Expected 1 space before "="; 0 found
(#59) Expected 1 space after "="; 0 found
(#61) Variable "cloudpoodll_apiuser" must not contain underscores.
(#61) Expected 1 space before "="; 0 found
(#61) Expected 1 space after "="; 0 found
(#61) Variable "cp_component" must not contain underscores.
(#61) Commas (,) must be followed by white space.
(#62) Expected "if (...) {\n"; found "if(...){\n"
(#62) Variable "cloudpoodll_apiuser" must not contain underscores.
(#63) Variable "cloudpoodll_apisecret" must not contain underscores.
(#63) Expected 1 space before "="; 0 found
(#63) Expected 1 space after "="; 0 found
(#63) Variable "cp_component" must not contain underscores.
(#63) Commas (,) must be followed by white space.
(#64) Expected "if (...) {\n"; found "if(...){\n"
(#64) Variable "cloudpoodll_apisecret" must not contain underscores.
(#65) Expected 1 space before "="; 0 found
(#65) Expected 1 space after "="; 0 found
(#65) Variable "cloudpoodll_apiuser" must not contain underscores.
(#66) Expected 1 space before "="; 0 found
(#66) Expected 1 space after "="; 0 found
(#66) Variable "cloudpoodll_apisecret" must not contain underscores.
(#71) Variable "show_below_apisecret" must not contain underscores.
(#71) Expected 1 space before "="; 0 found
(#71) Expected 1 space after "="; 0 found
(#71) Commas (,) must be followed by white space.
(#75) Variable "show_below_apisecret" must not contain underscores.
(#79) Line exceeds 132 characters; contains 137 characters
(#83) Line exceeds 132 characters; contains 139 characters
(#87) Line exceeds 132 characters; contains 143 characters
(#94) Line exceeds 132 characters; contains 139 characters
(#96) Line exceeds 132 characters; contains 139 characters
(#105) Line exceeds 132 characters; contains 135 characters
(#110) Line exceeds 132 characters; contains 137 characters
(#116) Line exceeds 132 characters; contains 137 characters
(#119) Inline comments must end in full-stops, exclamation marks, or question marks
(#119) Line indented incorrectly; expected at least 4 spaces, found 0
(#119) No space found before comment text; expected "// Default html5 fallback" but found "//Default html5 fallback"
(#120) Variable "fallback_options" must not contain underscores.
(#123) Variable "fallback_options" must not contain underscores.
lib/editor/tinymce/plugins/cloudpoodll/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#32) File must end with a newline character

Javascript coding style problems

(21 errors, 181 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/amd/src/cloudpoodllloader.js
(#1) A space is required after ','. (comma-spacing)
(#3) A space is required after ','. (comma-spacing)
(#3) A space is required after ','. (comma-spacing)
(#3) Missing space before opening brace. (space-before-blocks)
(#5) A space is required after ','. (comma-spacing)
(#5) Missing space before opening brace. (space-before-blocks)
(#9) There should be no space after this paren. (space-in-parens)
(#9) There should be no space before this paren. (space-in-parens)
(#9) A space is required after ','. (comma-spacing)
(#9) Missing space before opening brace. (space-before-blocks)
(#10) A space is required after ','. (comma-spacing)
lib/editor/tinymce/plugins/cloudpoodll/tinymce/editor_plugin.js
(#137) Parsing error: Unexpected token (
lib/editor/tinymce/plugins/cloudpoodll/tinymce/js/dialog.js
(#37) Multiple spaces found before 'ENUS'. (no-multi-spaces)
(#37) There should be no space after '{'. (object-curly-spacing)
(#75) 'CSS' is already defined as a built-in global variable. (no-redeclare)
(#91) Operator '=' must be spaced. (space-infix-ops)
(#135) This line has a length of 141. Maximum allowed is 132. (max-len)
(#136) This line has a length of 159. Maximum allowed is 132. (max-len)
(#138) This line has a length of 162. Maximum allowed is 132. (max-len)
(#139) This line has a length of 137. Maximum allowed is 132. (max-len)
(#143) This line has a length of 141. Maximum allowed is 132. (max-len)
(#144) This line has a length of 159. Maximum allowed is 132. (max-len)
(#146) This line has a length of 162. Maximum allowed is 132. (max-len)
(#147) This line has a length of 137. Maximum allowed is 132. (max-len)
(#152) This line has a length of 143. Maximum allowed is 132. (max-len)
(#224) Operator '+' must be spaced. (space-infix-ops)
(#235) Operator '+' must be spaced. (space-infix-ops)
(#247) Operator '+' must be spaced. (space-infix-ops)
(#264) Identifier 'tinymce_cloudpoodll' is not in camel case. (camelcase)
(#266) 'params' is defined but never used. (no-unused-vars)
(#269) 'tinyMCEPopup' is not defined. (no-undef)
(#270) Comments should not begin with a lowercase character. (capitalized-comments)
(#270) Expected space or tab after '//' in comment. (spaced-comment)
(#273) Comments should not begin with a lowercase character. (capitalized-comments)
(#273) Expected space or tab after '//' in comment. (spaced-comment)
(#277) Comments should not begin with a lowercase character. (capitalized-comments)
(#277) Expected space or tab after '//' in comment. (spaced-comment)
(#278) Operator '==' must be spaced. (space-infix-ops)
(#280) Comments should not begin with a lowercase character. (capitalized-comments)
(#280) Expected space or tab after '//' in comment. (spaced-comment)
(#295) 'tinyMCEPopup' is not defined. (no-undef)
(#295) A space is required after ','. (comma-spacing)
(#295) Missing semicolon. (semi)
(#309) A space is required after ','. (comma-spacing)
(#309) Comments should not begin with a lowercase character. (capitalized-comments)
(#309) Expected space or tab after '//' in comment. (spaced-comment)
(#311) A space is required after ','. (comma-spacing)
(#311) Comments should not begin with a lowercase character. (capitalized-comments)
(#311) Expected space or tab after '//' in comment. (spaced-comment)
(#315) A space is required after ','. (comma-spacing)
(#315) Expected space or tab after '//' in comment. (spaced-comment)
(#318) Operator '===' must be spaced. (space-infix-ops)
(#319) Operator '===' must be spaced. (space-infix-ops)
(#361) Comments should not begin with a lowercase character. (capitalized-comments)
(#361) Expected space or tab after '//' in comment. (spaced-comment)
(#364) Expected space or tab after '//' in comment. (spaced-comment)
(#368) Expected space or tab after '//' in comment. (spaced-comment)
(#386) More than 2 blank lines not allowed. (no-multiple-empty-lines)
(#387) Missing JSDoc for parameter 'recorder'. (valid-jsdoc)
(#394) 'thehost' is assigned a value but never used. (no-unused-vars)
(#394) 'tinymce' is not defined. (no-undef)
(#395) Expected space or tab after '//' in comment. (spaced-comment)
(#397) Expected space or tab after '//' in comment. (spaced-comment)
(#398) Expected space or tab after '//' in comment. (spaced-comment)
(#400) Expected space or tab after '//' in comment. (spaced-comment)
(#410) Comments should not begin with a lowercase character. (capitalized-comments)
(#410) Expected space or tab after '//' in comment. (spaced-comment)
(#411) Expected space(s) after "switch". (keyword-spacing)
(#411) Missing space before opening brace. (space-before-blocks)
(#413) Expected space or tab after '//' in comment. (spaced-comment)
(#414) Expected space(s) after "switch". (keyword-spacing)
(#414) Missing space before opening brace. (space-before-blocks)
(#420) 'width' is already defined. (no-redeclare)
(#421) 'height' is already defined. (no-redeclare)
(#424) 'width' is already defined. (no-redeclare)
(#425) 'height' is already defined. (no-redeclare)
(#428) 'width' is already defined. (no-redeclare)
(#429) 'height' is already defined. (no-redeclare)
(#435) 'title' is already defined. (no-redeclare)
(#435) Expected space or tab after '//' in comment. (spaced-comment)
(#436) 'width' is already defined. (no-redeclare)
(#436) 'width' used outside of binding context. (block-scoped-var)
(#436) 'width' used outside of binding context. (block-scoped-var)
(#436) 'width' used outside of binding context. (block-scoped-var)
(#436) 'width' used outside of binding context. (block-scoped-var)
(#437) 'height' is already defined. (no-redeclare)
(#437) 'height' used outside of binding context. (block-scoped-var)
(#437) 'height' used outside of binding context. (block-scoped-var)
(#437) 'height' used outside of binding context. (block-scoped-var)
(#437) 'height' used outside of binding context. (block-scoped-var)
(#441) Identifier 'd_conf' is not in camel case. (camelcase)
(#442) Identifier 'd_conf' is not in camel case. (camelcase)
(#442) Operator '=' must be spaced. (space-infix-ops)
(#443) Identifier 'd_conf' is not in camel case. (camelcase)
(#443) Operator '=' must be spaced. (space-infix-ops)
(#443) 'title' used outside of binding context. (block-scoped-var)
(#443) 'title' used outside of binding context. (block-scoped-var)
(#444) Identifier 'd_conf' is not in camel case. (camelcase)
(#445) Identifier 'd_conf' is not in camel case. (camelcase)
(#445) 'width' used outside of binding context. (block-scoped-var)
(#445) 'width' used outside of binding context. (block-scoped-var)
(#445) 'width' used outside of binding context. (block-scoped-var)
(#445) 'width' used outside of binding context. (block-scoped-var)
(#445) 'width' used outside of binding context. (block-scoped-var)
(#446) Expected space(s) after "if". (keyword-spacing)
(#446) 'height' used outside of binding context. (block-scoped-var)
(#446) 'height' used outside of binding context. (block-scoped-var)
(#446) 'height' used outside of binding context. (block-scoped-var)
(#446) 'height' used outside of binding context. (block-scoped-var)
(#446) 'height' used outside of binding context. (block-scoped-var)
(#447) Identifier 'd_conf' is not in camel case. (camelcase)
(#447) 'height' used outside of binding context. (block-scoped-var)
(#447) 'height' used outside of binding context. (block-scoped-var)
(#447) 'height' used outside of binding context. (block-scoped-var)
(#447) 'height' used outside of binding context. (block-scoped-var)
(#447) 'height' used outside of binding context. (block-scoped-var)
(#450) Comments should not begin with a lowercase character. (capitalized-comments)
(#452) Expected space or tab after '//' in comment. (spaced-comment)
(#467) Operator '=' must be spaced. (space-infix-ops)
(#468) Operator '=' must be spaced. (space-infix-ops)
(#469) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#469) 'YUI' is not defined. (no-undef)
(#469) Unexpected space before function parentheses. (space-before-function-paren)
(#472) Expected space(s) after "if". (keyword-spacing)
(#472) Operator '==' must be spaced. (space-infix-ops)
(#472) Missing space before opening brace. (space-before-blocks)
(#473) Operator '=' must be spaced. (space-infix-ops)
(#474) Expected space(s) before "else". (keyword-spacing)
(#474) Expected space(s) after "else". (keyword-spacing)
(#481) Comments should not begin with a lowercase character. (capitalized-comments)
(#481) Expected space or tab after '//' in comment. (spaced-comment)
(#488) Comments should not begin with a lowercase character. (capitalized-comments)
(#488) Expected space or tab after '//' in comment. (spaced-comment)
(#489) Expected space(s) after "if". (keyword-spacing)
(#490) Unexpected space before function parentheses. (space-before-function-paren)
(#492) Comments should not begin with a lowercase character. (capitalized-comments)
(#492) Expected space or tab after '//' in comment. (spaced-comment)
(#504) Comments should not begin with a lowercase character. (capitalized-comments)
(#504) Expected space or tab after '//' in comment. (spaced-comment)
(#510) Comments should not begin with a lowercase character. (capitalized-comments)
(#510) Expected space or tab after '//' in comment. (spaced-comment)
(#511) Expected space(s) after "if". (keyword-spacing)
(#512) Unexpected space before function parentheses. (space-before-function-paren)
(#514) Comments should not begin with a lowercase character. (capitalized-comments)
(#514) Expected space or tab after '//' in comment. (spaced-comment)
(#523) Comments should not begin with a lowercase character. (capitalized-comments)
(#523) Expected space or tab after '//' in comment. (spaced-comment)
(#524) Expected space(s) after "if". (keyword-spacing)
(#525) Unexpected space before function parentheses. (space-before-function-paren)
(#527) Expected space(s) after "if". (keyword-spacing)
(#531) Comments should not begin with a lowercase character. (capitalized-comments)
(#531) Expected space or tab after '//' in comment. (spaced-comment)
(#538) Comments should not begin with a lowercase character. (capitalized-comments)
(#538) Expected space or tab after '//' in comment. (spaced-comment)
(#550) Missing space before opening brace. (space-before-blocks)
(#552) Operator '=' must be spaced. (space-infix-ops)
(#554) Identifier 'recorder_callback' is not in camel case. (camelcase)
(#554) Missing space before opening brace. (space-before-blocks)
(#555) Expected space(s) after "switch". (keyword-spacing)
(#555) Missing space before opening brace. (space-before-blocks)
(#557) Expected space(s) after "if". (keyword-spacing)
(#557) Operator '===' must be spaced. (space-infix-ops)
(#557) Missing space before opening brace. (space-before-blocks)
(#558) Comments should not begin with a lowercase character. (capitalized-comments)
(#558) Expected space or tab after '//' in comment. (spaced-comment)
(#559) Expected space(s) after "if". (keyword-spacing)
(#566) Expected space(s) after "if". (keyword-spacing)
(#567) Missing space before opening brace. (space-before-blocks)
(#569) A space is required after ','. (comma-spacing)
(#569) A space is required after ','. (comma-spacing)
(#570) A space is required after ','. (comma-spacing)
(#575) Unexpected alert. (no-alert)
(#579) A space is required after ','. (comma-spacing)
(#583) Missing JSDoc for parameter 'mediaurl'. (valid-jsdoc)
(#583) Missing JSDoc for parameter 'mediafilename'. (valid-jsdoc)
(#583) Missing JSDoc for parameter 'sourceurl'. (valid-jsdoc)
(#583) Missing JSDoc for parameter 'sourcemimetype'. (valid-jsdoc)
(#588) Missing space before opening brace. (space-before-blocks)
(#590) Comments should not begin with a lowercase character. (capitalized-comments)
(#590) Expected space or tab after '//' in comment. (spaced-comment)
(#600) Expected space(s) after "switch". (keyword-spacing)
(#600) Missing space before opening brace. (space-before-blocks)
(#603) Expected space(s) after "if". (keyword-spacing)
(#603) Missing space before opening brace. (space-before-blocks)
(#607) Expected space(s) after "if". (keyword-spacing)
(#609) Expected space(s) before "else". (keyword-spacing)
(#609) Expected space(s) after "else". (keyword-spacing)
(#613) Expected space(s) before "else". (keyword-spacing)
(#617) Expected space(s) after "if". (keyword-spacing)
(#619) Expected space(s) before "else". (keyword-spacing)
(#619) Expected space(s) after "else". (keyword-spacing)
(#628) Comments should not begin with a lowercase character. (capitalized-comments)
(#628) Expected space or tab after '//' in comment. (spaced-comment)
(#632) A function with a name starting with an uppercase letter should only be used as a constructor. (new-cap)
(#632) 'YUI' is not defined. (no-undef)
(#632) Unexpected space before function parentheses. (space-before-function-paren)
(#634) Comments should not begin with a lowercase character. (capitalized-comments)
(#634) Expected space or tab after '//' in comment. (spaced-comment)
(#635) This line has a length of 208. Maximum allowed is 132. (max-len)
(#635) Expected space or tab after '//' in comment. (spaced-comment)
(#636) 'tinyMCEPopup' is not defined. (no-undef)
(#637) 'tinyMCEPopup' is not defined. (no-undef)

CSS problems

(94 errors, 8 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/tinymce/css/cloudpoodll.css
(#10) Expected newline after "}" (block-closing-brace-newline-after)
(#1) Expected newline before "}" (block-closing-brace-newline-before)
(#2) Expected newline before "}" (block-closing-brace-newline-before)
(#3) Expected newline before "}" (block-closing-brace-newline-before)
(#4) Expected newline before "}" (block-closing-brace-newline-before)
(#5) Expected newline before "}" (block-closing-brace-newline-before)
(#6) Expected newline before "}" (block-closing-brace-newline-before)
(#7) Expected newline before "}" (block-closing-brace-newline-before)
(#8) Expected newline before "}" (block-closing-brace-newline-before)
(#9) Expected newline before "}" (block-closing-brace-newline-before)
(#10) Expected newline before "}" (block-closing-brace-newline-before)
(#11) Expected newline before "}" (block-closing-brace-newline-before)
(#1) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#2) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#3) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#4) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#5) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#6) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#7) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#8) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#9) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#10) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#11) Expected single space before "}" of a single-line block (block-closing-brace-space-before)
(#1) Expected newline after "{" (block-opening-brace-newline-after)
(#2) Expected newline after "{" (block-opening-brace-newline-after)
(#3) Expected newline after "{" (block-opening-brace-newline-after)
(#4) Expected newline after "{" (block-opening-brace-newline-after)
(#5) Expected newline after "{" (block-opening-brace-newline-after)
(#6) Expected newline after "{" (block-opening-brace-newline-after)
(#7) Expected newline after "{" (block-opening-brace-newline-after)
(#8) Expected newline after "{" (block-opening-brace-newline-after)
(#9) Expected newline after "{" (block-opening-brace-newline-after)
(#10) Expected newline after "{" (block-opening-brace-newline-after)
(#11) Expected newline after "{" (block-opening-brace-newline-after)
(#1) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#2) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#3) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#4) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#5) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#6) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#7) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#8) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#9) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#10) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#11) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#12) Expected single space before "{" (block-opening-brace-space-before)
(#6) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#6) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#10) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#11) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#11) Expected single space after ";" in a single-line declaration block (declaration-block-semicolon-space-after)
(#6) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#10) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#11) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#3) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#4) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#7) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#10) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#11) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#9) Unexpected unit (length-zero-no-unit)
(#10) Unexpected unit (length-zero-no-unit)
(#10) Unexpected unit (length-zero-no-unit)
(#11) Unexpected unit (length-zero-no-unit)
(#11) Unexpected unit (length-zero-no-unit)
(#11) Unexpected unit (length-zero-no-unit)
(#14) Unexpected unit (length-zero-no-unit)
(#15) Unexpected unit (length-zero-no-unit)
(#10) Unexpected whitespace at end of line (no-eol-whitespace)
(#1) Expected newline after "," (selector-list-comma-newline-after)
(#1) Expected newline after "," (selector-list-comma-newline-after)
(#4) Expected newline after "," (selector-list-comma-newline-after)
(#4) Expected newline after "," (selector-list-comma-newline-after)
(#5) Expected newline after "," (selector-list-comma-newline-after)
(#6) Expected newline after "," (selector-list-comma-newline-after)
(#6) Expected newline after "," (selector-list-comma-newline-after)
(#6) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#7) Expected newline after "," (selector-list-comma-newline-after)
(#13) Expected indentation of 4 spaces (indentation)
(#14) Expected indentation of 4 spaces (indentation)
(#15) Expected indentation of 4 spaces (indentation)
(#16) Expected indentation of 4 spaces (indentation)

PHPDocs style problems

(91 errors, 2 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/classes/constants.php
(#31) Class constants is not documented
(#34) Constant constants::M_COMPONENT is not documented
(#35) Constant constants::M_TABLE is not documented
(#36) Constant constants::M_SUBPLUGIN is not documented
(#37) Constant constants::M_ROOT is not documented
(#38) Constant constants::M_URL is not documented
(#40) Constant constants::APPID is not documented
(#42) Constant constants::REC_AUDIO is not documented
(#43) Constant constants::REC_VIDEO is not documented
(#45) Constant constants::SKIN_PLAIN is not documented
(#46) Constant constants::SKIN_BMR is not documented
(#47) Constant constants::SKIN_123 is not documented
(#48) Constant constants::SKIN_FRESH is not documented
(#49) Constant constants::SKIN_ONCE is not documented
(#51) Constant constants::LANG_ENUS is not documented
(#52) Constant constants::LANG_ENGB is not documented
(#53) Constant constants::LANG_ENAU is not documented
(#54) Constant constants::LANG_ESUS is not documented
(#55) Constant constants::LANG_FRCA is not documented
(#56) Constant constants::LANG_FRFR is not documented
(#57) Constant constants::LANG_ITIT is not documented
(#58) Constant constants::LANG_PTBR is not documented
(#59) Constant constants::LANG_KOKR is not documented
(#60) Constant constants::LANG_DEDE is not documented
(#61) Constant constants::LANG_HIIN is not documented
(#62) Constant constants::LANG_ENIN is not documented
(#63) Constant constants::LANG_ESES is not documented
(#64) Constant constants::LANG_ARAE is not documented
(#65) Constant constants::LANG_ARSA is not documented
(#66) Constant constants::LANG_ZHCN is not documented
(#67) Constant constants::LANG_NLNL is not documented
(#68) Constant constants::LANG_ENIE is not documented
(#69) Constant constants::LANG_ENWL is not documented
(#70) Constant constants::LANG_ENAB is not documented
(#71) Constant constants::LANG_FAIR is not documented
(#72) Constant constants::LANG_DECH is not documented
(#73) Constant constants::LANG_HEIL is not documented
(#74) Constant constants::LANG_IDID is not documented
(#75) Constant constants::LANG_JAJP is not documented
(#76) Constant constants::LANG_MSMY is not documented
(#77) Constant constants::LANG_PTPT is not documented
(#78) Constant constants::LANG_RURU is not documented
(#79) Constant constants::LANG_TAIN is not documented
(#80) Constant constants::LANG_TEIN is not documented
(#81) Constant constants::LANG_TRTR is not documented
(#83) Constant constants::INSERT_LINK is not documented
(#84) Constant constants::INSERT_TAGS is not documented
(#86) Constant constants::FALLBACK_UPLOAD is not documented
(#87) Constant constants::FALLBACK_IOSUPLOAD is not documented
(#88) Constant constants::FALLBACK_WARNING is not documented
(#90) Constant constants::CLASS_REC_CONTAINER is not documented
(#91) Constant constants::CLASS_REC_OUTER is not documented
(#92) Constant constants::ID_REC is not documented
(#93) Constant constants::ID_UPDATE_CONTROL is not documented
(#94) Constant constants::NAME_UPDATE_CONTROL is not documented
(#96) Constant constants::REGION_USEAST1 is not documented
(#97) Constant constants::REGION_TOKYO is not documented
(#98) Constant constants::REGION_DUBLIN is not documented
(#99) Constant constants::REGION_SYDNEY is not documented
(#100) Constant constants::REGION_OTTAWA is not documented
(#101) Constant constants::REGION_SAOPAULO is not documented
(#102) Constant constants::REGION_FRANKFURT is not documented
(#103) Constant constants::REGION_LONDON is not documented
(#104) Constant constants::REGION_SINGAPORE is not documented
(#105) Constant constants::REGION_MUMBAI is not documented
(#106) Constant constants::REGION_CAPETOWN is not documented
(#107) Constant constants::REGION_BAHRAIN is not documented
(#17) No one-line description found in phpdocs for file
lib/editor/tinymce/plugins/cloudpoodll/classes/privacy/provider.php
(#58) Function provider::_get_metadata is not documented
lib/editor/tinymce/plugins/cloudpoodll/classes/renderer.php
(#14) Package is not specified for class renderer. It is also not specified in file-level phpdocs
(#14) Class renderer is not documented
(#2) No one-line description found in phpdocs for file
(#2) File-level phpdocs block does not have @copyright tag
(#2) File-level phpdocs block does not have @license tag
lib/editor/tinymce/plugins/cloudpoodll/classes/utils.php
(#31) Class utils is not documented
(#34) Function utils::fetch_options_recorders is not documented
(#40) Function utils::fetch_options_fallback is not documented
(#47) Function utils::fetch_options_skins is not documented
(#56) Function utils::get_region_options is not documented
(#73) Function utils::get_expiredays_options is not documented
(#87) Function utils::get_lang_options is not documented
(#124) Function utils::get_insert_options is not documented
(#134) Function utils::can_transcribe is not documented
(#146) Function utils::curl_fetch is not documented
(#160) Function utils::fetch_token_for_display is not documented
(#218) Function utils::fetch_token is not documented
(#17) No one-line description found in phpdocs for file
lib/editor/tinymce/plugins/cloudpoodll/cloudpoodll.php
(#20) Package tinymce_cloudpodll is not valid
lib/editor/tinymce/plugins/cloudpoodll/fetchcbpage.php
(#2) Empty line found after PHP open tag
lib/editor/tinymce/plugins/cloudpoodll/lib.php
(#34) Package tinymce_poodll is not valid
(#117) Function tinymce_cloudpoodll::get_sort_order is not documented
(#44) Phpdocs for function tinymce_cloudpoodll::update_init_params has incomplete parameters list
lib/editor/tinymce/plugins/cloudpoodll/refreshtoken.php
(#2) Empty line found after PHP open 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, 0 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/amd/build/cloudpoodllloader.min.js
Uncommitted change detected.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 22 warnings)

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

lib/editor/tinymce/plugins/cloudpoodll/templates/fetchcbpage.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up checkout links
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up checkout links
(#1) ESLint warning [space-before-blocks]: Missing space before opening brace. ( $.getScript('https://js.chargebee.com/v2/chargebee.js', function(){
(#1) ESLint error [no-undef]: 'Chargebee' is not defined. ( var chargebee = Chargebee.init({'site': '', isItemsModel: true});
(#1) ESLint error [semi]: Missing semicolon. ( var cart = chargebee.getCart()
(#1) ESLint error [semi]: Missing semicolon. ( var planPriceQuantity = 1
(#1) ESLint error [semi]: Missing semicolon. ( var product = chargebee.initializeProduct(planPriceId, planPriceQuantity)
(#1) ESLint warning [camelcase]: Identifier 'billing_address' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'first_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'last_name' is not in camel case. ( var customer = {email: "", billing_address: {first_name: "",last_name: "", country: ""}};
(#1) ESLint warning [camelcase]: Identifier 'cf_startsiteurl' is not in camel case. ( product.setCustomData({cf_startsiteurl: ""});
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 21 Column: 1
lib/editor/tinymce/plugins/cloudpoodll/templates/managecreds.mustache
(#1) Example context missing (@template section not found.)
(#1) ESLint warning [comma-spacing]: A space is required after ','. ( require(['jquery'],function($) {
(#1) ESLint warning [capitalized-comments]: Comments should not begin with a lowercase character. ( //set up fetch from elsewhere
(#1) ESLint warning [spaced-comment]: Expected space or tab after '//' in comment. ( //set up fetch from elsewhere
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apiuser.value='';
(#1) ESLint warning [space-infix-ops]: Operator '=' must be spaced. ( apisecret.value='';
(#1) ESLint error [no-trailing-spaces]: Trailing spaces not allowed. ( ), Line: 12 Column: 1

Gherkin .feature problems

(0 errors, 0 warnings)

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