- Issue created by @corriepotter
- 🇺🇸United States corriepotter
ORIGINAL CAUSING EXCEPTION
twig_typography/twig_typography.info.ymlname: Twig Typography type: module description: Provides a twig filter to apply the PHP Typography library core: 8.x core_version_requirement: ^8.6 || ^9 package: Other # Information added by Drupal.org packaging script on 2022-04-27 version: '2.1.0' project: 'twig_typography' datestamp: 1651047442
MODIFIED CODE FIXES EXCEPTION
twig_typography/twig_typography.info.ymlname: Twig Typography type: module description: Provides a twig filter to apply the PHP Typography library core_version_requirement: ^8.7.7 || ^9 package: Other # Information added by Drupal.org packaging script on 2022-04-27 version: '2.1.0' project: 'twig_typography' datestamp: 1651047442
- 🇮🇳India Kaustab_Roy
I installed the project via composer from the project page ( https://www.drupal.org/project/twig_typography → ).
For me both on drupal 10.1.x & 9.5.6, the info file have the following:
core_version_requirement: ^8.7.7 || ^9 || ^10
With no "core" key.
So no error found. - 🇺🇸United States corriepotter
@Kaustab_Roy
I think that I found how to reproduce this.Using the following code you will get the core key
composer require 'drupal/twig_typography:^2.1'
Using the following code you don't and everything works as expected.
composer require 'drupal/twig_typography'
- 🇺🇸United States corriepotter
Looks like this was fixed but the composer install code still needs to be updated
https://git.drupalcode.org/project/twig_typography/-/commit/151cee38e332...