Magento Coding Standard (PHPCS) report for mondu/magento2-payment ================================================================= Package version: 2.9.1 | Magento: 2.4.9 | Tested: 2026-08-10 2 errors, 8 warnings in 6 files Model/Payment/MonduCountryRestrictionTrait.php 11:13 error Declaring constants in traits is not supported in PHP 8.1 or earlier. (PHPCompatibility.Constants.NewConstantsInTraits.Found) 12:13 error Declaring constants in traits is not supported in PHP 8.1 or earlier. (PHPCompatibility.Constants.NewConstantsInTraits.Found) Model/Pdf/SwissupInvoicePdfRenderer.php 25:31 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) 26:28 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage) Model/Pdf/InvoicePdfProviderInterface.php 17:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 18:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/Pdf/InvoicePdfRendererInterface.php 20:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 21:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) view/adminhtml/layout/adminhtml_default.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar) view/adminhtml/layout/default.xml 1:1 warning End of line character is invalid; expected "\n" but found "\r\n" (Generic.Files.LineEndings.InvalidEOLChar)