Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge a4efb20 into 5ac559c
Browse files Browse the repository at this point in the history
  • Loading branch information
core23 committed Jul 8, 2016
2 parents 5ac559c + a4efb20 commit 447c346
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions UPGRADE-2.x.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,8 @@
UPGRADE 2.x
===========

### Tests

All files under the ``Tests`` directory are now correctly handled as internal test classes.
You can't extend them anymore, because they are only loaded when running internal tests.
More information can be found in the [composer docs](https://getcomposer.org/doc/04-schema.md#autoload-dev).
8 changes: 7 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,13 @@
"predis/predis": "Install redis php"
},
"autoload": {
"psr-4": { "Sonata\\CacheBundle\\": "" }
"psr-4": { "Sonata\\CacheBundle\\": "" },
"exclude-from-classmap": [
"Tests/"
]
},
"autoload-dev": {
"psr-4": { "Sonata\\CacheBundle\\Tests\\": "Tests/" }
},
"extra": {
"branch-alias": {
Expand Down

0 comments on commit 447c346

Please sign in to comment.