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

update for PHP 8 #7

Open
lsloan opened this issue Sep 13, 2023 · 0 comments
Open

update for PHP 8 #7

lsloan opened this issue Sep 13, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lsloan
Copy link
Member

lsloan commented Sep 13, 2023

Newer versions of PHP, like 8.0 and greater, have new syntax for defining types of function arguments and return values. This may cause problems. E.g., when using caliper-php with PHP 8.2.10, util\BasicEnum::jsonSerialize needed a return type of mixed assigned to prevent errors. (The same applies to that method on other classes, too.)

@lsloan lsloan added the enhancement New feature or request label Sep 13, 2023
@lsloan lsloan self-assigned this Sep 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant