- Issue created by @jay jangid
- Merge request !3Issue #3335784: Drupal Coding Standards Issues | phpcs ā (Open) created by jay jangid
- š®š³India jay jangid Jaipur
Created MR , please review.
Thank you.
- š®š³India riddhi.addweb
After applying the Patch [MR3] the PHPCS error is not resolved, it is still displayed Attaching error and its Screenshot for the same.
FILE: /var/www/html/web/drupal10/web/modules/contrib/views_default_user_taxonomy/tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------------------
10 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Tests\taxonomy\Kernel\Views\TaxonomyTestBase.
----------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/web/drupal10/web/modules/contrib/views_default_user_taxonomy/src/Plugin/views/argument_default/Tid.php
--------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------------------------
7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\node\NodeInterface.
--------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------------------------------------FILE: /var/www/html/web/drupal10/web/modules/contrib/views_default_user_taxonomy/README.md
------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------
51 | WARNING | Line exceeds 80 characters; contains 82 characters
------------------------------------------------------------------------------------------ - Status changed to Needs work
6 months ago 6:48am 10 July 2024 - First commit to issue fork.
- Status changed to Needs review
5 months ago 4:34am 19 July 2024 - šµšPhilippines paraderojether
Hi
I fix the remaining issues, please review.
Thank you
- Status changed to RTBC
5 months ago 4:37am 19 July 2024 Hi @paraderojether,
The changes you made on MR!3 can be applied successfully, confirmed all errors are now fixed.
views_default_user_taxonomy git:(2.0.x) curl https://git.drupalcode.org/project/views_default_user_taxonomy/-/merge_requests/3.diff | patch -p1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 2860 0 2860 0 0 6573 0 --:--:-- --:--:-- --:--:-- 6745 patching file README.md patching file src/Plugin/views/argument_default/Tid.php patching file tests/src/Kernel/Views/TaxonomyDefaultArgumentTest.php ā views_default_user_taxonomy git:(2.0.x) ā cd .. ā contrib git:(master) ā phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml,twig views_default_user_taxonomy ā contrib git:(master) ā
Will now move this to RTBC
Thanks,
Jake