@@ -1,11 +1,8 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -use Behat\Behat\Context\ClosuredContextInterface, |
|
4 | - Behat\Behat\Context\TranslatedContextInterface, |
|
5 | - Behat\Behat\Context\BehatContext, |
|
6 | - Behat\Behat\Exception\PendingException; |
|
7 | -use Behat\Gherkin\Node\PyStringNode, |
|
8 | - Behat\Gherkin\Node\TableNode; |
|
3 | +use Behat\Behat\Context\BehatContext; |
|
4 | +use Behat\Behat\Exception\PendingException; |
|
5 | +use Behat\Gherkin\Node\PyStringNode; |
|
9 | 6 | |
10 | 7 | require __DIR__ . "/../../vendor/autoload.php"; |
11 | 8 |
@@ -2,11 +2,11 @@ |
||
2 | 2 | |
3 | 3 | namespace ETNA\Silex\Provider\RabbitMQ; |
4 | 4 | |
5 | +use ETNA\Silex\Provider\Console\SilexCommand; |
|
5 | 6 | use Symfony\Component\Console\Input\InputArgument; |
6 | 7 | use Symfony\Component\Console\Input\InputInterface; |
7 | 8 | use Symfony\Component\Console\Input\InputOption; |
8 | 9 | use Symfony\Component\Console\Output\OutputInterface; |
9 | -use ETNA\Silex\Provider\Console\SilexCommand; |
|
10 | 10 | |
11 | 11 | class Consumer extends SilexCommand |
12 | 12 | { |
@@ -2,18 +2,16 @@ |
||
2 | 2 | |
3 | 3 | namespace ETNA\Silex\Provider\RabbitMQ; |
4 | 4 | |
5 | -use Pimple\ServiceProviderInterface; |
|
6 | -use Pimple\Container; |
|
7 | -use Symfony\Component\Routing\Generator\UrlGenerator; |
|
8 | -use OldSound\RabbitMqBundle\RabbitMq\Producer; |
|
9 | -use OldSound\RabbitMqBundle\RabbitMq\Consumer; |
|
10 | 5 | use OldSound\RabbitMqBundle\RabbitMq\AnonConsumer; |
6 | +use OldSound\RabbitMqBundle\RabbitMq\Consumer; |
|
11 | 7 | use OldSound\RabbitMqBundle\RabbitMq\MultipleConsumer; |
8 | +use OldSound\RabbitMqBundle\RabbitMq\Producer; |
|
12 | 9 | use OldSound\RabbitMqBundle\RabbitMq\RpcClient; |
13 | 10 | use OldSound\RabbitMqBundle\RabbitMq\RpcServer; |
14 | 11 | use PhpAmqpLib\Connection\AMQPConnection; |
15 | -use PhpAmqpLib\Connection\AMQPLazyConnection; |
|
16 | 12 | use PhpAmqpLib\Connection\AMQPSSLConnection; |
13 | +use Pimple\Container; |
|
14 | +use Pimple\ServiceProviderInterface; |
|
17 | 15 | |
18 | 16 | /** |
19 | 17 | * Code repris de fiunchinho/rabbitmq-service-provider en attendant la compatibilité |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace ETNA\Silex\Provider\RabbitMQ; |
4 | 4 | |
5 | -use Silex\Application; |
|
6 | 5 | use Pimple\Container; |
7 | 6 | use Pimple\ServiceProviderInterface; |
8 | 7 |