Skip to content

Commit

Permalink
Fix a test namespace and include them in dev classmap only (#73)
Browse files Browse the repository at this point in the history
  • Loading branch information
simonberger authored Jul 17, 2020
1 parent 4e7df16 commit 94941d9
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ language: php
php:
- 7.1
- 7.2
- 7.3
- 7.4

env:
- SYMFONY_VERSION=3.4.0
Expand Down
14 changes: 12 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "m6web/statsd-bundle",
"description" : "Add statds metrics in your symfony app. Allow you to bind metrics on any symfony event.",
"description" : "Add statsd metrics in your symfony app. Allow you to bind metrics on any symfony event.",
"type": "symfony-bundle",
"license": "MIT",
"keywords": ["symfony", "bundle", "statsd", "m6web"],
Expand All @@ -27,6 +27,16 @@
"m6web/symfony2-coding-standard" : "~1.2"
},
"autoload": {
"psr-4": { "M6Web\\Bundle\\StatsdBundle\\": "src/" }
"psr-4": {
"M6Web\\Bundle\\StatsdBundle\\": "src/"
},
"exclude-from-classmap": [
"src/Tests/"
]
},
"autoload-dev": {
"psr-4": {
"M6Web\\Bundle\\StatsdBundle\\Tests\\": "src/Tests/"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
namespace M6Web\Bundle\StatsdBundle\DependencyInjection\tests\units;
namespace M6Web\Bundle\StatsdBundle\Tests\Units\DependencyInjection;

use mageekguy\atoum;
use Symfony\Component\Config\FileLocator;
Expand Down

0 comments on commit 94941d9

Please sign in to comment.