Skip to content

Commit 2f88b76

Browse files
authored
Merge pull request #255 from rvitaliy/patch-1
Load Tests with autoloader only in dev
2 parents ae4bf49 + 5af1b67 commit 2f88b76

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

composer.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,13 @@
3333
"phpstan/phpstan-strict-rules": "^0.9"
3434
},
3535
"autoload": {
36-
"psr-4": { "Doctrine\\Bundle\\MigrationsBundle\\": "" }
36+
"psr-4": { "Doctrine\\Bundle\\MigrationsBundle\\": "" },
37+
"exclude-from-classmap": [
38+
"/Tests/"
39+
]
3740
},
3841
"autoload-dev": {
39-
"psr-4": { "Doctrine\\Bundle\\MigrationsBundle\\Tests\\": "" }
42+
"psr-4": { "Doctrine\\Bundle\\MigrationsBundle\\Tests\\": "Tests" }
4043
},
4144
"extra": {
4245
"branch-alias": {

0 commit comments

Comments
 (0)