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

(421 errors, 186 warnings)

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

mod/alfaview/classes/api.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#36) Opening brace should be on the same line as the declaration for class mod_alfaview_api
(#38) Member variable "apiClientId" must be all lower-case
(#39) Member variable "apiCode" must be all lower-case
(#40) Member variable "apiCompanyId" must be all lower-case
(#41) Member variable "apiGuestCode" must be all lower-case
(#42) Member variable "accessToken" must be all lower-case
(#45) Opening brace should be on the same line as the declaration
(#57) Opening brace should be on the same line as the declaration
(#71) Public method name "mod_alfaview_api::createTeacher" must be in lower-case letters only
(#71) Variable "roomId" must be all lower-case
(#72) Opening brace should be on the same line as the declaration
(#74) Variable "roomId" must be all lower-case
(#77) Public method name "mod_alfaview_api::createStudent" must be in lower-case letters only
(#77) Variable "roomId" must be all lower-case
(#78) Opening brace should be on the same line as the declaration
(#80) Variable "roomId" must be all lower-case
(#83) Public method name "mod_alfaview_api::createUser" must be in lower-case letters only
(#83) Variable "roomId" must be all lower-case
(#84) Opening brace should be on the same line as the declaration
(#85) Variable "groupLinkRole" must be all lower-case
(#87) Variable "permissionGroupId" must be all lower-case
(#87) Variable "groupLinkRole" must be all lower-case
(#88) Variable "groupLink" must be all lower-case
(#89) Variable "groupLink" must be all lower-case
(#89) Variable "permissionGroupId" must be all lower-case
(#90) Variable "groupLink" must be all lower-case
(#91) Variable "roomId" must be all lower-case
(#91) Variable "groupLink" must be all lower-case
(#93) Variable "groupLink" must be all lower-case
(#94) Variable "groupLinkId" must be all lower-case
(#94) Variable "groupLink" must be all lower-case
(#96) Variable "groupLinkId" must be all lower-case
(#99) Public method name "mod_alfaview_api::createJoinLink" must be in lower-case letters only
(#99) Variable "userId" must be all lower-case
(#99) Variable "displayName" must be all lower-case
(#99) Variable "roomId" must be all lower-case
(#100) Opening brace should be on the same line as the declaration
(#101) Inline comments must start with a capital letter, digit or 3-dots sequence
(#101) Inline comments must end in full-stops, exclamation marks, or question marks
(#104) Variable "roomId" must be all lower-case
(#105) Variable "userId" must be all lower-case
(#106) Variable "displayName" must be all lower-case
(#107) Variable "accessToken" must be all lower-case
(#109) Inline comments must start with a capital letter, digit or 3-dots sequence
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#110) Variable "accessToken" must be all lower-case
(#110) Variable "roomId" must be all lower-case
(#111) Variable "joinLink" must be all lower-case
(#113) Variable "joinLink" must be all lower-case
(#116) Public method name "mod_alfaview_api::listRooms" must be in lower-case letters only
(#117) Opening brace should be on the same line as the declaration
mod/alfaview/classes/event/course_module_viewed.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#41) Opening brace should be on the same line as the declaration for class course_module_viewed
(#47) Opening brace should be on the same line as the declaration
mod/alfaview/classes/privacy/provider.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#34) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#44) Opening brace should be on the same line as the declaration for class provider
(#53) Opening brace should be on the same line as the declaration
(#54) Line exceeds 132 characters; contains 138 characters
(#54) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Opening brace should be on the same line as the declaration
(#79) Opening brace should be on the same line as the declaration
(#88) Opening brace should be on the same line as the declaration
(#96) Method name "_delete_data_for_user" should not be prefixed with an underscore to indicate visibility
(#97) Opening brace should be on the same line as the declaration
(#106) Opening brace should be on the same line as the declaration
(#115) Opening brace should be on the same line as the declaration
mod/alfaview/db/access.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Expected MOODLE_INTERNAL check or config.php inclusion. Change in global state detected.
(#26) Short array syntax must be used to define arrays
(#27) Short array syntax must be used to define arrays
(#30) Short array syntax must be used to define arrays
(#36) There should be a comma after the last array item in a multi-line array.
(#37) There should be a comma after the last array item in a multi-line array.
(#39) Short array syntax must be used to define arrays
(#43) Short array syntax must be used to define arrays
(#45) There should be a comma after the last array item in a multi-line array.
(#47) There should be a comma after the last array item in a multi-line array.
(#48) There should be a comma after the last array item in a multi-line array.
mod/alfaview/db/install.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration
(#34) Variable "apiGuestCode" must be all lower-case
(#35) Variable "apiGuestCode" must be all lower-case
mod/alfaview/db/uninstall.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration
mod/alfaview/db/upgrade.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#37) Opening brace should be on the same line as the declaration
(#47) Inline comments must end in full-stops, exclamation marks, or question marks
mod/alfaview/db/upgradelib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration
(#39) Inline comments must end in full-stops, exclamation marks, or question marks
mod/alfaview/index.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#38) There should be a comma after the last array item in a multi-line array.
(#43) Short array syntax must be used to define arrays
(#56) Short array syntax must be used to define arrays
(#63) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#65) Usage of ELSEIF not allowed; use ELSE IF instead
(#66) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#70) Short array syntax must be used to define arrays
(#76) Short array syntax must be used to define arrays
(#78) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#87) Logical operator "or" is prohibited; use "||" instead
(#88) Short array syntax must be used to define arrays
(#90) Short array syntax must be used to define arrays
mod/alfaview/lang/de/alfaview.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/alfaview/lang/en/alfaview.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/alfaview/lib.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#35) Opening brace should be on the same line as the declaration
(#56) Opening brace should be on the same line as the declaration
(#78) Opening brace should be on the same line as the declaration
(#97) Opening brace should be on the same line as the declaration
(#100) Short array syntax must be used to define arrays
(#105) Short array syntax must be used to define arrays
(#110) Variable "roomId" must be all lower-case
(#111) Opening brace should be on the same line as the declaration
(#115) Variable "roomId" must be all lower-case
(#120) Variable "roomId" must be all lower-case
(#121) Variable "roomId" must be all lower-case
(#122) Variable "roomId" must be all lower-case
mod/alfaview/mod_form.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#38) Opening brace should be on the same line as the declaration for class mod_alfaview_mod_form
(#44) Opening brace should be on the same line as the declaration
(#59) Inline comments must end in full-stops, exclamation marks, or question marks
(#60) Short array syntax must be used to define arrays
(#66) Variable "autocompleteOpts" must be all lower-case
(#67) Variable "roomSelector" must be all lower-case
(#67) Variable "autocompleteOpts" must be all lower-case
(#67) Line exceeds 132 characters; contains 138 characters
(#73) Variable "roomSelector" must be all lower-case
mod/alfaview/settings.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#32) Inline comments must start with a capital letter, digit or 3-dots sequence
(#32) Inline comments must end in full-stops, exclamation marks, or question marks
(#37) Inline comments must start with a capital letter, digit or 3-dots sequence
(#37) Inline comments must end in full-stops, exclamation marks, or question marks
(#43) Inline comments must start with a capital letter, digit or 3-dots sequence
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#49) Inline comments must start with a capital letter, digit or 3-dots sequence
(#49) Inline comments must end in full-stops, exclamation marks, or question marks
(#56) Inline comments must start with a capital letter, digit or 3-dots sequence
(#56) Inline comments must end in full-stops, exclamation marks, or question marks
(#63) Inline comments must start with a capital letter, digit or 3-dots sequence
(#63) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Inline comments must start with a capital letter, digit or 3-dots sequence
(#70) Inline comments must end in full-stops, exclamation marks, or question marks
(#73) Variable "testApiClientId" must be all lower-case
(#74) Variable "testApiCode" must be all lower-case
(#75) Variable "testApiCompanyId" must be all lower-case
(#79) Variable "testApiClientId" must be all lower-case
(#80) Variable "testApiCode" must be all lower-case
(#81) Variable "testApiCompanyId" must be all lower-case
(#85) Variable "connection_status" must not contain underscores.
(#89) Variable "connection_status" must not contain underscores.
(#91) Variable "connection_status" must not contain underscores.
(#91) Line exceeds 132 characters; contains 135 characters
(#95) Variable "connection_status" must not contain underscores.
(#99) Variable "connection_status" must not contain underscores.
mod/alfaview/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.
(#9) Line exceeds maximum limit of 180 characters; contains 204 characters
(#13) Usage of ELSEIF not allowed; use ELSE IF instead
(#23) "require_once" must be immediately followed by an open parenthesis
mod/alfaview/vendor/composer/ClassLoader.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#44) Opening brace should be on the same line as the declaration for class ClassLoader
(#46) Member variable "vendorDir" must be all lower-case
(#48) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Member variable "prefixLengthsPsr4" must be all lower-case
(#53) Short array syntax must be used to define arrays
(#58) Member variable "prefixDirsPsr4" must be all lower-case
(#58) Short array syntax must be used to define arrays
(#63) Member variable "fallbackDirsPsr4" must be all lower-case
(#63) Short array syntax must be used to define arrays
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#70) Member variable "prefixesPsr0" must be all lower-case
(#70) Short array syntax must be used to define arrays
(#75) Member variable "fallbackDirsPsr0" must be all lower-case
(#75) Short array syntax must be used to define arrays
(#78) Member variable "useIncludePath" must be all lower-case
(#84) Member variable "classMap" must be all lower-case
(#84) Short array syntax must be used to define arrays
(#87) Member variable "classMapAuthoritative" must be all lower-case
(#93) Member variable "missingClasses" must be all lower-case
(#93) Short array syntax must be used to define arrays
(#96) Member variable "apcuPrefix" must be all lower-case
(#101) Member variable "registeredLoaders" must be all lower-case
(#101) Short array syntax must be used to define arrays
(#106) Variable "vendorDir" must be all lower-case
(#107) Opening brace should be on the same line as the declaration
(#108) Variable "vendorDir" must be all lower-case
(#114) Public method name "ClassLoader::getPrefixes" must be in lower-case letters only
(#115) Opening brace should be on the same line as the declaration
(#120) Short array syntax must be used to define arrays
(#127) Public method name "ClassLoader::getPrefixesPsr4" must be in lower-case letters only
(#128) Opening brace should be on the same line as the declaration
(#136) Public method name "ClassLoader::getFallbackDirs" must be in lower-case letters only
(#137) Opening brace should be on the same line as the declaration
(#145) Public method name "ClassLoader::getFallbackDirsPsr4" must be in lower-case letters only
(#146) Opening brace should be on the same line as the declaration
(#154) Public method name "ClassLoader::getClassMap" must be in lower-case letters only
(#155) Opening brace should be on the same line as the declaration
(#165) Public method name "ClassLoader::addClassMap" must be in lower-case letters only
(#165) Variable "classMap" must be all lower-case
(#166) Opening brace should be on the same line as the declaration
(#168) Variable "classMap" must be all lower-case
(#170) Variable "classMap" must be all lower-case
(#185) Opening brace should be on the same line as the declaration
(#233) Public method name "ClassLoader::addPsr4" must be in lower-case letters only
(#234) Opening brace should be on the same line as the declaration
(#248) Usage of ELSEIF not allowed; use ELSE IF instead
(#256) Usage of ELSEIF not allowed; use ELSE IF instead
(#281) Opening brace should be on the same line as the declaration
(#300) Public method name "ClassLoader::setPsr4" must be in lower-case letters only
(#301) Opening brace should be on the same line as the declaration
(#321) Public method name "ClassLoader::setUseIncludePath" must be in lower-case letters only
(#321) Variable "useIncludePath" must be all lower-case
(#322) Opening brace should be on the same line as the declaration
(#323) Variable "useIncludePath" must be all lower-case
(#332) Public method name "ClassLoader::getUseIncludePath" must be in lower-case letters only
(#333) Opening brace should be on the same line as the declaration
(#345) Public method name "ClassLoader::setClassMapAuthoritative" must be in lower-case letters only
(#345) Variable "classMapAuthoritative" must be all lower-case
(#346) Opening brace should be on the same line as the declaration
(#347) Variable "classMapAuthoritative" must be all lower-case
(#355) Public method name "ClassLoader::isClassMapAuthoritative" must be in lower-case letters only
(#356) Opening brace should be on the same line as the declaration
(#367) Public method name "ClassLoader::setApcuPrefix" must be in lower-case letters only
(#367) Variable "apcuPrefix" must be all lower-case
(#368) Opening brace should be on the same line as the declaration
(#369) Variable "apcuPrefix" must be all lower-case
(#369) Line exceeds 132 characters; contains 142 characters
(#377) Public method name "ClassLoader::getApcuPrefix" must be in lower-case letters only
(#378) Opening brace should be on the same line as the declaration
(#390) Opening brace should be on the same line as the declaration
(#391) Short array syntax must be used to define arrays
(#398) Variable "registeredLoaders" must be all lower-case
(#398) Short array syntax must be used to define arrays
(#398) Variable "registeredLoaders" must be all lower-case
(#400) Variable "registeredLoaders" must be all lower-case
(#401) Variable "registeredLoaders" must be all lower-case
(#411) Opening brace should be on the same line as the declaration
(#412) Short array syntax must be used to define arrays
(#415) Variable "registeredLoaders" must be all lower-case
(#425) Public method name "ClassLoader::loadClass" must be in lower-case letters only
(#426) Opening brace should be on the same line as the declaration
(#443) Public method name "ClassLoader::findFile" must be in lower-case letters only
(#444) Opening brace should be on the same line as the declaration
(#445) Inline comments must start with a capital letter, digit or 3-dots sequence
(#445) Inline comments must end in full-stops, exclamation marks, or question marks
(#461) Inline comments must end in full-stops, exclamation marks, or question marks
(#483) Public method name "ClassLoader::getRegisteredLoaders" must be in lower-case letters only
(#484) Opening brace should be on the same line as the declaration
(#485) Variable "registeredLoaders" must be all lower-case
(#493) Private method name "ClassLoader::findFileWithExtension" must be in lower-case letters only
(#494) Opening brace should be on the same line as the declaration
(#495) Inline comments must end in full-stops, exclamation marks, or question marks
(#496) Variable "logicalPathPsr4" must be all lower-case
(#500) Variable "subPath" must be all lower-case
(#501) Variable "lastPos" must be all lower-case
(#501) Variable "subPath" must be all lower-case
(#502) Variable "subPath" must be all lower-case
(#502) Variable "subPath" must be all lower-case
(#502) Variable "lastPos" must be all lower-case
(#503) Variable "subPath" must be all lower-case
(#505) Variable "pathEnd" must be all lower-case
(#505) Variable "logicalPathPsr4" must be all lower-case
(#505) Variable "lastPos" must be all lower-case
(#507) Variable "pathEnd" must be all lower-case
(#515) Inline comments must end in full-stops, exclamation marks, or question marks
(#517) Variable "logicalPathPsr4" must be all lower-case
(#522) Inline comments must end in full-stops, exclamation marks, or question marks
(#524) Inline comments must start with a capital letter, digit or 3-dots sequence
(#524) Inline comments must end in full-stops, exclamation marks, or question marks
(#525) Variable "logicalPathPsr0" must be all lower-case
(#525) Variable "logicalPathPsr4" must be all lower-case
(#526) Variable "logicalPathPsr4" must be all lower-case
(#528) Inline comments must end in full-stops, exclamation marks, or question marks
(#529) Variable "logicalPathPsr0" must be all lower-case
(#536) Variable "logicalPathPsr0" must be all lower-case
(#544) Inline comments must end in full-stops, exclamation marks, or question marks
(#546) Variable "logicalPathPsr0" must be all lower-case
(#552) Variable "logicalPathPsr0" must be all lower-case
(#569) function name "includeFile" must be lower-case letters only
(#570) Opening brace should be on the same line as the declaration
(#571) "include" must be immediately followed by an open parenthesis
mod/alfaview/vendor/composer/InstalledVersions.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#28) Opening brace should be on the same line as the declaration for class InstalledVersions
(#31) Line exceeds maximum limit of 180 characters; contains 417 characters
(#38) Member variable "canGetVendors" must be all lower-case
(#42) Line exceeds maximum limit of 180 characters; contains 419 characters
(#44) Member variable "installedByVendor" must be all lower-case
(#44) Short array syntax must be used to define arrays
(#52) Public method name "InstalledVersions::getInstalledPackages" must be in lower-case letters only
(#53) Opening brace should be on the same line as the declaration
(#54) Short array syntax must be used to define arrays
(#73) Public method name "InstalledVersions::getInstalledPackagesByType" must be in lower-case letters only
(#74) Opening brace should be on the same line as the declaration
(#75) Variable "packagesByType" must be all lower-case
(#75) Short array syntax must be used to define arrays
(#80) Variable "packagesByType" must be all lower-case
(#85) Variable "packagesByType" must be all lower-case
(#97) Public method name "InstalledVersions::isInstalled" must be in lower-case letters only
(#97) Variable "packageName" must be all lower-case
(#97) Variable "includeDevRequirements" must be all lower-case
(#98) Opening brace should be on the same line as the declaration
(#100) Variable "packageName" must be all lower-case
(#101) Variable "includeDevRequirements" must be all lower-case
(#101) Variable "packageName" must be all lower-case
(#117) Line exceeds 132 characters; contains 158 characters
(#120) Variable "packageName" must be all lower-case
(#121) Opening brace should be on the same line as the declaration
(#123) Variable "packageName" must be all lower-case
(#137) Public method name "InstalledVersions::getVersionRanges" must be in lower-case letters only
(#137) Variable "packageName" must be all lower-case
(#138) Opening brace should be on the same line as the declaration
(#140) Variable "packageName" must be all lower-case
(#144) Short array syntax must be used to define arrays
(#145) Variable "packageName" must be all lower-case
(#146) Variable "packageName" must be all lower-case
(#148) Variable "packageName" must be all lower-case
(#149) Variable "packageName" must be all lower-case
(#151) Variable "packageName" must be all lower-case
(#152) Variable "packageName" must be all lower-case
(#154) Variable "packageName" must be all lower-case
(#155) Variable "packageName" must be all lower-case
(#161) Variable "packageName" must be all lower-case
(#166) Line exceeds maximum limit of 180 characters; contains 218 characters
(#168) Public method name "InstalledVersions::getVersion" must be in lower-case letters only
(#168) Variable "packageName" must be all lower-case
(#169) Opening brace should be on the same line as the declaration
(#171) Variable "packageName" must be all lower-case
(#175) Variable "packageName" must be all lower-case
(#179) Variable "packageName" must be all lower-case
(#182) Variable "packageName" must be all lower-case
(#187) Line exceeds maximum limit of 180 characters; contains 218 characters
(#189) Public method name "InstalledVersions::getPrettyVersion" must be in lower-case letters only
(#189) Variable "packageName" must be all lower-case
(#190) Opening brace should be on the same line as the declaration
(#192) Variable "packageName" must be all lower-case
(#196) Variable "packageName" must be all lower-case
(#200) Variable "packageName" must be all lower-case
(#203) Variable "packageName" must be all lower-case
(#208) Line exceeds 132 characters; contains 135 characters
(#210) Public method name "InstalledVersions::getReference" must be in lower-case letters only
(#210) Variable "packageName" must be all lower-case
(#211) Opening brace should be on the same line as the declaration
(#213) Variable "packageName" must be all lower-case
(#217) Variable "packageName" must be all lower-case
(#221) Variable "packageName" must be all lower-case
(#224) Variable "packageName" must be all lower-case
(#229) Line exceeds maximum limit of 180 characters; contains 200 characters
(#231) Public method name "InstalledVersions::getInstallPath" must be in lower-case letters only
(#231) Variable "packageName" must be all lower-case
(#232) Opening brace should be on the same line as the declaration
(#234) Variable "packageName" must be all lower-case
(#238) Variable "packageName" must be all lower-case
(#238) Variable "packageName" must be all lower-case
(#238) Line exceeds 132 characters; contains 141 characters
(#241) Variable "packageName" must be all lower-case
(#246) Line exceeds 132 characters; contains 171 characters
(#248) Public method name "InstalledVersions::getRootPackage" must be in lower-case letters only
(#249) Opening brace should be on the same line as the declaration
(#258) Line exceeds maximum limit of 180 characters; contains 201 characters
(#260) Line exceeds maximum limit of 180 characters; contains 407 characters
(#262) Public method name "InstalledVersions::getRawData" must be in lower-case letters only
(#263) Opening brace should be on the same line as the declaration
(#264) Line exceeds maximum limit of 180 characters; contains 228 characters
(#267) Inline comments must start with a capital letter, digit or 3-dots sequence
(#268) Line exceeds 132 characters; contains 134 characters
(#268) Inline comments must end in full-stops, exclamation marks, or question marks
(#270) "include" must be immediately followed by an open parenthesis
(#272) Short array syntax must be used to define arrays
(#283) Line exceeds maximum limit of 180 characters; contains 413 characters
(#285) Public method name "InstalledVersions::getAllRawData" must be in lower-case letters only
(#286) Opening brace should be on the same line as the declaration
(#306) Line exceeds maximum limit of 180 characters; contains 412 characters
(#309) Opening brace should be on the same line as the declaration
(#311) Variable "installedByVendor" must be all lower-case
(#311) Short array syntax must be used to define arrays
(#316) Line exceeds maximum limit of 180 characters; contains 413 characters
(#318) Private method name "InstalledVersions::getInstalled" must be in lower-case letters only
(#319) Opening brace should be on the same line as the declaration
(#320) Variable "canGetVendors" must be all lower-case
(#321) Variable "canGetVendors" must be all lower-case
(#324) Short array syntax must be used to define arrays
(#326) Variable "canGetVendors" must be all lower-case
(#327) Variable "vendorDir" must be all lower-case
(#328) Variable "installedByVendor" must be all lower-case
(#328) Variable "vendorDir" must be all lower-case
(#329) Variable "installedByVendor" must be all lower-case
(#329) Variable "vendorDir" must be all lower-case
(#330) Usage of ELSEIF not allowed; use ELSE IF instead
(#330) Variable "vendorDir" must be all lower-case
(#331) Variable "installedByVendor" must be all lower-case
(#331) Variable "vendorDir" must be all lower-case
(#331) "require" must be immediately followed by an open parenthesis
(#331) Variable "vendorDir" must be all lower-case
(#332) Variable "vendorDir" must be all lower-case
(#340) Inline comments must start with a capital letter, digit or 3-dots sequence
(#341) Line exceeds 132 characters; contains 134 characters
(#341) Inline comments must end in full-stops, exclamation marks, or question marks
(#343) "require" must be immediately followed by an open parenthesis
(#345) Short array syntax must be used to define arrays
mod/alfaview/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
(#8) Short array syntax must be used to define arrays
(#9) Variable "vendorDir" must be all lower-case
mod/alfaview/vendor/composer/autoload_files.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
(#8) Short array syntax must be used to define arrays
(#9) Variable "vendorDir" must be all lower-case
(#10) Variable "vendorDir" must be all lower-case
(#11) Variable "vendorDir" must be all lower-case
mod/alfaview/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
(#8) Short array syntax must be used to define arrays
mod/alfaview/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
(#8) Short array syntax must be used to define arrays
(#9) Short array syntax must be used to define arrays
(#9) Variable "vendorDir" must be all lower-case
(#9) Variable "vendorDir" must be all lower-case
(#10) Short array syntax must be used to define arrays
(#10) Variable "vendorDir" must be all lower-case
(#11) Short array syntax must be used to define arrays
(#11) Variable "vendorDir" must be all lower-case
(#12) Short array syntax must be used to define arrays
(#12) Variable "vendorDir" must be all lower-case
(#13) Short array syntax must be used to define arrays
(#13) Variable "vendorDir" must be all lower-case
(#14) Short array syntax must be used to define arrays
(#14) Variable "vendorDir" must be all lower-case
mod/alfaview/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
(#6) Opening brace should be on the same line as the declaration for class ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17
(#9) Public method name "ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17::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 "ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17::getLoader" must be in lower-case letters only
(#20) Opening brace should be on the same line as the declaration
(#25) "require" must be immediately followed by an open parenthesis
(#27) Short array syntax must be used to define arrays
(#29) Short array syntax must be used to define arrays
(#31) "require" must be immediately followed by an open parenthesis
(#36) Variable "includeFiles" must be all lower-case
(#37) Variable "includeFiles" must be all lower-case
(#37) Variable "fileIdentifier" must be all lower-case
(#38) Variable "fileIdentifier" must be all lower-case
(#50) function name "composerRequiree726b559c13ee4ddf7ac30aa53b17f17" must be lower-case letters only
(#50) Variable "fileIdentifier" must be all lower-case
(#51) Opening brace should be on the same line as the declaration
(#52) Variable "GLOBALS" must be all lower-case
(#52) Variable "fileIdentifier" must be all lower-case
(#53) Variable "GLOBALS" must be all lower-case
(#53) Variable "fileIdentifier" must be all lower-case
(#55) "require" must be immediately followed by an open parenthesis
mod/alfaview/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
(#8) Opening brace should be on the same line as the declaration for class ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17
(#9) Short array syntax must be used to define arrays
(#15) Member variable "prefixLengthsPsr4" must be all lower-case
(#15) Short array syntax must be used to define arrays
(#16) Whitespace found at end of line
(#17) Short array syntax must be used to define arrays
(#21) Whitespace found at end of line
(#22) Short array syntax must be used to define arrays
(#27) Whitespace found at end of line
(#28) Short array syntax must be used to define arrays
(#33) Member variable "prefixDirsPsr4" must be all lower-case
(#33) Short array syntax must be used to define arrays
(#34) Whitespace found at end of line
(#35) Short array syntax must be used to define arrays
(#39) Whitespace found at end of line
(#40) Short array syntax must be used to define arrays
(#43) Whitespace found at end of line
(#44) Short array syntax must be used to define arrays
(#47) Whitespace found at end of line
(#48) Short array syntax must be used to define arrays
(#51) Whitespace found at end of line
(#52) Short array syntax must be used to define arrays
(#55) Whitespace found at end of line
(#56) Short array syntax must be used to define arrays
(#61) Member variable "classMap" must be all lower-case
(#61) Short array syntax must be used to define arrays
(#65) Public method name "ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::getInitializer" must be in lower-case letters only
(#66) Opening brace should be on the same line as the declaration
(#68) Variable "prefixLengthsPsr4" must be all lower-case
(#69) Variable "prefixDirsPsr4" must be all lower-case
(#70) Variable "classMap" must be all lower-case
mod/alfaview/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) Short array syntax must be used to define arrays
(#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".
(#2) 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) Short array syntax must be used to define arrays
(#2) Line 11 of the opening comment must start "// GNU General Public License for more details.".
(#2) Line 12 of the opening comment must start "//".
(#2) 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/>.".
(#9) Short array syntax must be used to define arrays
(#12) Short array syntax must be used to define arrays
(#13) Short array syntax must be used to define arrays
(#19) Short array syntax must be used to define arrays
(#22) Short array syntax must be used to define arrays
(#28) Short array syntax must be used to define arrays
(#31) Short array syntax must be used to define arrays
(#37) Short array syntax must be used to define arrays
(#40) Short array syntax must be used to define arrays
(#46) Short array syntax must be used to define arrays
(#49) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#58) Short array syntax must be used to define arrays
(#64) Short array syntax must be used to define arrays
(#67) Short array syntax must be used to define arrays
(#69) Short array syntax must be used to define arrays
(#73) Short array syntax must be used to define arrays
(#79) Short array syntax must be used to define arrays
(#82) Short array syntax must be used to define arrays
(#84) Short array syntax must be used to define arrays
(#88) Short array syntax must be used to define arrays
(#94) Short array syntax must be used to define arrays
(#97) Short array syntax must be used to define arrays
(#99) Short array syntax must be used to define arrays
(#103) Short array syntax must be used to define arrays
(#109) Short array syntax must be used to define arrays
(#112) Short array syntax must be used to define arrays
(#118) Short array syntax must be used to define arrays
mod/alfaview/vendor/composer/platform_check.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) Short array syntax must be used to define arrays
(#17) Line exceeds 132 characters; contains 137 characters
(#18) Usage of ELSEIF not allowed; use ELSE IF instead
(#19) Line exceeds 132 characters; contains 179 characters
mod/alfaview/version.php
(#2) The opening <?php tag must be followed by exactly one newline.
mod/alfaview/view.php
(#2) The opening <?php tag must be followed by exactly one newline.
(#29) Inline comments must end in full-stops, exclamation marks, or question marks
(#31) Inline comments must end in full-stops, exclamation marks, or question marks
(#33) Inline comments must start with a capital letter, digit or 3-dots sequence
(#33) Inline comments must end in full-stops, exclamation marks, or question marks
(#38) Short array syntax must be used to define arrays
(#39) Short array syntax must be used to define arrays
(#40) Usage of ELSEIF not allowed; use ELSE IF instead
(#41) Short array syntax must be used to define arrays
(#42) Short array syntax must be used to define arrays
(#45) Function print_error() has been deprecated; use throw new moodle_exception() (using lang strings only if meant to be shown to final user)() instead
(#47) Short array syntax must be used to define arrays
(#55) Short array syntax must be used to define arrays
(#57) There should be a comma after the last array item in a multi-line array.
(#63) Short array syntax must be used to define arrays
(#68) Inline comments must start with a capital letter, digit or 3-dots sequence
(#68) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) Variable "qualifiesAsTeacher" must be all lower-case
(#70) Variable "qualifiesAsTeacher" must be all lower-case
(#71) Variable "qualifyingRoles" must be all lower-case
(#72) Variable "qualifiesAsTeacher" must be all lower-case
(#75) Variable "qualifyingRoles" must be all lower-case
(#76) Variable "qualifiesAsTeacher" must be all lower-case
(#82) Variable "display_name" must not contain underscores.
(#83) Variable "qualifiesAsTeacher" must be all lower-case
(#84) Variable "joinLink" must be all lower-case
(#84) Variable "display_name" must not contain underscores.
(#86) Variable "joinLink" must be all lower-case
(#86) Variable "display_name" must not contain underscores.
(#90) Variable "joinLink" must be all lower-case

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

(75 errors, 28 warnings)

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

mod/alfaview/classes/api.php
(#2) Empty line found after PHP open tag
(#35) Class mod_alfaview_api is not documented
(#44) Function mod_alfaview_api::__construct is not documented
(#56) Function mod_alfaview_api::authenticate is not documented
(#71) Function mod_alfaview_api::createTeacher is not documented
(#77) Function mod_alfaview_api::createStudent is not documented
(#83) Function mod_alfaview_api::createUser is not documented
(#99) Function mod_alfaview_api::createJoinLink is not documented
(#116) Function mod_alfaview_api::listRooms is not documented
(#37) Variable mod_alfaview_api::$av is not documented
(#38) Variable mod_alfaview_api::$apiClientId is not documented
(#39) Variable mod_alfaview_api::$apiCode is not documented
(#40) Variable mod_alfaview_api::$apiCompanyId is not documented
(#41) Variable mod_alfaview_api::$apiGuestCode is not documented
(#42) Variable mod_alfaview_api::$accessToken is not documented
mod/alfaview/classes/event/course_module_viewed.php
(#2) Empty line found after PHP open tag
mod/alfaview/classes/privacy/provider.php
(#2) Empty line found after PHP open tag
mod/alfaview/db/access.php
(#2) Empty line found after PHP open tag
mod/alfaview/db/install.php
(#2) Empty line found after PHP open tag
mod/alfaview/db/uninstall.php
(#2) Empty line found after PHP open tag
mod/alfaview/db/upgrade.php
(#2) Empty line found after PHP open tag
mod/alfaview/db/upgradelib.php
(#2) Empty line found after PHP open tag
mod/alfaview/index.php
(#2) Empty line found after PHP open tag
mod/alfaview/lang/de/alfaview.php
(#2) Empty line found after PHP open tag
mod/alfaview/lang/en/alfaview.php
(#2) Empty line found after PHP open tag
mod/alfaview/lib.php
(#2) Empty line found after PHP open tag
(#110) Function alfaview_manage_room_settings is not documented
mod/alfaview/mod_form.php
(#2) Empty line found after PHP open tag
mod/alfaview/settings.php
(#2) Empty line found after PHP open tag
mod/alfaview/vendor/autoload.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/vendor/composer/ClassLoader.php
(#2) Empty line found after PHP open tag
(#103) There is no description in phpdocs for function __construct
(#111) There is no description in phpdocs for function getPrefixes
(#123) There is no description in phpdocs for function getPrefixesPsr4
(#132) There is no description in phpdocs for function getFallbackDirs
(#141) There is no description in phpdocs for function getFallbackDirsPsr4
(#150) There is no description in phpdocs for function getClassMap
(#159) There is no description in phpdocs for function addClassMap
(#488) There is no description in phpdocs for function findFileWithExtension
(#51) Invalid phpdocs tag @psalm-var used
(#56) Invalid phpdocs tag @psalm-var used
(#61) Invalid phpdocs tag @psalm-var used
(#68) Invalid phpdocs tag @psalm-var used
(#73) Invalid phpdocs tag @psalm-var used
(#82) Invalid phpdocs tag @psalm-var used
(#91) Invalid phpdocs tag @psalm-var used
(#125) Invalid phpdocs tag @psalm-return used
(#134) Invalid phpdocs tag @psalm-return used
(#143) Invalid phpdocs tag @psalm-return used
(#152) Invalid phpdocs tag @psalm-return used
(#161) Invalid phpdocs tag @psalm-param used
(#567) Invalid phpdocs tag @private used
(#15) Package is not specified for class ClassLoader. It is also not specified in file-level phpdocs
(#560) Package is not specified for function includeFile. It is also not specified in file-level phpdocs
mod/alfaview/vendor/composer/InstalledVersions.php
(#2) Empty line found after PHP open tag
(#164) There is no description in phpdocs for function getVersion
(#185) There is no description in phpdocs for function getPrettyVersion
(#206) There is no description in phpdocs for function getReference
(#227) There is no description in phpdocs for function getInstallPath
(#244) There is no description in phpdocs for function getRootPackage
(#314) There is no description in phpdocs for function getInstalled
(#31) Invalid phpdocs tag @psalm-var used
(#42) Invalid phpdocs tag @psalm-var used
(#50) Invalid phpdocs tag @psalm-return used
(#71) Invalid phpdocs tag @psalm-return used
(#246) Invalid phpdocs tag @psalm-return used
(#260) Invalid phpdocs tag @psalm-return used
(#283) Invalid phpdocs tag @psalm-return used
(#306) Invalid phpdocs tag @psalm-param used
(#316) Invalid phpdocs tag @psalm-return used
(#25) Not recommended phpdocs tag @final used
(#18) Package is not specified for class InstalledVersions. It is also not specified in file-level phpdocs
mod/alfaview/vendor/composer/autoload_classmap.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/vendor/composer/autoload_files.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/vendor/composer/autoload_namespaces.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/vendor/composer/autoload_psr4.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/vendor/composer/autoload_real.php
(#2) Empty line found after PHP open tag
(#5) Class ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17 is not documented
(#9) Function ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17::loadClassLoader is not documented
(#7) Variable ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17::$loader is not documented
(#16) There is no description in phpdocs for function getLoader
(#45) There is no description in phpdocs for function composerRequiree726b559c13ee4ddf7ac30aa53b17f17
(#5) Package is not specified for class ComposerAutoloaderInite726b559c13ee4ddf7ac30aa53b17f17. It is also not specified in file-level phpdocs
(#45) Package is not specified for function composerRequiree726b559c13ee4ddf7ac30aa53b17f17. It is also not specified in file-level phpdocs
mod/alfaview/vendor/composer/autoload_static.php
(#2) Empty line found after PHP open tag
(#7) Class ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17 is not documented
(#65) Function ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::getInitializer is not documented
(#9) Variable ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::$files is not documented
(#15) Variable ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::$prefixLengthsPsr4 is not documented
(#33) Variable ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::$prefixDirsPsr4 is not documented
(#61) Variable ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17::$classMap is not documented
(#7) Package is not specified for class ComposerStaticInite726b559c13ee4ddf7ac30aa53b17f17. It is also not specified in file-level phpdocs
mod/alfaview/vendor/composer/installed.php
(#2) Empty line found after PHP open tag
(#1) File-level phpdocs block is not found
mod/alfaview/vendor/composer/platform_check.php
(#2) Empty line found after PHP open tag
(#5) File-level phpdocs block is not found
mod/alfaview/version.php
(#2) Empty line found after PHP open tag
mod/alfaview/view.php
(#2) Empty line found after PHP open 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

(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, 1 warnings)

This section shows problems detected in mustache templates [More info]

mod/alfaview/templates/view.mustache
(#1) Example context missing (@template section not found.)

Gherkin .feature problems

(0 errors, 0 warnings)

This section shows problems detected in behat .feature files [More info]