- Issue created by @urvashi_vora
- Status changed to Needs work
11 months ago 11:06am 9 January 2024 - 🇮🇳India Ashutosh Ahirwal India
Found one error after patch
Use command with arguments:-
./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/document_ocr_ai21FILE: /Users/ashutoshahirwal/Sites/lando/contribution/web/modules/custom/document_ocr_ai21/src/Plugin/document_ocr/transformer/AI21Base.php
-------------------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
-------------------------------------------------------------------------------------------------------------------------------------------
8 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\document_ocr\Plugin\TransformerBase.
-------------------------------------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
-------------------------------------------------------------------------------------------------------------------------------------------Time: 126ms; Memory: 10MB
- Status changed to Needs review
11 months ago 11:09am 9 January 2024 - Status changed to RTBC
11 months ago 6:34am 10 January 2024 - 🇵🇭Philippines paraderojether
Hi Ashutosh Ahirwal,
I reviewed patch #3, applied against Document OCR AI21 Studio 1.0.0-alpha1 with Drupal core version 10.1.7, and confirmed it fixes the issue reported by phpcs.
I added screenshots for reference.
Thank you.