- 🇮🇳India riddhi.addweb
Seems like the errors are not resolved properly, because after applying the patch the phpcs errors are still displayed. Attaching screenshots for the same.
FILE: /var/www/html/web/drupal10/web/modules/contrib/encryption/tests/src/Kernel/EncryptionServiceTest.php ------------------------------------------------------------------------------------------------------------------- FOUND 1 ERROR AFFECTING 1 LINE ------------------------------------------------------------------------------------------------------------------- 7 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\Core\Site\Settings. ------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/drupal10/web/modules/contrib/encryption/encryption.install ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FOUND 4 ERRORS AFFECTING 3 LINES ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 36 | ERROR | [x] Array indentation error, expected 10 spaces but found 8 37 | ERROR | [x] Array indentation error, expected 10 spaces but found 8 56 | ERROR | [ ] The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('encryption_reset_test_string') instead 56 | ERROR | [ ] The $_GET super global must not be accessed directly; inject the request_stack service and use $stack->getCurrentRequest()->query->get('encryption_reset_test_string') instead ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- FILE: /var/www/html/web/drupal10/web/modules/contrib/encryption/README.md ------------------------------------------------------------------------- FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE ------------------------------------------------------------------------- 85 | WARNING | Line exceeds 80 characters; contains 87 characters -------------------------------------------------------------------------