-
Notifications
You must be signed in to change notification settings - Fork 31
Fix Implicitly marking parameters TransactionalEmailsApi.php on php 8.4 #51
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
base: main
Are you sure you want to change the base?
Conversation
Message log : Deprecated: Brevo\Client\Api\TransactionalEmailsApi::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/app/vendor/getbrevo/brevo-php/lib/Api/TransactionalEmailsApi.php on line 72
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
Deprecated implicitly marking parameter
|
This pull request should be accepted in order to migrate to PHP 8.4 |
how can we get this merged, please advise on the process - this is creating a lot of noise in our log files |
This PR should fix #57. But as stated by @LaurentBrieu in the above issue, this fix will break compatibility with PHP < 7.1 and as such, the minimum PHP version should be updated in composer.json and I guess this will require a major release. Much needed indeed! |
+1 ! |
+1 |
+1! |
1 similar comment
+1! |
@sowmyahora2001 @nik-sib @preetishishodia7 would you please consider merging this, stop supporting PHP 5.6/7.0, and tag a new version? 🙏 |
On PHP 8.4 when we sent a transactional email, some deprecated messages are log
Message log detail : Deprecated: Brevo\Client\Api\TransactionalEmailsApi::__construct(): Implicitly marking parameter $client as nullable is deprecated, the explicit nullable type must be used instead in /var/www/app/vendor/getbrevo/brevo-php/lib/Api/TransactionalEmailsApi.php on line 72