8000 Update test suite to use PCOV to avoid segfault with Xdebug 3.4.2 by clue · Pull Request #278 · clue/framework-x · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Update test suite to use PCOV to avoid segfault with Xdebug 3.4.2 #278

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 7, 2025

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
0