[3.x] Update test environment for PHP 7.2 to compatible PHPUnit version#284
Open
WyriHaximus wants to merge 1 commit intoreactphp:3.xfrom
Open
[3.x] Update test environment for PHP 7.2 to compatible PHPUnit version#284WyriHaximus wants to merge 1 commit intoreactphp:3.xfrom
WyriHaximus wants to merge 1 commit intoreactphp:3.xfrom
Conversation
Since [composer `2.9`](https://github.com/composer/composer/releases/tag/2.9.0) it blocks installing package versions with [known CVE's](composer/composer#11956). This only affects PHP version 7.2 and up, 7.1 and lower use composer `2.2.27` (at the time of writing). So any open CVE's aren't an issue when running composer install. The reason this became an issue now is that with [`CVE-2026-24765`](GHSA-vvj3-c3rp-c85p) affecting all PHPUnit versions before versions `8.5.52`, `9.6.33`, `10.5.62`, `11.5.50`, and `12.5.8`. There is no PHPUnit version in the `^7.5` range that isn't effected, this we're adding `^8.5` to the version range and thus we get the only not impacted version in te `^8.5` range `8.5.52`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since composer
2.9it blocks installing package versions with known CVE's. This only affects PHP version 7.2 and up, 7.1 and lower use composer2.2.27(at the time of writing). So any open CVE's aren't an issue when running composer install. The reason this became an issue now is that withCVE-2026-24765affecting all PHPUnit versions before versions8.5.52,9.6.33,10.5.62,11.5.50, and12.5.8. There is no PHPUnit version in the^7.5range that isn't effected, this we're adding^8.5to the version range and thus we get the only not impacted version in te^8.5range8.5.52.