Cleaned up abstract classes

This commit is contained in:
Netkas 2023-01-29 13:23:07 -05:00
parent 3a4e7413b6
commit 2bd04cc481
6 changed files with 2 additions and 51 deletions

View file

@ -1,12 +0,0 @@
<?php
namespace ncc\Abstracts;
abstract class AuthenticationSource
{
const None = 'NONE';
const ServerProvided = 'SERVER_PROVIDED';
const UserProvided = 'USER_PROVIDED';
}

View file

@ -1,17 +0,0 @@
<?php
namespace ncc\Abstracts;
abstract class BuiltinRemoteSourceType
{
/**
* The remote source indicates the package is to be
* fetched using the composer utility.
*/
const Composer = 'composer';
const All = [
self::Composer
];
}

View file

@ -1,8 +0,0 @@
<?php
namespace ncc\Abstracts;
abstract class CompilerOptions
{
}

View file

@ -12,7 +12,7 @@
/**
* This denotes a project rather than a library. For example
* application shells like the Symfony standard edition, CMSs
* like the SilverStripe instlaler or full-fledged applications
* like the SilverStripe installer or full-fledged applications
* distributed as packages. This can for example be used by IDEs
* to provide listings of projects to initialize when creating
* a new workspace.

View file

@ -1,12 +0,0 @@
<?php
namespace ncc\Abstracts;
abstract class StringPaddingMethod
{
const LEFT = 'LEFT';
const RIGHT = 'RIGHT';
const BOTH = 'BOTH';
}

View file

@ -14,6 +14,6 @@
*/
public function __construct(string $message = "", ?Throwable $previous = null)
{
parent::__construct($message, ExceptionCodes::InvalidVersionNumberException, $previous);
parent::__construct($message, ExceptionCodes::InvalidProjectNameException, $previous);
}
}