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

(636 errors, 101 warnings)

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

report/sphorphanedfiles/classes/Database/DataFiles.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#30) Opening brace should be on the same line as the declaration for class DataFiles
(#35) Member variable "dbM" must be all lower-case
(#44) Variable "dbM" must be all lower-case
(#45) Variable "dbM" must be all lower-case
(#53) Public method name "DataFiles::getDatabase" must be in lower-case letters only
(#75) Protected method name "DataFiles::createWhereString" must be in lower-case letters only
(#92) Protected method name "DataFiles::prepareStatement" must be in lower-case letters only
(#107) Protected method name "DataFiles::performQuery" must be in lower-case letters only
(#118) Protected method name "DataFiles::prepareContextParameters" must be in lower-case letters only
(#118) Variable "contextId" must be all lower-case
(#118) Variable "modName" must be all lower-case
(#119) Variable "modName" must be all lower-case
(#119) Variable "contextId" must be all lower-case
(#133) Public method name "DataFiles::getFilesForComponent" must be in lower-case letters only
(#133) Variable "contextId" must be all lower-case
(#133) Variable "modName" must be all lower-case
(#134) Variable "contextId" must be all lower-case
(#134) Variable "modName" must be all lower-case
(#147) Public method name "DataFiles::getFilesForComponentIntro" must be in lower-case letters only
(#147) Variable "contextId" must be all lower-case
(#147) Variable "modName" must be all lower-case
(#148) Variable "contextId" must be all lower-case
(#148) Variable "modName" must be all lower-case
(#160) Protected method name "DataFiles::prepareSectionParameters" must be in lower-case letters only
(#160) Variable "itemId" must be all lower-case
(#160) Variable "courseContextId" must be all lower-case
(#161) Variable "itemId" must be all lower-case
(#161) Variable "courseContextId" must be all lower-case
(#174) Public method name "DataFiles::getFilesForSectionSummary" must be in lower-case letters only
(#174) Variable "itemId" must be all lower-case
(#174) Variable "courseContextId" must be all lower-case
(#175) Variable "itemId" must be all lower-case
(#175) Variable "courseContextId" must be all lower-case
(#179) Public method name "DataFiles::getCourse" must be in lower-case letters only
(#179) Variable "courseId" must be all lower-case
(#180) Variable "courseId" must be all lower-case
(#183) Public method name "DataFiles::getPage" must be in lower-case letters only
report/sphorphanedfiles/classes/Database/Factory.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace should be on the same line as the declaration for class Factory
(#40) Member variable "dbM" must be all lower-case
(#48) Variable "dbM" must be all lower-case
(#49) Variable "dbM" must be all lower-case
(#60) Public method name "Factory::dataFiles" must be in lower-case letters only
(#70) Public method name "Factory::getDbM" must be in lower-case letters only
report/sphorphanedfiles/classes/Files/FileInfo.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Opening brace should be on the same line as the declaration for class FileInfo
(#33) Member variable "contextId" must be all lower-case
(#36) Member variable "itemId" must be all lower-case
(#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
(#63) This comment is 50% valid code; is this commented out code?
(#63) No space found before comment text; expected "// protected const FILEREFERENCEKEY = 'filepath_filename';" but found "//protected const FILEREFERENCEKEY = 'filepath_filename';"
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) This comment is 56% valid code; is this commented out code?
(#65) No space found before comment text; expected "// public function addFileReferenceInformation_weg(array $data): array" but found "//public function addFileReferenceInformation_weg(array $data): array"
(#66) No space found before comment text; expected "// {" but found "//{"
(#67) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#68) Expected 1 space before comment text but found 4; use block comment if you need indentation
(#69) Inline comments must end in full-stops, exclamation marks, or question marks
(#69) No space found before comment text; expected "// }" but found "//}"
(#71) Public method name "FileInfo::getPathnamehash" must be in lower-case letters only
(#75) Public method name "FileInfo::getContextId" must be in lower-case letters only
(#79) Public method name "FileInfo::getComponent" must be in lower-case letters only
(#86) Public method name "FileInfo::getFileArea" must be in lower-case letters only
(#90) Public method name "FileInfo::getItemId" must be in lower-case letters only
(#94) Public method name "FileInfo::getFilePath" must be in lower-case letters only
(#98) Public method name "FileInfo::getFileName" must be in lower-case letters only
(#102) Public method name "FileInfo::toArray" must be in lower-case letters only
(#114) Public method name "FileInfo::toString" must be in lower-case letters only
(#115) Must use "self::" for local static member reference
(#118) Public method name "FileInfo::setFromString" must be in lower-case letters only
(#119) Variable "infoComponents" must be all lower-case
(#119) Must use "self::" for local static member reference
(#122) Variable "infoComponents" must be all lower-case
(#123) Variable "infoComponents" must be all lower-case
(#124) Variable "infoComponents" must be all lower-case
(#125) Variable "infoComponents" must be all lower-case
(#126) Variable "infoComponents" must be all lower-case
(#127) Variable "infoComponents" must be all lower-case
(#128) Variable "infoComponents" must be all lower-case
(#132) Public method name "FileInfo::setFromArray" must be in lower-case letters only
(#133) Inline comments must start with a capital letter, digit or 3-dots sequence
(#133) This comment is 70% valid code; is this commented out code?
(#134) Expected 1 space before comment text but found 5; use block comment if you need indentation
(#135) Inline comments must end in full-stops, exclamation marks, or question marks
(#143) Inline comments must start with a capital letter, digit or 3-dots sequence
(#143) No space found before comment text; expected "// }" but found "//}"
(#146) Public method name "FileInfo::setFromFileWithContext" must be in lower-case letters only
(#146) Variable "contextId" must be all lower-case
(#149) Variable "contextId" must be all lower-case
(#160) Public method name "FileInfo::setFromFile" must be in lower-case letters only
report/sphorphanedfiles/classes/Files/Files.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Opening brace should be on the same line as the declaration for class Files
(#38) Member variable "fileStorage" must be all lower-case
(#50) Public method name "Files::getFileStorage" must be in lower-case letters only
(#57) Public method name "Files::getFile" must be in lower-case letters only
(#57) Variable "fileInfo" must be all lower-case
(#59) Variable "fileInfo" must be all lower-case
(#60) Variable "fileInfo" must be all lower-case
(#61) Variable "fileInfo" must be all lower-case
(#62) Variable "fileInfo" must be all lower-case
(#63) Variable "fileInfo" must be all lower-case
(#64) Variable "fileInfo" must be all lower-case
(#72) Public method name "Files::getFileUsingPathnamehash" must be in lower-case letters only
(#80) Public method name "Files::getFileUsingFileInfo_deprecated" must be in lower-case letters only
(#80) Variable "fileInfo" must be all lower-case
(#81) Inline comments must end in full-stops, exclamation marks, or question marks
(#81) 3 slashes comments are not allowed; use "// Comment." instead
(#82) Variable "fileInfo" must be all lower-case
(#86) Protected method name "Files::createPathForFileWithItem" must be in lower-case letters only
(#86) Variable "storedFile" must be all lower-case
(#87) Variable "storedFile" must be all lower-case
(#88) Variable "storedFile" must be all lower-case
(#89) Variable "storedFile" must be all lower-case
(#90) Variable "storedFile" must be all lower-case
(#91) Variable "storedFile" must be all lower-case
(#92) Variable "storedFile" must be all lower-case
(#94) Variable "storedFile" must be all lower-case
(#95) Variable "storedFile" must be all lower-case
(#96) Variable "storedFile" must be all lower-case
(#97) Variable "storedFile" must be all lower-case
(#98) Variable "storedFile" must be all lower-case
(#98) Variable "storedFile" must be all lower-case
(#102) Protected method name "Files::createPathForFile" must be in lower-case letters only
(#102) Variable "storedFile" must be all lower-case
(#103) Variable "storedFile" must be all lower-case
(#104) Variable "storedFile" must be all lower-case
(#105) Variable "storedFile" must be all lower-case
(#105) Variable "storedFile" must be all lower-case
(#105) Variable "storedFile" must be all lower-case
(#108) Protected method name "Files::createURLForFile" must be in lower-case letters only
(#108) Variable "storedFile" must be all lower-case
(#109) Variable "storedFile" must be all lower-case
(#112) Public method name "Files::createURLForFileWithItem" must be in lower-case letters only
(#112) Variable "storedFile" must be all lower-case
(#113) Variable "storedFile" must be all lower-case
(#120) Public method name "Files::generateViewFile" must be in lower-case letters only
(#120) Variable "storedFile" must be all lower-case
(#121) Variable "storedFile" must be all lower-case
(#128) Public method name "Files::generateViewFileForWithItemId" must be in lower-case letters only
(#128) Variable "storedFile" must be all lower-case
(#129) Variable "storedFile" must be all lower-case
(#136) Public method name "Files::generateFallbackView" must be in lower-case letters only
(#136) Variable "storedFile" must be all lower-case
(#137) Variable "storedFile" must be all lower-case
(#137) Variable "storedFile" must be all lower-case
(#153) Public method name "Files::deleteFileInCourse" must be in lower-case letters only
(#153) Variable "fileToBeDeleted" must be all lower-case
(#154) Variable "fileToBeDeleted" must be all lower-case
(#156) Variable "fileToBeDeleted" must be all lower-case
(#160) Inline comments must start with a capital letter, digit or 3-dots sequence
(#160) This comment is 64% valid code; is this commented out code?
(#160) No space found before comment text; expected "// echo "... delete nur simmuliert"; die(); // development!!" but found "//echo "... delete nur simmuliert"; die(); // development!!"
(#161) Variable "fileToBeDeleted" must be all lower-case
report/sphorphanedfiles/classes/HTML.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#27) Opening brace should be on the same line as the declaration for class HTML
(#28) Public method name "HTML::createImage" must be in lower-case letters only
(#42) Public method name "HTML::createLinkInNewTab" must be in lower-case letters only
(#49) Public method name "HTML::createIconForInstance" must be in lower-case letters only
(#60) Public method name "HTML::createSectionHeading" must be in lower-case letters only
(#60) Variable "sectionInfo" must be all lower-case
(#60) Variable "sectionCounter" must be all lower-case
(#61) Variable "sectionInfo" must be all lower-case
(#63) Line exceeds 132 characters; contains 175 characters
(#65) Variable "sectionCounter" must be all lower-case
(#68) Variable "courseInfo" must be all lower-case
(#70) Variable "courseInfo" must be all lower-case
(#70) Variable "sectionCounter" must be all lower-case
(#73) Must use "self::" for local static member reference
(#75) Variable "sectionCounter" must be all lower-case
(#78) Public method name "HTML::createSectionOverview" must be in lower-case letters only
(#86) Public method name "HTML::createList" must be in lower-case letters only
report/sphorphanedfiles/classes/Handler/BaseHandler.php
(#26) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#37) Opening brace should be on the same line as the declaration for class BaseHandler
(#38) Class constants must be uppercase; expected URLPATTERN but found URLPattern
(#43) Member variable "apiM" must be all lower-case
(#50) Variable "apiM" must be all lower-case
(#51) Variable "apiM" must be all lower-case
(#59) Public method name "BaseHandler::getManager" must be in lower-case letters only
(#83) Public method name "BaseHandler::getComponentName" must be in lower-case letters only
(#84) Whitespace found at end of line
(#87) Variable "reversedBaseClassName" must be all lower-case
(#88) Variable "reversedBaseClassName" must be all lower-case
(#88) Variable "reversedBaseClassName" must be all lower-case
(#90) Variable "mySimpleName" must be all lower-case
(#92) Variable "mySimpleName" must be all lower-case
(#92) Variable "mySimpleName" must be all lower-case
(#95) Public method name "BaseHandler::canHandle" must be in lower-case letters only
(#99) Public method name "BaseHandler::postFilter" must be in lower-case letters only
(#119) Public method name "BaseHandler::enumerateOrphanedFilesFromString" must be in lower-case letters only
(#119) Variable "htmlContent" must be all lower-case
(#121) Variable "htmlContent" must be all lower-case
(#127) Public method name "BaseHandler::getPreviewForFile" must be in lower-case letters only
(#127) Variable "fileInfo" must be all lower-case
(#128) Variable "fileInfo" must be all lower-case
(#131) Public method name "BaseHandler::getFileName" must be in lower-case letters only
(#131) Variable "fileInfo" must be all lower-case
(#132) Variable "fileInfo" must be all lower-case
(#136) Public method name "BaseHandler::getModuleURLForInstance" must be in lower-case letters only
(#151) Protected method name "BaseHandler::enumerateFiles" must be in lower-case letters only
(#162) Public method name "BaseHandler::getViewOrphanedFiles" must be in lower-case letters only
(#162) Variable "viewOrphanedFiles" must be all lower-case
(#162) Variable "contextId" must be all lower-case
(#162) Variable "courseId" must be all lower-case
(#162) Variable "iconHtml" must be all lower-case
report/sphorphanedfiles/classes/Handler/Factory.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Opening brace should be on the same line as the declaration for class Factory
(#47) Member variable "apiM" must be all lower-case
(#53) Variable "apiM" must be all lower-case
(#54) Variable "apiM" must be all lower-case
(#61) Public method name "Factory::labelHandler" must be in lower-case letters only
(#69) Public method name "Factory::sectionSummaryHandler" must be in lower-case letters only
(#77) Public method name "Factory::introHandler" must be in lower-case letters only
(#85) Public method name "Factory::pageHandler" must be in lower-case letters only
(#93) Public method name "Factory::resourceHandler" must be in lower-case letters only
(#101) Public method name "Factory::getHandler" must be in lower-case letters only
(#102) Inline control structures are not allowed
(#119) Public method name "Factory::hasHandlerFor" must be in lower-case letters only
(#120) Inline control structures are not allowed
(#121) Line indented incorrectly; expected 8 spaces, found 12
(#123) Line indented incorrectly; expected 8 spaces, found 12
(#133) Public method name "Factory::getHandlerFor" must be in lower-case letters only
(#134) Inline control structures are not allowed
(#135) Line indented incorrectly; expected 8 spaces, found 12
(#137) Line indented incorrectly; expected 8 spaces, found 12
report/sphorphanedfiles/classes/Handler/Handler.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Opening brace should be on the same line as the declaration for class Handler
(#51) Public method name "Handler::getUser" must be in lower-case letters only
(#55) Public method name "Handler::getCourse" must be in lower-case letters only
(#59) Public method name "Handler::getInstance" must be in lower-case letters only
(#63) Public method name "Handler::getPage" must be in lower-case letters only
(#67) Public method name "Handler::getIconHTML" must be in lower-case letters only
(#71) Public method name "Handler::addOrphans" must be in lower-case letters only
(#90) Public method name "Handler::getIntro" must be in lower-case letters only
(#91) Variable "dbParams" must be all lower-case
(#93) Variable "dbParams" must be all lower-case
(#103) Protected method name "Handler::enumerateFiles" must be in lower-case letters only
(#108) Protected method name "Handler::generateViewFile" must be in lower-case letters only
(#108) Variable "orphanedFile" must be all lower-case
(#109) Variable "orphanedFile" must be all lower-case
(#115) Public method name "Handler::getPreviewForFile" must be in lower-case letters only
(#115) Variable "fileInfo" must be all lower-case
(#116) Variable "orphanedFile" must be all lower-case
(#116) Variable "fileInfo" must be all lower-case
(#118) Variable "orphanedFile" must be all lower-case
(#118) Variable "orphanedFile" must be all lower-case
(#119) Variable "orphanedFile" must be all lower-case
(#121) Variable "fileInfo" must be all lower-case
(#132) Protected method name "Handler::getSkeleton" must be in lower-case letters only
(#132) Variable "formDelete" must be all lower-case
(#135) Variable "formDelete" must be all lower-case
(#136) Variable "formDelete" must be all lower-case
report/sphorphanedfiles/classes/Handler/IntroHandler.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration for class IntroHandler
(#37) Member variable "componentName" must be all lower-case
(#42) Public method name "IntroHandler::getComponentName" must be in lower-case letters only
(#49) Public method name "IntroHandler::canHandle" must be in lower-case letters only
(#73) Protected method name "IntroHandler::enumerateFiles" must be in lower-case letters only
(#88) Public method name "IntroHandler::getViewOrphanedFiles" must be in lower-case letters only
(#89) Variable "viewOrphanedFiles" must be all lower-case
(#90) Variable "contextId" must be all lower-case
(#92) Variable "courseId" must be all lower-case
(#94) Variable "iconHtml" must be all lower-case
(#98) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#99) Expected 1 space before comment text but found 8; use block comment if you need indentation
(#102) Variable "htmlContent" must be all lower-case
(#105) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#105) Variable "courseId" must be all lower-case
(#106) Variable "orphanedFiles" must be all lower-case
(#106) Variable "contextId" must be all lower-case
(#106) Variable "courseId" must be all lower-case
(#106) Variable "htmlContent" must be all lower-case
(#106) Line exceeds 132 characters; contains 136 characters
(#108) Variable "componentName" must be all lower-case
(#109) Variable "orphanedFiles" must be all lower-case
(#110) Variable "formDelete" must be all lower-case
(#110) Variable "contextId" must be all lower-case
(#112) Variable "viewOrphanedFiles" must be all lower-case
(#113) Variable "formDelete" must be all lower-case
(#117) Variable "componentName" must be all lower-case
(#120) Variable "contextId" must be all lower-case
(#121) Variable "htmlContent" must be all lower-case
(#122) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#123) Variable "iconHtml" must be all lower-case
(#125) Variable "formDelete" must be all lower-case
(#126) Variable "formDelete" must be all lower-case
(#127) Variable "formDelete" must be all lower-case
(#128) Variable "formDelete" must be all lower-case
(#129) Variable "formDelete" must be all lower-case
(#130) Variable "formDelete" must be all lower-case
(#131) Variable "formDelete" must be all lower-case
(#136) Variable "viewOrphanedFiles" must be all lower-case
report/sphorphanedfiles/classes/Handler/ItemHandler.php
(#22) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#25) Opening brace should be on the same line as the declaration for class ItemHandler
(#31) Protected method name "ItemHandler::generateViewFile" must be in lower-case letters only
(#31) Variable "orphanedFile" must be all lower-case
(#33) Variable "orphanedFile" must be all lower-case
(#35) Variable "orphanedFile" must be all lower-case
(#43) Public method name "ItemHandler::getFileName" must be in lower-case letters only
(#43) Variable "fileInfo" must be all lower-case
(#45) Inline comments must end in full-stops, exclamation marks, or question marks
(#46) Variable "fileInfo" must be all lower-case
(#47) Variable "fileInfo" must be all lower-case
(#47) Line exceeds 132 characters; contains 148 characters
(#48) Variable "fileInfo" must be all lower-case
(#51) Inline comments must end in full-stops, exclamation marks, or question marks
(#53) Variable "fileInfo" must be all lower-case
(#64) Public method name "ItemHandler::setImplementationmode" must be in lower-case letters only
report/sphorphanedfiles/classes/Handler/LabelHandler.php
(#30) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#36) Opening brace should be on the same line as the declaration for class LabelHandler
(#49) Public method name "LabelHandler::getViewOrphanedFiles" must be in lower-case letters only
(#50) Variable "viewOrphanedFiles" must be all lower-case
(#51) Variable "contextId" must be all lower-case
(#53) Variable "courseId" must be all lower-case
(#55) Variable "iconHtml" must be all lower-case
(#57) Variable "htmlContent" must be all lower-case
(#59) Variable "modName" must be all lower-case
(#61) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#61) Variable "courseId" must be all lower-case
(#62) Variable "orphanedFiles" must be all lower-case
(#62) Variable "contextId" must be all lower-case
(#62) Variable "courseId" must be all lower-case
(#62) Variable "htmlContent" must be all lower-case
(#62) Variable "modName" must be all lower-case
(#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
(#63) This comment is 47% valid code; is this commented out code?
(#64) Variable "orphanedFiles" must be all lower-case
(#65) Variable "formDelete" must be all lower-case
(#65) Variable "contextId" must be all lower-case
(#66) Variable "viewOrphanedFiles" must be all lower-case
(#68) Variable "modName" must be all lower-case
(#71) Variable "contextId" must be all lower-case
(#72) Variable "formDelete" must be all lower-case
(#73) Variable "formDelete" must be all lower-case
(#74) Variable "htmlContent" must be all lower-case
(#75) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#78) Variable "formDelete" must be all lower-case
(#79) Variable "formDelete" must be all lower-case
(#80) Variable "formDelete" must be all lower-case
(#81) Variable "formDelete" must be all lower-case
(#82) Variable "formDelete" must be all lower-case
(#83) Variable "formDelete" must be all lower-case
(#84) Variable "formDelete" must be all lower-case
(#88) Variable "viewOrphanedFiles" must be all lower-case
report/sphorphanedfiles/classes/Handler/PageHandler.php
(#22) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#29) Opening brace should be on the same line as the declaration for class PageHandler
(#30) Public method name "PageHandler::getViewOrphanedFiles" must be in lower-case letters only
(#31) Variable "viewOrphanedFiles" must be all lower-case
(#32) Variable "contextId" must be all lower-case
(#34) Variable "courseId" must be all lower-case
(#36) Variable "iconHtml" must be all lower-case
(#38) Variable "htmlContent" must be all lower-case
(#40) Variable "modName" must be all lower-case
(#43) Inline comments must end in full-stops, exclamation marks, or question marks
(#45) Variable "htmlContent" must be all lower-case
(#49) Variable "contextId" must be all lower-case
(#55) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#55) Variable "courseId" must be all lower-case
(#56) Variable "orphanedFiles" must be all lower-case
(#56) Variable "contextId" must be all lower-case
(#56) Variable "courseId" must be all lower-case
(#56) Variable "htmlContent" must be all lower-case
(#56) Variable "modName" must be all lower-case
(#58) Variable "orphanedFiles" must be all lower-case
(#59) Variable "formDelete" must be all lower-case
(#59) Variable "contextId" must be all lower-case
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "viewOrphanedFiles" must be all lower-case
(#67) Variable "formDelete" must be all lower-case
(#71) Variable "modName" must be all lower-case
(#74) Variable "contextId" must be all lower-case
(#75) Variable "htmlContent" must be all lower-case
(#76) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#77) Variable "iconHtml" must be all lower-case
(#79) Variable "formDelete" must be all lower-case
(#80) Variable "formDelete" must be all lower-case
(#81) Variable "formDelete" must be all lower-case
(#82) Variable "formDelete" must be all lower-case
(#83) Variable "formDelete" must be all lower-case
(#84) Variable "formDelete" must be all lower-case
(#85) Variable "formDelete" must be all lower-case
(#90) Variable "viewOrphanedFiles" must be all lower-case
report/sphorphanedfiles/classes/Handler/ResourceHandler.php
(#25) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#32) Opening brace should be on the same line as the declaration for class ResourceHandler
(#36) Public method name "ResourceHandler::enumerateOrphanedFilesFromString" must be in lower-case letters only
(#36) Variable "contextId" must be all lower-case
(#36) Variable "modName" must be all lower-case
(#36) Variable "courseId" must be all lower-case
(#36) Variable "htmlContent" must be all lower-case
(#40) Inline comments must end in full-stops, exclamation marks, or question marks
(#42) Variable "contextId" must be all lower-case
(#42) Variable "modName" must be all lower-case
(#42) Variable "courseId" must be all lower-case
(#42) Variable "htmlContent" must be all lower-case
(#59) Public method name "ResourceHandler::getViewOrphanedFiles" must be in lower-case letters only
(#60) Variable "viewOrphanedFiles" must be all lower-case
(#61) Variable "contextId" must be all lower-case
(#63) Variable "courseId" must be all lower-case
(#65) Variable "iconHtml" must be all lower-case
(#67) Variable "htmlContent" must be all lower-case
(#69) Variable "modName" must be all lower-case
(#72) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#72) Variable "courseId" must be all lower-case
(#73) Variable "orphanedFiles" must be all lower-case
(#73) Variable "contextId" must be all lower-case
(#73) Variable "courseId" must be all lower-case
(#73) Variable "htmlContent" must be all lower-case
(#73) Variable "modName" must be all lower-case
(#75) Variable "orphanedFiles" must be all lower-case
(#76) Variable "formDelete" must be all lower-case
(#76) Variable "contextId" must be all lower-case
(#78) Variable "viewOrphanedFiles" must be all lower-case
(#79) Variable "formDelete" must be all lower-case
(#83) Variable "modName" must be all lower-case
(#86) Variable "contextId" must be all lower-case
(#87) Variable "htmlContent" must be all lower-case
(#88) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#89) Variable "iconHtml" must be all lower-case
(#91) Variable "formDelete" must be all lower-case
(#92) Variable "formDelete" must be all lower-case
(#93) Variable "formDelete" must be all lower-case
(#94) Variable "formDelete" must be all lower-case
(#95) Variable "formDelete" must be all lower-case
(#96) Variable "formDelete" must be all lower-case
(#97) Variable "formDelete" must be all lower-case
(#102) Variable "viewOrphanedFiles" must be all lower-case
report/sphorphanedfiles/classes/Handler/SectionSummaryHandler.php
(#24) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#28) Whitespace found at end of line
(#32) Whitespace found at end of line
(#35) Whitespace found at end of line
(#47) Opening brace should be on the same line as the declaration for class SectionSummaryHandler
(#51) Protected method name "SectionSummaryHandler::enumerateFiles" must be in lower-case letters only
(#51) Variable "fileItemIdSectionInfo" must be all lower-case
(#52) Variable "fileItemIdSectionInfo" must be all lower-case
(#56) Public method name "SectionSummaryHandler::getViewOrphanedFiles" must be in lower-case letters only
(#57) Variable "viewOrphanedFiles" must be all lower-case
(#58) Variable "contextId" must be all lower-case
(#59) Variable "sectionInfo" must be all lower-case
(#61) Variable "courseId" must be all lower-case
(#62) Variable "iconHtml" must be all lower-case
(#64) Variable "sectionHtml" must be all lower-case
(#64) Variable "sectionInfo" must be all lower-case
(#64) Variable "contextId" must be all lower-case
(#64) Variable "sectionInfo" must be all lower-case
(#64) Line exceeds 132 characters; contains 144 characters
(#65) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#65) Variable "courseId" must be all lower-case
(#66) Variable "orphanedFiles" must be all lower-case
(#66) Variable "contextId" must be all lower-case
(#66) Variable "courseId" must be all lower-case
(#66) Variable "sectionHtml" must be all lower-case
(#66) Variable "sectionInfo" must be all lower-case
(#67) Variable "orphanedFiles" must be all lower-case
(#68) Variable "formDelete" must be all lower-case
(#70) Variable "viewOrphanedFiles" must be all lower-case
(#72) Variable "sectionInfo" must be all lower-case
(#74) Variable "contextId" must be all lower-case
(#75) Variable "formDelete" must be all lower-case
(#77) Variable "formDelete" must be all lower-case
(#78) Variable "sectionHtml" must be all lower-case
(#79) Variable "userAllowedToDeleteThisFile" must be all lower-case
(#82) Variable "formDelete" must be all lower-case
(#83) Variable "formDelete" must be all lower-case
(#84) Variable "formDelete" must be all lower-case
(#85) Variable "formDelete" must be all lower-case
(#86) Variable "formDelete" must be all lower-case
(#87) Variable "formDelete" must be all lower-case
(#88) Variable "formDelete" must be all lower-case
(#92) Variable "viewOrphanedFiles" must be all lower-case
(#99) Private method name "SectionSummaryHandler::detectGrid" must be in lower-case letters only
(#109) Public method name "SectionSummaryHandler::getFileLink" must be in lower-case letters only
(#109) Variable "fileInfo" must be all lower-case
(#110) Variable "fileInfo" must be all lower-case
(#110) Line exceeds 132 characters; contains 140 characters
(#111) Variable "fileInfo" must be all lower-case
report/sphorphanedfiles/classes/Manager.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#33) Opening brace should be on the same line as the declaration for class Manager
(#37) Member variable "dbM" must be all lower-case
(#43) Variable "dbM" must be all lower-case
(#44) Variable "dbM" must be all lower-case
report/sphorphanedfiles/classes/Misc.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#22) Opening brace should be on the same line as the declaration for class Misc
(#27) Public method name "Misc::convertByteInMegabyte" must be in lower-case letters only
(#31) Variable "filesizeInKilobyte" must be all lower-case
(#32) Variable "filesizeInMegabyte" must be all lower-case
(#32) Variable "filesizeInKilobyte" must be all lower-case
(#33) Variable "filesizeInMegabyte" must be all lower-case
(#36) Variable "translationFile" must be all lower-case
(#37) Inline control structures are not allowed
(#38) Variable "translationFile" must be all lower-case
report/sphorphanedfiles/classes/Parser/Parser.php
(#19) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#43) Opening brace should be on the same line as the declaration for class Parser
(#48) Public method name "Parser::extractFileNamesFromString" must be in lower-case letters only
(#48) Variable "htmlContent" must be all lower-case
(#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
(#50) Variable "htmlContent" must be all lower-case
(#50) Variable "matchesImg" must be all lower-case
(#53) Variable "matchesImg" must be all lower-case
(#53) Variable "usedFile" must be all lower-case
(#54) Variable "usedFile" must be all lower-case
(#57) Inline comments must start with a capital letter, digit or 3-dots sequence
(#57) Inline comments must end in full-stops, exclamation marks, or question marks
(#58) Variable "htmlContent" must be all lower-case
(#58) Variable "matchesHref" must be all lower-case
(#59) Variable "matchesHref" must be all lower-case
(#59) Variable "usedFile" must be all lower-case
(#60) Variable "usedFile" must be all lower-case
(#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
(#80) Variable "htmlContent" must be all lower-case
(#80) Variable "matchesUrl" must be all lower-case
(#81) Variable "matchesUrl" must be all lower-case
(#81) Variable "usedFile" must be all lower-case
(#82) Variable "usedFile" must be all lower-case
(#94) Public method name "Parser::extractOrphanedFilesFromString" must be in lower-case letters only
(#94) Variable "htmlContent" must be all lower-case
(#94) Variable "allFiles" must be all lower-case
(#94) Variable "contextId" must be all lower-case
(#95) Variable "filesInContent" must be all lower-case
(#95) Variable "htmlContent" must be all lower-case
(#97) Variable "allFiles" must be all lower-case
(#98) Variable "filesInContent" must be all lower-case
(#98) Variable "contentFile" must be all lower-case
(#100) Variable "contentFile" must be all lower-case
(#101) Variable "contentFile" must be all lower-case
(#101) Variable "contextId" must be all lower-case
(#107) Variable "allFiles" must be all lower-case
(#112) Variable "allFiles" must be all lower-case
report/sphorphanedfiles/classes/Security/Security.php
(#28) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#34) Opening brace should be on the same line as the declaration for class Security
(#38) Member variable "dbM" must be all lower-case
(#44) Variable "dbM" must be all lower-case
(#45) Variable "dbM" must be all lower-case
(#55) Public method name "Security::isCourseIdOfFileSameLikeCourseidOfTheCourse" must be in lower-case letters only
(#55) Variable "fileToBeDeleted" must be all lower-case
(#55) Variable "courseId" must be all lower-case
(#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
(#57) Variable "fileContextId" must be all lower-case
(#57) Variable "fileToBeDeleted" must be all lower-case
(#58) Inline comments must start with a capital letter, digit or 3-dots sequence
(#58) Inline comments must end in full-stops, exclamation marks, or question marks
(#59) Variable "contextOfFile" must be all lower-case
(#59) Variable "fileContextId" must be all lower-case
(#60) Inline comments must end in full-stops, exclamation marks, or question marks
(#61) Variable "courseContext" must be all lower-case
(#61) Variable "contextOfFile" must be all lower-case
(#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
(#64) Variable "courseContextId" must be all lower-case
(#64) Variable "courseContext" must be all lower-case
(#65) Inline comments must start with a capital letter, digit or 3-dots sequence
(#65) Inline comments must end in full-stops, exclamation marks, or question marks
(#66) Variable "courseIdOfFile" must be all lower-case
(#66) Variable "courseContext" must be all lower-case
(#71) Inline comments must end in full-stops, exclamation marks, or question marks
(#72) Variable "courseId" must be all lower-case
(#72) Variable "courseIdOfFile" must be all lower-case
(#87) Public method name "Security::allowedToViewReport" must be in lower-case letters only
(#87) Variable "courseId" must be all lower-case
(#88) Variable "courseId" must be all lower-case
(#89) Inline comments must start with a capital letter, digit or 3-dots sequence
(#89) Inline comments must end in full-stops, exclamation marks, or question marks
(#106) Public method name "Security::isUserAllowedToDeleteFiles" must be in lower-case letters only
(#106) Variable "courseId" must be all lower-case
(#107) Variable "courseId" must be all lower-case
(#108) Inline comments must start with a capital letter, digit or 3-dots sequence
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
report/sphorphanedfiles/classes/View/OrphanedView.php
(#32) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#38) Opening brace should be on the same line as the declaration for class OrphanedView
(#44) Member variable "courseId" must be all lower-case
(#54) Member variable "apiM" must be all lower-case
(#59) Member variable "afterDeletion" must be all lower-case
(#66) Member variable "courseFormatGridEnabled" must be all lower-case
(#76) Variable "courseId" must be all lower-case
(#77) Variable "courseId" must be all lower-case
(#81) Variable "courseId" must be all lower-case
(#83) Variable "courseId" must be all lower-case
(#86) Public method name "OrphanedView::getPage" must be in lower-case letters only
(#101) Public method name "OrphanedView::deleteOrphanedFile" must be in lower-case letters only
(#102) Inline comments must end in full-stops, exclamation marks, or question marks
(#103) Functions must not contain multiple empty lines in a row; found 2 empty lines
(#108) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) Inline comments must end in full-stops, exclamation marks, or question marks
(#109) This comment is 67% valid code; is this commented out code?
(#109) No space found before comment text; expected "// VARCHAR(40)" but found "//VARCHAR(40)"
(#115) Variable "contextId" must be all lower-case
(#115) This comment is 53% valid code; is this commented out code?
(#115) No space found before comment text; expected "// BIGINT(10)" but found "//BIGINT(10)"
(#116) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) Inline comments must end in full-stops, exclamation marks, or question marks
(#118) This comment is 67% valid code; is this commented out code?
(#118) No space found before comment text; expected "// VARCHAR(100)" but found "//VARCHAR(100)"
(#124) Inline comments must end in full-stops, exclamation marks, or question marks
(#124) This comment is 67% valid code; is this commented out code?
(#124) No space found before comment text; expected "// VARCHAR(50)" but found "//VARCHAR(50)"
(#130) Variable "itemId" must be all lower-case
(#130) Inline comments must end in full-stops, exclamation marks, or question marks
(#130) This comment is 67% valid code; is this commented out code?
(#130) No space found before comment text; expected "// BIGINT(10)" but found "//BIGINT(10)"
(#132) Inline comments must end in full-stops, exclamation marks, or question marks
(#132) This comment is 67% valid code; is this commented out code?
(#132) No space found before comment text; expected "// VARCHAR(255)" but found "//VARCHAR(255)"
(#138) Inline comments must end in full-stops, exclamation marks, or question marks
(#138) This comment is 67% valid code; is this commented out code?
(#138) No space found before comment text; expected "// VARCHAR(255)" but found "//VARCHAR(255)"
(#144) Variable "postDataFile" must be all lower-case
(#145) Variable "postDataFile" must be all lower-case
(#146) Variable "postDataFile" must be all lower-case
(#146) Variable "contextId" must be all lower-case
(#147) Variable "postDataFile" must be all lower-case
(#148) Variable "postDataFile" must be all lower-case
(#149) Variable "postDataFile" must be all lower-case
(#149) Variable "itemId" must be all lower-case
(#150) Variable "postDataFile" must be all lower-case
(#151) Variable "postDataFile" must be all lower-case
(#152) Variable "serialisation_PostDataFile" must be all lower-case
(#152) Variable "serialisation_PostDataFile" must not contain underscores.
(#152) Variable "postDataFile" must be all lower-case
(#154) Inline comments must start with a capital letter, digit or 3-dots sequence
(#156) Variable "fileToBeDeleted" must be all lower-case
(#157) Variable "fileToBeDeleted" must be all lower-case
(#158) Inline comments must end in full-stops, exclamation marks, or question marks
(#163) Inline comments must start with a capital letter, digit or 3-dots sequence
(#163) Inline comments must end in full-stops, exclamation marks, or question marks
(#164) Variable "dataFileToBeDeleted" must be all lower-case
(#165) Variable "dataFileToBeDeleted" must be all lower-case
(#165) Variable "fileToBeDeleted" must be all lower-case
(#166) Variable "dataFileToBeDeleted" must be all lower-case
(#166) Variable "fileToBeDeleted" must be all lower-case
(#167) Variable "dataFileToBeDeleted" must be all lower-case
(#167) Variable "fileToBeDeleted" must be all lower-case
(#168) Variable "dataFileToBeDeleted" must be all lower-case
(#168) Variable "fileToBeDeleted" must be all lower-case
(#169) Variable "dataFileToBeDeleted" must be all lower-case
(#169) Variable "fileToBeDeleted" must be all lower-case
(#170) Variable "dataFileToBeDeleted" must be all lower-case
(#170) Variable "fileToBeDeleted" must be all lower-case
(#171) Variable "dataFileToBeDeleted" must be all lower-case
(#171) Variable "fileToBeDeleted" must be all lower-case
(#173) Variable "serialisation_FileToBeDeleted" must be all lower-case
(#173) Variable "serialisation_FileToBeDeleted" must not contain underscores.
(#173) Variable "dataFileToBeDeleted" must be all lower-case
(#175) Inline comments must start with a capital letter, digit or 3-dots sequence
(#177) Variable "serialisation_FileToBeDeleted" must be all lower-case
(#177) Variable "serialisation_FileToBeDeleted" must not contain underscores.
(#177) Variable "serialisation_PostDataFile" must be all lower-case
(#177) Variable "serialisation_PostDataFile" must not contain underscores.
(#178) Inline comments must start with a capital letter, digit or 3-dots sequence
(#185) Variable "fileToBeDeleted" must be all lower-case
(#191) Public method name "OrphanedView::listOrphansForSection" must be in lower-case letters only
(#191) Variable "sectionInfo" must be all lower-case
(#192) Variable "courseContextId" must be all lower-case
(#194) Variable "viewOrphanedFiles" must be all lower-case
(#195) Variable "viewOrphanedFiles" must be all lower-case
(#196) Variable "viewOrphanedFiles" must be all lower-case
(#197) Variable "courseContextId" must be all lower-case
(#198) Variable "sectionInfo" must be all lower-case
(#201) Inline comments must end in full-stops, exclamation marks, or question marks
(#204) Variable "modInfo" must be all lower-case
(#204) Variable "sectionInfo" must be all lower-case
(#206) Variable "modInfo" must be all lower-case
(#208) Variable "sectionInfo" must be all lower-case
(#211) Variable "viewOrphanedFiles" must be all lower-case
(#213) Variable "viewOrphanedFiles" must be all lower-case
(#220) Variable "viewOrphanedFiles" must be all lower-case
(#223) Public method name "OrphanedView::createOrphansList" must be in lower-case letters only
(#223) Variable "sectionInfo" must be all lower-case
(#224) Variable "viewOrphanedFiles" must be all lower-case
(#224) Variable "sectionInfo" must be all lower-case
(#225) Variable "cleanedViewOrphanedFiles" must be all lower-case
(#226) Inline comments must end in full-stops, exclamation marks, or question marks
(#227) Variable "viewOrphanedFiles" must be all lower-case
(#227) Variable "viewOrphanedFile" must be all lower-case
(#228) Variable "viewOrphanedFile" must be all lower-case
(#228) Variable "viewOrphanedFile" must be all lower-case
(#228) Line exceeds 132 characters; contains 141 characters
(#229) Variable "cleanedViewOrphanedFiles" must be all lower-case
(#229) Variable "viewOrphanedFile" must be all lower-case
(#233) Variable "cleanedViewOrphanedFiles" must be all lower-case
(#234) Line exceeds 132 characters; contains 141 characters
(#235) Line exceeds 132 characters; contains 172 characters
(#237) Variable "cleanedViewOrphanedFiles" must be all lower-case
(#240) Inline comments must start with a capital letter, digit or 3-dots sequence
(#240) This comment is 67% valid code; is this commented out code?
(#261) Variable "userAllowedToDeleteFiles" must be all lower-case
(#266) Inline comments must end in full-stops, exclamation marks, or question marks
(#269) Variable "userAllowedToDeleteFiles" must be all lower-case
(#272) Line exceeds 132 characters; contains 141 characters
(#274) Inline comments must start with a capital letter, digit or 3-dots sequence
(#274) This comment is 67% valid code; is this commented out code?
(#280) Inline comments must end in full-stops, exclamation marks, or question marks
(#281) Variable "sectionCounter" must be all lower-case
(#282) Variable "sectionInfo" must be all lower-case
(#285) Variable "sectionInfo" must be all lower-case
(#285) Variable "sectionCounter" must be all lower-case
(#286) Variable "sectionInfo" must be all lower-case
report/sphorphanedfiles/classes/View/Page.php
(#21) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#24) Opening brace should be on the same line as the declaration for class Page
(#30) Variable "courseId" must be all lower-case
(#36) Variable "courseId" must be all lower-case
(#42) Public method name "Page::getOutput" must be in lower-case letters only
(#46) Public method name "Page::getTitle" must be in lower-case letters only
(#50) Public method name "Page::getCourse" must be in lower-case letters only
(#54) Public method name "Page::getCourseInfo" must be in lower-case letters only
(#58) Protected method name "Page::getPage" must be in lower-case letters only
(#62) Public method name "Page::getIconURL" must be in lower-case letters only
report/sphorphanedfiles/classes/privacy/provider.php
(#34) Opening brace should be on the same line as the declaration for class provider
report/sphorphanedfiles/index.php
(#34) Variable "courseId" must be all lower-case
(#36) Variable "courseId" must be all lower-case
(#40) Variable "courseId" must be all lower-case
(#41) No space found before comment text; expected "// 6. Only if a user has the capability to view (and use the report including deletion)" but found "//6. Only if a user has the capability to view (and use the report including deletion)"
(#44) No space found before comment text; expected "// 7. Check, if the report is active for the actual user" but found "//7. Check, if the report is active for the actual user"
(#47) Variable "isReportActiveForTheUser" must be all lower-case
(#48) Expected "if (...) {\n"; found "if (...){\n"
(#48) Variable "isReportActiveForTheUser" must be all lower-case
(#54) Variable "orphanedViewInstance" must be all lower-case
(#54) Variable "courseId" must be all lower-case
(#54) Commas (,) must be followed by white space.
(#57) Variable "orphanedViewInstance" must be all lower-case
(#59) Variable "orphanedViewInstance" must be all lower-case
report/sphorphanedfiles/lang/en/report_sphorphanedfiles.php
(#36) Whitespace found at end of line within string
(#37) Whitespace found at end of line within string
(#55) Whitespace found at end of line within string
(#56) Whitespace found at end of line within string
(#60) Whitespace found at end of line within string
(#61) Whitespace found at end of line within string
(#65) Whitespace found at end of line within string
(#66) Whitespace found at end of line within string
(#70) Whitespace found at end of line within string
(#71) Whitespace found at end of line within string
report/sphorphanedfiles/lib.php
(#27) Unexpected MOODLE_INTERNAL check. No side effects or multiple artifacts detected.
(#42) Variable "isReportActiveForTheUser" must be all lower-case
(#43) Variable "isReportActiveForTheUser" 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

(3 errors, 0 warnings)

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

report/sphorphanedfiles/styles.css
(#2) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#5) Expected single space after ":" with a single-line declaration (declaration-colon-space-after)
(#6) Expected indentation of 0 spaces (indentation)

PHPDocs style problems

(159 errors, 10 warnings)

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

report/sphorphanedfiles/classes/Database/DataFiles.php
(#179) Function DataFiles::getCourse is not documented
(#183) Function DataFiles::getPage is not documented
(#23) No one-line description found in phpdocs for class DataFiles
(#112) Phpdocs for function DataFiles::prepareContextParameters has incomplete parameters list
(#154) Phpdocs for function DataFiles::prepareSectionParameters has incomplete parameters list
(#23) Package is not specified for class DataFiles. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Files/FileInfo.php
(#71) Function FileInfo::getPathnamehash is not documented
(#75) Function FileInfo::getContextId is not documented
(#79) Function FileInfo::getComponent is not documented
(#90) Function FileInfo::getItemId is not documented
(#94) Function FileInfo::getFilePath is not documented
(#98) Function FileInfo::getFileName is not documented
(#102) Function FileInfo::toArray is not documented
(#114) Function FileInfo::toString is not documented
(#118) Function FileInfo::setFromString is not documented
(#132) Function FileInfo::setFromArray is not documented
(#146) Function FileInfo::setFromFileWithContext is not documented
(#160) Function FileInfo::setFromFile is not documented
(#31) Variable FileInfo::$pathnamehash is not documented
(#33) Variable FileInfo::$contextId is not documented
(#34) Variable FileInfo::$component is not documented
(#35) Variable FileInfo::$filearea is not documented
(#36) Variable FileInfo::$itemId is not documented
(#37) Variable FileInfo::$filepath is not documented
(#38) Variable FileInfo::$filename is not documented
(#29) Constant FileInfo::SERIALIZATION_SEPARATOR is not documented
(#23) No one-line description found in phpdocs for class FileInfo
(#83) There is no description in phpdocs for function getFileArea
(#44) Phpdocs for function FileInfo::__construct has incomplete parameters list
(#83) Phpdocs for function FileInfo::getFileArea has incomplete parameters list
(#23) Package is not specified for class FileInfo. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Files/Files.php
(#86) Function Files::createPathForFileWithItem is not documented
(#102) Function Files::createPathForFile is not documented
(#108) Function Files::createURLForFile is not documented
(#112) Function Files::createURLForFileWithItem is not documented
(#34) Constant Files::DIRECTORY_SEPARATOR is not documented
(#81) Found comment starting with three or more slashes
(#47) There is no description in phpdocs for function getFileStorage
(#54) There is no description in phpdocs for function getFile
(#69) There is no description in phpdocs for function getFileUsingPathnamehash
(#77) There is no description in phpdocs for function getFileUsingFileInfo_deprecated
(#116) There is no description in phpdocs for function generateViewFile
(#124) There is no description in phpdocs for function generateViewFileForWithItemId
(#132) There is no description in phpdocs for function generateFallbackView
(#54) Phpdocs for function Files::getFile has incomplete parameters list
(#69) Phpdocs for function Files::getFileUsingPathnamehash has incomplete parameters list
(#77) Phpdocs for function Files::getFileUsingFileInfo_deprecated has incomplete parameters list
(#147) Phpdocs for function Files::deleteFileInCourse has incomplete parameters list
(#29) Package is not specified for class Files. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/HTML.php
(#26) Class HTML is not documented
(#28) Function HTML::createImage is not documented
(#42) Function HTML::createLinkInNewTab is not documented
(#49) Function HTML::createIconForInstance is not documented
(#60) Function HTML::createSectionHeading is not documented
(#78) Function HTML::createSectionOverview is not documented
(#86) Function HTML::createList is not documented
(#26) Package is not specified for class HTML. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Handler/BaseHandler.php
(#95) Function BaseHandler::canHandle is not documented
(#99) Function BaseHandler::postFilter is not documented
(#127) Function BaseHandler::getPreviewForFile is not documented
(#131) Function BaseHandler::getFileName is not documented
(#136) Function BaseHandler::getModuleURLForInstance is not documented
(#38) Constant BaseHandler::URLPattern is not documented
(#28) No one-line description found in phpdocs for class BaseHandler
(#153) There is no description in phpdocs for function getViewOrphanedFiles
(#112) Phpdocs for function BaseHandler::enumerateOrphanedFilesFromString has incomplete parameters list
(#144) Phpdocs for function BaseHandler::enumerateFiles has incomplete parameters list
(#154) Phpdocs for function BaseHandler::getViewOrphanedFiles has incomplete parameters list
(#28) Package is not specified for class BaseHandler. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Handler/Factory.php
(#116) Phpdocs for function Factory::hasHandlerFor has incomplete parameters list
(#130) Phpdocs for function Factory::getHandlerFor has incomplete parameters list
report/sphorphanedfiles/classes/Handler/Handler.php
(#42) Function Handler::bind is not documented
(#51) Function Handler::getUser is not documented
(#55) Function Handler::getCourse is not documented
(#59) Function Handler::getInstance is not documented
(#63) Function Handler::getPage is not documented
(#67) Function Handler::getIconHTML is not documented
(#71) Function Handler::addOrphans is not documented
(#108) Function Handler::generateViewFile is not documented
(#37) Variable Handler::$user is not documented
(#38) Variable Handler::$course is not documented
(#39) Variable Handler::$instance is not documented
(#40) Variable Handler::$page is not documented
(#27) No one-line description found in phpdocs for class Handler
(#100) There is no description in phpdocs for function enumerateFiles
(#112) There is no description in phpdocs for function getPreviewForFile
(#125) There is no description in phpdocs for function getSkeleton
(#100) Phpdocs for function Handler::enumerateFiles has incomplete parameters list
(#112) Phpdocs for function Handler::getPreviewForFile has incomplete parameters list
(#126) Phpdocs for function Handler::getSkeleton has incomplete parameters list
(#101) Invalid phpdocs tag @override used
(#113) Invalid phpdocs tag @override used
(#27) Package is not specified for class Handler. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Handler/IntroHandler.php
(#39) There is no description in phpdocs for function getComponentName
(#46) There is no description in phpdocs for function canHandle
(#70) There is no description in phpdocs for function enumerateFiles
(#78) There is no description in phpdocs for function getViewOrphanedFiles
(#46) Phpdocs for function IntroHandler::canHandle has incomplete parameters list
(#70) Phpdocs for function IntroHandler::enumerateFiles has incomplete parameters list
(#47) Invalid phpdocs tag @override used
(#71) Invalid phpdocs tag @override used
(#29) Package report_sphorphanedfiles\Handler is not valid
report/sphorphanedfiles/classes/Handler/ItemHandler.php
(#24) Class ItemHandler is not documented
(#26) Variable ItemHandler::$implementationmode is not documented
(#28) There is no description in phpdocs for function generateViewFile
(#39) There is no description in phpdocs for function getFileName
(#28) Phpdocs for function ItemHandler::generateViewFile has incomplete parameters list
(#59) Phpdocs for function ItemHandler::setImplementationmode has incomplete parameters list
(#29) Invalid phpdocs tag @override used
(#24) Package is not specified for class ItemHandler. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Handler/LabelHandler.php
(#40) Phpdocs for function LabelHandler::getViewOrphanedFiles has incomplete parameters list
report/sphorphanedfiles/classes/Handler/PageHandler.php
(#30) Function PageHandler::getViewOrphanedFiles is not documented
(#26) Package report_sphorphanedfiles\Handler is not valid
report/sphorphanedfiles/classes/Handler/ResourceHandler.php
(#33) There is no description in phpdocs for function enumerateOrphanedFilesFromString
(#50) There is no description in phpdocs for function getViewOrphanedFiles
(#33) Phpdocs for function ResourceHandler::enumerateOrphanedFilesFromString has incomplete parameters list
(#51) Phpdocs for function ResourceHandler::getViewOrphanedFiles has incomplete parameters list
(#34) Invalid phpdocs tag @override used
(#29) Package report_sphorphanedfiles\Handler is not valid
report/sphorphanedfiles/classes/Handler/SectionSummaryHandler.php
(#38) Function str_contains is not documented
(#56) Function SectionSummaryHandler::getViewOrphanedFiles is not documented
(#48) There is no description in phpdocs for function enumerateFiles
(#95) There is no description in phpdocs for function detectGrid
(#106) There is no description in phpdocs for function getFileLink
(#48) Phpdocs for function SectionSummaryHandler::enumerateFiles has incomplete parameters list
(#106) Phpdocs for function SectionSummaryHandler::getFileLink has incomplete parameters list
(#49) Invalid phpdocs tag @override used
(#107) Invalid phpdocs tag @override used
(#43) Package is not specified for class SectionSummaryHandler. It is also not specified in file-level phpdocs
(#38) Package is not specified for function str_contains. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Manager.php
(#75) Function Manager::handler is not documented
(#47) There is no description in phpdocs for function database
(#54) There is no description in phpdocs for function parser
(#61) There is no description in phpdocs for function files
(#68) There is no description in phpdocs for function security
(#29) Package is not specified for class Manager. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Misc.php
(#21) Class Misc is not documented
(#36) Function Misc::translate is not documented
(#23) There is no description in phpdocs for function convertByteInMegabyte
(#24) Phpdocs for function Misc::convertByteInMegabyte has incomplete parameters list
(#21) Package is not specified for class Misc. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Parser/Parser.php
(#34) Function str_contains is not documented
(#44) There is no description in phpdocs for function extractFileNamesFromString
(#88) There is no description in phpdocs for function extractOrphanedFilesFromString
(#39) Package is not specified for class Parser. It is also not specified in file-level phpdocs
(#34) Package is not specified for function str_contains. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/Security/Security.php
(#49) There is no description in phpdocs for function isCourseIdOfFileSameLikeCourseidOfTheCourse
(#50) Phpdocs for function Security::isCourseIdOfFileSameLikeCourseidOfTheCourse has incomplete parameters list
(#101) Phpdocs for function Security::isUserAllowedToDeleteFiles has incomplete parameters list
(#30) Package is not specified for class Security. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/View/OrphanedView.php
(#86) Function OrphanedView::getPage is not documented
(#191) Function OrphanedView::listOrphansForSection is not documented
(#223) Function OrphanedView::createOrphansList is not documented
(#39) Variable OrphanedView::$page is not documented
(#250) There is no description in phpdocs for function init
(#34) Package is not specified for class OrphanedView. It is also not specified in file-level phpdocs
report/sphorphanedfiles/classes/View/Page.php
(#23) Class Page is not documented
(#30) Function Page::__construct is not documented
(#42) Function Page::getOutput is not documented
(#46) Function Page::getTitle is not documented
(#50) Function Page::getCourse is not documented
(#54) Function Page::getCourseInfo is not documented
(#58) Function Page::getPage is not documented
(#62) Function Page::getIconURL is not documented
(#25) Variable Page::$page is not documented
(#26) Variable Page::$output is not documented
(#27) Variable Page::$title is not documented
(#28) Variable Page::$course is not documented
(#23) Package is not specified for class Page. It is also not specified in file-level phpdocs

Update savepoints problems

(0 errors, 0 warnings)

This section shows problems detected with the handling of upgrade savepoints [More info]


Third party library modification problems

(0 errors, 0 warnings)

This section shows problems detected with the modification of third party libraries [More info]


grunt changes

(1 errors, 1 warnings)

This section shows files built by grunt and not commited [More info]

Problems running grunt
Task "stylelint:css" failed. Use --force to continue.

shifter problems

(0 errors, 0 warnings)

This section shows problems detected by shifter [More info]


Mustache template problems

(0 errors, 2 warnings)

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

report/sphorphanedfiles/templates/sectionTable.mustache
(#1) HTML Validation error, line 27: Bad value “100px” for attribute “height” on element “img”: Expected a digit but saw “p” instead. (rseimage"><img height="100px" src="http://localhost:8000/pluginfile.php/104/mod_label/intro/brot.jpeg" /></div>)
(#1) HTML Validation error, line 27: An “img” element must have an “alt” attribute, except under certain conditions. For details, consult guidance on providing text alternatives for images. (rseimage"><img height="100px" src="http://localhost:8000/pluginfile.php/104/mod_label/intro/brot.jpeg" /></div>)

Gherkin .feature problems

(0 errors, 0 warnings)

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