- 🇺🇸United States loopy1492
After applying the patch, this module still has a few problems:
modules/contrib/twig_render_this/src/TwigExtension/RenderThis.php 12 Class Drupal\twig_render_this\TwigExtension\RenderThis extends deprecated class Twig_Extension: since Twig 2.7, use "Twig\Extension\AbstractExtension" instead
modules/contrib/twig_render_this/src/TwigExtension/RenderThis.php 26 Instantiation of deprecated class Twig_SimpleFilter: since Twig 2.7, use "Twig\TwigFilter" instead
modules/contrib/twig_render_this/twig_render_this.info.yml 0 Value of core_version_requirement: ^8 || ^9 is not compatible with the next major version of Drupal core. See https://drupal.org/node/3070687..I also have been getting these, but I think they are issues with the Upgrade Status module, not this module:
/var/www/vendor/mglaman/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Field/FieldItemList.stub 7 Class Drupal\Core\Field\FieldItemList extends unknown class Drupal\Core\TypedData\Plugin\DataType\ItemList.
/var/www/vendor/mglaman/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Field/FieldItemList.stub 7 Class Drupal\Core\Field\FieldItemList implements generic interface Drupal\Core\Field\FieldItemListInterface but does not specify its types: T
/var/www/vendor/mglaman/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Field/FieldItemList.stub 12 Method Drupal\Core\Field\FieldItemList::createItem() has parameter $offset with no type specified.
/var/www/vendor/mglaman/phpstan-drupal/src/Drupal/../../stubs/Drupal/Core/Field/FieldItemList.stub 12 Method Drupal\Core\Field\FieldItemList::createItem() has parameter $value with no type specified. - @loopy1492 opened merge request.
- 🇺🇸United States loopy1492
I merged the two patches together and applied them to a new branch, then fixed the last two issues on RenderThis.php regarding the TwigFilter. I've tried this code out on our site and the rendering still seems to work fine.
- Assigned to gnikolovski
-
gnikolovski →
committed 4fb024fe on 2.0.x authored by
loopy1492 →
Issue #3290165 by Project Update Bot, loopy1492, gnikolovski: Automated...
-
gnikolovski →
committed 4fb024fe on 2.0.x authored by
loopy1492 →
- Status changed to Fixed
over 1 year ago 7:50pm 22 April 2023 Automatically closed - issue fixed for 2 weeks with no activity.