Magento Coding Standard (PHPCS) report for iwd/dominate-erp-connector ===================================================================== Package version: 1.2.1 | Magento: 2.4.9 | Tested: 2026-09-08 102 warnings in 43 files Service/ProductImport/EavAttributeOptionService.php 108:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 114:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 311:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Service/ProductImport/SimpleProductBuilder.php 76: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) 96:158 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 118:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 133:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 187: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) Service/ProductImport/ExistingProductIndexer.php 96:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Service/ProductImport/ConfigurableProductUpsertService.php 98:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 114:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 142:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 158:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) Service/ProductImport/ConfigurableImportContext.php 138:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Service/ProductImport/ConfigurableProductBuilder.php 137: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) 179: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) 196:30 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 215: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) 252:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 264:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 273:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 348: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) 367:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 369:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) 416: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) 492:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong) 582:165 warning Line exceeds 120 characters; contains 168 characters (Generic.Files.LineLength.TooLong) 649:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 691: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) 734: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) 761:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Service/ProductImport/ProductBuilder.php 107:158 warning Line exceeds 120 characters; contains 162 characters (Generic.Files.LineLength.TooLong) 109:141 warning Line exceeds 120 characters; contains 141 characters (Generic.Files.LineLength.TooLong) Service/ProductImport/RequestNormalizer.php 74:144 warning Line exceeds 120 characters; contains 144 characters (Generic.Files.LineLength.TooLong) 159:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) 164:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Helper/Config.php 110:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Helper/Hmac.php 39:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Helper/AddressFormatter.php 232: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) 290: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) 316:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Helper/ApiClient.php 67:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 180:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Helper/ApiAuthValidator.php 87:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/InventorySync.php 59:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 85:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 88:15 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) Model/Publisher.php 156:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/QueueRepository.php 211:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/SyncContext.php 80:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/ProductImport.php 152:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) Model/FulfillmentSync.php 118:15 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 319:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 402:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/SyncQueue.php 91:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/ResourceModel/SyncQueue.php 19:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/RefundSync.php 59:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 271:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 328:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Model/Connection.php 113:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/CreditmemoSaveObserver.php 148:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/ShipmentSaveObserver.php 142:149 warning Line exceeds 120 characters; contains 149 characters (Generic.Files.LineLength.TooLong) 155:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/CustomerDeleteObserver.php 30:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 95:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/OrderPlaceObserver.php 33:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 56:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 61:13 warning Inline control structures are not allowed (Generic.ControlStructures.InlineControlStructure.NotAllowed) 235:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/CustomerAddressDeleteObserver.php 43:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 99:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/CustomerSaveObserver.php 33:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 69:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 141:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Observer/CustomerAddressSaveObserver.php 153:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Setup/Patch/Schema/InstallSyncQueueTable.php 146:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/FulfillmentSyncInterface.php 17:15 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong) 26:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/InventorySyncInterface.php 14:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 17:15 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 29:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/RefundSyncInterface.php 26:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/ConnectionInterface.php 27:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Api/ProductImportInterface.php 15:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) Cron/QueueProcessor.php 32:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) Block/Adminhtml/System/Config/ConnectionStatus.php 104:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 114:155 warning Line exceeds 120 characters; contains 155 characters (Generic.Files.LineLength.TooLong) 118:134 warning Line exceeds 120 characters; contains 134 characters (Generic.Files.LineLength.TooLong) 122:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong) 125:137 warning Line exceeds 120 characters; contains 137 characters (Generic.Files.LineLength.TooLong) 127:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 132:232 warning Line exceeds 120 characters; contains 232 characters (Generic.Files.LineLength.TooLong) 148:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Block/Adminhtml/System/Config/Documentation.php 30:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Block/Adminhtml/System/Config/Registration.php 30:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Block/Adminhtml/System/Config/Support.php 30:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Block/Adminhtml/System/Config/Version.php 45:14 warning The use of function file_exists() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 50:42 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 56:27 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 58:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany) Block/Adminhtml/System/Config/Dashboard.php 25:130 warning Line exceeds 120 characters; contains 130 characters (Generic.Files.LineLength.TooLong) 30:1 warning Expected 1 blank line at end of file; 2 found (PSR2.Files.EndFileNewline.TooMany)