Created on 16 January 2020, about 5 years ago
Updated 20 June 2024, 10 months ago

FILE: role_specific_user_block/role_specific_user_block.module
--------------------------------------------------------------------------------------------
FOUND 1 ERROR AFFECTING 1 LINE
--------------------------------------------------------------------------------------------
35 | ERROR | [x] Hook implementations must be documented with "Implements hook_example()."
--------------------------------------------------------------------------------------------
PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
--------------------------------------------------------------------------------------------

FILE: role_specific_user_block/src/Form/RoleSpecificUserBlockSettings.php
--------------------------------------------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
--------------------------------------------------------------------------------------------------------
38 | WARNING | Role::loadMultiple calls should be avoided in classes, use dependency injection instead
--------------------------------------------------------------------------------------------------------

Time: 57ms; Memory: 6MB

๐Ÿ“Œ Task
Status

Needs review

Version

1.0

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia rohitrajputsahab Uttam Nagar, Delhi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia dev16.addweb

    silvi.addweb โ†’ made their first commit to this issueโ€™s fork.

  • Status changed to Needs work 8 months ago
  • ๐Ÿ‡ต๐Ÿ‡ญPhilippines cleavinjosh

    Hi @sumit.prajapati,

    I applied patch #3, it was applied smoothly and fixed some of the phpcs issues.

    These are the remaining issues after I ran phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,css,info,txt,md,yml:

    โžœ  role_specific_user_block git:(8.x-1.0) curl https://www.drupal.org/files/issues/2020-12-24/role_specific_user_block-4210347-3.patch | patch -p1
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100  2044  100  2044    0     0   6896      0 --:--:-- --:--:-- --:--:--  6905
    patching file role_specific_user_block.module
    patching file src/Form/RoleSpecificUserBlockSettings.php
    โžœ  role_specific_user_block git:(8.x-1.0) โœ— ..
    โžœ  contrib phpcs --standard=Drupal,DrupalPractice --extensions=php,module,inc,install,test,profile,theme,info,txt,md,css,js,yml role_specific_user_block
    
    FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/role_specific_user_block/role_specific_user_block.info.yml
    -------------------------------------------------------------------------------------------------------------------------------
    FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
    -------------------------------------------------------------------------------------------------------------------------------
     1 | WARNING | "core_version_requirement" property is missing in the info.yml file
    -------------------------------------------------------------------------------------------------------------------------------
    
    
    FILE: /Users/interns/Demo-site/drupal-org-issues/web/modules/contrib/role_specific_user_block/src/Form/RoleSpecificUserBlockSettings.php
    ----------------------------------------------------------------------------------------------------------------------------------------
    FOUND 1 ERROR AFFECTING 1 LINE
    ----------------------------------------------------------------------------------------------------------------------------------------
     20 | ERROR | Missing short description in doc comment
    ----------------------------------------------------------------------------------------------------------------------------------------
    
    Time: 127ms; Memory: 10MB
    
    โžœ  contrib

    Thank you.

  • Assigned to priyanka_chauhan31
  • ๐Ÿ‡ฎ๐Ÿ‡ณIndia priyanka_chauhan31 Noida

    Hi, Please review the patch.

Production build 0.71.5 2024