php 8 compatibility

Created on 26 October 2023, almost 2 years ago
Updated 4 April 2024, over 1 year ago

Problem/Motivation

I am using PHP 8.2 in my local and when i am trying to install the module, i am geting the following error:

 Problem 1
    - geocoder-php/common-http[4.1.0, ..., 4.2.0] require php ^7.0 -> your php version (8.2.0) does not satisfy that requirement.
    - geocoder-php/nominatim-provider[5.0.0, ..., 5.1.1] require php ^7.0 -> your php version (8.2.0) does not satisfy that requirement.
    - geocoder-php/common-http 4.3.0 requires php ^7.2 -> your php version (8.2.0) does not satisfy that requirement.
    - geocoder-php/nominatim-provider[5.2.0, ..., 5.3.0] require php ^7.2 -> your php version (8.2.0) does not satisfy that requirement.
    - geocoder-php/common-http[4.4.0, ..., 4.5.0] require psr/http-message ^1.0 -> found psr/http-message[1.0, 1.0.1, 1.1] but the package is fixed to 2.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - drupal/cloud dev-6.x requires geocoder-php/nominatim-provider ^5 -> satisfiable by geocoder-php/nominatim-provider[5.0.0, ..., 5.7.0].
    - drupal/cloud 6.x-dev is an alias of drupal/cloud dev-6.x and thus requires it to be installed too.
    - geocoder-php/nominatim-provider[5.4.0, ..., 5.7.0] require geocoder-php/common-http ^4.1 -> satisfiable by geocoder-php/common-http[4.1.0, ..., 4.5.0].
    - Root composer.json requires drupal/cloud 6.x-dev@dev -> satisfiable by drupal/cloud[6.x-dev (alias of dev-6.x)].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

and if we downgrade the php, if there are other module's which is depends on > php 8.0 it won't work.

Steps to reproduce

Install the module on PHP > 8 environment

🐛 Bug report
Status

Active

Version

6.0

Component

Code

Created by

🇮🇳India mukhtarm

Live updates comments and jobs are added and updated live.
  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024