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

PHP 8.3 deprecated error #54

Open
Rom1906 opened this issue Dec 22, 2024 · 1 comment
Open

PHP 8.3 deprecated error #54

Rom1906 opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels

Comments

@Rom1906
Copy link

Rom1906 commented Dec 22, 2024

Hello since PHP 8.3 we have a new issue,
Deprecated: Return type of WsdlToPhp\PackageBase\AbstractStructBase::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in XXXXXXX/wsdl/vendor/wsdltophp/packagebase/src/AbstractStructBase.php on line 11

Can you resolve please ?

@Rom1906 Rom1906 added the bug label Dec 22, 2024
@mikaelcom mikaelcom transferred this issue from WsdlToPhp/PackageGenerator Dec 31, 2024
@mikaelcom
Copy link
Member

Hi, this attribute is allowed since PHP > 8.0 whereas this library is currently provided for PHP 7.4 which is not compatible.

This would then need to provide a new major version for PHP > 8.0.

I'm not able to telle when I'll be able to provide such a version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants