Magento Coding Standard (PHPCS) report for aimanecouissi/module-sales-order-checkout-agreements-admin-ui ======================================================================================================== Package version: 1.0.0 | Magento: 2.4.9 | Tested: 2026-06-01 1 error, 14 warnings in 4 files Observer/SalesOrderPlaceBeforeObserver.php 32:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 48:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) view/adminhtml/templates/order/view/agreements.phtml 28:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) 38:37 error Unescaped output detected. (Magento2.Security.XssTemplate.FoundUnescaped) view/adminhtml/web/css/source/_module.less 9:9 warning Id selector is used (Magento2.Less.AvoidId.IdSelectorUsage) Block/Adminhtml/Order/View/Agreements.php 37:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 41:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 42:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 64:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 72:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)