2022-02-23 15:58:18 +00:00
|
|
|
<?php declare(strict_types=1);
|
2020-06-19 15:58:21 +00:00
|
|
|
|
|
|
|
/*
|
|
|
|
* 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.
|
|
|
|
*/
|
|
|
|
|
|
|
|
namespace Composer\Test\Mock;
|
|
|
|
|
|
|
|
use Composer\Package\Version\VersionGuesser;
|
|
|
|
|
|
|
|
class VersionGuesserMock extends VersionGuesser
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
2022-02-18 10:22:01 +00:00
|
|
|
public function guessVersion(array $packageConfig, $path): ?array
|
2020-06-19 15:58:21 +00:00
|
|
|
{
|
|
|
|
return null;
|
|
|
|
}
|
|
|
|
}
|