- Status changed to Fixed
over 1 year ago 9:06pm 7 March 2023 Automatically closed - issue fixed for 2 weeks with no activity.
$ phpcs --standard=Drupal --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml blazy_video_embed_field/
Xdebug: [Step Debug] Time-out connecting to debugging client, waited: 200 ms. Tried: localhost:9000 (through xdebug.client_host/xdebug.client_port) :-(
FILE: C:\Users\SI-001\Downloads\blazy_video_embed_field\src\Plugin\Field\FieldFormatter\BlazyVideoEmbedFieldTrait.php
------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AND 1 WARNING AFFECTING 12 LINES
------------------------------------------------------------------------------------------------------------------------------------------------
37 | ERROR | [x] Use null coalesce operator instead of ternary operator.
72 | ERROR | [x] Use null coalesce operator instead of ternary operator.
73 | ERROR | [x] Use null coalesce operator instead of ternary operator.
123 | ERROR | [x] Comma not allowed after last value in single-line array declaration
123 | ERROR | [x] Expected one space after the comma, 0 found
162 | WARNING | [x] '@todo: If any proper method to get video URL from image URI, or FID.' should match the format '@todo Fix problem X here.'
182 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 1 space but found 3 spaces
183 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
184 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
185 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
186 | ERROR | [x] Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
186 | ERROR | [x] Use null coalesce operator instead of ternary operator.
188 | ERROR | [x] Use null coalesce operator instead of ternary operator.
223 | ERROR | [x] Use null coalesce operator instead of ternary operator.
223 | ERROR | [x] Use null coalesce operator instead of ternary operator.
------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 15 MARKED SNIFF VIOLATIONS AUTOMATICALLY
------------------------------------------------------------------------------------------------------------------------------------------------
Time: 328ms; Memory: 10MB
Fixed
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Automatically closed - issue fixed for 2 weeks with no activity.