FILE: C:\xampp\htdocs\drupal-9\web\modules\contrib\default_class\default_class.module
--------------------------------------------------------------------------------------
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"
9 | ERROR | [x] There must be one blank line after the last USE statement; 2 found;
17 | ERROR | [x] Expected 1 blank line before function; 2 found
--------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 4 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------
Time: 226ms; Memory: 10MB
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Drupal-coding-standard-issues-2.patch | 394 bytes | anoopsingh92 |
Issue fork default_class-3301531
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
Comment #2
anoopsingh92Please review this patch.
Comment #3
Jitendra_Kumar commentedComment #4
Jitendra_Kumar commentedPatch #2 Working successfully
Result All Errors and warnings are resolved
Comment #5
Jitendra_Kumar commentedThanks, @anoopsingh92
moved to RTBC.
Comment #6
heni_deepak commentedComment #8
heni_deepak commented