Please below coding standard issues

FILE: ...web\modules\login_register_path\src\Form\LoginRegisterConfig.php
----------------------------------------------------------------------
FOUND 18 ERRORS AND 2 WARNINGS AFFECTING 12 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
1 | ERROR | [x] End of line character is invalid; expected "\n"
| | but found "\r\n"
10 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
10 | ERROR | [ ] Doc comment short description must end with a
| | full stop
10 | ERROR | [ ] Doc comment short description must be on a
| | single line, further text should be a separate
| | paragraph
11 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
13 | ERROR | [x] Missing class doc comment
16 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
16 | ERROR | [x] Function comment short description must start
| | with exactly one space
23 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
23 | ERROR | [x] Function comment short description must start
| | with exactly one space
30 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
30 | ERROR | [x] Function comment short description must start
| | with exactly one space
46 | WARNING | [ ] Do not pass empty strings to t()
47 | WARNING | [x] A comma should follow the last multiline array
| | item. Found: )
89 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
89 | ERROR | [x] Function comment short description must start
| | with exactly one space
96 | ERROR | [x] Spaces must be used for alignment; tabs are not
| | allowed
96 | ERROR | [x] Function comment short description must start
| | with exactly one space
109 | ERROR | [x] Inline comments must start with a capital letter
----------------------------------------------------------------------
PHPCBF CAN FIX THE 17 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

FILE: ...\web\modules\login_register_path\src\Routing\RouteSubscriber.php
----------------------------------------------------------------------
FOUND 4 ERRORS AFFECTING 3 LINES
----------------------------------------------------------------------
1 | ERROR | [x] The PHP open tag must be followed by exactly one
| | blank line
1 | ERROR | [x] End of line character is invalid; expected "\n" but
| | found "\r\n"
23 | ERROR | [x] Whitespace found at end of line
33 | ERROR | [x] Whitespace found at end of line
----------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

sumit_thakur created an issue. See original summary.

sumit_thakur’s picture

Assigned: Unassigned » sumit_thakur

heni_deepak made their first commit to this issue’s fork.

heni_deepak’s picture

Assigned: sumit_thakur » Unassigned
Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.