Magento Coding Standard (PHPCS) report for studioraz/magento2-cloudflare ======================================================================== Package version: 1.7.2 | Magento: 2.4.9 | Tested: 2026-10-06 28 warnings in 12 files Plugin/RebuildImageSrcUrlPlugin.php 62:12 warning $arguments parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 82:12 warning $arguments parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/Layout/LayoutPlugin.php 52:12 warning $subject parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/Catalog/Asset/Image/RebuildImageSrcUrlPlugin.php 90:1 warning Code must not contain multiple empty lines in a row; found 3 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Plugin/Controller/Result/CloudflarePlugin.php 47:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Plugin/Mirasvit/Asset/BadgeImage/RebuildImageSrcUrlPlugin.php 37:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 41:12 warning $arguments parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Helper/CloudflareUrlFormatHelper.php 21:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) 129:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 134:22 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/PurgeQueue/QueueRepository.php 46:12 warning $type parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 137:12 warning $rows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 178:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 181:13 warning $rows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 199:13 warning $bind parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 217:13 warning $rows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 247:13 warning $type parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/CloudflareClient.php 65:12 warning $type parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 119:11 warning Exceptions must not be handled in the same function where they are thrown. (Magento2.Exceptions.ThrowCatch.ThrowCatch) 142:13 warning $type parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/System/Config/Source/ApplicationPlugin.php 28:1 warning Expected 1 newline at end of file; 0 found (PSR2.Files.EndFileNewline.NoneFound) Config/Config.php 46:36 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 60:1 warning Code must not contain multiple empty lines in a row; found 2 empty lines. (Magento2.Whitespace.MultipleEmptyLines.MultipleEmptyLines) Config/CacheConfig.php 195:34 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 214:30 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Cron/ProcessPurgeQueue.php 60:13 warning $batch parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 77:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 102:13 warning $rows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)