Skip to content

Commit d559aaa

Browse files
author
Justin Tangas
committed
Updating DI for iron-io/iron_mq dependency up to ~2.0
1 parent 70a39e0 commit d559aaa

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"email": "kkirk@undergroundelephant.com",
1212
"role": "developer",
1313
"homepage": "http://undergroundelephant.com"
14-
}
14+
},
1515
],
1616
"support": {
1717
"email": "kkirk@undergroundelephant.com"
@@ -28,7 +28,7 @@
2828
"require-dev": {
2929
"phpunit/phpunit": "~3.7",
3030
"aws/aws-sdk-php": "~2.5",
31-
"iron-io/iron_mq": "~1.5",
31+
"iron-io/iron_mq": "~2.0",
3232
"symfony/finder": "~2.3",
3333
"symfony/filesystem": "~2.3"
3434
},

src/DependencyInjection/UecodeQPushExtension.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,13 @@ private function createIronMQClient($config, ContainerBuilder $container, $name)
174174

175175
if (!$container->hasDefinition($service)) {
176176

177-
if (!class_exists('IronMQ')) {
177+
if (!class_exists('IronMQ\IronMQ')) {
178178
throw new \RuntimeException(
179179
'You must require "iron-io/iron_mq" to use the Iron MQ provider.'
180180
);
181181
}
182182

183-
$ironmq = new Definition('IronMQ');
183+
$ironmq = new Definition('IronMQ\IronMQ');
184184
$ironmq->setArguments([
185185
[
186186
'token' => $config['token'],

0 commit comments

Comments
 (0)