-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add missing dependencies of magento/framework #3889
Conversation
@@ -20,7 +20,8 @@ | |||
"ext-openssl": "*", | |||
"lib-libxml": "*", | |||
"ext-xsl": "*", | |||
"symfony/process": "~2.1" | |||
"symfony/process": "~2.1", | |||
"zendframework/zend-http": "~2.4.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think no need to prevent updating to 2.5 and more. So better to use ~2.4
. If it should be more than 2.4.6 - ~2.4 >=2.4.6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
^2.4.6
can be used as shorthand for >=2.4.6,<3
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have taken the requirement from magento/magento2ce
composer.json and that is "zendframework/zend-http": "~2.4.6"
at the moment.
@GordonLesti, thank you for your contribution. Unfortunately there are another missed dependencies of Magento Framwork that are declared only in root But if you are interested and may help us with resolving this issue we will be very thankful. |
Yes, my unit tests just forced me to require |
I have now added all not dev dependencies of
|
@GordonLesti Thank you for so quick response. We will process your PR |
@GordonLesti please sync with the develop branch and rerun travis builds. |
@mazhalai |
@GordonLesti sorry for asking to do it again, but can you please merge with the latest develop? |
@vrann no problem, will merge develop tomorrow and ping you again. |
Conflicts: lib/internal/Magento/Framework/composer.json
Hello @vrann
What I have not done, or what may should be done in an other future PR
|
[2.3.1-release] Bug Fixes
If I require
magento/framework
in my module, cause I'm using classMagento\Framework\HTTP\PhpEnvironment\Request
for example. My unit tests are breaking causeZend\Http\Header\HeaderInterface
is used inMagento\Framework\HTTP\PhpEnvironment\Request
, but the classZend\Http\Header\HeaderInterface
can not be found. This forces me to requirezendframework/zend-http
in my module without using any class from this library.