Skip to content

Conversation

clue
Copy link
Owner

@clue clue commented Apr 5, 2025

This changeset updates the test suite to use PCOV instead of Xdebug on PHP 8+ to avoid a segfault with Xdebug 3.4.2 on PHP 8.1+ (https://bugs.xdebug.org/view.php?id=2332). The code coverage is unchanged at 100% (#221). I've updated some of the SAPI tests to skip some HTTP response header assertions that aren't possible without Xdebug (#44), but they're still tested as part of the higher-level integration tests (#256), so this should be safe to apply.

Builds on top of #277, #221 and #44
Refs #276, reactphp/socket#322 and https://bugs.xdebug.org/view.php?id=2332

@clue clue requested a review from PaulRotmann April 5, 2025 12:10
@clue clue added this to the v0.18.0 milestone Apr 5, 2025
Copy link
Collaborator

@PaulRotmann PaulRotmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes LGTM

@PaulRotmann PaulRotmann merged commit 47dba65 into clue:main Apr 7, 2025
68 checks passed
@clue clue deleted the pcov branch April 7, 2025 06:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants