- Status changed to Fixed
about 2 years ago 3:35am 18 January 2023 Automatically closed - issue fixed for 2 weeks with no activity.
Inside of class
AdvancedEmailWebformValidatorHandler
there is a method called "validateEmail" and the doc block can be improved following the recommendations. For example "Missing parameter comment" and about If there is no return value for a function, there must not be a @return tag.
Run code sniffers to get the results of:
FILE: advanced_email_validation/src/Plugin/WebformHandler/AdvancedEmailWebformValidatorHandler.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 3 ERRORS AFFECTING 2 LINES
-------------------------------------------------------------------------------------------------------------------------------------
233 | ERROR | Missing parameter comment
235 | ERROR | If there is no return value for a function, there must not be a @return tag.
235 | ERROR | Description for the @return value is missing
-------------------------------------------------------------------------------------------------------------------------------------
Time: 292ms; Memory: 10MB
Update this adding the description in the doc block and adjust the return tag
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.