Problem/Motivation
FILE: ...iews_filter_block/src/Plugin/Block/ConfigurableViewsExposedFilterBlock.php
--------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 2 LINES
--------------------------------------------------------------------------------
125 | ERROR | [x] Return comment indentation must be 3 spaces, found 2 spaces
318 | ERROR | [ ] Type hint "array" missing for $element
--------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------
Time: 90ms; Memory: 10MB
Steps to reproduce
Execute the command: phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig configurable_views_filter_block/
Remaining tasks
Patch review
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | after_applying_MR.png | 65.73 KB | paraderojether |
| coding-standard-fixes.patch | 1.06 KB | urvashi_vora |
Issue fork configurable_views_filter_block-3372769
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
paraderojether commentedHi
I reviewed patch coding-standard-fixes.patch and still getting the error shown below:
Please check.
Thank you.
Comment #3
urvashi_vora commentedI have resolved that error. Please review the MR.
Comment #5
avpadernoComment #6
paraderojether commentedI reviewed MR!5, applied against Configurable Views Filter Block 1.0.x-dev, and confirmed it fixes the issues reported by phpcs.
I added screenshot for reference.
Thank you.
Comment #9
manuel.adanReviewed & committed, automatic tests are now green. Thanks!