Comments (6)
But you can have both symfony/symfony in 2.3.* and symfony/process in 2.4.* at the same time, right ?
=> I just tested, and yes, it's possible.
from gitlib.
It is indeed possible to require both with composer:
{
"require": {
"symfony/symfony": "2.3",
"symfony/process": "2.4"
}
}
But the autoloader will only use on of both. When you run --optimize-autoloader with the install command, you will see that the process component will be pointed to 2.4, which might result in errors in the application.
from gitlib.
"2.3"
would be bad, as that would get 2.3.0.0
, when you really want 2.3.x
.
from gitlib.
The sample above was to test symfony/symfony 2.3 with symfony/process 2.4.
The actual dependency for the solution would be ^2.3 which would require >=2.3.0 <2.4
from gitlib.
Anyway, I agree with the initial issue. If we can use "~2.3,~3.0" it could be much better
from gitlib.
What's the verdict here?
from gitlib.
Related Issues (20)
- Gitlab refs compatibility HOT 5
- git pull? HOT 1
- Full Docs for Gitonomy\Git
- Parsing error if there is/are git sub-repository
- doubt HOT 1
- Error parsing signed git commits
- How to get the most recent tag? HOT 3
- Can we get a new v1.3.4 release? HOT 4
- [bug][monolog] Typed property Monolog\Handler\NullHandler::$level must not be accessed before initialization HOT 3
- Remove the link to gitonomy.com on the origanization page HOT 4
- README: Test badge is broken
- No support for git submodules HOT 1
- Library takes stdout into consideration only
- Fatal bug: Avoid unintentional conversion of commit hash into a boolean
- `apply` doesn't work HOT 3
- DiffParser `$rangeNewCount` sometimes incorrect HOT 1
- Add support for symfony 7 HOT 5
- Exception with new line HOT 2
- Use git binary assigment HOT 2
- Get tree entries per type. [Old: Allow sorting of tree entries] HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gitlib.