cypht-org / cypht

Cypht: Lightweight Open Source webmail aggregator [PHP, JS]
http://cypht.org
GNU Lesser General Public License v2.1
979 stars 154 forks source link

[UPD]composer.json: composer create-project installing older version #943

Closed christer77 closed 5 months ago

christer77 commented 5 months ago

related issue

marclaporte commented 5 months ago

@Shadow243 Since composer.json has "ezyang/htmlpurifier": "^4.16", it should get 4.17, 4.18, etc. right?

marclaporte commented 5 months ago

Yes, we are already getting: https://github.com/cypht-org/cypht/blob/master/composer.lock#L249

@christer77 I don''t understand how this MR fixes the issue

marclaporte commented 5 months ago

@christer77 I merged this because it leads to updating composer.lock so we get latest dependencies, but your change of ezyang/htmlpurifier in composer.json had no impact on composer.lock

ezyang/htmlpurifier ^4.13 means 4.13 or higher. https://getcomposer.org/doc/articles/versions.md#caret-version-range-

So if this MR fixes the intended bug, it comes from another dependency.