Skip to content

Commit

Permalink
Depend on php-amqplib/php-amqplib instead of videlalvaro/php-amqplib
Browse files Browse the repository at this point in the history
the videlalvaro/php-amqplib got deprecated and was migrated
  • Loading branch information
chaintng authored and fprochazka committed May 12, 2016
1 parent 49818c4 commit 7d889ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"nette/di": "~2.2@dev",
"nette/utils": "~2.2@dev",

"videlalvaro/php-amqplib": "~2.5"
"php-amqplib/php-amqplib": "~2.6.2"
},
"require-dev": {
"nette/application": "~2.3@dev",
Expand Down
3 changes: 1 addition & 2 deletions src/Kdyby/RabbitMq/AnonymousConsumer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

namespace Kdyby\RabbitMq;

use PhpAmqpLib\Connection\AMQPConnection;



Expand All @@ -13,7 +12,7 @@
class AnonymousConsumer extends Consumer
{

public function __construct(AMQPConnection $conn)
public function __construct(Connection $conn)
{
parent::__construct($conn);

Expand Down
2 changes: 1 addition & 1 deletion tests/KdybyTests/RabbitMq/mocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ public function basic_nack($delivery_tag, $multiple = FALSE, $requeue = FALSE)



public function basic_cancel($consumer_tag, $nowait = FALSE)
public function basic_cancel($consumer_tag, $nowait = FALSE, $noreturn = false)
{
$this->calls[] = array(__FUNCTION__) + get_defined_vars();

Expand Down

0 comments on commit 7d889ac

Please sign in to comment.