Skip to content

Commit 5af1b67

Browse files
authored
Load Tests with autoloader only in dev
1 parent ae4bf49 commit 5af1b67

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)