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

Compatibility with Xdebug 3.0.0 #452

Open
gggeek opened this issue Dec 6, 2020 · 1 comment
Open

Compatibility with Xdebug 3.0.0 #452

gggeek opened this issue Dec 6, 2020 · 1 comment

Comments

@gggeek
Copy link

gggeek commented Dec 6, 2020

In PHPUnit/Extensions/SeleniumCommon/prepend.php there is usage of the XDEBUG_CC_UNUSED constant, which has been removed from xdebug 3.0

@gggeek
Copy link
Author

gggeek commented Dec 6, 2020

ok, so it seems that XDEBUG_CC_UNUSED is not 'completely' doppped - but that it is only defined when xdebug mode includes code coverage... which is a bug fixed apparently in xdbg 3.0.1 (see https://twitter.com/derickr/status/1335544409555947520 and https://bugs.xdebug.org/bug_view_page.php?bug_id=00001903).

I guess that this means that a possible fix would be to either:

  • add an if defined to the code,
  • or mark this package incompatible with xdebug 3.0.0 in composer.json

@gggeek gggeek changed the title Compatibility with Xdebug 3 Compatibility with Xdebug 3.0 Dec 6, 2020
@gggeek gggeek changed the title Compatibility with Xdebug 3.0 Compatibility with Xdebug 3.0.0 Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant