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
-------------------------------------------------------------------------------------------------------------------------------------

Comments

Harsh panchal created an issue. See original summary.

Harsh panchal’s picture

Category: Task » Bug report
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new1.51 KB

I have fixed this issue and providing a patch.

shamir.vs’s picture

Assigned: Harsh panchal » Unassigned
Status: Needs review » Reviewed & tested by the community

Patch #2 was applied successfully and coding standard issue is fixed

  • abdulaziz zaid committed 0059b27 on 1.0.x
    Issue #3294526 by Harsh panchal: Phpcs Drupal coding standard issue
    
abdulaziz zaid’s picture

Status: Reviewed & tested by the community » Fixed
abdulaziz zaid’s picture

Thanks, pushed to 1.0.x.

Status: Fixed » Closed (fixed)

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