Add docs
parent
8925b4f596
commit
04e5d725f4
|
@ -258,6 +258,8 @@ class Locker
|
||||||
return array();
|
return array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// forward compatibility with Composer 2 lock files created
|
||||||
|
// before https://github.com/composer/composer/issues/9337 was fixed
|
||||||
foreach ($lockData['aliases'] as $index => $alias) {
|
foreach ($lockData['aliases'] as $index => $alias) {
|
||||||
if (in_array($alias['version'], array('dev-master', 'dev-default', 'dev-trunk'), true)) {
|
if (in_array($alias['version'], array('dev-master', 'dev-default', 'dev-trunk'), true)) {
|
||||||
$lockData['aliases'][$index]['version'] = '9999999-dev';
|
$lockData['aliases'][$index]['version'] = '9999999-dev';
|
||||||
|
|
Loading…
Reference in New Issue