cu-uis / cu-starterkit-project

Development repository for Pantheon's recommended (future) Drupal 9+ upstream
1 stars 2 forks source link

Maintenance - Drupal Views Reference module does not support PHP 8.1 #18

Open meschenbaum opened 2 years ago

meschenbaum commented 2 years ago

Describe the bug The current version of drupal/viewsreference:1.7 supports PHP 8.0 but not 8.1. The 2.0 version should support it as it does not have a PHP requirement. However, it is still in beta. We'll need this resolved for Drupal 10 upgrade.

https://www.drupal.org/project/viewsreference

To Reproduce Steps to reproduce the behavior:

  1. Install a PHP@8.1
  2. Run a composer install
  3. See error.
    Problem 1
    - Root composer.json requires drupal/viewsreference == 1.7.0.0 -> satisfiable by drupal/viewsreference[1.7.0].
    - drupal/viewsreference 1.7.0 requires php ^5.5|^7.0 -> your php version (8.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
    Problem 2
    - drupal/viewsreference 1.7.0 requires php ^5.5|^7.0 -> your php version (8.0; overridden via config.platform, actual: 8.1.3) does not satisfy that requirement.
    - cu-starterkit/upstream-configuration 1.0.0 requires drupal/viewsreference ^1.7 -> satisfiable by drupal/viewsreference[1.7.0].
    - Root composer.json requires cu-starterkit/upstream-configuration == 1.0.0.0 -> satisfiable by cu-starterkit/upstream-configuration[1.0.0].

Expected behavior Should not get any errors or warnings about compatibility issues.

Desktop (please complete the following information):