Problem/Motivation
I'm trying to update to php 8.3 but hit an issue with composer core dev dependencies. phpspec/prophecy v1.17.0 does not support php 8.3 which is required by phpspec/prophecy-phpunit which is a core dev dependency.
Steps to reproduce
Proposed resolution
Upgrade to https://github.com/phpspec/prophecy/releases/tag/v1.18.0
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3406622
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
Comment #2
mstrelan commentedhttps://github.com/phpspec/prophecy/issues/607
Comment #3
cilefen commentedComment #4
andypostComment #5
cilefen commentedI assume this is a task given that.
Comment #6
rajeshreeputraWe have a issue created in phpspec/prophecy and PR associated.
Comment #7
andypostreleased https://github.com/phpspec/prophecy/releases/tag/v1.18.0
Comment #9
andypostFiled MR for fix, needs backport to 10.2
Comment #10
andypostComment #11
smustgrave commentedThanks @andypost for keeping up with all these 8.3 issues!
Comment #12
longwaveGuessing we did not catch this in GitLab CI because we run
composer installon the default version of PHP (currently 8.2), and then reuse the same vendor directory artifact on the real PHP version in the tests? Should we change the pipeline, or write a build test maybe, to ensure thatcomposer installis successful on all supported versions?edit: or perhaps it's because of this in the root composer.json?
Comment #14
andypostOpened MR to test but then figured out that composer checking on
phpspec/prophecy-phpunitwhich require prophecy itselfVery probably composer does not check platform reqs for indirect dependencies
Comment #15
mondrake+1, also needed for PHPUnit 10 support. Bumping to critical, we need to have this in 10.2.0 I assume.
Comment #16
longwaveAs this is just a lockfile change I think we should roll this into #3405696: Update composer dependencies for Drupal 10.2.0 where we are going to do a final round of all PHP dependency updates.
Comment #18
andypostAdded changes to #3405696: Update composer dependencies for Drupal 10.2.0