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
Revert #1060 #1066
Revert #1060 #1066
Conversation
I do not support this revert. We cannot evolve if we support all incorrect library use. |
47afa47
to
04aeb5d
Compare
It's alright, we'll fix this for good in |
04aeb5d
to
561d9c0
Compare
Codecov Report
@@ Coverage Diff @@
## master #1066 +/- ##
============================================
+ Coverage 72.92% 73.33% +0.40%
- Complexity 1016 1018 +2
============================================
Files 39 39
Lines 3084 3090 +6
============================================
+ Hits 2249 2266 +17
+ Misses 835 824 -11
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this revert is temporary until version 4.0 then we should throw some kind of deprecation warning when a non secure "SSL" connection is being created.
That's a great idea - how would you prefer to do that? Feel free to push code to my branch, by the way. |
Looks like I will test this out. |
2dba00c
to
c2ef556
Compare
@ramunasd this appears to do the right thing: Calling |
21e0ec3
to
052490f
Compare
8be23f1
to
da998af
Compare
Fixes php-amqplib#1065 Add deprecation error Add non-TLS SSL test Only trigger_error in version 8 and higher do not report user deprecations as errors in phpunit Update PhpAmqpLib/Connection/AMQPSSLConnection.php Co-authored-by: Andrii Dembitskyi <andrew.dembitskiy@gmail.com> Co-authored-by: Andrii Dembitskyi <andrew.dembitskiy@gmail.com>
Fixes #1065