- Issue created by @kevinquillen
- Status changed to Fixed
10 months ago 6:08pm 30 May 2024 Automatically closed - issue fixed for 2 weeks with no activity.
phpstan is failing checks on next major (Drupal 11) due to file_icon_class
having been deprecated in 10.3 and removed in 11. The module is also flagged for Drupal 9, but DeprecationHelper::backwardsCompatibleCall
only exists in 10.1+ which would break in Drupal 9.
Fix CS issues up to 10.3, fix remaining code issues in new 3.0.x branch targeting 11+.
https://mglaman.dev/blog/writing-backward-compatible-deprecation-fixes-c...
I think having a new release branch for 11 would support both scenarios without having to juggle calls for which function(s) to use and without breaking Drupal 9 installs.
Fixed
2.0
Code
Automatically closed - issue fixed for 2 weeks with no activity.