Magento Coding Standard (PHPCS) report for avarda/shipping-broker ================================================================= Package version: 1.0.3 | Magento: 2.4.9 | Tested: 2026-07-30 2 errors, 40 warnings in 10 files Gateway/Request/BrokerItemsDataBuilder.php 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 13:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 13:12 warning Possible useless method overriding detected (Generic.CodeAnalysis.UselessOverridingMethod.Found) 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Gateway/Request/Item/ShippingParametersDataBuilder.php 28:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 47:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Plugin/Avarda/Gateway/Response/GetOnlyStatusHandler.php 20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Plugin/Avarda/PrepareItems/Quote/QuoteCollectTotalsPrepareItems.php 17:9 warning Empty return statement not required here (Squiz.PHP.NonExecutableCode.ReturnNotRequired) 23:12 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Plugin/SetShippingMethodPlugin.php 13:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 22:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Carrier/Avarda.php 42:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 43:15 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 45:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 46:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 47:27 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 49:23 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 103:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 122:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 139:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 140:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 140:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 163:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 164:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 164:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 199:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 208:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Observer/SavePickupPointToOrder.php 13:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 21:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) view/frontend/templates/js/unifaun-js.phtml 1:1 warning Short echo tag syntax must be used; expected "