FILE: D:\xampp\htdocs\drupal9.5\web\modules\contrib\video_embed_cloudflare\src\Plugin\video_embed_field\Provider\CloudflareStream.php
-------------------------------------------------------------------------------------------------------------------------------------
FOUND 4 ERRORS AND 1 WARNING AFFECTING 5 LINES
-------------------------------------------------------------------------------------------------------------------------------------
1 | ERROR | [x] End of line character is invalid; expected "\n" but found "\r\n"
22 | ERROR | [x] Use null coalesce operator instead of ternary operator.
67 | WARNING | [x] '@TODO: Implement generating animated thumbnails.' should match the format '@todo Fix problem X here.'
71 | ERROR | [x] Expected 1 blank line after function; 0 found
72 | ERROR | [x] The closing brace for the class must have an empty line before it
-------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | phpcs-drupal-coding-standard-issue-3294526-2.patch | 1.51 KB | Harsh panchal |
Comments
Comment #2
Harsh panchal commentedI have fixed this issue and providing a patch.
Comment #3
shamir.vs commentedPatch #2 was applied successfully and coding standard issue is fixed
Comment #5
abdulaziz zaidComment #6
abdulaziz zaidThanks, pushed to 1.0.x.