Skip to content

Commit 5d2ef99

Browse files
Merge pull request #146 from alexander-schranz/patch-1
Exclude Tests directory from autoloader
2 parents 9e0106e + 6a00d41 commit 5d2ef99

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/Tests export-ignore
2+
/phpunit.xml.dist export-ignore

composer.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,11 @@
2626
"phpunit/phpunit": "<8.0"
2727
},
2828
"autoload": {
29-
"psr-4" : { "Matthias\\SymfonyDependencyInjectionTest\\" : "" }
29+
"psr-4" : { "Matthias\\SymfonyDependencyInjectionTest\\" : "" },
30+
"exclude-from-classmap": ["/Tests/"]
31+
},
32+
"autoload-dev": {
33+
"psr-4" : { "Matthias\\SymfonyDependencyInjectionTest\\Tests\\" : "Tests/" }
3034
},
3135
"extra": {
3236
"branch-alias": {

0 commit comments

Comments
 (0)