Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
A follow-up to #2864037: [META] Update core PHP dependencies. See https://github.com/zendframework/zend-diactoros/releases
Proposed resolution
Update the library
Remaining tasks
- Patch
- Review
- Commit
User interface changes
None
API changes
None
Data model changes
None
Comment | File | Size | Author |
---|---|---|---|
#10 | 2874817-10.patch | 506 bytes | prestonso |
#3 | update-2874817-3.patch | 2.14 KB | jibran |
Comments
Comment #2
jibranComment #3
jibranNew patch after #2488860: Bring phpunit bridge into drupal and use it for unit tests and simpletest to handle Deprecation.
Comment #4
mpdonadioI think we have enough test coverage around the Zend related things to catch any problems that this may cause. Release history from 1.3.10 to 1.4.0 also looks pretty tame.
Comment #6
mpdonadioKnown random fail.
Comment #8
catchComment #10
prestonso CreditAttribution: prestonso as a volunteer commentedWhile this commit updated composer.lock, it didn't update the corresponding entry in composer.json, where
zendframework/zend-diactoros
is still listed as^1.1
. Luckily, the version discrepancy doesn't actually cause any issues, since composer.lock is under version control, and even when solely relying on composer.json, Composer fetches the latest version.Nonetheless, because composer.json is intended to be an authoritative manifest of dependencies, this should be addressed. This issue should probably be reopened to take this into account. This patch resolves the version discrepancy between the two files.
Comment #11
prestonso CreditAttribution: prestonso as a volunteer commentedI've created a follow-up issue to reflect the discrepancies between composer.json and composer.lock: #2899106: Ensure all minor versions in composer.json match composer.lock. A patch is available there as well.