Problem/Motivation

Through #3258101: Make CAPTCHA Drupal 10 compatible a bunch of deprecated code found its way in to this module's repository. As it is flagged with "@phpstan-ignore-next-line" it won't get noticed by any deprecation tools nor the Drupal CI.

Steps to reproduce

Proposed resolution

Remove / Adjust the deprecated code.

Remaining tasks

User interface changes

API changes

Data model changes

Comments

Grevil created an issue. See original summary.

grevil’s picture

As in #3258101: Make CAPTCHA Drupal 10 compatible already mentioned, the code in question seems like a fallback for older Drupal versions and can PROBABLY removed safely here.

ressa’s picture

Thanks @Grevil, I have added this issue to #3320867: [META][2.x] CAPTCHA 2.0.x release.

grevil’s picture

Status: Active » Closed (duplicate)

THX @ressa! I actually already mentioned the problem in #3316486: [2.x] Code review, cleanup and tests, so I am going to fix this issue there, with the other remaining issues, remove the part in the meta issue and close this one! :)