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

drupal-check against captcha_questions 8.x-1.x-dev

drupal-check -ad modules/contrib/captcha_questions                   
 4/4 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%

 ------ ------------------------------------------------------------------------------------------------------------- 
  Line   src/Form/CaptchaQuestionsSettingsForm.php                                                                    
 ------ ------------------------------------------------------------------------------------------------------------- 
  39     Access to an undefined property Drupal\captcha_questions\Form\CaptchaQuestionsSettingsForm::$moduleHandler.  
  92     Access to an undefined property Drupal\captcha_questions\Form\CaptchaQuestionsSettingsForm::$moduleHandler.  
  101    Access to an undefined property Drupal\captcha_questions\Form\CaptchaQuestionsSettingsForm::$moduleHandler.  
  174    Access to an undefined property Drupal\captcha_questions\Form\CaptchaQuestionsSettingsForm::$moduleHandler.  
  259    \Drupal calls should be avoided in classes, use dependency injection instead                                 
  263    \Drupal calls should be avoided in classes, use dependency injection instead                                 
  298    Access to an undefined property Drupal\captcha_questions\Form\CaptchaQuestionsSettingsForm::$moduleHandler.  
 ------ ------------------------------------------------------------------------------------------------------------- 
CommentFileSizeAuthor
#2 3132420-2.patch3.7 KBhardik_patel_12

Comments

Hardik_Patel_12 created an issue. See original summary.

hardik_patel_12’s picture

Assigned: hardik_patel_12 » Unassigned
Status: Needs work » Needs review
StatusFileSize
new3.7 KB

Kindly review the patch.

yogeshmpawar’s picture

Issue summary: View changes
yogeshmpawar’s picture

Assigned: Unassigned » yogeshmpawar

yogeshmpawar’s picture

Assigned: yogeshmpawar » Unassigned
Status: Needs review » Fixed

Committed & Pushed to 8.x-1.x branch & will create a new release soon.

kristen pol’s picture

Title: Drupal 9 Readiness and Deprecated Code Report » Drupal 9 Compatibility and Deprecated Code Report
Issue tags: -Drupal 9 readiness

Per a Slack discussion with Gábor Hojtsy last year regarding usage of D9 tags (Drupal 9, Drupal 9 compatibility, Drupal 9 readiness, etc.), "Drupal 9 compatibility" should be used for contributed projects that need updating and "Drupal 9" was the old tag for D8 issues before the D9 branch was ready. Doing title and tag cleanup here based on that discussion. Please use "Drupal 9 compatibility" for titles and tags on other issues. Thanks.

Status: Fixed » Closed (fixed)

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