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

XDebug enabling issue with php scalar type hint #8069

Closed
neilmatillano opened this issue Dec 11, 2017 · 4 comments
Closed

XDebug enabling issue with php scalar type hint #8069

neilmatillano opened this issue Dec 11, 2017 · 4 comments

Comments

@neilmatillano
Copy link

HHVM Version

3.21.0 rel

Standalone code, or other way to reproduce the problem

When adding xdebug.enable=1 inside php.ini and rebuilding.
Should xdebug supposed to work with php scalar type hint?

Expected result

running "composer install" should not yield any error

Actual result

[ErrorException]
Value returned from method Symfony\Flex\Flex::getFlexId() must be of type ?Symfony\Flex\string, string given ( using a symfony/flex fork -- https://github.com/MakeMeReach/flex )

@fredemmott
Copy link
Contributor

Do you have hhvm.php7.all=1 in your configuration file? Does this problem not happen if you don't have xdebug enabled?

@neilmatillano
Copy link
Author

Yes I have hhvm.php7.all => 1 but unfortunately no, the error doesnt occur if i don't add xdebug.enable.

@neilmatillano
Copy link
Author

@fredemmott : I am still stucked with this issue on enabling xdebug. Is there a possible workaround on this issue?

@lexidor
Copy link
Collaborator

lexidor commented Jun 2, 2020

I am going over old issues on this repository, to see which ones apply to the current versions of hhvm.

Support for XDebug was removed in hhvm 3.27.0.

@lexidor lexidor closed this as completed Jun 2, 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

3 participants