1.0.0 Alpha Release #59
1 changed files with 5 additions and 4 deletions
|
@ -25,7 +25,6 @@
|
||||||
namespace ncc\Managers;
|
namespace ncc\Managers;
|
||||||
|
|
||||||
use Exception;
|
use Exception;
|
||||||
use ncc\Abstracts\BuiltinRemoteSourceType;
|
|
||||||
use ncc\Abstracts\CompilerExtensions;
|
use ncc\Abstracts\CompilerExtensions;
|
||||||
use ncc\Abstracts\ConstantReferences;
|
use ncc\Abstracts\ConstantReferences;
|
||||||
use ncc\Abstracts\DependencySourceType;
|
use ncc\Abstracts\DependencySourceType;
|
||||||
|
@ -52,8 +51,8 @@
|
||||||
use ncc\Exceptions\PackageLockException;
|
use ncc\Exceptions\PackageLockException;
|
||||||
use ncc\Exceptions\PackageNotFoundException;
|
use ncc\Exceptions\PackageNotFoundException;
|
||||||
use ncc\Exceptions\PackageParsingException;
|
use ncc\Exceptions\PackageParsingException;
|
||||||
|
use ncc\Exceptions\SymlinkException;
|
||||||
use ncc\Exceptions\UnsupportedCompilerExtensionException;
|
use ncc\Exceptions\UnsupportedCompilerExtensionException;
|
||||||
use ncc\Exceptions\UnsupportedRunnerException;
|
|
||||||
use ncc\Exceptions\VersionNotFoundException;
|
use ncc\Exceptions\VersionNotFoundException;
|
||||||
use ncc\Objects\DefinedRemoteSource;
|
use ncc\Objects\DefinedRemoteSource;
|
||||||
use ncc\Objects\InstallationPaths;
|
use ncc\Objects\InstallationPaths;
|
||||||
|
@ -121,6 +120,7 @@
|
||||||
* @throws UnsupportedRunnerException
|
* @throws UnsupportedRunnerException
|
||||||
* @throws VersionNotFoundException
|
* @throws VersionNotFoundException
|
||||||
* @throws InvalidPackageNameException
|
* @throws InvalidPackageNameException
|
||||||
|
* @throws SymlinkException
|
||||||
*/
|
*/
|
||||||
public function install(string $package_path, ?Entry $entry=null, array $options=[]): string
|
public function install(string $package_path, ?Entry $entry=null, array $options=[]): string
|
||||||
{
|
{
|
||||||
|
@ -435,7 +435,7 @@
|
||||||
Console::outDebug('using builtin source ' . $input->Source);
|
Console::outDebug('using builtin source ' . $input->Source);
|
||||||
switch($input->Source)
|
switch($input->Source)
|
||||||
{
|
{
|
||||||
case BuiltinRemoteSourceType::Composer:
|
case 'composer':
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
return ComposerSourceBuiltin::fetch($input);
|
return ComposerSourceBuiltin::fetch($input);
|
||||||
|
@ -601,8 +601,8 @@
|
||||||
* @throws PackageLockException
|
* @throws PackageLockException
|
||||||
* @throws PackageNotFoundException
|
* @throws PackageNotFoundException
|
||||||
* @throws PackageParsingException
|
* @throws PackageParsingException
|
||||||
|
* @throws SymlinkException
|
||||||
* @throws UnsupportedCompilerExtensionException
|
* @throws UnsupportedCompilerExtensionException
|
||||||
* @throws UnsupportedRunnerException
|
|
||||||
* @throws VersionNotFoundException
|
* @throws VersionNotFoundException
|
||||||
*/
|
*/
|
||||||
private function processDependency(Dependency $dependency, Package $package, string $package_path, ?Entry $entry=null): void
|
private function processDependency(Dependency $dependency, Package $package, string $package_path, ?Entry $entry=null): void
|
||||||
|
@ -814,6 +814,7 @@
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
* @throws PackageLockException
|
* @throws PackageLockException
|
||||||
* @throws PackageNotFoundException
|
* @throws PackageNotFoundException
|
||||||
|
* @throws SymlinkException
|
||||||
* @throws VersionNotFoundException
|
* @throws VersionNotFoundException
|
||||||
*/
|
*/
|
||||||
public function uninstallPackageVersion(string $package, string $version): void
|
public function uninstallPackageVersion(string $package, string $version): void
|
||||||
|
|
Loading…
Add table
Reference in a new issue