Skip to content

Commit 94941d9

Browse files
authored
Fix a test namespace and include them in dev classmap only (#73)
1 parent 4e7df16 commit 94941d9

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ language: php
33
php:
44
- 7.1
55
- 7.2
6+
- 7.3
7+
- 7.4
68

79
env:
810
- SYMFONY_VERSION=3.4.0

composer.json

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "m6web/statsd-bundle",
3-
"description" : "Add statds metrics in your symfony app. Allow you to bind metrics on any symfony event.",
3+
"description" : "Add statsd metrics in your symfony app. Allow you to bind metrics on any symfony event.",
44
"type": "symfony-bundle",
55
"license": "MIT",
66
"keywords": ["symfony", "bundle", "statsd", "m6web"],
@@ -27,6 +27,16 @@
2727
"m6web/symfony2-coding-standard" : "~1.2"
2828
},
2929
"autoload": {
30-
"psr-4": { "M6Web\\Bundle\\StatsdBundle\\": "src/" }
30+
"psr-4": {
31+
"M6Web\\Bundle\\StatsdBundle\\": "src/"
32+
},
33+
"exclude-from-classmap": [
34+
"src/Tests/"
35+
]
36+
},
37+
"autoload-dev": {
38+
"psr-4": {
39+
"M6Web\\Bundle\\StatsdBundle\\Tests\\": "src/Tests/"
40+
}
3141
}
3242
}

src/Tests/Units/DependencyInjection/M6WebStatsdExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace M6Web\Bundle\StatsdBundle\DependencyInjection\tests\units;
2+
namespace M6Web\Bundle\StatsdBundle\Tests\Units\DependencyInjection;
33

44
use mageekguy\atoum;
55
use Symfony\Component\Config\FileLocator;

0 commit comments

Comments
 (0)