Magento Coding Standard (PHPCS) report for noon/hide-default-store-code ======================================================================= Package version: 1.0.6 | Magento: 2.4.9 | Tested: 2026-05-26 22 warnings in 3 files Service/Config.php 7:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 8:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 10:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 11:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 12:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 32:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 44:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 45:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 45:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 53:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 54:8 warning null is not a valid PHP type (Magento2.Annotation.MethodArguments.NotValidType) 54:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Plugin/Model/HideDefaultStoreCode.php 22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:145 warning Line exceeds 120 characters; contains 145 characters (Generic.Files.LineLength.TooLong) Observer/RedirectWithoutStoreCode.php 45:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 56:18 warning The use of function is_null() is discouraged; use strict comparison "=== null"() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 68:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 69:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 75:21 warning The use of function parse_url() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged)