Skip to content

Commit

Permalink
Add replace in composer.json for zf1 dependencies
Browse files Browse the repository at this point in the history
ZF1 dependencies (i.e. zf1 doctrine) require the original zf1 package. This PR adds `replace` to composer.json to make sure regular zf1 is not included in the vendor.
  • Loading branch information
dzoeteman authored Apr 12, 2019
1 parent 82a4367 commit a443732
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,8 @@
},
"archive": {
"exclude": ["/demos", "/documentation", "/tests"]
},
"replace": {
"zendframework/zendframework1": "1.*"
}
}

1 comment on commit a443732

@chaos0815
Copy link

@chaos0815 chaos0815 commented on a443732 Dec 17, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a heads up that this triggers a conflict with roave/securityadvisories. I guess its unavoidable.
Edit:
unless setting the version to >= 1.12.20

Please sign in to comment.