Magento Coding Standard (PHPCS) report for alekseon/widget-forms ================================================================ Package version: 102.5.11 | Magento: 2.4.9 | Tested: 2026-09-30 18 warnings in 9 files Plugin/NewsletterEmailValidatorPlugin.php 34:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) 41:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 43:12 warning $validators parameter is missing in method annotation (Magento2.Annotation.MethodArguments.ArgumentMissing) Plugin/AddFormFieldsetWarningPlugin.php 16:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) 17:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Model/Config/Source/AvailableForms.php 28:5 warning The closing parenthesis and the opening brace of a multi-line function declaration must be on the same line (Squiz.Functions.MultiLineFunctionDeclaration.NewlineBeforeOpenBrace) Observer/SubscribeToNewsletter.php 110:8 warning Type is not specified (Magento2.Annotation.MethodArguments.NoTypeSpecified) Observer/AddFrontendInputBlockOptions.php 38:68 warning Expected 0 spaces before closing bracket; 1 found (PSR2.ControlStructures.ControlStructureSpacing.SpaceBeforeCloseBrace) 48:24 warning Opening parenthesis of a multi-line function call must be the last content on the line (PSR2.Methods.FunctionCallSignature.ContentAfterOpenBracket) 48:89 warning Only one argument is allowed per line in a multi-line function call (PSR2.Methods.FunctionCallSignature.MultipleArguments) Controller/Form/Submit.php 110:24 warning The use of the deprecated method 'getResource()' to 'save' the data detected. (Magento2.Methods.DeprecatedModelMethod.FoundDeprecatedModelMethod) Controller/Form/Success.php 136:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 142:15 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Block/Form/Success.php 29:8 warning Content missing for @var tag in class property declaration. (Magento2.Commenting.ClassPropertyPHPDocFormatting.EmptyVar) 58:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) Block/WidgetForm.php 24:5 warning The implements keyword must be on the same line as the class name (PSR2.Classes.ClassDeclaration.ImplementsLine) 245:19 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch) 253:23 warning Empty CATCH statement detected (Magento2.CodeAnalysis.EmptyBlock.DetectedCatch)