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

(150 errors, 10 warnings)

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

blocks/mynotes/styles.css
(#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)
(#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)
(#12) Expected newline before "}" (block-closing-brace-newline-before)
(#13) Expected newline before "}" (block-closing-brace-newline-before)
(#14) Expected newline before "}" (block-closing-brace-newline-before)
(#16) Expected newline before "}" (block-closing-brace-newline-before)
(#17) Expected newline before "}" (block-closing-brace-newline-before)
(#18) Expected newline before "}" (block-closing-brace-newline-before)
(#19) Expected newline before "}" (block-closing-brace-newline-before)
(#20) Expected newline before "}" (block-closing-brace-newline-before)
(#21) Expected newline before "}" (block-closing-brace-newline-before)
(#22) Expected newline before "}" (block-closing-brace-newline-before)
(#23) Expected newline before "}" (block-closing-brace-newline-before)
(#24) Expected newline before "}" (block-closing-brace-newline-before)
(#25) Expected newline before "}" (block-closing-brace-newline-before)
(#26) Expected newline before "}" (block-closing-brace-newline-before)
(#27) Expected newline before "}" (block-closing-brace-newline-before)
(#28) Expected newline before "}" (block-closing-brace-newline-before)
(#29) Expected newline before "}" (block-closing-brace-newline-before)
(#30) Expected newline before "}" (block-closing-brace-newline-before)
(#31) Expected newline before "}" (block-closing-brace-newline-before)
(#32) Expected newline before "}" (block-closing-brace-newline-before)
(#33) Expected newline before "}" (block-closing-brace-newline-before)
(#34) Expected newline before "}" (block-closing-brace-newline-before)
(#36) Expected newline before "}" (block-closing-brace-newline-before)
(#37) Expected newline before "}" (block-closing-brace-newline-before)
(#38) Expected newline before "}" (block-closing-brace-newline-before)
(#39) Expected newline before "}" (block-closing-brace-newline-before)
(#40) Expected newline before "}" (block-closing-brace-newline-before)
(#41) Expected newline before "}" (block-closing-brace-newline-before)
(#42) Expected newline before "}" (block-closing-brace-newline-before)
(#43) Expected newline before "}" (block-closing-brace-newline-before)
(#44) Expected newline before "}" (block-closing-brace-newline-before)
(#45) Expected newline before "}" (block-closing-brace-newline-before)
(#46) Expected newline before "}" (block-closing-brace-newline-before)
(#47) Expected newline before "}" (block-closing-brace-newline-before)
(#48) Expected newline before "}" (block-closing-brace-newline-before)
(#49) Expected newline before "}" (block-closing-brace-newline-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)
(#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)
(#12) Expected newline after "{" (block-opening-brace-newline-after)
(#13) Expected newline after "{" (block-opening-brace-newline-after)
(#14) Expected newline after "{" (block-opening-brace-newline-after)
(#16) Expected newline after "{" (block-opening-brace-newline-after)
(#17) Expected newline after "{" (block-opening-brace-newline-after)
(#18) Expected newline after "{" (block-opening-brace-newline-after)
(#19) Expected newline after "{" (block-opening-brace-newline-after)
(#20) Expected newline after "{" (block-opening-brace-newline-after)
(#21) Expected newline after "{" (block-opening-brace-newline-after)
(#22) Expected newline after "{" (block-opening-brace-newline-after)
(#23) Expected newline after "{" (block-opening-brace-newline-after)
(#24) Expected newline after "{" (block-opening-brace-newline-after)
(#25) Expected newline after "{" (block-opening-brace-newline-after)
(#26) Expected newline after "{" (block-opening-brace-newline-after)
(#27) Expected newline after "{" (block-opening-brace-newline-after)
(#28) Expected newline after "{" (block-opening-brace-newline-after)
(#29) Expected newline after "{" (block-opening-brace-newline-after)
(#30) Expected newline after "{" (block-opening-brace-newline-after)
(#31) Expected newline after "{" (block-opening-brace-newline-after)
(#32) Expected newline after "{" (block-opening-brace-newline-after)
(#33) Expected newline after "{" (block-opening-brace-newline-after)
(#34) Expected newline after "{" (block-opening-brace-newline-after)
(#36) Expected newline after "{" (block-opening-brace-newline-after)
(#37) Expected newline after "{" (block-opening-brace-newline-after)
(#38) Expected newline after "{" (block-opening-brace-newline-after)
(#39) Expected newline after "{" (block-opening-brace-newline-after)
(#40) Expected newline after "{" (block-opening-brace-newline-after)
(#41) Expected newline after "{" (block-opening-brace-newline-after)
(#42) Expected newline after "{" (block-opening-brace-newline-after)
(#43) Expected newline after "{" (block-opening-brace-newline-after)
(#44) Expected newline after "{" (block-opening-brace-newline-after)
(#45) Expected newline after "{" (block-opening-brace-newline-after)
(#46) Expected newline after "{" (block-opening-brace-newline-after)
(#47) Expected newline after "{" (block-opening-brace-newline-after)
(#48) Expected newline after "{" (block-opening-brace-newline-after)
(#49) Expected newline after "{" (block-opening-brace-newline-after)
(#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 (declaration-block-single-line-max-declarations)
(#3) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#8) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#9) 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)
(#12) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#13) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#14) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#16) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#17) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#18) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#19) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#20) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#21) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#22) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#23) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#24) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#25) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#26) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#27) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#30) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#31) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#32) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#33) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#36) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#38) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#40) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#41) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#43) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#44) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#45) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#46) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#47) Expected no more than 1 declaration (declaration-block-single-line-max-declarations)
(#48) 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)
(#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)
(#1) Unexpected unit (length-zero-no-unit)
(#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]