sonata-project / cache

[Deprecated] Cache library
https://github.com/sonata-project/cache
MIT License
332 stars 29 forks source link

fixed syntax error in composer.json #22

Closed ck-1 closed 8 years ago

ck-1 commented 8 years ago

On some composer installation this wrong logical OR (https://getcomposer.org/doc/articles/versions.md#range) results in broken builds.

core23 commented 8 years ago

IMO we don't need a double pipe. Can't figure out the exact reason but have a look at symfony: https://github.com/symfony/symfony/blob/master/composer.json#L21

ck-1 commented 8 years ago

But the composer documentation says double pipe is treated as logical or. At least some older versions of composer and especially satis fail on single pipes - double pipes work. Even if the symfony package uses wrong version constraints, I would consider using correct ones for better compability.