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

Commit 814020d

Browse files
boesingMax Bösing
authored and
Max Bösing
committed
Ensure that we replace zendframework/zend-router due to class conflicts
`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`.
1 parent 9b705d5 commit 814020d

File tree

2 files changed

+62
-60
lines changed

2 files changed

+62
-60
lines changed

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@
4545
"phpunit/PHPUnit": "^4.5",
4646
"sebastian/version": "^1.0.4"
4747
},
48+
"replace": {
49+
"zendframework/zend-router": "^2.0"
50+
},
4851
"suggest": {
4952
"zendframework/zend-authentication": "Zend\\Authentication component for Identity plugin",
5053
"zendframework/zend-config": "Zend\\Config component",

0 commit comments

Comments
 (0)