-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4fd9e31
commit bf8a191
Showing
1 changed file
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Migraiton | ||
|
||
## 3.x | ||
|
||
### PHP-DI | ||
|
||
The biggist change is the support of php-di 6 and the dropped support of php-di 5. The migration is somwhat huge | ||
depending on the number of defintions. See http://php-di.org/doc/migration/6.0.html for details | ||
|
||
### API | ||
|
||
- All occurances of `Interop\Container\ContainerInterface` have been replaced with `\Psr\Container\ContainerInterface` so updated your usages accordingly | ||
- The types of `\de\codenamephp\platform\di\Container::__construct` have changed so if you instantiate the container yourself (you shouldn't, that's what the | ||
builder is for) you have to update the type of the first and 3rd parameter | ||
- All parameters of `\de\codenamephp\platform\di\Container::__construct` are now optoinal so if you just passed them because you had to, remove them | ||
|
||
### PHP | ||
|
||
PHP7 is now required for php-di 6 and type hints |