[RCD] Composer: Undefined index error, possible caused in PluginInstaller

Phil Weir roundcube at tehinterweb.co.uk
Fri Jul 24 15:10:20 CEST 2015


> In PluginInstaller.php there is `$constraint = new
> VersionConstraint($version, $operator);` on line 168 BUT in the
> VersionConstraint class in Composer the args are the other way round 
> see
> https://github.com/composer/composer/blob/master/src/Composer/Package/LinkCo
> nstraint/VersionConstraint.php#L60
> 

I found this recent change which might explain why code which was 
silently failing before does not any more 
https://github.com/composer/composer/commit/8dd110e0a986036064edc4d259d8b5d627e2e07d


More information about the dev mailing list