1
0
mirror of https://github.com/php/pie.git synced 2026-03-23 23:12:17 +01:00

435: move PackageManager to Platform namespace

This commit is contained in:
James Titcumb
2026-03-02 11:21:49 +00:00
parent b76b136769
commit e87299846d
9 changed files with 10 additions and 7 deletions

View File

@@ -15,8 +15,8 @@ use Php\Pie\DependencyResolver\DependencyResolver;
use Php\Pie\DependencyResolver\InvalidPackageName;
use Php\Pie\DependencyResolver\UnableToResolveRequirement;
use Php\Pie\Installing\InstallForPhpProject\FindMatchingPackages;
use Php\Pie\Platform\PackageManager;
use Php\Pie\SelfManage\BuildTools\CheckAllBuildTools;
use Php\Pie\SelfManage\BuildTools\PackageManager;
use Psr\Container\ContainerInterface;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;

View File

@@ -15,9 +15,9 @@ use Php\Pie\DependencyResolver\DependencyResolver;
use Php\Pie\DependencyResolver\InvalidPackageName;
use Php\Pie\DependencyResolver\UnableToResolveRequirement;
use Php\Pie\Installing\InstallForPhpProject\FindMatchingPackages;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPlatform;
use Php\Pie\SelfManage\BuildTools\CheckAllBuildTools;
use Php\Pie\SelfManage\BuildTools\PackageManager;
use Psr\Container\ContainerInterface;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;

View File

@@ -2,7 +2,7 @@
declare(strict_types=1);
namespace Php\Pie\SelfManage\BuildTools;
namespace Php\Pie\Platform;
use Php\Pie\File\Sudo;
use Php\Pie\Platform;

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Php\Pie\SelfManage\BuildTools;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPlatform;
use Symfony\Component\Process\ExecutableFinder;

View File

@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Php\Pie\SelfManage\BuildTools;
use Composer\IO\IOInterface;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPlatform;
use Throwable;

View File

@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace Php\Pie\SelfManage\BuildTools;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPhp\PhpizePath;
use Php\Pie\Platform\TargetPlatform;
use RuntimeException;

View File

@@ -2,9 +2,9 @@
declare(strict_types=1);
namespace Php\PieUnitTest\SelfManage\BuildTools;
namespace Php\PieUnitTest\Platform;
use Php\Pie\SelfManage\BuildTools\PackageManager;
use Php\Pie\Platform\PackageManager;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;

View File

@@ -4,10 +4,10 @@ declare(strict_types=1);
namespace Php\PieUnitTest\SelfManage\BuildTools;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPhp\PhpBinaryPath;
use Php\Pie\Platform\TargetPlatform;
use Php\Pie\SelfManage\BuildTools\BinaryBuildToolFinder;
use Php\Pie\SelfManage\BuildTools\PackageManager;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\MockObject\MockObject;
use PHPUnit\Framework\TestCase;

View File

@@ -8,12 +8,12 @@ use Composer\IO\BufferIO;
use Php\Pie\Platform\Architecture;
use Php\Pie\Platform\OperatingSystem;
use Php\Pie\Platform\OperatingSystemFamily;
use Php\Pie\Platform\PackageManager;
use Php\Pie\Platform\TargetPhp\PhpBinaryPath;
use Php\Pie\Platform\TargetPlatform;
use Php\Pie\Platform\ThreadSafetyMode;
use Php\Pie\SelfManage\BuildTools\BinaryBuildToolFinder;
use Php\Pie\SelfManage\BuildTools\CheckAllBuildTools;
use Php\Pie\SelfManage\BuildTools\PackageManager;
use PHPUnit\Framework\Attributes\CoversClass;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Console\Output\OutputInterface;