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

(574 errors, 69 warnings)

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

local/dompdf/classes/api/pdf.php
(#94) Extension 'recode' is removed since PHP 7.4; Use iconv or mbstring instead
local/dompdf/classes/privacy/provider.php
(#48) Method name "_get_reason" should not be prefixed with an underscore to indicate visibility
local/dompdf/examples/postform.php
(#61) File must end with a newline character
local/dompdf/examples/test.php
(#55) File must end with a newline character
local/dompdf/examples/testimage.php
(#80) File must end with a newline character
local/dompdf/vendor/autoload.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) "require_once" must be immediately followed by an open parenthesis
local/dompdf/vendor/composer/ClassLoader.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#45) Member variable "vendorDir" must be all lower-case
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
(#48) Member variable "prefixLengthsPsr4" must be all lower-case
(#49) Member variable "prefixDirsPsr4" must be all lower-case
(#50) Member variable "fallbackDirsPsr4" must be all lower-case
(#52) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Member variable "prefixesPsr0" must be all lower-case
(#54) Member variable "fallbackDirsPsr0" must be all lower-case
(#56) Member variable "useIncludePath" must be all lower-case
(#57) Member variable "classMap" must be all lower-case
(#58) Member variable "classMapAuthoritative" must be all lower-case
(#59) Member variable "missingClasses" must be all lower-case
(#60) Member variable "apcuPrefix" must be all lower-case
(#62) Member variable "registeredLoaders" must be all lower-case
(#64) Variable "vendorDir" must be all lower-case
(#65) Opening brace should be on the same line as the declaration
(#66) Variable "vendorDir" must be all lower-case
(#69) Public method name "ClassLoader::getPrefixes" must be in lower-case letters only
(#70) Opening brace should be on the same line as the declaration
(#78) Public method name "ClassLoader::getPrefixesPsr4" must be in lower-case letters only
(#79) Opening brace should be on the same line as the declaration
(#83) Public method name "ClassLoader::getFallbackDirs" must be in lower-case letters only
(#84) Opening brace should be on the same line as the declaration
(#88) Public method name "ClassLoader::getFallbackDirsPsr4" must be in lower-case letters only
(#89) Opening brace should be on the same line as the declaration
(#93) Public method name "ClassLoader::getClassMap" must be in lower-case letters only
(#94) Opening brace should be on the same line as the declaration
(#101) Public method name "ClassLoader::addClassMap" must be in lower-case letters only
(#101) Variable "classMap" must be all lower-case
(#102) Opening brace should be on the same line as the declaration
(#104) Variable "classMap" must be all lower-case
(#106) Variable "classMap" must be all lower-case
(#119) Opening brace should be on the same line as the declaration
(#165) Public method name "ClassLoader::addPsr4" must be in lower-case letters only
(#166) Opening brace should be on the same line as the declaration
(#180) Usage of ELSEIF not allowed; use ELSE IF instead
(#188) Usage of ELSEIF not allowed; use ELSE IF instead
(#211) Opening brace should be on the same line as the declaration
(#228) Public method name "ClassLoader::setPsr4" must be in lower-case letters only
(#229) Opening brace should be on the same line as the declaration
(#247) Public method name "ClassLoader::setUseIncludePath" must be in lower-case letters only
(#247) Variable "useIncludePath" must be all lower-case
(#248) Opening brace should be on the same line as the declaration
(#249) Variable "useIncludePath" must be all lower-case
(#258) Public method name "ClassLoader::getUseIncludePath" must be in lower-case letters only
(#259) Opening brace should be on the same line as the declaration
(#269) Public method name "ClassLoader::setClassMapAuthoritative" must be in lower-case letters only
(#269) Variable "classMapAuthoritative" must be all lower-case
(#270) Opening brace should be on the same line as the declaration
(#271) Variable "classMapAuthoritative" must be all lower-case
(#279) Public method name "ClassLoader::isClassMapAuthoritative" must be in lower-case letters only
(#280) Opening brace should be on the same line as the declaration
(#289) Public method name "ClassLoader::setApcuPrefix" must be in lower-case letters only
(#289) Variable "apcuPrefix" must be all lower-case
(#290) Opening brace should be on the same line as the declaration
(#291) Variable "apcuPrefix" must be all lower-case
(#291) Line exceeds 132 characters; contains 142 characters
(#299) Public method name "ClassLoader::getApcuPrefix" must be in lower-case letters only
(#300) Opening brace should be on the same line as the declaration
(#310) Opening brace should be on the same line as the declaration
(#318) Variable "registeredLoaders" must be all lower-case
(#318) Variable "registeredLoaders" must be all lower-case
(#320) Variable "registeredLoaders" must be all lower-case
(#321) Variable "registeredLoaders" must be all lower-case
(#329) Opening brace should be on the same line as the declaration
(#333) Variable "registeredLoaders" must be all lower-case
(#343) Public method name "ClassLoader::loadClass" must be in lower-case letters only
(#344) Opening brace should be on the same line as the declaration
(#359) Public method name "ClassLoader::findFile" must be in lower-case letters only
(#360) Opening brace should be on the same line as the declaration
(#361) Inline comments must start with a capital letter, digit or 3-dots sequence
(#361) Inline comments must end in full-stops, exclamation marks, or question marks
(#377) Inline comments must end in full-stops, exclamation marks, or question marks
(#399) Public method name "ClassLoader::getRegisteredLoaders" must be in lower-case letters only
(#400) Opening brace should be on the same line as the declaration
(#401) Variable "registeredLoaders" must be all lower-case
(#404) Private method name "ClassLoader::findFileWithExtension" must be in lower-case letters only
(#405) Opening brace should be on the same line as the declaration
(#406) Inline comments must end in full-stops, exclamation marks, or question marks
(#407) Variable "logicalPathPsr4" must be all lower-case
(#411) Variable "subPath" must be all lower-case
(#412) Variable "lastPos" must be all lower-case
(#412) Variable "subPath" must be all lower-case
(#413) Variable "subPath" must be all lower-case
(#413) Variable "subPath" must be all lower-case
(#413) Variable "lastPos" must be all lower-case
(#414) Variable "subPath" must be all lower-case
(#416) Variable "pathEnd" must be all lower-case
(#416) Variable "logicalPathPsr4" must be all lower-case
(#416) Variable "lastPos" must be all lower-case
(#418) Variable "pathEnd" must be all lower-case
(#426) Inline comments must end in full-stops, exclamation marks, or question marks
(#428) Variable "logicalPathPsr4" must be all lower-case
(#433) Inline comments must end in full-stops, exclamation marks, or question marks
(#435) Inline comments must start with a capital letter, digit or 3-dots sequence
(#435) Inline comments must end in full-stops, exclamation marks, or question marks
(#436) Variable "logicalPathPsr0" must be all lower-case
(#436) Variable "logicalPathPsr4" must be all lower-case
(#437) Variable "logicalPathPsr4" must be all lower-case
(#439) Inline comments must end in full-stops, exclamation marks, or question marks
(#440) Variable "logicalPathPsr0" must be all lower-case
(#447) Variable "logicalPathPsr0" must be all lower-case
(#455) Inline comments must end in full-stops, exclamation marks, or question marks
(#457) Variable "logicalPathPsr0" must be all lower-case
(#463) Variable "logicalPathPsr0" must be all lower-case
(#476) function name "includeFile" must be lower-case letters only
(#477) Opening brace should be on the same line as the declaration
(#478) "include" must be immediately followed by an open parenthesis
local/dompdf/vendor/composer/InstalledVersions.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#27) Line indented incorrectly; expected 4 spaces, found 0
(#28) Line indented incorrectly; expected at least 4 spaces, found 2
(#28) Whitespace found at end of line
(#29) Line indented incorrectly; expected at least 4 spaces, found 2
(#32) Whitespace found at end of line
(#37) Line indented incorrectly; expected at least 4 spaces, found 2
(#38) Line indented incorrectly; expected at least 4 spaces, found 2
(#38) Whitespace found at end of line
(#39) Line indented incorrectly; expected at least 4 spaces, found 2
(#40) Whitespace found at end of line
(#44) Whitespace found at end of line
(#49) Whitespace found at end of line
(#53) Whitespace found at end of line
(#58) Whitespace found at end of line
(#62) Whitespace found at end of line
(#67) Whitespace found at end of line
(#71) Whitespace found at end of line
(#76) Whitespace found at end of line
(#80) Whitespace found at end of line
(#85) Line indented incorrectly; expected at least 4 spaces, found 2
(#86) Line indented incorrectly; expected at least 4 spaces, found 0
(#87) Line indented incorrectly; expected 4 spaces, found 0
(#87) Member variable "canGetVendors" must be all lower-case
(#88) Line indented incorrectly; expected 4 spaces, found 0
(#88) Member variable "installedByVendor" must be all lower-case
(#96) Line indented incorrectly; expected 4 spaces, found 0
(#96) Public method name "InstalledVersions::getInstalledPackages" must be in lower-case letters only
(#97) Line indented incorrectly; expected at least 4 spaces, found 0
(#97) Opening brace should be on the same line as the declaration
(#98) Line indented incorrectly; expected at least 8 spaces, found 0
(#99) Line indented incorrectly; expected 8 spaces, found 0
(#100) Line indented incorrectly; expected at least 12 spaces, found 0
(#101) Line indented incorrectly; expected 8 spaces, found 0
(#103) Line indented incorrectly; expected 8 spaces, found 0
(#104) Line indented incorrectly; expected at least 12 spaces, found 0
(#105) Line indented incorrectly; expected 8 spaces, found 0
(#107) Line indented incorrectly; expected at least 8 spaces, found 0
(#108) Line indented incorrectly; expected 4 spaces, found 0
(#118) Line indented incorrectly; expected 4 spaces, found 0
(#118) Public method name "InstalledVersions::isInstalled" must be in lower-case letters only
(#118) Variable "packageName" must be all lower-case
(#119) Line indented incorrectly; expected at least 4 spaces, found 0
(#119) Opening brace should be on the same line as the declaration
(#120) Line indented incorrectly; expected 8 spaces, found 0
(#121) Line indented incorrectly; expected 12 spaces, found 0
(#121) Variable "packageName" must be all lower-case
(#122) Line indented incorrectly; expected at least 16 spaces, found 0
(#123) Line indented incorrectly; expected 12 spaces, found 0
(#124) Line indented incorrectly; expected 8 spaces, found 0
(#126) Line indented incorrectly; expected at least 8 spaces, found 0
(#127) Line indented incorrectly; expected 4 spaces, found 0
(#142) Line indented incorrectly; expected 4 spaces, found 0
(#142) Variable "packageName" must be all lower-case
(#143) Line indented incorrectly; expected at least 4 spaces, found 0
(#143) Opening brace should be on the same line as the declaration
(#144) Line indented incorrectly; expected at least 8 spaces, found 0
(#145) Line indented incorrectly; expected at least 8 spaces, found 0
(#145) Variable "packageName" must be all lower-case
(#147) Line indented incorrectly; expected at least 8 spaces, found 0
(#148) Line indented incorrectly; expected 4 spaces, found 0
(#159) Line indented incorrectly; expected 4 spaces, found 0
(#159) Public method name "InstalledVersions::getVersionRanges" must be in lower-case letters only
(#159) Variable "packageName" must be all lower-case
(#160) Line indented incorrectly; expected at least 4 spaces, found 0
(#160) Opening brace should be on the same line as the declaration
(#161) Line indented incorrectly; expected 8 spaces, found 0
(#162) Line indented incorrectly; expected 12 spaces, found 0
(#162) Variable "packageName" must be all lower-case
(#163) Line indented incorrectly; expected at least 16 spaces, found 0
(#164) Line indented incorrectly; expected 12 spaces, found 0
(#166) Line indented incorrectly; expected at least 12 spaces, found 0
(#167) Line indented incorrectly; expected 12 spaces, found 0
(#167) Variable "packageName" must be all lower-case
(#168) Line indented incorrectly; expected at least 16 spaces, found 0
(#168) Variable "packageName" must be all lower-case
(#169) Line indented incorrectly; expected 12 spaces, found 0
(#170) Line indented incorrectly; expected 12 spaces, found 0
(#170) Variable "packageName" must be all lower-case
(#171) Line indented incorrectly; expected at least 16 spaces, found 0
(#171) Variable "packageName" must be all lower-case
(#172) Line indented incorrectly; expected 12 spaces, found 0
(#173) Line indented incorrectly; expected 12 spaces, found 0
(#173) Variable "packageName" must be all lower-case
(#174) Line indented incorrectly; expected at least 16 spaces, found 0
(#174) Variable "packageName" must be all lower-case
(#175) Line indented incorrectly; expected 12 spaces, found 0
(#176) Line indented incorrectly; expected 12 spaces, found 0
(#176) Variable "packageName" must be all lower-case
(#177) Line indented incorrectly; expected at least 16 spaces, found 0
(#177) Variable "packageName" must be all lower-case
(#178) Line indented incorrectly; expected 12 spaces, found 0
(#180) Line indented incorrectly; expected at least 12 spaces, found 0
(#181) Line indented incorrectly; expected 8 spaces, found 0
(#183) Line indented incorrectly; expected at least 8 spaces, found 0
(#183) Variable "packageName" must be all lower-case
(#184) Line indented incorrectly; expected 4 spaces, found 0
(#190) Line indented incorrectly; expected 4 spaces, found 0
(#190) Public method name "InstalledVersions::getVersion" must be in lower-case letters only
(#190) Variable "packageName" must be all lower-case
(#191) Line indented incorrectly; expected at least 4 spaces, found 0
(#191) Opening brace should be on the same line as the declaration
(#192) Line indented incorrectly; expected 8 spaces, found 0
(#193) Line indented incorrectly; expected 12 spaces, found 0
(#193) Variable "packageName" must be all lower-case
(#194) Line indented incorrectly; expected at least 16 spaces, found 0
(#195) Line indented incorrectly; expected 12 spaces, found 0
(#197) Line indented incorrectly; expected 12 spaces, found 0
(#197) Variable "packageName" must be all lower-case
(#198) Line indented incorrectly; expected at least 16 spaces, found 0
(#199) Line indented incorrectly; expected 12 spaces, found 0
(#201) Line indented incorrectly; expected at least 12 spaces, found 0
(#201) Variable "packageName" must be all lower-case
(#202) Line indented incorrectly; expected 8 spaces, found 0
(#204) Line indented incorrectly; expected at least 8 spaces, found 0
(#204) Variable "packageName" must be all lower-case
(#205) Line indented incorrectly; expected 4 spaces, found 0
(#211) Line indented incorrectly; expected 4 spaces, found 0
(#211) Public method name "InstalledVersions::getPrettyVersion" must be in lower-case letters only
(#211) Variable "packageName" must be all lower-case
(#212) Line indented incorrectly; expected at least 4 spaces, found 0
(#212) Opening brace should be on the same line as the declaration
(#213) Line indented incorrectly; expected 8 spaces, found 0
(#214) Line indented incorrectly; expected 12 spaces, found 0
(#214) Variable "packageName" must be all lower-case
(#215) Line indented incorrectly; expected at least 16 spaces, found 0
(#216) Line indented incorrectly; expected 12 spaces, found 0
(#218) Line indented incorrectly; expected 12 spaces, found 0
(#218) Variable "packageName" must be all lower-case
(#219) Line indented incorrectly; expected at least 16 spaces, found 0
(#220) Line indented incorrectly; expected 12 spaces, found 0
(#222) Line indented incorrectly; expected at least 12 spaces, found 0
(#222) Variable "packageName" must be all lower-case
(#223) Line indented incorrectly; expected 8 spaces, found 0
(#225) Line indented incorrectly; expected at least 8 spaces, found 0
(#225) Variable "packageName" must be all lower-case
(#226) Line indented incorrectly; expected 4 spaces, found 0
(#232) Line indented incorrectly; expected 4 spaces, found 0
(#232) Public method name "InstalledVersions::getReference" must be in lower-case letters only
(#232) Variable "packageName" must be all lower-case
(#233) Line indented incorrectly; expected at least 4 spaces, found 0
(#233) Opening brace should be on the same line as the declaration
(#234) Line indented incorrectly; expected 8 spaces, found 0
(#235) Line indented incorrectly; expected 12 spaces, found 0
(#235) Variable "packageName" must be all lower-case
(#236) Line indented incorrectly; expected at least 16 spaces, found 0
(#237) Line indented incorrectly; expected 12 spaces, found 0
(#239) Line indented incorrectly; expected 12 spaces, found 0
(#239) Variable "packageName" must be all lower-case
(#240) Line indented incorrectly; expected at least 16 spaces, found 0
(#241) Line indented incorrectly; expected 12 spaces, found 0
(#243) Line indented incorrectly; expected at least 12 spaces, found 0
(#243) Variable "packageName" must be all lower-case
(#244) Line indented incorrectly; expected 8 spaces, found 0
(#246) Line indented incorrectly; expected at least 8 spaces, found 0
(#246) Variable "packageName" must be all lower-case
(#247) Line indented incorrectly; expected 4 spaces, found 0
(#253) Line indented incorrectly; expected 4 spaces, found 0
(#253) Public method name "InstalledVersions::getRootPackage" must be in lower-case letters only
(#254) Line indented incorrectly; expected at least 4 spaces, found 0
(#254) Opening brace should be on the same line as the declaration
(#255) Line indented incorrectly; expected at least 8 spaces, found 0
(#257) Line indented incorrectly; expected at least 8 spaces, found 0
(#258) Line indented incorrectly; expected 4 spaces, found 0
(#266) Line indented incorrectly; expected 4 spaces, found 0
(#266) Public method name "InstalledVersions::getRawData" must be in lower-case letters only
(#267) Line indented incorrectly; expected at least 4 spaces, found 0
(#267) Opening brace should be on the same line as the declaration
(#268) Line indented incorrectly; expected at least 8 spaces, found 0
(#269) Line indented incorrectly; expected 4 spaces, found 0
(#289) Line indented incorrectly; expected 4 spaces, found 0
(#290) Line indented incorrectly; expected at least 4 spaces, found 0
(#290) Opening brace should be on the same line as the declaration
(#291) Line indented incorrectly; expected at least 8 spaces, found 0
(#292) Line indented incorrectly; expected at least 8 spaces, found 0
(#292) Variable "installedByVendor" must be all lower-case
(#293) Line indented incorrectly; expected 4 spaces, found 0
(#299) Line indented incorrectly; expected 4 spaces, found 0
(#299) Private method name "InstalledVersions::getInstalled" must be in lower-case letters only
(#300) Line indented incorrectly; expected at least 4 spaces, found 0
(#300) Opening brace should be on the same line as the declaration
(#301) Line indented incorrectly; expected 8 spaces, found 0
(#301) Variable "canGetVendors" must be all lower-case
(#302) Line indented incorrectly; expected at least 12 spaces, found 0
(#302) Variable "canGetVendors" must be all lower-case
(#303) Line indented incorrectly; expected 8 spaces, found 0
(#305) Line indented incorrectly; expected at least 8 spaces, found 0
(#307) Line indented incorrectly; expected 8 spaces, found 0
(#307) Variable "canGetVendors" must be all lower-case
(#308) Line indented incorrectly; expected 12 spaces, found 0
(#308) Variable "vendorDir" must be all lower-case
(#309) Line indented incorrectly; expected 16 spaces, found 0
(#309) Variable "installedByVendor" must be all lower-case
(#309) Variable "vendorDir" must be all lower-case
(#310) Line indented incorrectly; expected at least 20 spaces, found 0
(#310) Variable "installedByVendor" must be all lower-case
(#310) Variable "vendorDir" must be all lower-case
(#311) Line indented incorrectly; expected 16 spaces, found 0
(#311) Usage of ELSEIF not allowed; use ELSE IF instead
(#311) Variable "vendorDir" must be all lower-case
(#312) Line indented incorrectly; expected at least 20 spaces, found 0
(#312) Variable "installedByVendor" must be all lower-case
(#312) Variable "vendorDir" must be all lower-case
(#312) "require" must be immediately followed by an open parenthesis
(#312) Variable "vendorDir" must be all lower-case
(#313) Line indented incorrectly; expected 16 spaces, found 0
(#314) Line indented incorrectly; expected 12 spaces, found 0
(#315) Line indented incorrectly; expected 8 spaces, found 0
(#317) Line indented incorrectly; expected at least 8 spaces, found 0
(#319) Line indented incorrectly; expected at least 8 spaces, found 0
(#320) Line indented incorrectly; expected 4 spaces, found 0
local/dompdf/vendor/composer/autoload_classmap.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) Variable "vendorDir" must be all lower-case
(#6) Variable "baseDir" must be all lower-case
(#6) Variable "vendorDir" must be all lower-case
(#9) Variable "vendorDir" must be all lower-case
(#10) Variable "vendorDir" must be all lower-case
(#11) Variable "vendorDir" must be all lower-case
(#12) Variable "vendorDir" must be all lower-case
(#13) Variable "vendorDir" must be all lower-case
(#14) Variable "vendorDir" must be all lower-case
(#15) Variable "vendorDir" must be all lower-case
(#16) Variable "vendorDir" must be all lower-case
(#17) Variable "vendorDir" must be all lower-case
(#18) Variable "vendorDir" must be all lower-case
(#19) Variable "vendorDir" must be all lower-case
(#20) Variable "vendorDir" must be all lower-case
(#21) Variable "vendorDir" must be all lower-case
(#22) Variable "vendorDir" must be all lower-case
(#23) Variable "vendorDir" must be all lower-case
(#24) Variable "vendorDir" must be all lower-case
(#25) Variable "vendorDir" must be all lower-case
(#26) Variable "vendorDir" must be all lower-case
(#27) Variable "vendorDir" must be all lower-case
(#28) Variable "vendorDir" must be all lower-case
(#29) Variable "vendorDir" must be all lower-case
(#30) Variable "vendorDir" must be all lower-case
(#31) Variable "vendorDir" must be all lower-case
(#32) Variable "vendorDir" must be all lower-case
(#33) Variable "vendorDir" must be all lower-case
(#34) Variable "vendorDir" must be all lower-case
(#35) Variable "vendorDir" must be all lower-case
(#36) Variable "vendorDir" must be all lower-case
(#37) Variable "vendorDir" must be all lower-case
(#38) Variable "vendorDir" must be all lower-case
(#39) Variable "vendorDir" must be all lower-case
(#40) Variable "vendorDir" must be all lower-case
(#41) Variable "vendorDir" must be all lower-case
(#42) Variable "vendorDir" must be all lower-case
(#43) Variable "vendorDir" must be all lower-case
(#44) Variable "vendorDir" must be all lower-case
(#45) Variable "vendorDir" must be all lower-case
(#46) Variable "vendorDir" must be all lower-case
(#47) Variable "vendorDir" must be all lower-case
(#48) Variable "vendorDir" must be all lower-case
(#49) Variable "vendorDir" must be all lower-case
(#50) Variable "vendorDir" must be all lower-case
(#51) Variable "vendorDir" must be all lower-case
(#52) Variable "vendorDir" must be all lower-case
(#53) Variable "vendorDir" must be all lower-case
(#54) Variable "vendorDir" must be all lower-case
(#55) Variable "vendorDir" must be all lower-case
(#56) Variable "vendorDir" must be all lower-case
(#57) Variable "vendorDir" must be all lower-case
(#58) Variable "vendorDir" must be all lower-case
(#59) Variable "vendorDir" must be all lower-case
(#60) Variable "vendorDir" must be all lower-case
(#61) Variable "vendorDir" must be all lower-case
(#62) Variable "vendorDir" must be all lower-case
(#63) Variable "vendorDir" must be all lower-case
(#64) Variable "vendorDir" must be all lower-case
(#65) Variable "vendorDir" must be all lower-case
(#66) Variable "vendorDir" must be all lower-case
(#67) Variable "vendorDir" must be all lower-case
(#68) Variable "vendorDir" must be all lower-case
(#69) Variable "vendorDir" must be all lower-case
(#70) Variable "vendorDir" must be all lower-case
(#71) Variable "vendorDir" must be all lower-case
(#72) Variable "vendorDir" must be all lower-case
(#73) Variable "vendorDir" must be all lower-case
(#74) Variable "vendorDir" must be all lower-case
(#75) Variable "vendorDir" must be all lower-case
(#76) Variable "vendorDir" must be all lower-case
(#77) Variable "vendorDir" must be all lower-case
(#78) Variable "vendorDir" must be all lower-case
(#79) Variable "vendorDir" must be all lower-case
(#80) Variable "vendorDir" must be all lower-case
(#81) Variable "vendorDir" must be all lower-case
(#82) Variable "vendorDir" must be all lower-case
(#83) Variable "vendorDir" must be all lower-case
(#84) Variable "vendorDir" must be all lower-case
(#85) Variable "vendorDir" must be all lower-case
(#86) Variable "vendorDir" must be all lower-case
(#87) Variable "vendorDir" must be all lower-case
(#88) Variable "vendorDir" must be all lower-case
(#88) Line exceeds 132 characters; contains 134 characters
(#89) Variable "vendorDir" must be all lower-case
(#90) Variable "vendorDir" must be all lower-case
(#91) Variable "vendorDir" must be all lower-case
(#92) Variable "vendorDir" must be all lower-case
(#93) Variable "vendorDir" must be all lower-case
(#94) Variable "vendorDir" must be all lower-case
(#95) Variable "vendorDir" must be all lower-case
(#96) Variable "vendorDir" must be all lower-case
(#97) Variable "vendorDir" must be all lower-case
(#98) Variable "vendorDir" must be all lower-case
(#99) Variable "vendorDir" must be all lower-case
(#100) Variable "vendorDir" must be all lower-case
(#101) Variable "vendorDir" must be all lower-case
(#102) Variable "vendorDir" must be all lower-case
(#103) Variable "vendorDir" must be all lower-case
(#104) Variable "vendorDir" must be all lower-case
(#105) Variable "vendorDir" must be all lower-case
(#106) Variable "vendorDir" must be all lower-case
(#107) Variable "vendorDir" must be all lower-case
(#108) Variable "vendorDir" must be all lower-case
(#109) Variable "vendorDir" must be all lower-case
(#110) Variable "vendorDir" must be all lower-case
(#111) Variable "vendorDir" must be all lower-case
(#112) Variable "vendorDir" must be all lower-case
(#113) Variable "vendorDir" must be all lower-case
(#114) Variable "vendorDir" must be all lower-case
(#115) Variable "vendorDir" must be all lower-case
(#116) Variable "vendorDir" must be all lower-case
(#117) Variable "vendorDir" must be all lower-case
(#118) Variable "vendorDir" must be all lower-case
(#119) Variable "vendorDir" must be all lower-case
(#120) Variable "vendorDir" must be all lower-case
(#121) Variable "vendorDir" must be all lower-case
(#122) Variable "vendorDir" must be all lower-case
(#123) Variable "vendorDir" must be all lower-case
(#123) Line exceeds 132 characters; contains 140 characters
(#124) Variable "vendorDir" must be all lower-case
(#124) Line exceeds 132 characters; contains 134 characters
(#125) Variable "vendorDir" must be all lower-case
(#126) Variable "vendorDir" must be all lower-case
(#127) Variable "vendorDir" must be all lower-case
(#128) Variable "vendorDir" must be all lower-case
(#129) Variable "vendorDir" must be all lower-case
(#130) Variable "vendorDir" must be all lower-case
(#131) Variable "vendorDir" must be all lower-case
(#132) Variable "vendorDir" must be all lower-case
(#132) Line exceeds 132 characters; contains 140 characters
(#133) Variable "vendorDir" must be all lower-case
(#134) Variable "vendorDir" must be all lower-case
(#134) Line exceeds 132 characters; contains 140 characters
(#135) Variable "vendorDir" must be all lower-case
(#135) Line exceeds 132 characters; contains 158 characters
(#136) Variable "vendorDir" must be all lower-case
(#137) Variable "vendorDir" must be all lower-case
(#137) Line exceeds 132 characters; contains 136 characters
(#138) Variable "vendorDir" must be all lower-case
(#139) Variable "vendorDir" must be all lower-case
(#140) Variable "vendorDir" must be all lower-case
(#141) Variable "vendorDir" must be all lower-case
(#142) Variable "vendorDir" must be all lower-case
(#143) Variable "vendorDir" must be all lower-case
(#143) Line exceeds 132 characters; contains 142 characters
(#144) Variable "vendorDir" must be all lower-case
(#145) Variable "vendorDir" must be all lower-case
(#146) Variable "vendorDir" must be all lower-case
(#147) Variable "vendorDir" must be all lower-case
(#148) Variable "vendorDir" must be all lower-case
(#149) Variable "vendorDir" must be all lower-case
(#150) Variable "vendorDir" must be all lower-case
(#150) Line exceeds 132 characters; contains 140 characters
(#151) Variable "vendorDir" must be all lower-case
(#152) Variable "vendorDir" must be all lower-case
(#153) Variable "vendorDir" must be all lower-case
(#153) Line exceeds 132 characters; contains 134 characters
(#154) Variable "vendorDir" must be all lower-case
(#155) Variable "vendorDir" must be all lower-case
(#156) Variable "vendorDir" must be all lower-case
(#157) Variable "vendorDir" must be all lower-case
(#158) Variable "vendorDir" must be all lower-case
(#159) Variable "vendorDir" must be all lower-case
(#160) Variable "vendorDir" must be all lower-case
(#161) Variable "vendorDir" must be all lower-case
(#162) Variable "vendorDir" must be all lower-case
(#163) Variable "vendorDir" must be all lower-case
(#164) Variable "vendorDir" must be all lower-case
(#165) Variable "vendorDir" must be all lower-case
(#166) Variable "vendorDir" must be all lower-case
(#167) Variable "vendorDir" must be all lower-case
(#168) Variable "vendorDir" must be all lower-case
(#169) Variable "vendorDir" must be all lower-case
(#170) Variable "vendorDir" must be all lower-case
(#171) Variable "vendorDir" must be all lower-case
(#172) Variable "vendorDir" must be all lower-case
(#173) Variable "vendorDir" must be all lower-case
(#174) Variable "vendorDir" must be all lower-case
(#175) Variable "vendorDir" must be all lower-case
(#176) Variable "vendorDir" must be all lower-case
(#177) Variable "vendorDir" must be all lower-case
(#178) Variable "vendorDir" must be all lower-case
(#179) Variable "vendorDir" must be all lower-case
(#180) Variable "vendorDir" must be all lower-case
(#181) Variable "vendorDir" must be all lower-case
(#182) Variable "vendorDir" must be all lower-case
(#183) Variable "vendorDir" must be all lower-case
(#184) Variable "vendorDir" must be all lower-case
(#185) Variable "vendorDir" must be all lower-case
(#186) Variable "vendorDir" must be all lower-case
local/dompdf/vendor/composer/autoload_namespaces.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) Variable "vendorDir" must be all lower-case
(#6) Variable "baseDir" must be all lower-case
(#6) Variable "vendorDir" must be all lower-case
(#9) Variable "vendorDir" must be all lower-case
local/dompdf/vendor/composer/autoload_psr4.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#5) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#5) Variable "vendorDir" must be all lower-case
(#6) Variable "baseDir" must be all lower-case
(#6) Variable "vendorDir" must be all lower-case
(#9) Variable "vendorDir" must be all lower-case
(#10) Variable "vendorDir" must be all lower-case
(#11) Variable "vendorDir" must be all lower-case
local/dompdf/vendor/composer/autoload_real.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Public method name "ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af::loadClassLoader" must be in lower-case letters only
(#10) Opening brace should be on the same line as the declaration
(#12) "require" must be immediately followed by an open parenthesis
(#19) Public method name "ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af::getLoader" must be in lower-case letters only
(#20) Opening brace should be on the same line as the declaration
(#29) Variable "useStaticLoader" must be all lower-case
(#29) Line exceeds 132 characters; contains 160 characters
(#30) Variable "useStaticLoader" must be all lower-case
(#31) "require" must be immediately followed by an open parenthesis
(#35) "require" must be immediately followed by an open parenthesis
(#40) "require" must be immediately followed by an open parenthesis
(#45) Variable "classMap" must be all lower-case
(#45) "require" must be immediately followed by an open parenthesis
(#46) Variable "classMap" must be all lower-case
(#47) Variable "classMap" must be all lower-case
local/dompdf/vendor/composer/autoload_static.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#3) Inline comments must start with a capital letter, digit or 3-dots sequence
(#3) Inline comments must end in full-stops, exclamation marks, or question marks
(#9) Member variable "prefixLengthsPsr4" must be all lower-case
(#10) Whitespace found at end of line
(#14) Whitespace found at end of line
(#18) Whitespace found at end of line
(#24) Member variable "prefixDirsPsr4" must be all lower-case
(#25) Whitespace found at end of line
(#29) Whitespace found at end of line
(#33) Whitespace found at end of line
(#39) Member variable "prefixesPsr0" must be all lower-case
(#40) Whitespace found at end of line
(#42) Whitespace found at end of line
(#49) Member variable "classMap" must be all lower-case
(#68) Line exceeds 132 characters; contains 141 characters
(#74) Line exceeds 132 characters; contains 133 characters
(#81) Line exceeds 132 characters; contains 137 characters
(#129) Line exceeds 132 characters; contains 143 characters
(#137) Line exceeds 132 characters; contains 137 characters
(#155) Line exceeds 132 characters; contains 137 characters
(#164) Line exceeds 132 characters; contains 149 characters
(#165) Line exceeds 132 characters; contains 143 characters
(#166) Line exceeds 132 characters; contains 133 characters
(#167) Line exceeds 132 characters; contains 135 characters
(#168) Line exceeds 132 characters; contains 135 characters
(#169) Line exceeds 132 characters; contains 133 characters
(#170) Line exceeds 132 characters; contains 141 characters
(#173) Line exceeds 132 characters; contains 149 characters
(#174) Line exceeds 132 characters; contains 141 characters
(#175) Line exceeds 132 characters; contains 149 characters
(#176) Line exceeds 132 characters; contains 167 characters
(#177) Line exceeds 132 characters; contains 133 characters
(#178) Line exceeds 132 characters; contains 145 characters
(#179) Line exceeds 132 characters; contains 135 characters
(#180) Line exceeds 132 characters; contains 133 characters
(#181) Line exceeds 132 characters; contains 137 characters
(#183) Line exceeds 132 characters; contains 137 characters
(#184) Line exceeds 132 characters; contains 151 characters
(#185) Line exceeds 132 characters; contains 133 characters
(#188) Line exceeds 132 characters; contains 137 characters
(#189) Line exceeds 132 characters; contains 133 characters
(#190) Line exceeds 132 characters; contains 139 characters
(#191) Line exceeds 132 characters; contains 149 characters
(#194) Line exceeds 132 characters; contains 143 characters
(#195) Line exceeds 132 characters; contains 141 characters
(#199) Line exceeds 132 characters; contains 133 characters
(#230) Public method name "ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::getInitializer" must be in lower-case letters only
(#231) Opening brace should be on the same line as the declaration
(#233) Variable "prefixLengthsPsr4" must be all lower-case
(#234) Variable "prefixDirsPsr4" must be all lower-case
(#235) Variable "prefixesPsr0" must be all lower-case
(#236) Variable "classMap" must be all lower-case
local/dompdf/vendor/composer/installed.php
(#1) Line 1 of the opening comment must start "// This file is part of".
(#1) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#1) Line 2 of the opening comment must start "//".
(#1) Line 3 of the opening comment must start "// Moodle is free software: you can redistribute it and/or modify".
(#1) Line 4 of the opening comment must start "// it under the terms of the GNU General Public License as published by".
(#1) Line 5 of the opening comment must start "// the Free Software Foundation, either version 3 of the License, or".
(#1) Line 6 of the opening comment must start "// (at your option) any later version.".
(#2) Line 7 of the opening comment must start "//".
(#2) Line 8 of the opening comment must start "// Moodle is distributed in the hope that it will be useful,".
(#2) Line 9 of the opening comment must start "// but WITHOUT ANY WARRANTY; without even the implied warranty of".
(#2) Line 10 of the opening comment must start "// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the".
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Whitespace found at end of line
(#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/>.".
(#6) Whitespace found at end of line
(#12) Whitespace found at end of line
(#14) Whitespace found at end of line
(#18) Whitespace found at end of line
(#23) Whitespace found at end of line
(#27) Whitespace found at end of line
(#32) Whitespace found at end of line
(#36) Whitespace found at end of line
(#41) Whitespace found at end of line
(#45) Whitespace found at end of line
(#50) Whitespace found at end of line
(#54) Whitespace found at end of line
local/dompdf/version.php
(#31) File must end with a newline character

Javascript coding style problems

(0 errors, 0 warnings)

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


CSS problems

(0 errors, 0 warnings)

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


PHPDocs style problems

(56 errors, 9 warnings)

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

local/dompdf/vendor/autoload.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
local/dompdf/vendor/composer/ClassLoader.php
(#15) Package is not specified for class ClassLoader. It is also not specified in file-level phpdocs
(#471) Package is not specified for function includeFile. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#64) Function ClassLoader::__construct is not documented
(#69) Function ClassLoader::getPrefixes is not documented
(#78) Function ClassLoader::getPrefixesPsr4 is not documented
(#83) Function ClassLoader::getFallbackDirs is not documented
(#88) Function ClassLoader::getFallbackDirsPsr4 is not documented
(#93) Function ClassLoader::getClassMap is not documented
(#404) Function ClassLoader::findFileWithExtension is not documented
(#45) Variable ClassLoader::$vendorDir is not documented
(#48) Variable ClassLoader::$prefixLengthsPsr4 is not documented
(#49) Variable ClassLoader::$prefixDirsPsr4 is not documented
(#50) Variable ClassLoader::$fallbackDirsPsr4 is not documented
(#53) Variable ClassLoader::$prefixesPsr0 is not documented
(#54) Variable ClassLoader::$fallbackDirsPsr0 is not documented
(#56) Variable ClassLoader::$useIncludePath is not documented
(#57) Variable ClassLoader::$classMap is not documented
(#58) Variable ClassLoader::$classMapAuthoritative is not documented
(#59) Variable ClassLoader::$missingClasses is not documented
(#60) Variable ClassLoader::$apcuPrefix is not documented
(#62) Variable ClassLoader::$registeredLoaders is not documented
(#98) There is no description in phpdocs for function addClassMap
(#471) Phpdocs for function includeFile has incomplete parameters list
local/dompdf/vendor/composer/InstalledVersions.php
(#25) Package is not specified for class InstalledVersions. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#25) Class InstalledVersions is not documented
(#96) Function InstalledVersions::getInstalledPackages is not documented
(#118) Function InstalledVersions::isInstalled is not documented
(#142) Function InstalledVersions::satisfies is not documented
(#159) Function InstalledVersions::getVersionRanges is not documented
(#190) Function InstalledVersions::getVersion is not documented
(#211) Function InstalledVersions::getPrettyVersion is not documented
(#232) Function InstalledVersions::getReference is not documented
(#253) Function InstalledVersions::getRootPackage is not documented
(#266) Function InstalledVersions::getRawData is not documented
(#289) Function InstalledVersions::reload is not documented
(#299) Function InstalledVersions::getInstalled is not documented
(#27) Variable InstalledVersions::$installed is not documented
(#87) Variable InstalledVersions::$canGetVendors is not documented
(#88) Variable InstalledVersions::$installedByVendor is not documented
local/dompdf/vendor/composer/autoload_classmap.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
local/dompdf/vendor/composer/autoload_namespaces.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
local/dompdf/vendor/composer/autoload_psr4.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
local/dompdf/vendor/composer/autoload_real.php
(#5) Package is not specified for class ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#5) Class ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af is not documented
(#9) Function ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af::loadClassLoader is not documented
(#7) Variable ComposerAutoloaderInit7b33fa009bbf0ae01927ebbf9d07e8af::$loader is not documented
(#16) There is no description in phpdocs for function getLoader
local/dompdf/vendor/composer/autoload_static.php
(#7) Package is not specified for class ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af. It is also not specified in file-level phpdocs
(#2) Empty line found after PHP open tag
(#7) Class ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af is not documented
(#230) Function ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::getInitializer is not documented
(#9) Variable ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::$prefixLengthsPsr4 is not documented
(#24) Variable ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::$prefixDirsPsr4 is not documented
(#39) Variable ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::$prefixesPsr0 is not documented
(#49) Variable ComposerStaticInit7b33fa009bbf0ae01927ebbf9d07e8af::$classMap is not documented
local/dompdf/vendor/composer/installed.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found

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]