Magento Coding Standard (PHPCS) report for experius/module-wysiwygdownloads =========================================================================== Package version: 1.3.0 | Magento: 2.4.9 | Tested: 2026-05-27 52 warnings in 8 files Plugin/Magento/MediaGalleryUi/Ui/Component/Listing/Columns/Url.php 26:8 warning Closing brace must be on a line by itself (Squiz.WhiteSpace.ScopeClosingBrace.ContentBefore) 28:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 29:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 36:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 65 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) Plugin/Magento/MediaGalleryUi/Ui/Component/Control/UploadAssets.php 12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 14:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 18:12 warning $buttonData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/Magento/Cms/Model/Wysiwyg/Images/Storage.php 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 52:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 63:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 76:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 77:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 78:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 79:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 92:18 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 93:17 warning The use of function copy() is discouraged; use Magento\Framework\Filesystem\DriverInterface::copy() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 106:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 107:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 109:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 110:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 117:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 50 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 118:1 warning Multi-line function declaration not indented correctly; expected 8 spaces but found 50 (Squiz.Functions.MultiLineFunctionDeclaration.Indent) 120:13 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Helper/Settings.php 17:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 76:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 90:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Setup/Patch/Data/ProtectedExtensions.php 36:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 74:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 88:38 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 94:9 warning Expected "if (...) {\n"; found "if(...) {\n" (PEAR.ControlStructures.ControlSignature.Found) 94:9 warning Expected 1 space after IF keyword; 0 found (Squiz.ControlStructures.ControlSignature.SpaceAfterKeyword) 107:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) etc/adminhtml/system.xml 3:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 4:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 5:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 6:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 8:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 11:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 12:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 13:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) 14:1 warning Spaces must be used to indent lines; tabs are not allowed (Generic.WhiteSpace.DisallowTabIndent.TabsUsed) Image/Adapter/Gd2.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) 46:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 56:67 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 66:21 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Block/Adminhtml/System/Config/Form/Field/Filetypes.php 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar)