Add core_version_requirement: ^8 || ^9 to vppr.info.yml to designate that the module is compatible with Drupal 9.
See https://www.drupal.org/node/3070687.

drupal-check & rector reports okay.

> drupal-check -ad modules/custom/vppr
 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

                                                                                                                        
 [OK] No errors                                                                                                         
                                                                                                                        
> vendor/bin/rector process modules/custom/vppr --dry-run
Rector 0.8.x-dev@8896f0a
Config file: rector.yml

 12/12 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

                                                                                                                        
 [OK] Rector is done!                                                                                                   
                                                                                                                        

                    
CommentFileSizeAuthor
#2 3131603-2.patch253 bytesjaykandari
#6 3131603-6.patch807 bytesjaykandari

Comments

JayKandari created an issue. See original summary.

jaykandari’s picture

Assigned: jaykandari » Unassigned
Issue summary: View changes
Status: Active » Needs review
StatusFileSize
new253 bytes

Added a patch. Kindly Review.

ankush_03’s picture

ankushgautam@GGN-199732-C02ZT1F1MD6V contrib % drupal-check vppr
4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

[OK] No errors

ankushgautam@GGN-199732-C02ZT1F1MD6V contrib % drupal-check -ad vppr
4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

------ -----------------------------------------------------------------
Line src/VpprPermissions.php
------ -----------------------------------------------------------------
33 PHPDoc tag @param references unknown parameter: $entity_manager

Please fix it :

* @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager change it to * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager

Otherwise looks good to me !

nehajyoti’s picture

Applying patch in #2 as of now to atleast make a 9.x version release. Another patch can be added to in this same issue regarding changes mentioned by AnkushGautam76.

ankush_03’s picture

Status: Needs review » Reviewed & tested by the community

As per #3 there is no blocker in module only minor comment changes so marking it RTBC !

jaykandari’s picture

Status: Reviewed & tested by the community » Needs review
StatusFileSize
new807 bytes

Updated the patch with recommendations in #3. Thanks @ankush. :)

Please review.

  • nehajyoti committed 2d122f4 on 9.x-1.x authored by JayKandari
    Issue #3131603 by JayKandari, ankushgautam76@gmail.com, nehajyoti:...
ankush_03’s picture

Status: Needs review » Reviewed & tested by the community

Looks Good !

  • nehajyoti committed ba3147f on 8.x-1.x authored by JayKandari
    Issue #3131603 by JayKandari, ankushgautam76@gmail.com, nehajyoti:...
nehajyoti’s picture

nehajyoti’s picture

Version: 8.x-1.x-dev » 8.x-1.1
Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

kristen pol’s picture

Issue tags: +Drupal 9 compatibility

Adding missing tag.