File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 2
2
namespace Codeception \Module ;
3
3
4
4
use Codeception \Exception \ModuleException ;
5
- use Codeception \Lib \Interfaces \RequiresPackage ;
6
5
use Codeception \Module as CodeceptionModule ;
7
6
use Codeception \TestInterface ;
8
7
use Exception ;
46
45
*
47
46
* * connection - AMQPStreamConnection - current connection
48
47
*/
49
- class AMQP extends CodeceptionModule implements RequiresPackage
48
+ class AMQP extends CodeceptionModule
50
49
{
51
50
protected $ config = [
52
51
'host ' => 'localhost ' ,
@@ -71,11 +70,6 @@ class AMQP extends CodeceptionModule implements RequiresPackage
71
70
72
71
protected $ requiredFields = ['host ' , 'username ' , 'password ' , 'vhost ' ];
73
72
74
- public function _requires ()
75
- {
76
- return ['PhpAmqpLib\Connection\AMQPStreamConnection ' => '"php-amqplib/php-amqplib": "~2.4" ' ];
77
- }
78
-
79
73
public function _initialize ()
80
74
{
81
75
$ host = $ this ->config ['host ' ];
You can’t perform that action at this time.
0 commit comments