Problem/Motivation
Attempting to install config_rewrite via Composer on PHP 8 results in the following error:
- drupal/config_rewrite 1.3.0 requires php ^7.1 -> your PHP version (8.0.0) does not satisfy that requirement.
- drupal/config_rewrite 1.x-dev requires php ^7.1 -> your PHP version (8.0.0) does not satisfy that requirement.
This is due to the fact that the module has a requirement on "php": "^7.1", which allows versions 7.1+ but not 8. This was added by #3099765: Version 8.x-1.2 does not work with php<7.1.
Proposed resolution
Change "php": "^7.1" to "php": ">=7.1" in this module's composer.json. This will enforce 7.1+, but also allow 8.
User interface changes
None.
API changes
None.
Data model changes
None.
Comments
Comment #2
m.stentaComment #4
m.stentaPlease ignore the merge request - I accidentally based it off the 8.x-2.x branch. First time trying this feature. :-)
My hope is I can use the issue branch to start using this in my composer.json before it gets merged (cweagans/composer-patches does not work for composer.json files).
Comment #7
sylus commentedIs it possible to merge this in, without this i am stuck on upgrading Drupal.
Comment #9
kevinfunkComment #10
sylus commentedThank you so much :D Appreciate it!