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

JsonException core PHP class, polyfilled by Symfony, incorrectly replaced #79

Closed
BrianHenryIE opened this issue Nov 20, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@BrianHenryIE
Copy link
Owner

BrianHenryIE commented Nov 20, 2023

https://github.com/JsonMapper/JsonMapper

src/JsonMapper.php:224

throw new \JsonException(json_last_error_msg(), \json_last_error());

to:

throw new \My_Prefix_JsonExceptionJsonException\json_last_error());

https://github.com/symfony/polyfill-php73/blob/1.x/Resources/stubs/JsonException.php

https://www.php.net/manual/en/class.jsonexception.php

@BrianHenryIE BrianHenryIE added the bug Something isn't working label Nov 20, 2023
@BrianHenryIE BrianHenryIE changed the title jsonmapper Incorrectly prefixing JsonException core PHP class. Nov 20, 2023
@BrianHenryIE BrianHenryIE changed the title Incorrectly prefixing JsonException core PHP class. JsonException core PHP class, polyfilled by Symfony, incorrectly replaced Nov 20, 2023
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

1 participant