Magento Coding Standard (PHPCS) report for postcode-nl/api-magento2-module
==========================================================================
Package version: 4.2.0 | Magento: 2.4.9 | Tested: 2026-08-10
131 warnings in 34 files
Service/CsrfValidator.php
44:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
Service/ApiAvailabilityMonitor.php
139:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong)
Plugin/AddAddressAutofillToOrderCreateForm.php
92:125 warning Line exceeds 120 characters; contains 125 characters (Generic.Files.LineLength.TooLong)
Helper/StoreConfigHelper.php
244:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
269:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong)
345:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
Helper/Data.php
77:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong)
106:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong)
Model/PostcodeModel.php
98:13 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/ResourceModel/UpdateNotification/Collection.php
11:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/ResourceModel/UpdateNotification.php
12:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/System/Message/LicenceCheck.php
56:152 warning Line exceeds 120 characters; contains 152 characters (Generic.Files.LineLength.TooLong)
68:175 warning Line exceeds 120 characters; contains 175 characters (Generic.Files.LineLength.TooLong)
Model/UpdateNotification.php
10:15 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
15:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
25:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
30:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Model/UpdateNotificationRepository.php
20:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
28:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
40:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
51:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
64:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Data/Form/Element/AddressAutofill.php
79:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong)
89:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong)
104:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong)
122:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong)
Setup/Patch/Data/EncryptApiSecrets.php
72:17 warning Use ::class notation instead. (Magento2.PHP.LiteralNamespaces.LiteralClassUsage)
Setup/Patch/Data/UpdateApiStatusConfig.php
90:140 warning Line exceeds 120 characters; contains 140 characters (Generic.Files.LineLength.TooLong)
110:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong)
113:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong)
117:164 warning Line exceeds 120 characters; contains 164 characters (Generic.Files.LineLength.TooLong)
119:150 warning Line exceeds 120 characters; contains 150 characters (Generic.Files.LineLength.TooLong)
123:166 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong)
128:173 warning Line exceeds 120 characters; contains 173 characters (Generic.Files.LineLength.TooLong)
132:116 warning Line exceeds 120 characters; contains 166 characters (Generic.Files.LineLength.TooLong)
133:119 warning Line exceeds 120 characters; contains 174 characters (Generic.Files.LineLength.TooLong)
134:112 warning Line exceeds 120 characters; contains 160 characters (Generic.Files.LineLength.TooLong)
view/frontend/templates/customer/address/autofill.phtml
7:1 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong)
view/frontend/web/template/form/element/address-autofill-field.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/adminhtml/templates/system/config/status.phtml
24:131 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong)
57:128 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong)
view/adminhtml/web/template/form/element/address-autofill-field.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/base/web/template/form/element/address-autofill-intl.html
1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements)
view/base/web/css/source/_shared.less
1:1 warning File appears to be minified and cannot be processed (Internal.Tokenizer.Exception)
Api/PostcodeModelInterface.php
8:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
9:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
14:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong)
16:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
17:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
23:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
24:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
31:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
32:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
39:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
40:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/UpdateNotificationRepositoryInterface.php
15:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
16:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
30:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
31:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
36:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
37:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/UpdateNotificationInterface.php
13:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
14:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
18:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
19:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
24:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
25:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
29:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
30:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/AutocompleteInterface.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
28:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/Autocomplete/AutocompleteMatch/HighlightInterface.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/Autocomplete/MatchInterface.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
28:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
32:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
33:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/Autocomplete/AutocompleteMatch.php
42:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
47:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
52:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
57:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
62:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
67:12 warning Comment block is missing (Magento2.Annotation.MethodAnnotationStructure.NoCommentBlock)
Api/Data/MagentoDebugInfoInterface.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
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)
22:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
23:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
27:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
28:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
32:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
33:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Api/Data/MagentoDebugInfo/ConfigurationInterface.php
7:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
8:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
12:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
13:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation)
Cron/UpdateApiData.php
160:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong)
161:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong)
162:132 warning Line exceeds 120 characters; contains 132 characters (Generic.Files.LineLength.TooLong)
Cron/NotifyModuleUpdate.php
49:136 warning Line exceeds 120 characters; contains 136 characters (Generic.Files.LineLength.TooLong)
Block/Onepage/LayoutProcessor.php
99:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
115:147 warning Line exceeds 120 characters; contains 147 characters (Generic.Files.LineLength.TooLong)
116:180 warning Line exceeds 120 characters; contains 180 characters (Generic.Files.LineLength.TooLong)
117:159 warning Line exceeds 120 characters; contains 159 characters (Generic.Files.LineLength.TooLong)
133:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
153:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)
213:8 warning Line exceeds 120 characters; contains 151 characters (Generic.Files.LineLength.TooLong)
Block/System/Config/Status.php
118:88 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong)
Block/Checkout/AttributeMerger.php
21:122 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong)