Skip to content

Commit 0d1eb1e

Browse files
authored
Merge pull request #3 from rebuy-de/update-deps
Update dependencies
2 parents 7513f42 + 1cc9411 commit 0d1eb1e

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@ cache:
88

99
matrix:
1010
include:
11-
- php: 5.5
1211
- php: 5.6
1312
- php: 5.6
1413
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
1514
- php: 7
15+
- php: 7
16+
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
1617
- php: nightly
1718
- php: hhvm
1819
allow_failures:

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
}
1313
],
1414
"require": {
15-
"php": ">=5.5.0",
16-
"videlalvaro/php-amqplib": "~2.6",
15+
"php": "^5.6 || ^7.0",
16+
"php-amqplib/php-amqplib": "~2.6",
1717
"doctrine/annotations": "~1.2",
1818
"jms/serializer": "~1.0",
19-
"symfony/event-dispatcher": "~2.3",
19+
"symfony/event-dispatcher": "~2.3|~3.0",
2020
"doctrine/collections": "~1.0"
2121
},
2222
"require-dev": {
23-
"phpunit/phpunit": "^4.8",
24-
"codeception/verify": "dev-master",
23+
"phpunit/phpunit": "~5.4",
24+
"codeception/verify": "~0.3",
2525
"league/statsd": "~1.1",
26-
"symfony/stopwatch": "~2.3",
26+
"symfony/stopwatch": "~2.3|3.0",
2727
"psr/log": "^1.0"
2828
},
2929
"config": {

src/Rebuy/Amqp/Consumer/Annotation/Parser.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public function getConsumerMethods($obj)
3939
$class = new ReflectionClass($obj);
4040
$consumerMethods = [];
4141
foreach ($class->getMethods(ReflectionMethod::IS_PUBLIC) as $method) {
42+
/** @var Consumer $annotation */
4243
$annotation = $this->reader->getMethodAnnotation($method, Consumer::class);
4344
if (null === $annotation) {
4445
continue;

0 commit comments

Comments
 (0)