Skip to content
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

setup-php claims that Xdebug is available for PHP 8.3.0-dev when it is not #685

Closed
3 of 5 tasks
sebastianbergmann opened this issue Jan 12, 2023 · 3 comments
Closed
3 of 5 tasks
Assignees
Labels
bug Something isn't working

Comments

@sebastianbergmann
Copy link

Describe the bug

For a couple of days now, PHP 8.3.0-dev does not seem to have a working Xdebug. Here is an example of the job for PHPUnit's main branch failing due to Xdebug not being available although ✓ xdebug Xdebug enabled as coverage driver is printed.

I know that Xdebug's master branch currently does not compile against PHP's master branch. I do think, however, that a message such as ✓ xdebug Xdebug enabled as coverage driver must not be printed when the extension in question is not available.

Version

  • I have checked releases, and the bug exists in the latest patch version of v1 or v2.
  • v2
  • v1

Runners

  • GitHub Hosted
  • Self Hosted

Operating systems
Ubuntu 22.04.1LTS

PHP versions
PHP 8.3.0-dev (4427b2e1ab6cc51a1b328cbb3f216ab4c955f672)

To Reproduce
https://github.com/sebastianbergmann/phpunit/blob/main/.github/workflows/ci.yml#L228

Expected behavior
Xdebug is available, PHPUnit can detect and use it

Screenshots/Logs
https://github.com/sebastianbergmann/phpunit/actions/runs/3899620984/jobs/6659488887

@sebastianbergmann sebastianbergmann added the bug Something isn't working label Jan 12, 2023
@shivammathur
Copy link
Owner

shivammathur commented Jan 12, 2023

@sebastianbergmann

The header file changes in php/php-src#10216 have affected most extensions built along with PHP 8.3 in shivammathur/php-builder. I will work on adding patches for them in the build.

@sebastianbergmann
Copy link
Author

This issue is not about the fact that an extension is currently broken, but about the fact that setup-php claims that an extension is loaded.

@shivammathur
Copy link
Owner

Released the fix in 2.24.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants