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

(27 errors, 1 warnings)

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

theme/morecandy/classes/core_renderer.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/config.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns1.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns2.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns3.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/columns4.php
(#32) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/embedded.php
(#25) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/frontpage.php
(#31) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/includes/banner.php
(#1) End of line character is invalid; expected "\n" but found "\r\n"
(#2) Line 1 of the opening comment must start "// This file is part of".
(#3) Line 2 of the opening comment must start "//".
(#3) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#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 "//".
(#3) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#3) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#3) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#3) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#3) Line 12 of the opening comment must start "//".
(#3) Line 13 of the opening comment must start "// You should have received a copy of the GNU General Public License".
(#3) Line 14 of the opening comment must start "// along with Moodle. If not, see <http://www.gnu.org/licenses/>.".
theme/morecandy/layout/maintenance.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/layout/secure.php
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
theme/morecandy/lib.php
(#40) Expected MOODLE_INTERNAL check or config.php inclusion

Javascript coding style problems

(0 errors, 4 warnings)

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

theme/morecandy/javascript/interval.js
(#1) '$' is not defined.
(#2) '$' is not defined.
theme/morecandy/javascript/morecandy.js
(#17) 'require' is not defined.
(#18) 'require' is not defined.

CSS problems

(77 errors, 160 warnings)

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

theme/morecandy/style/carousel.css
(#108) height can't be used with display: inline.
(#109) margin can't be used with display: inline.
(#112) width can't be used with display: inline.
theme/morecandy/style/custom.css
(#23) Expected IDENT at line 23, col 2.
(#23) Expected IDENT at line 23, col 2.
theme/morecandy/style/morecandy.css
(#782) margin can't be used with display: inline.
(#1132) Duplicate property 'padding' found.
(#1133) Duplicate property '-webkit-border-radius' found.
(#1134) Duplicate property '-moz-border-radius' found.
(#1135) Duplicate property 'border-radius' found.
(#1162) width can't be used with display: inline.
(#1163) margin can't be used with display: inline.
(#1524) margin can't be used with display: inline.
(#1536) float can't be used with display: inline-block.
(#2216) margin can't be used with display: inline.
(#2290) Expected (<margin-width> | inherit) but found 'initial'.
(#2294) Expected (<margin-width> | inherit) but found 'initial'.
(#3050) width can't be used with display: inline.
(#3766) Rule is empty.
(#3825) Expected (<padding-width> | inherit) but found 'initial'.
(#3828) Expected (<margin-width> | inherit) but found 'initial'.
(#3829) Expected (<padding-width> | inherit) but found 'initial'.
(#3830) Expected (<padding-width> | inherit) but found 'initial'.
(#3833) Rule is empty.
(#3845) Expected (<padding-width> | inherit) but found 'initial'.
(#3855) Expected (<padding-width> | inherit) but found 'initial'.
(#3863) Expected (<padding-width> | inherit) but found 'initial'.
(#4328) Expected end of value but found 'right'.
(#4393) Expected end of value but found 'left'.
(#4397) Expected end of value but found 'right'.
(#4425) Duplicate property 'min-height' found.
(#4426) Duplicate property 'padding' found.
(#4428) Duplicate property 'margin-bottom' found.
(#4489) Use of !important
(#4596) Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>) but found 'inherit'.
(#4631) Expected (inline | block | list-item | inline-block | table | inline-table | table-row-group | table-header-group | table-footer-group | table-row | table-column-group | table-column | table-cell | table-caption | grid | inline-grid | none | inherit | -moz-box | -moz-inline-block | -moz-inline-box | -moz-inline-grid | -moz-inline-stack | -moz-inline-table | -moz-grid | -moz-grid-group | -moz-grid-line | -moz-groupbox | -moz-deck | -moz-popup | -moz-stack | -moz-marker | -webkit-box | -webkit-inline-box | -ms-flexbox | -ms-inline-flexbox | flex | -webkit-flex | inline-flex | -webkit-inline-flex) but found 'initial'.
(#4638) Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>) but found 'inherit'.
(#4648) Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>) but found 'inherit'.
(#4738) Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>) but found 'inherit'.
(#4907) float can't be used with display: inline-block.
(#5068) Duplicate property 'filter' found.
(#5074) margin can't be used with display: inline.
(#5104) width can't be used with display: inline.
(#5110) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#5111) height can't be used with display: inline.
(#5351) display:inline has no effect on floated elements (but may be used to fix the IE6 double-margin bug).
(#5731) margin-top can't be used with display: inline.
(#5923) Use of !important
(#5924) Use of !important
(#5925) Use of !important
(#5926) Use of !important
(#5929) Use of !important
(#5933) Use of !important
(#6464) Duplicate property 'padding' found.
(#6465) Duplicate property '-webkit-border-radius' found.
(#6466) Duplicate property '-moz-border-radius' found.
(#6467) Duplicate property 'border-radius' found.
(#6468) Duplicate property 'margin-bottom' found.
(#7124) Duplicate property 'padding' found.
(#7601) Expected (<length> | <percentage> | <content-sizing> | auto | inherit) but found 'auto\9'.
(#7666) Use of !important
(#7667) Use of !important
(#7668) Use of !important
(#7669) Use of !important
(#7699) Use of !important
(#8501) Expected end of value but found '\9'.
(#9063) Expected end of value but found '\9'.
(#9065) Expected end of value but found '\9'.
(#9124) margin-bottom can't be used with display: inline.
(#9347) margin-left can't be used with display: table-cell.
(#10182) margin-bottom can't be used with display: inline.
(#10200) Duplicate property '*background-color' found.
(#10202) Duplicate property 'filter' found.
(#10226) Expected end of value but found '\9'.
(#10335) Duplicate property '*background-color' found.
(#10337) Duplicate property 'filter' found.
(#10351) Expected end of value but found '\9'.
(#10366) Duplicate property '*background-color' found.
(#10368) Duplicate property 'filter' found.
(#10382) Expected end of value but found '\9'.
(#10397) Duplicate property '*background-color' found.
(#10399) Duplicate property 'filter' found.
(#10413) Expected end of value but found '\9'.
(#10428) Duplicate property '*background-color' found.
(#10430) Duplicate property 'filter' found.
(#10444) Expected end of value but found '\9'.
(#10459) Duplicate property '*background-color' found.
(#10461) Duplicate property 'filter' found.
(#10475) Expected end of value but found '\9'.
(#10490) Duplicate property '*background-color' found.
(#10492) Duplicate property 'filter' found.
(#10506) Expected end of value but found '\9'.
(#11437) Duplicate property '*background-color' found.
(#11439) Duplicate property 'filter' found.
(#11456) Expected end of value but found '\9'.
(#11670) Duplicate property '*background-color' found.
(#11672) Duplicate property 'filter' found.
(#11686) Expected end of value but found '\9'.
(#11720) margin-bottom can't be used with display: inline.
(#12379) Unknown @ rule: @-ms-keyframes.
(#12816) Expected (<border-width> || <border-style> || <color>) but found 'inherit'.
(#12869) Use of !important
(#12912) Expected (auto | use-script | baseline | sub | super | top | text-top | central | middle | bottom | text-bottom | <percentage> | <length>) but found 'inherit'.
(#12912) vertical-align can't be used with display: block.
(#12918) Expected (<repeat-style>) but found 'none'.
(#12920) Expected (<'border-radius'>) but found 'none'.
(#12986) Duplicate property 'padding' found.
(#13001) Duplicate property 'text-shadow' found.
(#13002) Duplicate property 'font-size' found.
(#13049) Duplicate property 'text-shadow' found.
(#13050) Duplicate property 'font-size' found.
(#13317) width can't be used with display: inline.
(#13351) Duplicate property 'margin-bottom' found.
(#13787) Rule is empty.
(#14005) Duplicate property 'padding' found.
(#14052) Use of !important
(#14493) Duplicate property 'border-radius' found.
(#14593) margin can't be used with display: inline.
(#14614) Duplicate property 'padding' found.
(#14686) width can't be used with display: inline.
(#14715) width can't be used with display: inline.
(#14717) margin can't be used with display: inline.
(#14727) width can't be used with display: inline.
(#14729) margin can't be used with display: inline.
(#14973) margin-bottom can't be used with display: inline.
(#14991) Duplicate property '*background-color' found.
(#14993) Duplicate property 'filter' found.
(#15049) Expected end of value but found '\9'.
(#15216) Duplicate property '*background-color' found.
(#15218) Duplicate property 'filter' found.
(#15229) Duplicate property 'padding' found.
(#15230) Duplicate property 'font-size' found.
(#15231) Duplicate property '-webkit-border-radius' found.
(#15232) Duplicate property '-moz-border-radius' found.
(#15233) Duplicate property 'border-radius' found.
(#15234) Duplicate property 'display' found.
(#15236) Duplicate property 'vertical-align' found.
(#15241) Duplicate property 'padding' found.
(#15242) Duplicate property 'border' found.
(#15256) Expected end of value but found '\9'.
(#15411) margin-bottom can't be used with display: inline.
(#15429) Duplicate property '*background-color' found.
(#15431) Duplicate property 'filter' found.
(#15443) height can't be used with display: inline.
(#15458) Expected end of value but found '\9'.
(#15526) Duplicate property '*background-color' found.
(#15528) Duplicate property 'filter' found.
(#15535) Duplicate property '*margin-left' found.
(#15539) Duplicate property 'padding' found.
(#15540) Duplicate property 'margin-bottom' found.
(#15540) margin-bottom can't be used with display: inline.
(#15554) Expected end of value but found '\9'.
(#15894) vertical-align can't be used with display: block.
(#15907) Duplicate property '*background-color' found.
(#15909) Duplicate property 'filter' found.
(#15920) Duplicate property 'display' found.
(#15923) Duplicate property 'padding' found.
(#15938) Expected end of value but found '\9'.
(#16051) Duplicate property 'text-shadow' found.
(#16052) Duplicate property 'font-size' found.
(#16053) Duplicate property 'padding' found.
(#16094) Expected (<length> | <percentage> | <content-sizing> | auto | inherit) but found 'device-width'.
(#16101) Use of !important
(#16104) Use of !important
(#16107) Use of !important
(#16110) Use of !important
(#16114) Use of !important
(#16117) Use of !important
(#16120) Use of !important
(#16123) Use of !important
(#16128) Use of !important
(#16131) Use of !important
(#16134) Use of !important
(#16137) Use of !important
(#16141) Use of !important
(#16145) Use of !important
(#16148) Use of !important
(#17141) Use of !important
(#17142) Use of !important
(#17195) Unknown property 'y-scroll'.
(#17397) vertical-align can't be used with display: block.
(#17493) Use of !important
(#17494) Use of !important
(#18004) Use of !important
(#18005) Use of !important
(#18006) Use of !important
(#18007) Use of !important
(#18008) Use of !important
(#18009) Use of !important
(#18010) Use of !important
(#18011) Use of !important
(#18012) Use of !important
(#18013) Use of !important
(#18014) Use of !important
(#18015) Use of !important
(#18016) Use of !important
(#18017) Use of !important
(#18018) Use of !important
(#18019) Use of !important
(#18020) Use of !important
(#18021) Use of !important
(#18024) Use of !important
(#18025) Use of !important
(#18026) Use of !important
(#18027) Use of !important
(#18028) Use of !important
(#18029) Use of !important
(#18030) Use of !important
(#18031) Use of !important
(#18032) Use of !important
(#18033) Use of !important
(#18034) Use of !important
(#18035) Use of !important
(#18036) Use of !important
(#18037) Use of !important
(#18038) Use of !important
(#18039) Use of !important
(#18040) Use of !important
(#18041) Use of !important
(#18042) Use of !important
(#18043) Use of !important
(#18044) Use of !important
(#18045) Use of !important
(#18046) Use of !important
(#18047) Use of !important
(#18048) Use of !important
(#18049) Use of !important
(#18068) Duplicate property '*background-color' found.
(#18070) Duplicate property 'filter' found.
(#18116) Expected end of value but found '\9'.
(#18133) margin-bottom can't be used with display: inline.
(#18151) Duplicate property '*background-color' found.
(#18153) Duplicate property 'filter' found.
(#18185) Expected end of value but found '\9'.
(#18256) Duplicate property '*background-color' found.
(#18258) Duplicate property 'filter' found.
(#18280) Expected end of value but found '\9'.

PHPDocs style problems

(7 errors, 0 warnings)

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

theme/morecandy/classes/core_renderer.php
(#27) Class theme_morecandy_core_renderer is not documented
(#29) Phpdocs for function theme_morecandy_core_renderer::render_custom_menu has incomplete parameters list
(#114) Phpdocs for function theme_morecandy_core_renderer::render_action_menu_filler has incomplete parameters list
theme/morecandy/lang/en/theme_morecandy.php
(#20) Package theme_more is not valid
theme/morecandy/layout/includes/banner.php
(#3) File-level phpdocs block is not found
theme/morecandy/lib.php
(#48) Function theme_morecandy_process_css is not documented
(#36) Phpdocs for function theme_morecandy_less_variables 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]