Account created on 21 November 2013, about 11 years ago
  • Sr Drupal developer at Melity 
#

Merge Requests

Recent comments

🇮🇳India Shiv_Sharma

#52: works for me ;)
just adding steps

in your custom module add

services:
  redis.client:
    class: Drupal\redis\Client\PhpRedis
    factory: [ '@redis.factory', 'getClient' ]

  session_handler.storage:
    class: Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler
    arguments: [ '@redis.client', { prefix: 'drupal_session:' } ]

and in settings.php add :
$settings['session_handler_class'] = 'Symfony\Component\HttpFoundation\Session\Storage\Handler\RedisSessionHandler';

hope this help to others :)

🇮🇳India Shiv_Sharma

@saschaeggi would you help me to find those issues

🇮🇳India Shiv_Sharma

This is core issue closing it from here

🇮🇳India Shiv_Sharma

this MR working fine for me. adding screenshot for reference

🇮🇳India Shiv_Sharma

Seem there are more fixes need to done as after applying patch still showing phpcs warning to me.

FILE: /home/shivsharma/project/new/web/modules/contrib/email_attachment/tests/src/Kernel/EmailAttachmentTest.php
----------------------------------------------------------------------------------------------------------------
FOUND 14 ERRORS AFFECTING 14 LINES
----------------------------------------------------------------------------------------------------------------
  15 | ERROR | [ ] Missing member variable doc comment
  19 | ERROR | [ ] Missing short description in doc comment
  23 | ERROR | [x] Whitespace found at end of line
  24 | ERROR | [x] Missing function doc comment
  29 | ERROR | [x] Missing function doc comment
  40 | ERROR | [x] Missing function doc comment
  49 | ERROR | [x] Missing function doc comment
  62 | ERROR | [ ] Inline doc block comments are not allowed; use "/* Comment */" or "// Comment" instead
  69 | ERROR | [ ] String concat is not required here; use a single string instead
  70 | ERROR | [ ] String concat is not required here; use a single string instead
  82 | ERROR | [x] Missing function doc comment
  94 | ERROR | [x] Missing function doc comment
  99 | ERROR | [x] Missing function doc comment
 105 | ERROR | [x] Missing function doc comment
----------------------------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 9 MARKED SNIFF VIOLATIONS AUTOMATICALLY
----------------------------------------------------------------------------------------------------------------


FILE: /home/shivsharma/project/new/web/modules/contrib/email_attachment/email_attachment.module
----------------------------------------------------------------------------------------------------------------------------------------------
FOUND 10 ERRORS AND 3 WARNINGS AFFECTING 8 LINES
----------------------------------------------------------------------------------------------------------------------------------------------
  16 | WARNING | Hook implementations should not duplicate @param documentation
  16 | ERROR   | Missing parameter comment
  59 | ERROR   | Missing short description in doc comment
  65 | ERROR   | Description for the @return value is missing
 110 | ERROR   | Doc comment is empty
 113 | ERROR   | All functions defined in a module file must be prefixed with the module's name, found "_encode_header_rfc_2184" but expected
     |         | "email_attachment__encode_header_rfc_2184"
 118 | ERROR   | join() is a function name alias, use implode() instead
 124 | WARNING | Hook implementations should not duplicate @param documentation
 124 | ERROR   | Missing parameter comment
 124 | ERROR   | Missing parameter type
 125 | WARNING | Hook implementations should not duplicate @param documentation
 125 | ERROR   | Missing parameter comment
 125 | ERROR   | Missing parameter type
----------------------------------------------------------------------------------------------------------------------------------------------


FILE: /home/shivsharma/project/new/web/modules/contrib/email_attachment/modules/email_attachment_demo/email_attachment_demo.module
----------------------------------------------------------------------------------------------------------------------------------
FOUND 1 ERROR AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------------------------------------
 15 | WARNING | Hook implementations should not duplicate @param documentation
 15 | ERROR   | Missing parameter comment
----------------------------------------------------------------------------------------------------------------------------------


FILE: /home/shivsharma/project/new/web/modules/contrib/email_attachment/modules/email_attachment_demo/email_attachment_demo.info.yml
------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
------------------------------------------------------------------------------------------------------------------------------------
 14 | WARNING | All dependencies must be prefixed with the project name, for example "drupal:"
------------------------------------------------------------------------------------------------------------------------------------

Time: 135ms; Memory: 10MB

🇮🇳India Shiv_Sharma

@Mrinalini I applied your patch it applied successfully but still able to see some warning which can be fix by phpcbf.

🇮🇳India Shiv_Sharma

patch seems working fine on my local.
adding screenshot for reference.

🇮🇳India Shiv_Sharma

@shashank5563 please let me know what is the issue you observed.

🇮🇳India Shiv_Sharma

Seems some issue patch is not working for me.

🇮🇳India Shiv_Sharma

MR looks good no new warning on file.

🇮🇳India Shiv_Sharma

@nishant patch applied successfully. moving to RTBC

🇮🇳India Shiv_Sharma

@mrinalini9 seems readme file get update on code base due to which not able to apply patch.
could you please rebase and create a new patch for same.
error msg:
error: README.txt: No such file or directory

🇮🇳India Shiv_Sharma

#2 patch applied perfectly.
adding screenshot for reference.

🇮🇳India Shiv_Sharma

create the patch and module is working as expected. with no error.

🇮🇳India Shiv_Sharma

no patch added changing status to 'need work'

🇮🇳India Shiv_Sharma

created the patch for help page

🇮🇳India Shiv_Sharma

added the patch to solve the issue.

🇮🇳India Shiv_Sharma

tested the MR with patch able to see readme file.

🇮🇳India Shiv_Sharma

Created the patch adding screenshot for reference.

🇮🇳India Shiv_Sharma

patch applied successfully adding screenshot for refrence

🇮🇳India Shiv_Sharma

patch applied successfully adding screenshot for reference

🇮🇳India Shiv_Sharma

applied the patch and able to access the module on Drupal 10 environment.

🇮🇳India Shiv_Sharma

patch applied successfully. adding screenshot for refrence

🇮🇳India Shiv_Sharma

Created the patch for the same and module working as expected.

🇮🇳India Shiv_Sharma

Created the patch to resolve this issue. and module is working as expected.

🇮🇳India Shiv_Sharma

found some problem in my patch so updated it.

🇮🇳India Shiv_Sharma

Created the new patch with drupal 10 compatibility.

🇮🇳India Shiv_Sharma

Created a new patch with latest code. no new warning from phpcs

🇮🇳India Shiv_Sharma

- '#empty' => t('There are no items yet. Add one '),
+ '#empty' => t('There are no items yet. Add one '),

@keshav.k please recheck global_content and global-content due to which its landing to 404

🇮🇳India Shiv_Sharma

created the patch for same and added Installation and Maintainers for the module.

🇮🇳India Shiv_Sharma

I fixed the issue and created the patch for same and its working fine.

🇮🇳India Shiv_Sharma

Created the patch and module is working as expected.

🇮🇳India Shiv_Sharma

created the patch module is working as expected and also no new warning reported.

🇮🇳India Shiv_Sharma

patch applied successfully. added the screenshot for reference

🇮🇳India Shiv_Sharma

Created the patch to update hook_help page. added screenshot for reference.

🇮🇳India Shiv_Sharma

Added the patch and screenshot for reference.

🇮🇳India Shiv_Sharma

@fgm I have one concern that why it is required to add <a name="foo">Foo</a>: Foo

if we are not using href in anchor tag then what is the use of <a name="foo">Foo</a>: Foo

🇮🇳India Shiv_Sharma

@omkar.podey PR does have 4 unresolved threads please resolve them,

🇮🇳India Shiv_Sharma

I used @Hamid.ali code to create the merge request.

Production build 0.71.5 2024