Skip to content

Commit 89ec516

Browse files
Merge pull request #74 from alexander-schranz/patch-1
Exclude Tests directory from autoloader
2 parents e7db0f5 + be2f649 commit 89ec516

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
@@ -23,7 +23,11 @@
2323
"phpunit/phpunit": "<7.0"
2424
},
2525
"autoload": {
26-
"psr-4" : { "Matthias\\SymfonyConfigTest\\" : "" }
26+
"psr-4" : { "Matthias\\SymfonyConfigTest\\" : "" },
27+
"exclude-from-classmap": ["/Tests/"]
28+
},
29+
"autoload-dev": {
30+
"psr-4" : { "Matthias\\SymfonyConfigTest\\Tests\\" : "Tests/" }
2731
},
2832
"extra": {
2933
"branch-alias": {

0 commit comments

Comments
 (0)