- Issue created by @Project Update Bot
This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → this patch makes this module compatible with Drupal 10! 🎉
Therefore this patch updates theinfo.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #12554This patch was created using these packages:
- mglaman/phpstan-drupal: 1.1.35
- palantirnet/drupal-rector: 0.15.1
- First commit to issue fork.
- 🇪🇸Spain dioni
By mistake I created different branches in the current fork, the good one is:
https://git.drupalcode.org/issue/collapse_text-3369249/-/tree/3369249-D1...
It allows the migration from Drupal 9 to Drupal 10.
I can't remove the other branches, if someone can that would be great.
- Status changed to Fixed
10 months ago 12:22am 27 January 2024 - 🇫🇷France dydave
Long overdue !
Really sorry about the delay on the D10 upgrade of the module !
The changes have been committed to the 2.0.x branch at #5 corresponding to the version of this ticket.
It seems the module at this point is only compatible with CKEditor4, so we'll see if there is anything we could do to further Fix: 🐛 Not compatible with CKEditor 5 RTBC .
Other than #3302051: PHP 8.1 - Deprecated function: trim(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\collapse_text\Plugin\Filter\CollapseText->processChildItem() → , it seems to be working fine with D10 and contrib CKEditor4 → , which is really not bad for a piece of code that has not been updated for two years! :D
I'll keep digging in the issue queue and try to roll in a few of the easy fixes to prepare the next stable release.
Thanks again very much for the great help, with the patches, forks and testing feedback.
Cheers! Automatically closed - issue fixed for 2 weeks with no activity.