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

(82 errors, 1 warnings)

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

lib/editor/tinymce/plugins/planetestream/en/tinymce_planetestream.php
(#28) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
lib/editor/tinymce/plugins/planetestream/lib.php
(#49) Spaces must be used to indent lines; tabs are not allowed
(#49) Tab found within whitespace
(#49) Whitespace found at end of line
(#50) Spaces must be used to indent lines; tabs are not allowed
(#50) Tab found within whitespace
(#50) Line indented incorrectly; expected at least 8 spaces, found 2
(#51) Spaces must be used to indent lines; tabs are not allowed
(#51) Tab found within whitespace
(#51) Whitespace found at end of line
(#52) Spaces must be used to indent lines; tabs are not allowed
(#52) Tab found within whitespace
(#52) Line indented incorrectly; expected 8 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 12 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 8 spaces, found 2
(#55) Spaces must be used to indent lines; tabs are not allowed
(#55) Tab found within whitespace
(#55) Line indented incorrectly; expected 12 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 at least 16 spaces, found 2
(#57) Spaces must be used to indent lines; tabs are not allowed
(#57) Tab found within whitespace
(#57) Line indented incorrectly; expected 12 spaces, found 1
(#57) Closing brace indented incorrectly; expected 2 spaces, found 1
(#58) Spaces must be used to indent lines; tabs are not allowed
(#58) Tab found within whitespace
(#58) Line indented incorrectly; expected at least 16 spaces, found 2
(#59) Spaces must be used to indent lines; tabs are not allowed
(#59) Tab found within whitespace
(#59) Line indented incorrectly; expected 12 spaces, found 1
(#60) Spaces must be used to indent lines; tabs are not allowed
(#60) Tab found within whitespace
(#60) Line indented incorrectly; expected 8 spaces, found 2
(#61) Spaces must be used to indent lines; tabs are not allowed
(#61) Tab found within whitespace
(#61) Whitespace found at end of line
(#67) Spaces must be used to indent lines; tabs are not allowed
(#67) Tab found within whitespace
(#67) Whitespace found at end of line
(#68) Spaces must be used to indent lines; tabs are not allowed
(#68) Tab found within whitespace
(#68) Line indented incorrectly; expected at least 8 spaces, found 2
(#69) Spaces must be used to indent lines; tabs are not allowed
(#69) Tab found within whitespace
(#69) Whitespace found at end of line
(#70) Spaces must be used to indent lines; tabs are not allowed
(#70) Tab found within whitespace
(#70) Line indented incorrectly; expected 8 spaces, found 2
(#71) Spaces must be used to indent lines; tabs are not allowed
(#71) Tab found within whitespace
(#71) Line indented incorrectly; expected at least 12 spaces, found 4
(#72) Spaces must be used to indent lines; tabs are not allowed
(#72) Tab found within whitespace
(#72) Line indented incorrectly; expected 8 spaces, found 2
(#73) Spaces must be used to indent lines; tabs are not allowed
(#73) Tab found within whitespace
(#73) Whitespace found at end of line
(#74) Spaces must be used to indent lines; tabs are not allowed
(#74) Tab found within whitespace
(#74) Line indented incorrectly; expected 8 spaces, found 2
(#75) Spaces must be used to indent lines; tabs are not allowed
(#75) Tab found within whitespace
(#75) Line indented incorrectly; expected at least 12 spaces, found 4
(#76) Spaces must be used to indent lines; tabs are not allowed
(#76) Tab found within whitespace
(#76) Line indented incorrectly; expected 8 spaces, found 2
(#77) Spaces must be used to indent lines; tabs are not allowed
(#77) Tab found within whitespace
(#77) Whitespace found at end of line
(#81) Spaces must be used to indent lines; tabs are not allowed
(#81) Tab found within whitespace
(#81) Line indented incorrectly; expected at least 8 spaces, found 2
(#83) Spaces must be used to indent lines; tabs are not allowed
(#83) Tab found within whitespace
(#83) Line indented incorrectly; expected at least 8 spaces, found 2
(#109) Visibility must be declared on method "tinymce_planetestream_obfuscate"
(#153) 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

(3 errors, 0 warnings)

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

lib/editor/tinymce/plugins/planetestream/lib.php
(#26) Phpdocs for function tinymce_planetestream::update_init_params has incomplete parameters list
(#104) Phpdocs for function tinymce_planetestream::tinymce_planetestream_obfuscate has incomplete parameters list
(#127) 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]