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.

CommentFileSizeAuthor
#2 3186484-2.patch236 bytesm.stenta
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

m.stenta created an issue. See original summary.

m.stenta’s picture

Status: Active » Needs review
StatusFileSize
new236 bytes

m.stenta’s picture

Version: 8.x-2.x-dev » 8.x-1.x-dev

Please 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).

sylus’s picture

Is it possible to merge this in, without this i am stuck on upgrading Drupal.

kevinfunk’s picture

Status: Needs review » Fixed
sylus’s picture

Thank you so much :D Appreciate it!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.