Magento Coding Standard (PHPCS) report for channelize/liveshopping ================================================================== Package version: 2.3.2 | Magento: 2.4.9 | Tested: 2026-05-26 49 warnings in 8 files Helper/User.php 22:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) Helper/Curl.php 31:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 34:15 warning The use of function curl_init() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 35:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 36:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 37:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 38:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 39:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 40:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 41:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 42:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 43:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 44:9 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 57:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 59:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 60:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 62:13 warning The use of function curl_setopt() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 65:21 warning The use of function curl_exec() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 68:28 warning The use of function curl_errno() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 69:24 warning The use of function curl_error() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 70:13 warning The use of function curl_close() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 83:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 101:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) Observer/UpdateCustomerObserver.php 29:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) 57:16 warning Creation of dynamic property Channelize\LiveShopping\Observer\UpdateCustomerObserver::$_customerFactory is deprecated since PHP 8.2 (PHPCompatibility.Classes.RemovedDynamicProperties.Deprecated) Observer/CustomerLogoutObserver.php 29:8 warning Short description duplicates class property name. (Magento2.Commenting.ClassPropertyPHPDocFormatting.AlreadyHaveMeaningfulNameVar) view/frontend/templates/widget/liveshopping.phtml 8:58 warning ObjectManager should not be used in .phtml template. Templates must not instantiate new objects within their code. All objects must be passed from the Block object. (Magento2.Templates.ObjectManager.ObjectManagerUsageFound) 61:35 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 63:38 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 68:34 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 72:43 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 73:43 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) view/adminhtml/templates/liveshoppage.phtml 2:58 warning ObjectManager should not be used in .phtml template. Templates must not instantiate new objects within their code. All objects must be passed from the Block object. (Magento2.Templates.ObjectManager.ObjectManagerUsageFound) 10:1 warning Line exceeds 120 characters; contains 410 characters (Generic.Files.LineLength.TooLong) 19:1 warning Line exceeds 120 characters; contains 263 characters (Generic.Files.LineLength.TooLong) 22:1 warning Line exceeds 120 characters; contains 227 characters (Generic.Files.LineLength.TooLong) 23:1 warning Line exceeds 120 characters; contains 410 characters (Generic.Files.LineLength.TooLong) 24:1 warning Line exceeds 120 characters; contains 314 characters (Generic.Files.LineLength.TooLong) 34:1 warning Line exceeds 120 characters; contains 202 characters (Generic.Files.LineLength.TooLong) 37:1 warning Line exceeds 120 characters; contains 258 characters (Generic.Files.LineLength.TooLong) 40:1 warning Line exceeds 120 characters; contains 165 characters (Generic.Files.LineLength.TooLong) Block/Adminhtml/System/Config/IntegrationHelper.php 24:164 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 25:363 warning Line exceeds 120 characters; contains 367 characters (Generic.Files.LineLength.TooLong) Block/Success.php 14:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 24:47 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine) 41:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock) 41:34 warning Opening brace should be on a new line (Squiz.Functions.MultiLineFunctionDeclaration.BraceOnSameLine)