-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix: dynamic properties deprecation #22
Fix: dynamic properties deprecation #22
Conversation
Since PHP 8.2 dynamic properties are deprecated. See https://www.php.net/manual/en/migration82.deprecated.php The send_or_fail function sets a greeting variable (which is not used anywhere) that is not a property of the Mail_smtp class.
Merged. Thanks for your PR. I only changed the line length in the comment of the var declaration and the tabs into spaces on the indents. Thank you for your contribution. |
Editing line length of var $greetings comment an change tabs to spaces on indents
@schengawegga , is there a release planned yet containing this merge request? |
@richardbrinkman yes, I will plan a release, but I am very busy at the moment. And I want to test the PR well before I release an new version. So give me a little bit more time to test your PR. Thank you. I appreciate your effort in this project. |
Hi. |
Initialized several undefined variables and properties Fix bug giving port to constructor in smtpmx.php
Initialized several undefined variables and properties Fix bug giving port to constructor in smtpmx.php
Thanks for your hint. |
Since PHP 8.2 dynamic properties are deprecated. See https://www.php.net/manual/en/migration82.deprecated.php The send_or_fail function sets a greeting variable (which is not used anywhere) that is not a property of the Mail_smtp class.