Skip to content

Fix Travis buid #191

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

Merged
merged 1 commit into from
Jan 18, 2015
Merged

Fix Travis buid #191

merged 1 commit into from
Jan 18, 2015

Conversation

ddeboer
Copy link
Member

@ddeboer ddeboer commented Jan 18, 2015

I think we only needed minimum-stability: dev for testing against the dev version of the http-cache library. Unfortunately, all other vendors then got included in their dev versions too. It may be better to work with stable vendor versions (except http-cache) so our tests will suffer less from volatile vendors such as Symfony adding deprecation warnings, for instance. (We catch those warnings for our tests that run against dev version of Symfony thanks to #180.)

dbu added a commit that referenced this pull request Jan 18, 2015
@dbu dbu merged commit baf1823 into master Jan 18, 2015
@dbu dbu deleted the fix-build branch January 18, 2015 18:29
@dbu
Copy link
Contributor

dbu commented Jan 18, 2015

agreed. thanks!

@@ -26,6 +26,7 @@
"symfony/framework-bundle": "~2.3"
},
"require-dev": {
"friendsofsymfony/http-cache": "~1.2@dev",
Copy link
Member

Choose a reason for hiding this comment

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

don't put the same requirement in both require and require-dev (Composer warns about it). Put the dev flag directly in require (it will only affect the requirement when being in the root package anyway)

Copy link
Member Author

Choose a reason for hiding this comment

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

Hm yes, but we don't want people to get the unstable version of the library when installing a tagged version of the bundle. Do we then need to keep the minimum-stability?

Copy link
Member

Choose a reason for hiding this comment

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

@dev in requirements is root-only. It is ignored in dependencies. Only the root package can control stability restrictions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants