Account created on 6 January 2020, over 4 years ago
#

Merge Requests

More

Recent comments

🇮🇳India sourabhjain

Below are the PHPSTAN errors

PHP Warning:  Undefined global variable $base_path in /var/www/html/drupal10/web/core/includes/common.inc on line 161
Warning: Undefined global variable $base_path in /var/www/html/drupal10/web/core/includes/common.inc on line 161
 5/5 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
  Line   src/PDFToImageBatchHelper.php                                                                                                           
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 
  117    Parameter $pdf of method Drupal\pdf_to_imagefield\PDFToImageBatchHelper::generateProcessPage() has invalid type Spatie\PdfToImage\Pdf.  
  133    Parameter $pdf of method Drupal\pdf_to_imagefield\PDFToImageBatchHelper::generatePage() has invalid type Spatie\PdfToImage\Pdf.         
 ------ ---------------------------------------------------------------------------------------------------------------------------------------- 

 ------ --------------------------------------------------------------------- 
  Line   src/PDFToImageManager.php                                            
 ------ --------------------------------------------------------------------- 
  169    Instantiated class Spatie\PdfToImage\Pdf not found.                  
         💡 Learn more at https://phpstan.org/user-guide/discovering-symbols  
 ------ --------------------------------------------------------------------- 

 ------ ----------------------------------------------------------------------------------- 
  Line   src/Plugin/Field/FieldWidget/PDFToImageWidget.php                                  
 ------ ----------------------------------------------------------------------------------- 
  64     Unsafe usage of new static().                                                      
         💡 See: https://phpstan.org/blog/solving-phpstan-error-unsafe-usage-of-new-static  
 ------ ----------------------------------------------------------------------------------- 

I just investigated on the above and it showing imagick extension is missing as per https://github.com/spatie/pdf-to-image/issues/145

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

I have resolved the error. Please review the MR.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

This theme is using the image instead of icon so we need to create a image for twitter.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

I have removed the CSS file. Please review it now.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

I have fixed the issue. Please review the MR.
Attaching screenshot as well after applying patch.

🇮🇳India sourabhjain

@shweta__sharma we have already created a MR 7 so I don't see any reason to create new PR. Could you please close one of them. It will create a confusion.

🇮🇳India sourabhjain

Removed the Intro section and added project name. Please review it now.

🇮🇳India sourabhjain

@pefferen I don't see you haven't given credit to anyone apart from you. Is there any specific reason?

🇮🇳India sourabhjain

I have resolved the issue. Please review MR
Attaching screenshot after update.

🇮🇳India sourabhjain

I have resolved all the \Drupal calls issue from the project. Please review it now.

🇮🇳India sourabhjain

I have added the dependency injection. Please review the MR 10

🇮🇳India sourabhjain

sourabhjain changed the visibility of the branch 3418316-injected-dependencies to hidden.

🇮🇳India sourabhjain

I have fixed warning mentioned in #11. Please review.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

I have reviewed the changes and its working fine but the menu li colour is white and the background is also white so it is not visible. Could anyone either update the menu background colour or link colour so it will be visible on front end.

🇮🇳India sourabhjain

I have fixed most of the errors. Now only three are pending.

FILE: /var/www/html/drupal10/web/modules/contrib/search_api_synonym/src/Import/ImportPluginBase.php
---------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
 95 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------------


FILE: /var/www/html/drupal10/web/modules/contrib/search_api_synonym/src/Export/ExportPluginBase.php
---------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------------
 80 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------------


FILE: /var/www/html/drupal10/web/modules/contrib/search_api_synonym/src/Form/SynonymSettingsForm.php
----------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------------------------------------
 167 | WARNING | Possible useless method overriding detected
----------------------------------------------------------------------------------------------------

Time: 244ms; Memory: 10MB
🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

@nisha_j Could you please add the interdiff file too.

🇮🇳India sourabhjain

Hi @vibrasphere

I am trying to generate the issue in Drupal 7 as mentioned module version but not able to replicate the issue. Could you please let us know if we need to enable the other module also together with the User revision.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

I have fixed the issue and created the MR. Please review.
Attaching the screenshot also after changes.

🇮🇳India sourabhjain

@shweta Left sidebar showing for me as well it is showing in the Block demostration but the Right sidebar and highlighted regions are not showing so I have added it.
Attaching the screenshot for block demostration after and before patch.
Please review the MR and let me know if we need to place these regions anywhere else.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

@nitin Could you please check the comments on MR.

🇮🇳India sourabhjain

sourabhjain made their first commit to this issue’s fork.

🇮🇳India sourabhjain

@sakthi_dev Thanks for the information.
Found the duplicate of https://www.drupal.org/project/username_policy/issues/3355438 🐛 Deprecated function: strlen(): Passing null to parameter #1 ($string) Fixed

🇮🇳India sourabhjain

@sakthi_dev updated the issue summary with the Drupal and PHP Version which I am using.

Production build 0.69.0 2024