Magento Coding Standard (PHPCS) report for buhmann/module-stock-status ====================================================================== Package version: 0.1.2 | Magento: 2.4.9 | Tested: 2026-06-26 21 warnings in 10 files ViewModel/ConfigProvider.php 71:58 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 99:66 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 128:87 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 133:50 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 149:48 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 169:49 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 189:69 warning There must be exactly one blank line between lines short and long descriptions (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Catalog/ProductDataMapperPlugin.php 16:32 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 17:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Model/Layer/Filter/Stock.php 255:33 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) Model/Layer/Filter/Item/StockTrait.php 37:39 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) Model/FilterList/FilterListApplier.php 51:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Provider/PositionProvider.php 36:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Provider/ItemFactoryProvider.php 36:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Adapter/DynamicTemplates/StockStatusMapper.php 17:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Model/Config/Source/StockStatusOptions.php 24:111 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) 28:115 warning Constants are not allowed as the first argument of translation function, use string literal instead (Magento2.Translation.ConstantUsage.VariableTranslation) Api/StockStatusInterface.php 13:4 warning Tag @package MUST NOT be used. (Magento2.Commenting.ClassAndInterfacePHPDocFormatting.ForbiddenTags)