checkComposerLockUpToDate: Always check dependencies
authorKunal Mehta <legoktm@member.fsf.org>
Sun, 16 Oct 2016 19:49:41 +0000 (12:49 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Sun, 16 Oct 2016 19:49:41 +0000 (12:49 -0700)
commit75fefc066b892ef24aa99a2780fbbe21ba7a84da
treebe8767f3cbf1e4626ce827bcee65f7a7c2f367de
parentb02f949c500b66c1886c82eb454e8bdf6826e057
checkComposerLockUpToDate: Always check dependencies

Upstream composer has replaced the 'hash' with a smarter 'content-hash',
but instead of re-implementing (or copy-pasting) all of that in MediaWiki
we can just compare the dependencies themselves, since that's all we
care about.

Bug: T147189
Change-Id: Ic2f22a82699e2b707b6ccb355605999a183a56a0
includes/libs/composer/ComposerJson.php
includes/libs/composer/ComposerLock.php
maintenance/checkComposerLockUpToDate.php
tests/phpunit/includes/libs/composer/ComposerJsonTest.php
tests/phpunit/includes/libs/composer/ComposerLockTest.php