Skip to content

Commit

Permalink
Merge pull request #489 from weaverryan/patch-1
Browse files Browse the repository at this point in the history
Adding tests for Symfony 4 BETA
  • Loading branch information
stloyd authored Nov 27, 2017
2 parents acafbdb + eca2499 commit 7431adc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ matrix:
env: SYMFONY_VERSION=2.8.*
- php: 7.0
env: SYMFONY_VERSION=3.0.*
- php: 7.1
env: DEPENDENCIES=beta

allow_failures:
- php: nightly
Expand All @@ -42,6 +44,7 @@ env:

before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available";
- if [ "$DEPENDENCIES" = "beta" ]; then perl -pi -e 's/^}$/,"minimum-stability":"beta"}/' composer.json; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require --no-update symfony/framework-bundle "$SYMFONY_VERSION"; fi
- if [ "$COMPOSER_FLAGS" != "" ]; then composer update --prefer-dist --no-interaction --no-scripts $COMPOSER_FLAGS; fi;

Expand Down
2 changes: 1 addition & 1 deletion DependencyInjection/OldSoundRabbitMqExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ protected function loadMultipleConsumers()
foreach ($consumer['queues'] as $queueName => $queueOptions) {
$queues[$queueOptions['name']] = $queueOptions;
$queues[$queueOptions['name']]['callback'] = array(new Reference($queueOptions['callback']), 'execute');
$callbacks[] = new Reference($queueOptions['callback']);
$callbacks[] = $queueOptions['callback'];
}

$definition = new Definition('%old_sound_rabbit_mq.multi_consumer.class%');
Expand Down

0 comments on commit 7431adc

Please sign in to comment.