Problem/Motivation
Getting following error.
FILE: /var/www/html/modules/contrib/api_proxy/modules/api_proxy_example/src/Plugin/api_proxy/Example.php
----------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------
60 | ERROR | [x] Inline comments must end in full-stops, exclamation marks, question marks, colons, or closing parentheses
----------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------
Time: 3 secs; Memory: 8MB
Steps to reproduce
Run following command
phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml modules/contrib/api_proxy/
Proposed resolution
Above error need to be fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3339800-2.patch | 685 bytes | samitk |
Issue fork api_proxy-3339800
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
samitk commentedAbove error is fixed.
Comment #3
Sonal Gyanani commentedComment #5
Sonal Gyanani commentedPatch #2 applied successfully, error is fixed now.
RTBC +1
Comment #6
charchil khandelwal commentedI will review this MR.
Comment #7
charchil khandelwal commentedMR !10 looks good to me.
All the errors and warnings are fixed now.
So moving it to RTBC.
Thanks.
Comment #8
e0ipsoHolding off for now.