2020-11-22 13:48:56 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This file is part of Composer.
|
|
|
|
*
|
|
|
|
* (c) Nils Adermann <naderman@naderman.de>
|
|
|
|
* Jordi Boggiano <j.boggiano@seld.be>
|
|
|
|
*
|
|
|
|
* For the full copyright and license information, please view the LICENSE
|
|
|
|
* file that was distributed with this source code.
|
|
|
|
*/
|
|
|
|
|
|
|
|
return array(
|
2020-04-19 14:00:21 +00:00
|
|
|
'root' => array(
|
|
|
|
'pretty_version' => 'dev-master',
|
|
|
|
'version' => 'dev-master',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . './',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(
|
|
|
|
'1.10.x-dev',
|
|
|
|
),
|
|
|
|
'reference' => 'sourceref-by-default',
|
|
|
|
'name' => '__root__',
|
2021-04-07 11:27:20 +00:00
|
|
|
'dev' => true,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'versions' => array(
|
|
|
|
'__root__' => array(
|
|
|
|
'pretty_version' => 'dev-master',
|
|
|
|
'version' => 'dev-master',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . './',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(
|
|
|
|
'1.10.x-dev',
|
|
|
|
),
|
|
|
|
'reference' => 'sourceref-by-default',
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'a/provider' => array(
|
|
|
|
'pretty_version' => '1.1',
|
|
|
|
'version' => '1.1.0.0',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . '/foo/bar/vendor/woop/woop',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(),
|
|
|
|
'reference' => 'distref-as-no-source',
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'a/provider2' => array(
|
|
|
|
'pretty_version' => '1.2',
|
|
|
|
'version' => '1.2.0.0',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . '/foo/bar/vendor/woop/woop',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(
|
|
|
|
'1.4',
|
|
|
|
),
|
|
|
|
'reference' => 'distref-as-installed-from-dist',
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'b/replacer' => array(
|
|
|
|
'pretty_version' => '2.2',
|
|
|
|
'version' => '2.2.0.0',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . '/foo/bar/vendor/woop/woop',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(),
|
2020-11-22 13:48:56 +00:00
|
|
|
'reference' => null,
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'c/c' => array(
|
|
|
|
'pretty_version' => '3.0',
|
|
|
|
'version' => '3.0.0.0',
|
2021-02-25 09:00:36 +00:00
|
|
|
'type' => 'library',
|
|
|
|
// @phpstan-ignore-next-line
|
|
|
|
'install_path' => $dir . DIRECTORY_SEPARATOR . '/foo/bar/vendor/woop/woop',
|
2020-04-19 14:00:21 +00:00
|
|
|
'aliases' => array(),
|
2020-11-22 13:48:56 +00:00
|
|
|
'reference' => null,
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => true,
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'foo/impl' => array(
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
'provided' => array(
|
|
|
|
'^1.1',
|
|
|
|
'1.2',
|
|
|
|
'1.4',
|
|
|
|
'2.0',
|
2020-11-22 13:48:56 +00:00
|
|
|
),
|
2020-04-19 14:00:21 +00:00
|
|
|
),
|
|
|
|
'foo/impl2' => array(
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
'provided' => array(
|
|
|
|
'2.0',
|
|
|
|
),
|
|
|
|
'replaced' => array(
|
|
|
|
'2.2',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
'foo/replaced' => array(
|
2021-02-09 10:36:19 +00:00
|
|
|
'dev-requirement' => false,
|
2020-04-19 14:00:21 +00:00
|
|
|
'replaced' => array(
|
|
|
|
'^3.0',
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|