1 | <?php |
||||
2 | |||||
3 | namespace OldSound\RabbitMqBundle\Tests\RabbitMq\Fixtures; |
||||
4 | |||||
5 | use PhpAmqpLib\Connection\AMQPSSLConnection as BaseAMQPSSLConnection; |
||||
6 | |||||
7 | class AMQPSSLConnection extends BaseAMQPSSLConnection |
||||
0 ignored issues
–
show
Deprecated Code
introduced
by
![]() |
|||||
8 | { |
||||
9 | public $constructParams; |
||||
10 | |||||
11 | public static $createConnectionParams; |
||||
12 | |||||
13 | public function __construct() |
||||
14 | { |
||||
15 | // save params for direct access in tests |
||||
16 | $this->constructParams = func_get_args(); |
||||
17 | } |
||||
18 | |||||
19 | public static function create_connection($hosts, $options = []) |
||||
20 | { |
||||
21 | // save params for direct access in tests |
||||
22 | self::$createConnectionParams = func_get_args(); |
||||
23 | |||||
24 | return parent::create_connection($hosts, $options); |
||||
0 ignored issues
–
show
The function
PhpAmqpLib\Connection\Ab...on::create_connection() has been deprecated: Use AMQPConnectionFactory.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This function has been deprecated. The supplier of the function has supplied an explanatory message. The explanatory message should give you some clue as to whether and when the function will be removed and what other function to use instead. ![]() |
|||||
25 | } |
||||
26 | } |
||||
27 |