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.1 compatibility #239

Open
Pascal76 opened this issue Nov 13, 2022 · 7 comments
Open

php 8.1 compatibility #239

Pascal76 opened this issue Nov 13, 2022 · 7 comments

Comments

@Pascal76
Copy link

Hello,

PHP 7.4 is being EOL very soon.
A lot of people will migrate to PHP 8.1.
Could you make this librairy compatible please ?

Ex:
PHP Deprecated: Return type of SendinBlue\Client\Model\GetEmailCampaigns::offsetExists($offset) should either be compatible with ArrayAccess::offs
etExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /apache_sites/jbm/lib_8.1/vendor/sendinblue/api-v3-sdk/li
b/Model/GetEmailCampaigns.php

@Clemweb
Copy link

Clemweb commented Nov 14, 2022

Up

@deguif
Copy link

deguif commented Nov 23, 2022

This has been contributed upstream on the swagger-codegen generator project : swagger-api/swagger-codegen#11846

This was released as of version 1.0.36 : https://github.com/swagger-api/swagger-codegen-generators/releases/tag/v1.0.36

To fix these deprecations the classes should be generated with the new tool version.

@david-services
Copy link

Up

@barto74
Copy link

barto74 commented Dec 16, 2022

Please update the API as very soon as possible as PHP7 is EOL.

@stkrelax
Copy link

stkrelax commented Jan 4, 2023

Could you please update the library ???

@preetishishodia7
Copy link
Contributor

HI, currently we are supporting PHP 7.4. We are working on it to support php 8+.

@deguif
Copy link

deguif commented Jan 5, 2023

Should be fixed with the latest release, published an hour ago

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

7 participants