Magento Coding Standard (PHPCS) report for elgentos/magento2-store-switcher =========================================================================== Package version: 1.1.0 | Magento: 2.4.9 | Tested: 2026-06-01 1 error, 24 warnings in 5 files src/ViewModel/StoreSwitcher.php 27:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 36:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 60:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 69:17 warning Expected 1 space after FUNCTION keyword; 0 found (Squiz.Functions.MultiLineFunctionDeclaration.SpaceAfterFunction) 79:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 103:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 112:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 117:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 118:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) src/Model/Configuration.php 16:1 error Readonly classes are not supported in PHP 8.1 or earlier. (PHPCompatibility.Classes.NewReadonlyClasses.Found) 29:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 31:5 warning There must be a single space between the closing parenthesis/return type and the opening brace of a multi-line function declaration; found 0 spaces (Squiz.Functions.MultiLineFunctionDeclaration.SpaceBeforeOpenBrace) 34:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 43:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/Config/Source/RenderTypes.php 17:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) src/Model/LabelRenderer.php 19:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 30:1 warning Multi-line function call not indented correctly; expected 16 spaces but found 12 (PSR2.Methods.FunctionCallSignature.Indent) src/Api/Data/LabelRendererInterface.php 16:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)