Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Ensure that we replace zendframework/zend-router due to class confl…
Browse files Browse the repository at this point in the history
…icts

`zendframework/zend-mvc` in version less than 3.0 is still replacing `zendframework/zend-router` due to incompatible exception changes. Therefore we should tell projects that this package is replacing `zendframework/zend-router`.
The downsides are the mentioned exception incompatibilities but even if a user is requiring `zendframework/zend-router` in version 2 and using this package as well, he wont get the expected exceptions since `zendframework/zend-mvc` is being used instead of `zendframework/zend-router`.
  • Loading branch information
boesing authored and Max Bösing committed Apr 20, 2017
1 parent 9b705d5 commit 814020d
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 60 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@
"phpunit/PHPUnit": "^4.5",
"sebastian/version": "^1.0.4"
},
"replace": {
"zendframework/zend-router": "^2.0"
},
"suggest": {
"zendframework/zend-authentication": "Zend\\Authentication component for Identity plugin",
"zendframework/zend-config": "Zend\\Config component",
Expand Down
Loading

0 comments on commit 814020d

Please sign in to comment.