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

(26 errors, 4 warnings)

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

blocks/mynotes/block_mynotes.php
(#32) Whitespace found at end of line
(#66) Whitespace found at end of line
(#73) Inline comments must end in full-stops, exclamation marks, or question marks
(#75) Whitespace found at end of line
(#79) Whitespace found at end of line
(#85) Whitespace found at end of line
(#86) Whitespace found at end of line
(#93) Whitespace found at end of line
(#105) Whitespace found at end of line
(#108) Whitespace found at end of line
(#111) Expected 1 space before "=>"; 0 found
blocks/mynotes/lang/en/block_mynotes.php
(#2) The opening <?php tag must be followed by exactly one newline.
blocks/mynotes/lib.php
(#64) Whitespace found at end of line
(#66) Whitespace found at end of line within string
(#67) Whitespace found at end of line within string
(#73) Whitespace found at end of line
(#99) Whitespace found at end of line
(#121) Whitespace found at end of line
(#127) Whitespace found at end of line
(#136) Whitespace found at end of line
(#141) Whitespace found at end of line
(#167) Whitespace found at end of line
(#180) Whitespace found at end of line
blocks/mynotes/mynotes_ajax.php
(#56) Whitespace found at end of line
(#63) No space found before comment text; expected "// ...send headers" but found "//...send headers"
(#64) Inline comments must end in full-stops, exclamation marks, or question marks
(#71) Whitespace found at end of line
(#99) Whitespace found at end of line
blocks/mynotes/settings.php
(#43) Line exceeds 132 characters; contains 138 characters
blocks/mynotes/version.php
(#28) Inline comments must end in full-stops, exclamation marks, or question marks

Javascript coding style problems

(1 errors, 0 warnings)

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

blocks/mynotes/amd/src/mynotesblock.js
(#204) Parsing error: Unexpected token =

CSS problems

(107 errors, 9 warnings)

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

blocks/mynotes/styles.css
(#1) Unexpected single-line block (block-no-single-line)
(#2) Unexpected single-line block (block-no-single-line)
(#3) Unexpected single-line block (block-no-single-line)
(#8) Unexpected single-line block (block-no-single-line)
(#9) Unexpected single-line block (block-no-single-line)
(#10) Unexpected single-line block (block-no-single-line)
(#11) Unexpected single-line block (block-no-single-line)
(#12) Unexpected single-line block (block-no-single-line)
(#13) Unexpected single-line block (block-no-single-line)
(#14) Unexpected single-line block (block-no-single-line)
(#16) Unexpected single-line block (block-no-single-line)
(#17) Unexpected single-line block (block-no-single-line)
(#18) Unexpected single-line block (block-no-single-line)
(#19) Unexpected single-line block (block-no-single-line)
(#20) Unexpected single-line block (block-no-single-line)
(#21) Unexpected single-line block (block-no-single-line)
(#22) Unexpected single-line block (block-no-single-line)
(#23) Unexpected single-line block (block-no-single-line)
(#24) Unexpected single-line block (block-no-single-line)
(#25) Unexpected single-line block (block-no-single-line)
(#26) Unexpected single-line block (block-no-single-line)
(#27) Unexpected single-line block (block-no-single-line)
(#28) Unexpected single-line block (block-no-single-line)
(#29) Unexpected single-line block (block-no-single-line)
(#30) Unexpected single-line block (block-no-single-line)
(#31) Unexpected single-line block (block-no-single-line)
(#32) Unexpected single-line block (block-no-single-line)
(#33) Unexpected single-line block (block-no-single-line)
(#34) Unexpected single-line block (block-no-single-line)
(#36) Unexpected single-line block (block-no-single-line)
(#37) Unexpected single-line block (block-no-single-line)
(#38) Unexpected single-line block (block-no-single-line)
(#39) Unexpected single-line block (block-no-single-line)
(#40) Unexpected single-line block (block-no-single-line)
(#41) Unexpected single-line block (block-no-single-line)
(#42) Unexpected single-line block (block-no-single-line)
(#43) Unexpected single-line block (block-no-single-line)
(#44) Unexpected single-line block (block-no-single-line)
(#45) Unexpected single-line block (block-no-single-line)
(#46) Unexpected single-line block (block-no-single-line)
(#47) Unexpected single-line block (block-no-single-line)
(#48) Unexpected single-line block (block-no-single-line)
(#49) Unexpected single-line block (block-no-single-line)
(#18) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#21) Expected single space after "{" of a single-line block (block-opening-brace-space-after)
(#1) Expected "#443355" to be "#435" (color-hex-length)
(#30) Unexpected duplicate "border-bottom" (declaration-block-no-duplicate-properties)
(#44) Unexpected duplicate "list-style" (declaration-block-no-duplicate-properties)
(#1) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#3) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#8) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#9) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#10) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#11) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#12) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#13) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#14) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#16) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#17) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#18) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#19) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#20) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#21) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#22) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#23) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#24) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#25) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#26) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#27) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#30) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#31) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#32) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#33) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#36) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#38) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#40) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#41) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#43) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#44) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#45) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#46) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#47) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#48) Expected no more than 1 declaration(s) (declaration-block-single-line-max-declarations)
(#1) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#21) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#43) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#48) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#8) Expected line length to be no more than 132 characters (max-line-length)
(#14) Expected line length to be no more than 132 characters (max-line-length)
(#22) Expected line length to be no more than 132 characters (max-line-length)
(#27) Expected line length to be no more than 132 characters (max-line-length)
(#30) Expected line length to be no more than 132 characters (max-line-length)
(#41) Expected line length to be no more than 132 characters (max-line-length)
(#44) Expected line length to be no more than 132 characters (max-line-length)
(#47) Expected line length to be no more than 132 characters (max-line-length)
(#5) Unexpected whitespace at end of line (no-eol-whitespace)
(#6) Unexpected whitespace at end of line (no-eol-whitespace)
(#7) Unexpected whitespace at end of line (no-eol-whitespace)
(#14) Expected single space after ">" (selector-combinator-space-after)
(#14) Expected single space after ">" (selector-combinator-space-after)
(#14) Expected single space after ">" (selector-combinator-space-after)
(#14) Expected single space after ">" (selector-combinator-space-after)
(#14) Expected single space after ">" (selector-combinator-space-after)
(#14) Expected single space before ">" (selector-combinator-space-before)
(#14) Expected single space before ">" (selector-combinator-space-before)
(#14) Expected single space before ">" (selector-combinator-space-before)
(#5) 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)
(#14) Expected newline after "," (selector-list-comma-newline-after)
(#14) Expected newline after "," (selector-list-comma-newline-after)
(#14) Expected newline after "," (selector-list-comma-newline-after)
(#14) Expected newline after "," (selector-list-comma-newline-after)
(#22) Expected newline after "," (selector-list-comma-newline-after)
(#20) Expected "textArea" to be "textarea" (selector-type-case)
(#21) Expected "textArea" to be "textarea" (selector-type-case)

PHPDocs style problems

(36 errors, 1 warnings)

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

blocks/mynotes/block_mynotes.php
(#36) Function block_mynotes::init is not documented
(#40) Function block_mynotes::has_config is not documented
(#44) Function block_mynotes::applicable_formats is not documented
(#48) Function block_mynotes::instance_allow_multiple is not documented
(#52) Function block_mynotes::hide_header is not documented
(#104) Function block_mynotes::block_mynotes_get_required_javascript is not documented
(#17) File-level phpdocs block does not have @copyright tag
(#28) Class block_mynotes does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#28) Class block_mynotes does not have @license tag
blocks/mynotes/db/access.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
blocks/mynotes/db/install.php
(#25) Package is not specified for function xmldb_block_mynotes_install. It is also not specified in file-level phpdocs
(#17) File-level phpdocs block is not found
(#25) Function xmldb_block_mynotes_install is not documented
blocks/mynotes/lang/en/block_mynotes.php
(#2) Empty line found after PHP open tag
(#18) File-level phpdocs block does not have @copyright tag
(#18) File-level phpdocs block does not have @license tag
blocks/mynotes/lib.php
(#27) Class block_mynotes_manager is not documented
(#35) Function block_mynotes_manager::__construct is not documented
(#125) Function block_mynotes_manager::get_pagination is not documented
(#139) Function block_mynotes_manager::addmynote is not documented
(#170) Function block_mynotes_manager::get_available_contextareas is not documented
(#184) Function block_mynotes_manager::get_current_tab is not documented
(#29) Variable block_mynotes_manager::$perpage is not documented
(#30) Variable block_mynotes_manager::$config is not documented
(#43) Phpdocs for function block_mynotes_manager::get_mynotes has incomplete parameters list
(#17) File-level phpdocs block does not have @copyright tag
(#236) Class mynotes_exception does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
(#236) Class mynotes_exception does not have @license tag
(#182) Invalid phpdocs tag @retrun used
blocks/mynotes/mynotes_ajax.php
(#23) File-level phpdocs block is not found
blocks/mynotes/settings.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) File-level phpdocs block does not have @license tag
blocks/mynotes/version.php
(#17) File-level phpdocs block does not have @copyright tag
(#17) 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 "stylelint:css" 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]