Aadhaar Number Widget

Created on 16 February 2023, almost 2 years ago
Updated 22 February 2023, over 1 year ago

Problem/Motivation

Getting following error/warnings:-

FILE: ...les\aadhaar_number_widget\tests\src\Functional\AadhaarNumberWidgetTest.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
18 | ERROR | [x] Doc comment short description must end with a full stop
19 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
24 | ERROR | [x] Doc comment short description must end with a full stop
25 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
56 | ERROR | [x] Doc comment short description must end with a full stop
57 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
57 | ERROR | [ ] If there is no return value for a function, there must not be
| | a @return tag.
57 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

FILE: ...4\d9.4\web\modules\aadhaar_number_widget\tests\src\Functional\LoadTest.php
--------------------------------------------------------------------------------
FOUND 9 ERRORS AFFECTING 7 LINES
--------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found
| | "\r\n"
15 | ERROR | [x] Doc comment short description must end with a full stop
16 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
21 | ERROR | [x] Doc comment short description must end with a full stop
22 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
32 | ERROR | [x] Doc comment short description must end with a full stop
33 | ERROR | [x] There must be exactly one blank line before the tags in a doc
| | comment
33 | ERROR | [ ] If there is no return value for a function, there must not be
| | a @return tag.
33 | ERROR | [ ] Description for the @return value is missing
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 7 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------

Time: 463ms; Memory: 8MB

Proposed resolution

Above error/warnings need to be fixed

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024