Magento Coding Standard (PHPCS) report for bydn/change-order-email ================================================================== Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-05-26 27 warnings in 3 files Controller/Adminhtml/Order/ChangeEmail.php 28:5 warning Visibility must be declared on all constants if your project supports PHP 7.1 or later (PSR12.Properties.ConstantVisibility.NotFound) 30:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:7 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 63:8 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 64:5 warning Expected 5 spaces before asterisk; 4 found (Squiz.Commenting.DocCommentAlignment.SpaceBeforeStar) 114:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 126:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 139:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 152:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 169:9 warning Expected 1 space after closing brace; newline found (Squiz.ControlStructures.ControlSignature.SpaceAfterCloseBrace) 170:9 warning Expected "} else {\n"; found "}\n else {\n" (PEAR.ControlStructures.ControlSignature.Found) 176:66 warning Whitespace found at end of line (Squiz.WhiteSpace.SuperfluousWhitespace.EndLine) 183:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 190:13 warning Missing @param for argument in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) view/adminhtml/templates/order/view/change_email.phtml 8:45 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 11:81 warning Using escapeUrl on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 11:121 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 12:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 13:73 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 20:48 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) 25:47 warning Using escapeHtml on $block is deprecated. Please use equivalent method on $escaper (Magento2.Legacy.EscapeMethodsOnBlockClass.Found) Block/Adminhtml/Order/View/ChangeEmail.php 21:13 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)