gujrat
Account created on 18 March 2020, over 4 years ago
#

Merge Requests

More

Recent comments

🇮🇳India Prem Suthar gujrat

Role-based access

Adds an access check based on a user's roles. This may be sufficient for sites where access is primarily granted or denied based on roles and permissions. For grants-based access checks on "Content" or "Comment" entities the "Content access" processor may be a suitable alternative.

can we include this processor information with more details. 

🇮🇳India Prem Suthar gujrat

if possible, please create a Merge Request following the Drupal standard process.

🇮🇳India Prem Suthar gujrat

The patch resolves all PHPCS issues once applied. Additionally, if possible, please create a Merge Request following the Drupal standard process.

🇮🇳India Prem Suthar gujrat

yes right it is not working for autocomplete widget only its works fine in select list ..

🇮🇳India Prem Suthar gujrat

For me its not working for two view only how we can reslove this for those two views its showing the error like "There is no display available. Please select another view or change the field settings." any solution ???

🇮🇳India Prem Suthar gujrat

#MR!4 is Working Fine As per the issue details so we can move this issue.

🇮🇳India Prem Suthar gujrat

Updated The Patch as per latest code.

🇮🇳India Prem Suthar gujrat

# 4 patch is Failed To Apply on the latest Code .

Checking patch src/Cache/PhpRedis.php...
Checking patch src/Cache/RedisCacheTagsChecksum.php...
error: while searching for:

    // We want to differentiate between PhpRedis and Redis clients.
    if ($this->clientType === 'PhpRedis') {
      $multi = $this->client->multi();
      foreach ($keys as $key) {
        $multi->incr($key);
      }

error: patch failed: src/Cache/RedisCacheTagsChecksum.php:58
error: src/Cache/RedisCacheTagsChecksum.php: patch does not apply
Checking patch src/Lock/PhpRedis.php...
Checking patch src/Queue/ReliablePhpRedis.php...
🇮🇳India Prem Suthar gujrat

#MR!1 is Working Fine As per the issue details so we can move this issue.

🇮🇳India Prem Suthar gujrat

fixed the 80% issue of phpcs but there is remaining issue they need to be done by modify the logic.

FILE: ...e/prem/Documents/drupal11/modules/custom/office_hours/src/OfficeHoursFormatterTrait.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
 463 | WARNING | Only string literals should be passed to t() where possible
 477 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: ...11/modules/custom/office_hours/src/Plugin/Field/FieldType/OfficeHoursExceptionsItem.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 50 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: ...drupal11/modules/custom/office_hours/src/Plugin/Field/FieldType/OfficeHoursItemList.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
 26 | WARNING | Possible useless method overriding detected
 83 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------


FILE: ...nts/drupal11/modules/custom/office_hours/src/Plugin/Field/FieldType/OfficeHoursItem.php
---------------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 551 | ERROR | The text '@deprecated Deprecated in version 8.x-1.12 and is removed from
     |       | %removal-version%. %extra-info%.' does not match the standard format:
     |       | @deprecated in %deprecation-version% and is removed from %removal-version%.
     |       | %extra-info%.
 551 | ERROR | Each @deprecated tag must have a @see tag immediately following it
---------------------------------------------------------------------------------------------


FILE: ...odules/custom/office_hours/src/Plugin/Field/FieldWidget/OfficeHoursExceptionsWidget.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
 175 | WARNING | Possible useless method overriding detected
 231 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------


FILE: ...odules/custom/office_hours/src/Plugin/Field/FieldFormatter/OfficeHoursFormatterBase.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------
 468 | WARNING | Only string literals should be passed to t() where possible
 469 | WARNING | Only string literals should be passed to t() where possible
 475 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: ...ules/custom/office_hours/src/Plugin/Field/FieldFormatter/OfficeHoursFormatterStatus.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
 62 | WARNING | Only string literals should be passed to t() where possible
 63 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: ...om/office_hours/src/Plugin/Field/FieldFormatter/OfficeHoursFormatterTableSelectList.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
---------------------------------------------------------------------------------------------
 84 | WARNING | Only string literals should be passed to t() where possible
 90 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: ...prem/Documents/drupal11/modules/custom/office_hours/src/Plugin/views/field/TimeSlot.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 69 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------


FILE: ...e/prem/Documents/drupal11/modules/custom/office_hours/src/Plugin/views/field/Season.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES
---------------------------------------------------------------------------------------------
 20 | WARNING | Possible useless method overriding detected
 35 | WARNING | Possible useless method overriding detected
 43 | WARNING | Possible useless method overriding detected
---------------------------------------------------------------------------------------------


FILE: ...prem/Documents/drupal11/modules/custom/office_hours/src/Element/OfficeHoursBaseSlot.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 312 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------


FILE: .../Documents/drupal11/modules/custom/office_hours/src/Element/OfficeHoursSeasonHeader.php
---------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
---------------------------------------------------------------------------------------------
 253 | WARNING | Only string literals should be passed to t() where possible
---------------------------------------------------------------------------------------------
🇮🇳India Prem Suthar gujrat

added the MR for phpcs issue fixed please review

🇮🇳India Prem Suthar gujrat

Prem Suthar changed the visibility of the branch 3423795-fix-the-issues to hidden.

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

its correct we need to add the media library as a dependency.
#3 working fine for me so we can move this issue ahed.

🇮🇳India Prem Suthar gujrat

did not reproduce the error of #10 i got just one warning

FILE: /home/prem/Documents/drupal11/modules/custom/combined_image_style-3372208/src/Entity/CombinedImageStyle.php
-----------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
-----------------------------------------------------------------------------------------------------------------
 47 | WARNING | Possible useless method overriding detected
-----------------------------------------------------------------------------------------------------------------

Time: 181ms; Memory: 12MB

this warning of using __constructor without calling a any services if we remove it then it will show the error so we can skip this warning .

🇮🇳India Prem Suthar gujrat

Fix the all reaming issues Please review and merge This Changes.

🇮🇳India Prem Suthar gujrat

Created The mr as per issue suggestion and its working fine as per database config.

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

Create the Mr For Issue. Please Review

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

i think so yo missed the check the credit option for this issue

🇮🇳India Prem Suthar gujrat

https://www.drupal.org/project/media_popup/issues/3423150 📌 Fix the issues reported by phpcs Needs review

Check this issue

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

Fix The All phpcs issues please review it.

🇮🇳India Prem Suthar gujrat

i have fixed the phpcs issues please review it .

🇮🇳India Prem Suthar gujrat

I have Fixed the all PHPCS error's And Warning Please review it.

🇮🇳India Prem Suthar gujrat

I have Updated The code as per hrtime() api plz review it.

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

Added the Mr For the #13 for re-roll the patch .

🇮🇳India Prem Suthar gujrat

Prem Suthar made their first commit to this issue’s fork.

🇮🇳India Prem Suthar gujrat

Re-Rolled The patch For #18 As per the #35 Suggestion .Also add the Inter Diff For The #18 to #37.

🇮🇳India Prem Suthar gujrat

I have Fixed The Phpcs error of #6

remain part is warnings.

FILE: /home/prem/Documents/drupal11/modules/custom/social_media_links/src/IconsetFinderService.php
--------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------
 87 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------


FILE: ...em/Documents/drupal11/modules/custom/social_media_links/modules/social_media_links_field/src/Plugin/Field/FieldFormatter/SocialMediaLinksFieldDefaultFormatter.php
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 2 WARNINGS AFFECTING 2 LINES
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 216 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
 229 | WARNING | \Drupal calls should be avoided in classes, use dependency injection instead
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
🇮🇳India Prem Suthar gujrat

As Per the Issue tag i have re-rolled the patch again the #25 for Drupal version 11.x Dev

🇮🇳India Prem Suthar gujrat

Not Reproduced any error while running the this cmd :- ./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/delete_entity_translations

🇮🇳India Prem Suthar gujrat

Solved the all Phpcs error coming from 3.x version.
i use the cmd to show the error is : - ./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/inline_entity_form
attached the patch file plz review ..

🇮🇳India Prem Suthar gujrat

Fix The All PHPCS Issues generated by Drupal coding standard
I used The Following the CMD :- ./vendor/bin/phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml web/modules/custom/layout_builder_styles
Added The InterDiff File Between the #8 to #5.

🇮🇳India Prem Suthar gujrat

As Per The #3 issue list and CMD i solved the issues reported by PHPCS.
just one issue is not resolved. listed below..

9 | ERROR | [x] Use statements should be sorted alphabetically. The first wrong one is Drupal\config_policy\Result\ResultItem\ErrorResultItem.
🇮🇳India Prem Suthar gujrat

@apaderno Not found any method DrupalMediaLibrary::isInternal() like this in media or media library module of core so we can close the issue.

🇮🇳India Prem Suthar gujrat

i have Applied The Mr And Check The functionality Of user password Progress Bar is Working Fine as per the issue Scope. Here i Am Attaching the Video For Reference. After patch And Before Patch.

Production build 0.69.0 2024