File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,8 @@ matrix:
32
32
env : SYMFONY_VERSION=2.8.*
33
33
- php : 7.0
34
34
env : SYMFONY_VERSION=3.0.*
35
+ - php : 7.1
36
+ env : DEPENDENCIES=beta
35
37
36
38
allow_failures :
37
39
- php : nightly
42
44
43
45
before_install :
44
46
- phpenv config-rm xdebug.ini || echo "xdebug not available";
47
+ - if [ "$DEPENDENCIES" = "beta" ]; then perl -pi -e 's/^}$/,"minimum-stability":"beta"}/' composer.json; fi;
45
48
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/framework-bundle "$SYMFONY_VERSION"; fi
46
49
- if [ "$COMPOSER_FLAGS" != "" ]; then composer update --prefer-dist --no-interaction --no-scripts $COMPOSER_FLAGS; fi;
47
50
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ protected function loadMultipleConsumers()
255
255
foreach ($ consumer ['queues ' ] as $ queueName => $ queueOptions ) {
256
256
$ queues [$ queueOptions ['name ' ]] = $ queueOptions ;
257
257
$ queues [$ queueOptions ['name ' ]]['callback ' ] = array (new Reference ($ queueOptions ['callback ' ]), 'execute ' );
258
- $ callbacks [] = new Reference ( $ queueOptions ['callback ' ]) ;
258
+ $ callbacks [] = $ queueOptions ['callback ' ];
259
259
}
260
260
261
261
$ definition = new Definition ('%old_sound_rabbit_mq.multi_consumer.class% ' );
You can’t perform that action at this time.
0 commit comments