Problem/Motivation
FILE: /var/www/html/web/modules/contrib/audio_embed_field-3379962/src/Plugin/Field/FieldWidget/AudioTextfield.php
-----------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
29 | ERROR | [x] Use null coalesce operator instead of ternary operator.
-----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-----------------------------------------------------------------------------------------------------------------
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork audio_embed_field-3379962
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 #3
kpoornima commentedI am looking on it
Comment #4
nishantComment #6
kpoornima commentedPlease review and Merge
Comment #7
roberttabigue commentedHi @kpoornima,
When I applied your MR !3 to the Audio Embed Field module against 8.x-2.x-dev on Drupal 9.5.10, it didn't resolve all the errors.
See the remaining 1 error below:
Please run this command on the module:
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig audio_embed_fieldMoving this to Needs work for now.
Thank you!
Comment #8
kpoornima commentedComment #9
kpoornima commentedHI @roberttabigue
MR !3 Phpcs errors checked with 8.x-2.0 and updated ticket version with 8.x-2.0.
Thanks You!
Comment #11
shashank5563 commentedComment #12
shashank5563 commented