- Issue created by @dineshkumarbollu
- Issue was unassigned.
- Status changed to Needs review
over 1 year ago 6:58am 26 April 2023 - ๐ฎ๐ณIndia dineshkumarbollu
I fixed most of the coding issues except unused variables in code.
- Status changed to Needs work
10 months ago 10:11am 1 February 2024 - ๐ฎ๐ณIndia Ashutosh Ahirwal India
Hi provided patch in #2 get applied cleanly but still found some issue.
Moving to Need workUsed command with argument
./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/views_bulk_reference_editFILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/views_bulk_reference_edit/src/Plugin/Action/ModifyReferencedEntityValues.php
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 4 WARNINGS AFFECTING 5 LINES
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\views_bulk_operations\Service\ViewsBulkOperationsActionProcessor.
52 | WARNING | [ ] Possible useless method overriding detected
237 | WARNING | [ ] Unused variable $k.
238 | WARNING | [ ] Unused variable $entity_type_id.
246 | WARNING | [ ] Unused variable $entity_type_id.
---------------------------------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
---------------------------------------------------------------------------------------------------------------------------------------------------------------------Time: 261ms; Memory: 12MB
- First commit to issue fork.
- Status changed to Needs review
10 months ago 11:09am 1 February 2024 - ๐ฎ๐ณIndia viren18febS
i have fixed all the issue related to the phpcs , please review with the functionality also.
- ๐ฎ๐ณIndia dev16.addweb
silvi.addweb โ made their first commit to this issueโs fork.
- ๐ฎ๐ณIndia dev16.addweb
I have checked and it's working fine. I also raised MR for the same.
- Status changed to RTBC
3 months ago 7:15am 15 August 2024 - ๐ต๐ญPhilippines cleavinjosh
Hi @viren18febs,
I applied patch #5, it was applied smoothly and fixed all the phpcs issues.
โ views_bulk_reference_edit git:(8.x-1.x) curl https://www.drupal.org/files/issues/2024-02-01/issue-3356475-fixed-issues-reported-by-phpcs.patch | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 8027 100 8027 0 0 19991 0 --:--:-- --:--:-- --:--:-- 20017 patching file README.txt patching file css/views_bulk_reference_edit.css patching file src/Plugin/Action/ModifyReferencedEntityValues.php patching file views_bulk_reference_edit.info.yml patching file views_bulk_reference_edit.libraries.yml โ views_bulk_reference_edit git:(8.x-1.x) โ .. โ contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml views_bulk_reference_edit โ contrib
Thank you.