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

(164 errors, 2 warnings)

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

lib/editor/tinymce/plugins/planetestream/classes/privacy/provider.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Inline comments must start with a capital letter, digit or 3-dots sequence
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#4) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#4) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#4) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#4) Line 6 of the opening comment must start "// (at your option) any later version.".
(#4) 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".
(#5) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#6) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#6) Line 12 of the opening comment must start "//".
(#6) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#6) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
(#8) Line indented incorrectly; expected 4 spaces, found 0
(#9) Line indented incorrectly; expected at least 8 spaces, found 4
(#10) Whitespace found at end of line
(#11) Spaces must be used to indent lines; tabs are not allowed
(#11) Tab found within whitespace
(#11) Line indented incorrectly; expected at least 8 spaces, found 6
(#15) Line indented incorrectly; expected at least 8 spaces, found 4
(#16) Line indented incorrectly; expected 4 spaces, found 0
(#18) File must end with a newline character
lib/editor/tinymce/plugins/planetestream/lang/en/tinymce_planetestream.php
(#32) File must end with a newline character
lib/editor/tinymce/plugins/planetestream/lib.php
(#43) Whitespace found at end of line
(#46) Spaces must be used to indent lines; tabs are not allowed
(#46) Tab found within whitespace
(#46) Whitespace found at end of line
(#47) Spaces must be used to indent lines; tabs are not allowed
(#47) Tab found within whitespace
(#47) Line indented incorrectly; expected at least 8 spaces, found 2
(#48) Spaces must be used to indent lines; tabs are not allowed
(#48) Tab found within whitespace
(#48) Whitespace found at end of line
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Line indented incorrectly; expected 8 spaces, found 2
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 12 spaces, found 2
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Line indented incorrectly; expected 8 spaces, found 2
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 12 spaces, found 2
(#53) Spaces must be used to indent lines; tabs are not allowed
(#53) Tab found within whitespace
(#53) Line indented incorrectly; expected at least 16 spaces, found 2
(#54) Spaces must be used to indent lines; tabs are not allowed
(#54) Tab found within whitespace
(#54) Line indented incorrectly; expected 12 spaces, found 1
(#54) Closing brace indented incorrectly; expected 2 spaces, found 1
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected at least 16 spaces, found 2
(#56) Spaces must be used to indent lines; tabs are not allowed
(#56) Tab found within whitespace
(#56) Line indented incorrectly; expected 12 spaces, found 1
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 8 spaces, found 2
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Whitespace found at end of line
(#64) Spaces must be used to indent lines; tabs are not allowed
(#64) Tab found within whitespace
(#64) Whitespace found at end of line
(#65) Spaces must be used to indent lines; tabs are not allowed
(#65) Tab found within whitespace
(#65) Line indented incorrectly; expected at least 8 spaces, found 2
(#66) Spaces must be used to indent lines; tabs are not allowed
(#66) Tab found within whitespace
(#66) Whitespace found at end of line
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Line indented incorrectly; expected at least 8 spaces, found 2
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Whitespace found at end of line
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Line indented incorrectly; expected 8 spaces, found 2
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected at least 12 spaces, found 4
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected 8 spaces, found 2
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Whitespace found at end of line
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Line indented incorrectly; expected 8 spaces, found 2
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected at least 12 spaces, found 4
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected 8 spaces, found 2
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Whitespace found at end of line
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Line indented incorrectly; expected 8 spaces, found 2
(#77) Whitespace found at end of line
(#78) Spaces must be used to indent lines; tabs are not allowed
(#78) Tab found within whitespace
(#78) Whitespace found at end of line
(#79) Spaces must be used to indent lines; tabs are not allowed
(#79) Tab found within whitespace
(#79) Line indented incorrectly; expected at least 12 spaces, found 4
(#80) Line indented incorrectly; expected at least 12 spaces, found 8
(#81) Line indented incorrectly; expected at least 12 spaces, found 8
(#82) Spaces must be used to indent lines; tabs are not allowed
(#82) Tab found within whitespace
(#82) Line indented incorrectly; expected at least 12 spaces, found 2
(#83) Line indented incorrectly; expected at least 12 spaces, found 8
(#84) Spaces must be used to indent lines; tabs are not allowed
(#84) Tab found within whitespace
(#84) Line indented incorrectly; expected at least 12 spaces, found 2
(#85) Line indented incorrectly; expected at least 12 spaces, found 8
(#86) Line indented incorrectly; expected at least 12 spaces, found 8
(#87) Line indented incorrectly; expected at least 12 spaces, found 8
(#88) Spaces must be used to indent lines; tabs are not allowed
(#88) Tab found within whitespace
(#88) Whitespace found at end of line
(#89) Spaces must be used to indent lines; tabs are not allowed
(#89) Tab found within whitespace
(#89) Line indented incorrectly; expected 8 spaces, found 2
(#90) Spaces must be used to indent lines; tabs are not allowed
(#90) Tab found within whitespace
(#90) Whitespace found at end of line
(#91) Spaces must be used to indent lines; tabs are not allowed
(#91) Tab found within whitespace
(#91) Line indented incorrectly; expected at least 12 spaces, found 5
(#92) Line indented incorrectly; expected at least 12 spaces, found 8
(#93) Line indented incorrectly; expected at least 12 spaces, found 8
(#94) Spaces must be used to indent lines; tabs are not allowed
(#94) Tab found within whitespace
(#94) Line indented incorrectly; expected at least 12 spaces, found 2
(#95) Line indented incorrectly; expected at least 12 spaces, found 8
(#96) Spaces must be used to indent lines; tabs are not allowed
(#96) Tab found within whitespace
(#96) Line indented incorrectly; expected at least 12 spaces, found 2
(#97) Line indented incorrectly; expected at least 12 spaces, found 8
(#98) Line indented incorrectly; expected at least 12 spaces, found 8
(#99) Line indented incorrectly; expected at least 12 spaces, found 8
(#100) Spaces must be used to indent lines; tabs are not allowed
(#100) Tab found within whitespace
(#100) Whitespace found at end of line
(#101) Spaces must be used to indent lines; tabs are not allowed
(#101) Tab found within whitespace
(#101) Line indented incorrectly; expected 8 spaces, found 2
(#102) Spaces must be used to indent lines; tabs are not allowed
(#102) Tab found within whitespace
(#102) Whitespace found at end of line
(#102) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#103) Whitespace found at end of line
(#126) Visibility must be declared on method "tinymce_planetestream_obfuscate"
(#170) Empty CATCH statement detected
lib/editor/tinymce/plugins/planetestream/version.php
(#29) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(5 errors, 4 warnings)

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

lib/editor/tinymce/plugins/planetestream/tinymce/editor_plugin.js
(#22) Unexpected space before function parentheses. (space-before-function-paren)
(#23) 'tinymce' is not defined. (no-undef)
(#24) Unexpected space before function parentheses. (space-before-function-paren)
(#34) Unexpected space before function parentheses. (space-before-function-paren)
(#40) Unexpected tab character. (no-tabs)
(#40) Mixed spaces and tabs. (no-mixed-spaces-and-tabs)
(#48) Identifier 'plugin_url' is not in camel case. (camelcase)
(#54) 'tinymce' is not defined. (no-undef)
(#54) 'tinymce' is not defined. (no-undef)

CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(6 errors, 0 warnings)

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

lib/editor/tinymce/plugins/planetestream/classes/privacy/provider.php
(#6) Package is not specified for class provider. It is also not specified in file-level phpdocs
(#6) Class provider is not documented
(#8) Function provider::get_metadata is not documented
lib/editor/tinymce/plugins/planetestream/lib.php
(#26) Phpdocs for function tinymce_planetestream::update_init_params has incomplete parameters list
(#121) Phpdocs for function tinymce_planetestream::tinymce_planetestream_obfuscate has incomplete parameters list
(#144) Phpdocs for function tinymce_planetestream::tinymce_planetestream_getauthticket has incomplete parameters list

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

(0 errors, 0 warnings)

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


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]