File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 12
12
"php" : " ^8.0" ,
13
13
"ext-json" : " *" ,
14
14
"illuminate/queue" : " ^9.0|^10.0" ,
15
- "php-amqplib/php-amqplib" : " ^v3.3 "
15
+ "php-amqplib/php-amqplib" : " ^v3.4 "
16
16
},
17
17
"require-dev" : {
18
18
"phpunit/phpunit" : " ^9.3" ,
Original file line number Diff line number Diff line change @@ -159,11 +159,6 @@ protected static function getReadWriteTimeout(AMQPConnectionConfig $config): flo
159
159
160
160
protected static function getSslOptions (AMQPConnectionConfig $ config ): array
161
161
{
162
- $ securityLevel = null ;
163
- if (method_exists ($ config , 'getSslSecurityLevel ' )) {
164
- $ securityLevel = $ config ->getSslSecurityLevel ();
165
- }
166
-
167
162
return array_filter ([
168
163
'cafile ' => $ config ->getSslCaCert (),
169
164
'capath ' => $ config ->getSslCaPath (),
@@ -173,7 +168,7 @@ protected static function getSslOptions(AMQPConnectionConfig $config): array
173
168
'verify_peer_name ' => $ config ->getSslVerifyName (),
174
169
'passphrase ' => $ config ->getSslPassPhrase (),
175
170
'ciphers ' => $ config ->getSslCiphers (),
176
- 'security_level ' => $ securityLevel ,
171
+ 'security_level ' => $ config -> getSslSecurityLevel () ,
177
172
], static function ($ value ) {
178
173
return $ value !== null ;
179
174
});
You can’t perform that action at this time.
0 commit comments