Skip to content

Commit e6a8cff

Browse files
authored
Merge pull request #414 from php-amqplib/feature/composer
Adjust Composer autoloader to exclude tests from classmap
2 parents bce6455 + a3fa9b1 commit e6a8cff

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "php-amqplib/rabbitmq-bundle",
33
"type": "symfony-bundle",
4-
"description": "Integrates php-amqplib with Symfony2|3 and RabbitMq. Formerly oldsound/rabbitmq-bundle.",
4+
"description": "Integrates php-amqplib with Symfony & RabbitMq. Formerly oldsound/rabbitmq-bundle.",
55
"keywords": ["symfony2", "rabbitmq", "message", "queue", "amqp"],
66
"license": "MIT",
77
"authors": [{
@@ -37,6 +37,14 @@
3737
"autoload": {
3838
"psr-4": {
3939
"OldSound\\RabbitMqBundle\\": ""
40+
},
41+
"exclude-from-classmap": [
42+
"/Tests/"
43+
]
44+
},
45+
"autoload-dev": {
46+
"psr-4": {
47+
"OldSound\\RabbitMqBundle\\Tests\\": "Tests/"
4048
}
4149
}
4250
}

0 commit comments

Comments
 (0)