Magento Coding Standard (PHPCS) report for hryvinskyi/magento2-email-template-editor ==================================================================================== Package version: 1.3.0 | Magento: 2.4.9 | Tested: 2026-07-28 113 errors, 641 warnings in 121 files Plugin/EmailTemplatePlugin.php 342:13 warning $candidates parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 388:13 warning $matchesWindow parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/AdminEditControllerPlugin.php 32:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) Model/TemplateVersion.php 29:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 41:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 47:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 63:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 73:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 79:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 87:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 89:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 95:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 103:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 105:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 111:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 127:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 135:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 137:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 143:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 153:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 155:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 161:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 169:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 171:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 177:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 185:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 187:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 193:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 203:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 205:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 211:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 219:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 221:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 227:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 235:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 237:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 243:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 251:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 253:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Config.php 29:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 31:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/TemplateOverride.php 29:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 47:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 55:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 63:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 65:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 71:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 79:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 87:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 95:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 97:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 103:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 111:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 113:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 119:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 129:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 131:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 137:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 145:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 147:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 153:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 161:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 163:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 169:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 177:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 179:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 185:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 193:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 195:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 201:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 211:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 213:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 219:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 227:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 229:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 235:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 245:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 247:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 253:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 261:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 263:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 269:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 277:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 279:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 285:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 293:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 295:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 301:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 309:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 311:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 317:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 325:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 327:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 333:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 341:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 343:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 349:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 357:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 359:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 365:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 373:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 375:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 381:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 391:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 393:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 399:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 407:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 409:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/EditorContextFlag.php 22:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/TemplatePublisher.php 49:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 79:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 81:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 276:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 278:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/SampleDataProviderPool.php 23:12 warning $providers parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/CssInliner.php 36:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 179:38 warning The use of function addcslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/TemplateAreaResolver.php 26:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/CustomVariableMerger.php 17:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 48:13 warning mixed> duplicate found in method annotation (Magento2.Annotation.MethodArguments.DuplicateParam) 48:13 warning $base parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 48:13 warning $custom parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/TemplateRenderer.php 37:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 125:19 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) 136:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 138:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 223:43 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Model/Color/Rgba.php 19:1 error Final keyword is prohibited in Magento. It decreases extensibility and is not compatible with plugins and proxies. (Magento2.PHP.FinalImplementation.FoundFinal) 44:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 61:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 82:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 105:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 121:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 146:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 147:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 154:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 155:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 162:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 163:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 170:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 171:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 262:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 277:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 292:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Model/Color/ColorParser.php 91:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Color/ColorMixer.php 22:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 24:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 137:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 142:13 warning $coordinates parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Css/CssSyntaxScanner.php 17:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 19:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 39:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 41:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 49:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 51:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 57:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 59:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Css/CssStructureParser.php 26:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 28:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 78:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 139:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 141:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 152:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 154:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/PluginBypassFlag.php 22:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 30:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 38:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/CssImportantPromoter.php 56:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 58:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/UtilityCssGenerator.php 68:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 85:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 87:21 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 331:13 warning $data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 364:13 warning $elements parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 390:13 warning $utilities parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 416:13 warning $colors parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 455:13 warning $spacingMap parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 505:13 warning $fontSizes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 516:13 warning $fontFamilies parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 531:13 warning $fontWeights parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 542:13 warning $lineHeights parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 553:13 warning $letterSpacings parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 564:13 warning $radii parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 575:13 warning $shadows parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 586:13 warning $opacities parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 597:13 warning $zIndexes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 608:13 warning $maxWidths parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 621:13 warning $tokens parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/VariableChooserProvider.php 112:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 114:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/Knowledge/WriteAuthorization.php 52:12 warning $resourcesByOriginKind parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/XmlKnowledgeProvider.php 68:12 warning $defaultModifiers parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 132:13 warning $definition parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 176:13 warning $affordance parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 216:13 warning $affordance parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/ReferenceValueResolver.php 157:13 warning $pool parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/CustomVariableKnowledgeProvider.php 93:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 97:13 warning $variable parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/ReferenceValueWriter.php 179:13 warning $pool parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/Data/EditAffordance.php 42:13 warning $editorOptions parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 60:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 83:19 warning $editorOptions parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 83:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 124:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 145:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 207:28 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Model/Knowledge/Data/WritabilityVerdict.php 44:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) 57:27 warning Static method cannot be intercepted and its use is discouraged. (Magento2.Functions.StaticFunction.StaticFunction) Model/Knowledge/Data/ModifierDescriptor.php 48:12 warning $argumentSpec parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 116:13 warning $argumentSpec parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/Affordance/ConfigAffordanceResolver.php 72:12 warning $editorTypes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/Affordance/InstructionAffordanceResolver.php 80:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Model/Knowledge/VariableKnowledgeRegistry.php 62:12 warning @param is not found for one or more params in method annotation (Magento2.Annotation.MethodArguments.ParamMissing) 62:12 warning $referenceParser parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 301:13 warning $pool parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/Config/Converter.php 228:13 warning $affordance parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/ModifierRegistry.php 82:13 warning $descriptors parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/Knowledge/ConfigPathWritability.php 83:12 warning $renderedDiffersFromStored parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/CssLayerFlattener.php 47:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 49:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 68:13 warning $propertyDefaults parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 99:13 warning $propertyDefaults parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 188:13 warning $propertyDefaults parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 224:13 warning $propertyDefaults parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/LegacyTemplateRepository.php 198:25 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) Model/TemplateLoader.php 359:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 367:13 warning $defaultData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 399:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 408:13 warning $defaultData parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 615:11 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 802:13 warning $managedScopes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 865:16 warning Line exceeds 120 characters; contains 238 characters (Generic.Files.LineLength.TooLong) Model/Theme.php 29:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 39:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 41:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 47:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 55:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 57:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 71:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 84:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 86:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 95:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 103:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 105:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 111:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 119:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 127:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 135:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 137:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 143:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 153:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/CssColorConverter.php 35:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 37:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) Model/SampleData/TemplateProviderMapping.php 18:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 22:12 warning $templateGroupMap parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 22:12 warning $groups parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/SampleData/MockVariableBuilderPool.php 21:12 warning $builders parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Model/SampleData/MockVariableBuilder/AdminMockBuilder.php 49:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 69:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/SampleData/MockVariableBuilder/OrderMockBuilder.php 67:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 68:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 111:128 warning Line exceeds 120 characters; contains 128 characters (Generic.Files.LineLength.TooLong) 112:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 125:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 126:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 135:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 136:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 152:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 153:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 165:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 166:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 184:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 185:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 210:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 211:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 225:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 226:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/SampleData/MockVariableBuilder/CustomerMockBuilder.php 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) 60:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 61:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 79:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/SampleData/MockVariableBuilder/MarketingMockBuilder.php 49:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 50:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 70:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 71:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 80:142 warning Line exceeds 120 characters; contains 142 characters (Generic.Files.LineLength.TooLong) 92:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 93:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 120:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 121:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 150:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 151:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 176:5 warning Missing short description (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 177:8 warning There must be exactly one blank line before tags (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) Model/SampleData/SpecificOrderProvider.php 98:172 warning Line exceeds 120 characters; contains 172 characters (Generic.Files.LineLength.TooLong) 173:16 warning The use of function addcslashes() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) Model/CssVariableResolver.php 100:8 warning If the @inheritdoc not inline it shouldn’t have braces (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 102:12 warning {@inheritdoc} does not import parameter annotation (Magento2.Annotation.MethodArguments.InheritDoc) 120:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 124:13 warning $scopeChain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 159:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 164:13 warning $chain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 183:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 187:13 warning $chain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 219:13 warning $nodes parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 239:26 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) 343:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 347:13 warning $chain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 371:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 375:13 warning $chain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 446:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 450:13 warning $chain parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Setup/Patch/Data/MigrateThemeJsonToCss.php 140:13 warning $tokens parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Controller/Adminhtml/Theme/Import.php 61:24 warning The use of function file_get_contents() is discouraged (Magento2.Functions.DiscouragedFunction.Discouraged) 90:30 warning The use of function pathinfo() is discouraged; use Magento\Framework\Filesystem\Io\File::getPathInfo() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Controller/Adminhtml/Template/Preview.php 116:27 warning The use of function htmlspecialchars() is discouraged; use \Magento\Framework\Escaper->escapeHtml() instead (Magento2.Functions.DiscouragedFunction.DiscouragedWithAlternative) Controller/Adminhtml/Template/SaveDraft.php 105:127 warning Line exceeds 120 characters; contains 127 characters (Generic.Files.LineLength.TooLong) 158:1 warning The closing brace for the class must go on the next line after the body (PSR2.Classes.ClassDeclaration.CloseBraceAfterBody) view/adminhtml/web/template/email-editor/preview-panel.html 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/template-editor.html 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/knowledge/variable-inspector.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/theme-editor.html 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/variable-chooser.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/template-sidebar.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/email-editor.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/toolbar.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) 1:1 error Avoid using self-closing tag with non-void html element - " (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/template/email-editor/publish-dialog.html 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) 1:1 warning Avoid using closing slash with void tags, this can lead to unexpected behavior - "" (Magento2.Html.HtmlClosingVoidTags.HtmlClosingVoidElements) view/adminhtml/web/js/email-editor/knowledge/directive-scanner.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x|escape:HTML (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) view/adminhtml/web/js/email-editor/preview-panel.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_url (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) view/adminhtml/web/js/email-editor/template-editor.js 1:1 error Avoid using self-closing tag with non-void html element - " * GitHub: https://github.com/hryvinskyi */ define([ 'uiComponent', 'ko', 'jquery', 'uiRegistry', 'Hryvinskyi_EmailTemplateEditor/js/email-editor/knowledge/directive-decorator', 'Hryvinskyi_EmailTemplateEditor/js/email-editor/knowledge/directive-scanner' ], function (Component, ko, $, registry, directiveDecorator, directiveScanner) { 'use strict'; return Component.extend({ defaults: { template: 'Hryvinskyi_EmailTemplateEditor/email-editor/template-editor', editor: null, _decorator: null, _lineWrapping: false, _readOnly: false }, /** * Initialize the component and create its observables. * * @return {Object} */ initialize: function () { this._super(); // Reactive read-only flag so the toolbar can disable the // content-mutating actions (Format, Insert Variable) when a // read-only version is being viewed. this.isReadOnly = ko.observable(false); return this; }, /** * Load CodeMirror asynchronously and initialize it on the given container element. * * @param {HTMLElement} element */ initCodeMirror: function (element) { var self = this; require([ 'Hryvinskyi_ConfigurationFields/js/codemirror/lib/codemirror', 'Hryvinskyi_ConfigurationFields/js/codemirror/mode/htmlmixed/htmlmixed', 'Hryvinskyi_ConfigurationFields/js/codemirror/mode/xml/xml', 'Hryvinskyi_ConfigurationFields/js/codemirror/mode/javascript/javascript', 'Hryvinskyi_ConfigurationFields/js/codemirror/mode/css/css', 'Hryvinskyi_ConfigurationFields/js/codemirror/addon/fold/foldcode', 'Hryvinskyi_ConfigurationFields/js/codemirror/addon/fold/foldgutter', 'Hryvinskyi_ConfigurationFields/js/codemirror/addon/fold/xml-fold', 'Hryvinskyi_ConfigurationFields/js/codemirror/addon/fold/brace-fold', 'Hryvinskyi_ConfigurationFields/js/codemirror/addon/edit/matchbrackets' ], function (CodeMirror) { self.editor = CodeMirror(element, { mode: 'htmlmixed', theme: 'default', lineNumbers: true, foldGutter: true, matchBrackets: true, lineWrapping: self._lineWrapping, readOnly: self._readOnly, gutters: ['CodeMirror-linenumbers', 'CodeMirror-foldgutter'] }); self.editor.on('change', function () { self.onContentChange(); }); // Directives are marked in a read-only document as well: explaining what a // variable is and where it comes from is worth as much while reading a published // version as while writing a draft. What changes is only what may be done about // it, which is why the read-only state rides along with every activation instead // of deciding whether one happens. self._decorator = directiveDecorator.create(self.editor, { /** * Pass a clicked directive on, and open nothing. * * @param {Object} occurrence * @param {Object} anchor tracks the directive as the document is edited */ onActivate: function (occurrence, anchor) { self.trigger('directiveActivate', { occurrence: occurrence, anchor: anchor, readOnly: self._readOnly }); } }); // Re-apply any read-only state requested before CodeMirror finished loading. self.setReadOnly(self._readOnly); }); }, /** * Toggle read-only mode. Blocks user edits in CodeMirror and the * content-mutating toolbar actions so a read-only version (e.g. the * published view) cannot be changed. * * @param {boolean} flag */ setReadOnly: function (flag) { this._readOnly = !!flag; this.isReadOnly(this._readOnly); if (this.editor) { this.editor.setOption('readOnly', this._readOnly); var wrapper = this.editor.getWrapperElement(); if (wrapper) { wrapper.classList.toggle('ete-codemirror-readonly', this._readOnly); } } }, /** * Return the current editor content. * * @return {string} */ getValue: function () { return this.editor ? this.editor.getValue() : ''; }, /** * Set the editor content. * * @param {string} value */ setValue: function (value) { if (this.editor) { this.editor.setValue(value || ''); } // The document was replaced rather than typed into, so there is no pause in the typing // to wait for and waiting for one only shows the new content unmarked in the meantime. if (this._decorator) { this._decorator.refresh(); } }, /** * Refresh the CodeMirror layout. */ refresh: function () { if (this.editor) { this.editor.refresh(); } }, /** * Format the current HTML content with basic line-break formatting. */ formatCode: function () { if (!this.editor || this._readOnly) { return; } var content = this.editor.getValue(); var formatted = content.replace(/> (Magento2.Html.HtmlSelfClosingTags.HtmlSelfClosingNonVoidTag) view/adminhtml/web/js/email-editor/tailwind-compiler.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_url (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var ... (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_url (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var ... (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) view/adminhtml/web/js/email-editor.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Api/ScheduleConflictDetectorInterface.php 35:16 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Api/TemplateRendererInterface.php 28:12 warning $variables parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 48:12 warning $variables parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Api/TemplateLoaderInterface.php 18:16 warning Line exceeds 120 characters; contains 169 characters (Generic.Files.LineLength.TooLong) 33:15 warning Line exceeds 120 characters; contains 135 characters (Generic.Files.LineLength.TooLong) 34:16 warning Line exceeds 120 characters; contains 239 characters (Generic.Files.LineLength.TooLong) Api/CustomVariableMergerInterface.php 26:12 warning $baseVariables parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Test/Unit/bootstrap.php 33:5 error Use of exit language construct is discouraged. (Magento2.Security.LanguageConstruct.ExitUsage) 69:9 error The use of function eval() is forbidden (Magento2.Security.InsecureFunction.Found) Test/Unit/Plugin/AdminEditControllerPluginTest.php 63:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 64:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 65:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 66:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 67:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 68:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 69:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 74:18 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 79:17 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 91:17 warning Class properties must have type declaration using @var tag. (Magento2.Commenting.ClassPropertyPHPDocFormatting.MissingVar) 399:29 error The 'null' type can only be used as part of a union type in PHP 8.1 or earlier (PHPCompatibility.FunctionDeclarations.NewReturnTypeDeclarations.NonUnionNull) Test/Unit/Plugin/EmailTemplatePluginTest.php 74:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 75:60 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 76:49 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 77:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 78:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 79:50 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 80:51 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 81:51 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 82:53 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 83:54 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 84:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 391:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) 517:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) 531:129 warning Line exceeds 120 characters; contains 129 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/CssColorConverterTest.php 19:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/LegacyTemplateRepositoryTest.php 25:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/CssImportantPromoterTest.php 19:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/UtilityCssGeneratorTest.php 36:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/ThemeJsonValidatorTest.php 17:32 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/CssLayerFlattenerTest.php 19:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/TemplatePublisherTest.php 39:60 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:31 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 227:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 227:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 227:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 242:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 242:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 242:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) Test/Unit/Model/UtilityCssGeneratorMemoTest.php 33:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) 43:25 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 56:25 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 76:14 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 76:32 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) 89:133 warning Line exceeds 120 characters; contains 133 characters (Generic.Files.LineLength.TooLong) 98:14 error The use of function md5() is forbidden; use improved hash functions (SHA-256, SHA-512 etc.)() instead (Magento2.Security.InsecureFunction.FoundWithAlternative) Test/Unit/Model/Css/CssStructureParserTest.php 18:32 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Css/CssSyntaxScannerTest.php 17:30 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/CssInlinerIntegrationTest.php 37:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 52:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/TemplateVariableDeclarationsTest.php 24:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:50 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:42 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/ScheduleConflictDetectorTest.php 24:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 25:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/TemplateOverrideRepositoryTest.php 37:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 163:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 163:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 163:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 673:32 warning array_merge(...) is used in a loop and is a resources greedy construction. (Magento2.Performance.ForeachArrayMerge.ForeachArrayMerge) Test/Unit/Model/Knowledge/CustomVariableIndexTest.php 22:56 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 23:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 54:123 warning Line exceeds 120 characters; contains 123 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Knowledge/Write/CustomVariableValueWriteStrategyTest.php 40:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 42:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 44:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Write/ConfigValueWriteStrategyTest.php 71:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 73:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 75:45 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 77:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 79:42 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 81:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 83:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 85:48 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/WriteAuthorizationTest.php 36:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/DirectiveReferenceParserTest.php 18:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Data/ResolvedValueTest.php 74:126 warning Line exceeds 120 characters; contains 126 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Knowledge/Affordance/InstructionAffordanceResolverTest.php 23:43 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Affordance/ConfigAffordanceResolverTest.php 46:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Affordance/CustomVariableAffordanceResolverTest.php 28:53 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:37 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 108:122 warning Line exceeds 120 characters; contains 122 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Knowledge/VariableKnowledgeRegistryTest.php 538:124 warning Line exceeds 120 characters; contains 124 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/Knowledge/TemplateVarsKnowledgeProviderTest.php 31:62 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 32:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 34:43 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/ConfigPathReadabilityTest.php 31:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 33:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Config/ConverterTest.php 24:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 26:23 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/ConfigPathWritabilityTest.php 46:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/Value/TranslatedMessageValueStrategyTest.php 48:44 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/KnowledgeSerializerTest.php 34:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/XmlKnowledgeProviderTest.php 27:37 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/CustomVariableKnowledgeProviderTest.php 28:56 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/ConfigPathKnowledgeProviderTest.php 43:34 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 45:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 47:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 49:41 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/DescribeContextTest.php 17:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/Knowledge/ReferenceValueWriterTest.php 44:61 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 46:52 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 48:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 50:56 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/CssVariableResolverTest.php 22:33 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/ThemeWriterTest.php 26:49 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:52 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:46 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:39 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:25 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/SampleData/SpecificOrderProviderTest.php 28:47 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:35 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 121:121 warning Line exceeds 120 characters; contains 121 characters (Generic.Files.LineLength.TooLong) Test/Unit/Model/VariableChooserProviderTest.php 26:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 27:53 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 28:62 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 29:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 30:38 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 31:37 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Model/TemplateLoaderTest.php 34:36 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 35:60 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 36:54 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 37:24 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 38:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 39:50 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 40:58 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 41:28 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 174:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 174:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 174:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) 194:9 warning Space found after opening bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceAfterOpen) 194:9 warning Space found before closing bracket of FOREACH loop (Squiz.ControlStructures.ForEachLoopDeclaration.SpaceBeforeClose) 194:18 warning Expected 0 spaces after opening bracket; newline found (PSR2.ControlStructures.ControlStructureSpacing.SpacingAfterOpenBrace) Test/Unit/Controller/Adminhtml/Knowledge/SaveValueTest.php 53:41 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 55:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 57:59 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 59:54 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 61:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Unit/Controller/Adminhtml/Knowledge/DescribeTest.php 60:41 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 62:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 64:59 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 66:56 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 68:50 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 70:40 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) 72:29 warning Missing PHP DocBlock for class property. (Magento2.Commenting.ClassPropertyPHPDocFormatting.Missing) Test/Js/directive-decorator.test.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var one (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var two (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var three (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var one (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var one (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var two (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var three (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.mail (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.mail (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var one (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Test/Js/directive-scanner.test.js 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "spaced.path()" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template directives may not invoke methods. Only scalar array access is allowed. Found "spaced.path()" (Magento2.Html.HtmlDirective.HtmlTemplatesProhibitedMethodCall) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.shipping_description'; assertLike( referencesOf(occurrences), ['trans:Shipping Method', 'var:order.shipping_description', 'if:', 'var:shipping_msg'], 'references' ); assertLike(variable.modifiers, [], 'modifier calls'); assertSame(variable.modifierText, '', 'modifier text'); assertSame(variable.chainParsed, true, 'chain parsed'); assertSame(variable.overlong, false, 'over-long'); assertSame(variable.modifierStart, text.indexOf(directive) + directive.length, 'modifier start'); assertSame(variable.modifierEnd, variable.modifierStart, 'modifier end'); }); test('the store address block reports its chain and brackets it exactly', function () { var text = fixtures.STORE_ADDRESS_BLOCK, occurrence = onlyOccurrence(text); assertSame(occurrence.reference, 'var:store.getFormattedAddress()', 'reference'); assertSame(occurrence.kind, 'var', 'kind'); assertSame(occurrence.expression, 'store.getFormattedAddress()', 'expression'); assertSame(occurrence.modifierText, '|raw', 'modifier text'); assertLike(occurrence.modifiers, [{name: 'raw', args: []}], 'modifier calls'); assertSame(occurrence.chainParsed, true, 'chain parsed'); assertSame(text.slice(occurrence.modifierStart, occurrence.modifierEnd), '|raw', 'bracketed chain'); assertSame(text.slice(occurrence.start, occurrence.end), '{{var store.getFormattedAddress()|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name|escape:html|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.email|escape:HTML | nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var spaced.path() (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var spaced.path() (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.{id (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name|escape:html|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x|escape:HTML (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.email|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.name|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var a (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var b (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Test/Js/variable-inspector.test.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id' + chainText + ' (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|date:long (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|date (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|date:short (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id|escape|date:short (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var something.nobody.wrote.down (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Test/Js/variable-groups.test.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.increment_id (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var formattedShippingAddress|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var x (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Test/Js/fixtures.js 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var shipping_msg (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_width (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_height (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order_data.customer_name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var store.frontend_name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order_data.email_customer_note|escape|nl2br (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order.shipping_description (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var shipping_msg (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var order_id (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var template_styles|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_width (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_height (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_url (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var logo_alt (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var store.frontend_name (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var this.getUrl($store,'customer/account/',[_nosid:1]) (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var customer.email (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var user.user_id (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var user.rp_token (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) 1:1 warning Template @vars comment block is missing a variable used in the template. Missing variable: var store.getFormattedAddress()|raw (Magento2.Html.HtmlDirective.HtmlTemplatesUndefinedVariable) Block/Adminhtml/Editor.php 27:12 warning $data parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 111:8 warning Long description must start with a capital letter (Magento2.Annotation.MethodAnnotationStructure.MethodAnnotation) 115:8 warning Method arguments visual alignment must be consistent (Magento2.Annotation.MethodArguments.VisualAlignment) 119:13 warning $options parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) 119:13 warning $stores parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing)