diff --git a/.gitattributes b/.gitattributes index 4bcedf401..80d68b4b9 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,5 @@ * text=false +*.php ident # Force the following filetypes to have unix eols, so Windows does not break them *.php text eol=lf diff --git a/Account/Account.php b/Account/Account.php index fd40e379f..1d818a4d9 100644 --- a/Account/Account.php +++ b/Account/Account.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,10 +25,10 @@ use phpOMS\Validation\Network\Email; * The account class is the base model for accounts. This model contains the most common account * information. This model is not comparable to a profile which contains much more information. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Account implements ArrayableInterface, \JsonSerializable { @@ -36,7 +36,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Id. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -44,7 +44,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Names. * - * @var string + * @var string * @since 1.0.0 */ protected string $name1 = ''; @@ -52,7 +52,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Names. * - * @var string + * @var string * @since 1.0.0 */ protected string $name2 = ''; @@ -60,7 +60,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Names. * - * @var string + * @var string * @since 1.0.0 */ protected string $name3 = ''; @@ -68,7 +68,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Email. * - * @var string + * @var string * @since 1.0.0 */ protected string $email = ''; @@ -78,7 +78,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * Used in order to make sure ips don't change * - * @var string + * @var string * @since 1.0.0 */ protected string $origin = ''; @@ -86,7 +86,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Login. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $login = null; @@ -94,7 +94,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Last activity. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ protected \DateTime $lastActive; @@ -102,7 +102,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Last activity. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ protected \DateTime $createdAt; @@ -110,7 +110,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Groups. * - * @var int[] + * @var int[] * @since 1.0.0 */ protected array $groups = []; @@ -118,7 +118,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Password. * - * @var string + * @var string * @since 1.0.0 */ protected string $password = ''; @@ -126,7 +126,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Account type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = AccountType::USER; @@ -134,7 +134,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Account status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = AccountStatus::INACTIVE; @@ -142,7 +142,7 @@ class Account implements ArrayableInterface, \JsonSerializable /** * Localization. * - * @var Localization + * @var Localization * @since 1.0.0 */ protected Localization $l11n; @@ -156,7 +156,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @param int $id Account id * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $id = 0) { @@ -171,7 +171,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return int Account id * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -185,7 +185,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function getL11n() : Localization { @@ -200,7 +200,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return array Returns array of all groups * - * @since 1.0.0 + * @since 1.0.0 */ public function getGroups() : array { @@ -214,7 +214,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addGroup($group) : void { @@ -228,7 +228,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setL11n(Localization $l11n) : void { @@ -240,7 +240,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns the login name or null * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : ?string { @@ -252,7 +252,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns the name1 * - * @since 1.0.0 + * @since 1.0.0 */ public function getName1() : string { @@ -266,7 +266,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName1(string $name) : void { @@ -278,7 +278,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns name 2 * - * @since 1.0.0 + * @since 1.0.0 */ public function getName2() : string { @@ -292,7 +292,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName2(string $name) : void { @@ -304,7 +304,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns name 3 * - * @since 1.0.0 + * @since 1.0.0 */ public function getName3() : string { @@ -318,7 +318,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName3(string $name) : void { @@ -330,7 +330,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns the email address * - * @since 1.0.0 + * @since 1.0.0 */ public function getEmail() : string { @@ -346,7 +346,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @throws \InvalidArgumentException Exception is thrown if the provided string is not a valid email * - * @since 1.0.0 + * @since 1.0.0 */ public function setEmail(string $email) : void { @@ -362,7 +362,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return int Returns the status (AccountStatus) * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -378,7 +378,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @throws InvalidEnumValue This exception is thrown if a invalid status is used * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) : void { @@ -394,7 +394,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return int Returns the type (AccountType) * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -410,7 +410,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @throws InvalidEnumValue This exception is thrown if an invalid type is used * - * @since 1.0.0 + * @since 1.0.0 */ public function setType(int $type) : void { @@ -426,7 +426,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getLastActive() : \DateTime { @@ -438,7 +438,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime { @@ -454,7 +454,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @throws \Exception Throws this exception if the password_hash function fails * - * @since 1.0.0 + * @since 1.0.0 */ public function generatePassword(string $password) : void { @@ -474,7 +474,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { @@ -486,7 +486,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function updateLastActive() : void { @@ -498,7 +498,7 @@ class Account implements ArrayableInterface, \JsonSerializable * * @return string Returns the json_encode of this object * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() : string { diff --git a/Account/AccountManager.php b/Account/AccountManager.php index 41aec18ed..375efce02 100644 --- a/Account/AccountManager.php +++ b/Account/AccountManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\DataStorage\Session\SessionInterface; * * The account manager is used to manage accounts. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class AccountManager implements \Countable { @@ -33,7 +33,7 @@ final class AccountManager implements \Countable /** * Accounts. * - * @var Account[] + * @var Account[] * @since 1.0.0 */ private array $accounts = []; @@ -41,7 +41,7 @@ final class AccountManager implements \Countable /** * Session. * - * @var SessionInterface + * @var SessionInterface * @since 1.0.0 */ private SessionInterface $session; @@ -51,7 +51,7 @@ final class AccountManager implements \Countable * * @param SessionInterface $session Session * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(SessionInterface $session) { @@ -65,7 +65,7 @@ final class AccountManager implements \Countable * * @return Account * - * @since 1.0.0 + * @since 1.0.0 */ public function get(int $id = 0) : Account { @@ -89,7 +89,7 @@ final class AccountManager implements \Countable * * @return bool Returns true if the account could be added otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public function add(Account $account) : bool { @@ -109,7 +109,7 @@ final class AccountManager implements \Countable * * @return bool Returns true if the account could be removed otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(int $id) : bool { @@ -127,7 +127,7 @@ final class AccountManager implements \Countable * * @return int Returns the amount of accounts in the manager (>= 0) * - * @since 1.0.0 + * @since 1.0.0 */ public function count() : int { diff --git a/Account/AccountStatus.php b/Account/AccountStatus.php index 1403649a4..017d3519c 100644 --- a/Account/AccountStatus.php +++ b/Account/AccountStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Account status enum. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AccountStatus extends Enum { diff --git a/Account/AccountType.php b/Account/AccountType.php index 3cf33746f..35c6bfd86 100644 --- a/Account/AccountType.php +++ b/Account/AccountType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Account type enum. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AccountType extends Enum { diff --git a/Account/Group.php b/Account/Group.php index 15f2b3458..41f9fa316 100644 --- a/Account/Group.php +++ b/Account/Group.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Account group class. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Group implements ArrayableInterface, \JsonSerializable { @@ -31,7 +31,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Group id. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -39,7 +39,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Group name. * - * @var string + * @var string * @since 1.0.0 */ protected string $name = ''; @@ -47,7 +47,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Group name. * - * @var string + * @var string * @since 1.0.0 */ protected string $description = ''; @@ -55,7 +55,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Group members. * - * @var array + * @var array * @since 1.0.0 */ protected array $members = []; @@ -63,7 +63,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Parents. * - * @var int[] + * @var int[] * @since 1.0.0 */ protected array $parents = []; @@ -71,7 +71,7 @@ class Group implements ArrayableInterface, \JsonSerializable /** * Group status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = GroupStatus::INACTIVE; @@ -83,7 +83,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return int Returns the id of the group * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -95,7 +95,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return string Returns the name of the group * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -109,7 +109,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { @@ -121,7 +121,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return string Returns the description of the group * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -135,7 +135,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -147,7 +147,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return int Group status * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int { @@ -163,7 +163,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @throws InvalidEnumValue This exception is thrown if an invalid status is used * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(int $status) : void { @@ -179,7 +179,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return string Returns the json_encode of this object * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() : string { @@ -205,7 +205,7 @@ class Group implements ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ /** * {@inheritdoc} diff --git a/Account/GroupStatus.php b/Account/GroupStatus.php index 37d7b200c..bb3f67fc8 100644 --- a/Account/GroupStatus.php +++ b/Account/GroupStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Group status enum. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class GroupStatus extends Enum { diff --git a/Account/NullAccount.php b/Account/NullAccount.php index 5a7f7ee5b..8f0c590bf 100644 --- a/Account/NullAccount.php +++ b/Account/NullAccount.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Account; /** * Null account class. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullAccount extends Account { diff --git a/Account/PermissionAbstract.php b/Account/PermissionAbstract.php index 17cb5ad26..c44ca7fc3 100644 --- a/Account/PermissionAbstract.php +++ b/Account/PermissionAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ namespace phpOMS\Account; * This permission abstract is the basis for all permissions. Contrary to it's name it is not an * abstract class and can be used directly if needed. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PermissionAbstract implements \JsonSerializable { /** * Permission id. * - * @var int + * @var int * @since 1.0.0 */ protected int $id = 0; @@ -38,7 +38,7 @@ class PermissionAbstract implements \JsonSerializable /** * Unit id. * - * @var null|int + * @var null|int * @since 1.0.0 */ protected ?int $unit = null; @@ -46,7 +46,7 @@ class PermissionAbstract implements \JsonSerializable /** * App name. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $app = null; @@ -54,7 +54,7 @@ class PermissionAbstract implements \JsonSerializable /** * Module id. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $module = null; @@ -62,7 +62,7 @@ class PermissionAbstract implements \JsonSerializable /** * Providing module id. * - * @var int + * @var int * @since 1.0.0 */ protected int $from = 0; @@ -70,7 +70,7 @@ class PermissionAbstract implements \JsonSerializable /** * Type. * - * @var null|int + * @var null|int * @since 1.0.0 */ protected ?int $type = null; @@ -78,7 +78,7 @@ class PermissionAbstract implements \JsonSerializable /** * Element id. * - * @var null|int + * @var null|int * @since 1.0.0 */ protected ?int $element = null; @@ -86,7 +86,7 @@ class PermissionAbstract implements \JsonSerializable /** * Component id. * - * @var null|int + * @var null|int * @since 1.0.0 */ protected ?int $component = null; @@ -94,7 +94,7 @@ class PermissionAbstract implements \JsonSerializable /** * Permission. * - * @var int + * @var int * @since 1.0.0 */ protected int $permission = PermissionType::NONE; @@ -110,7 +110,7 @@ class PermissionAbstract implements \JsonSerializable * @param null|int $component (e.g. address) (null if all are acceptable) * @param int $permission Permission to check * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct( int $unit = null, @@ -137,7 +137,7 @@ class PermissionAbstract implements \JsonSerializable * * @return int Retunrs the id of the permission * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -149,7 +149,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|int * - * @since 1.0.0 + * @since 1.0.0 */ public function getUnit() : ?int { @@ -163,7 +163,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setUnit(int $unit = null) : void { @@ -175,7 +175,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public function getApp() : ?string { @@ -189,7 +189,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setApp(string $app = null) : void { @@ -201,7 +201,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public function getModule() : ?string { @@ -215,7 +215,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setModule(string $module = null) : void { @@ -227,7 +227,7 @@ class PermissionAbstract implements \JsonSerializable * * @return int Returns the module responsible for setting this permission * - * @since 1.0.0 + * @since 1.0.0 */ public function getFrom() : int { @@ -241,7 +241,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setFrom(int $from = 0) : void { @@ -253,7 +253,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : ?int { @@ -267,7 +267,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setType(int $type = null) : void { @@ -279,7 +279,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|int * - * @since 1.0.0 + * @since 1.0.0 */ public function getElement() : ?int { @@ -293,7 +293,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setElement(int $element = null) : void { @@ -305,7 +305,7 @@ class PermissionAbstract implements \JsonSerializable * * @return null|int * - * @since 1.0.0 + * @since 1.0.0 */ public function getComponent() : ?int { @@ -319,7 +319,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setComponent(int $component = null) : void { @@ -331,7 +331,7 @@ class PermissionAbstract implements \JsonSerializable * * @return int Returns the permission (PermissionType) * - * @since 1.0.0 + * @since 1.0.0 */ public function getPermission() : int { @@ -345,7 +345,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPermission(int $permission = 0) : void { @@ -359,7 +359,7 @@ class PermissionAbstract implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addPermission(int $permission = 0) : void { @@ -373,7 +373,7 @@ class PermissionAbstract implements \JsonSerializable * * @return bool Returns true if the permission is set otherwise returns false * - * @since 1.0.0 + * @since 1.0.0 */ public function hasPermissionFlags(int $permission) : bool { @@ -395,7 +395,7 @@ class PermissionAbstract implements \JsonSerializable * * @return bool Returns true if the permission is set, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public function hasPermission( int $permission, diff --git a/Account/PermissionHandlingTrait.php b/Account/PermissionHandlingTrait.php index c13fe41c0..accfedd62 100644 --- a/Account/PermissionHandlingTrait.php +++ b/Account/PermissionHandlingTrait.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Account; /** * Permission handling trait. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ trait PermissionHandlingTrait { /** * Permissions. * - * @var PermissionAbstract[] + * @var PermissionAbstract[] * @since 1.0.0 */ protected array $permissions = []; @@ -35,7 +35,7 @@ trait PermissionHandlingTrait /** * Amount of permissions. * - * @var int + * @var int * @since 1.0.0 */ private int $pLength = 0; @@ -49,7 +49,7 @@ trait PermissionHandlingTrait * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPermissions(array $permissions) : void { @@ -66,7 +66,7 @@ trait PermissionHandlingTrait * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addPermissions(array $permissions) : void { @@ -90,7 +90,7 @@ trait PermissionHandlingTrait * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addPermission(PermissionAbstract $permission) : void { @@ -103,7 +103,7 @@ trait PermissionHandlingTrait * * @return PermissionAbstract[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getPermissions() : array { @@ -125,7 +125,7 @@ trait PermissionHandlingTrait * * @return bool Returns true if the permission is set, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public function hasPermission( int $permission, diff --git a/Account/PermissionOwner.php b/Account/PermissionOwner.php index 977762643..441b3acac 100644 --- a/Account/PermissionOwner.php +++ b/Account/PermissionOwner.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * A permission can be long to a group or an account. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionOwner extends Enum { diff --git a/Account/PermissionType.php b/Account/PermissionType.php index 0b19a4a1f..7642c5c53 100644 --- a/Account/PermissionType.php +++ b/Account/PermissionType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Account - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Account + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Permission type enum. * - * @package phpOMS\Account - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Account + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PermissionType extends Enum { diff --git a/Algorithm/CoinMatching/MinimumCoinProblem.php b/Algorithm/CoinMatching/MinimumCoinProblem.php index ba5b453f5..645e3dd88 100644 --- a/Algorithm/CoinMatching/MinimumCoinProblem.php +++ b/Algorithm/CoinMatching/MinimumCoinProblem.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\CoinMatching - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\CoinMatching + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\CoinMatching; /** * Matching a value with a set of coins * - * @package phpOMS\Algorithm\CoinMatching - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\CoinMatching + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MinimumCoinProblem { diff --git a/Algorithm/Knappsack/Backpack.php b/Algorithm/Knappsack/Backpack.php index 5b77606a7..a47a98622 100644 --- a/Algorithm/Knappsack/Backpack.php +++ b/Algorithm/Knappsack/Backpack.php @@ -5,11 +5,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Knappsack - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Knappsack + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Algorithm\Backpack; /** * Matching a value with a set of coins * - * @package phpOMS\Algorithm\Knappsack - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Knappsack + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Backpack { diff --git a/Algorithm/Knappsack/Item.php b/Algorithm/Knappsack/Item.php index 79e93472a..b25eff2d1 100644 --- a/Algorithm/Knappsack/Item.php +++ b/Algorithm/Knappsack/Item.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Knappsack - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Knappsack + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Knappsack; /** * Matching a value with a set of coins * - * @package phpOMS\Algorithm\Knappsack - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Knappsack + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Item { diff --git a/Algorithm/PathFinding/AStar.php b/Algorithm/PathFinding/AStar.php index 59be87f08..9da7b39bd 100644 --- a/Algorithm/PathFinding/AStar.php +++ b/Algorithm/PathFinding/AStar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Perform path finding. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class JumpPointSearch implements PathFinderInterface { diff --git a/Algorithm/PathFinding/AStarNode.php b/Algorithm/PathFinding/AStarNode.php index acabd2032..26eb9f6f8 100644 --- a/Algorithm/PathFinding/AStarNode.php +++ b/Algorithm/PathFinding/AStarNode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class AStarNode extends Node { diff --git a/Algorithm/PathFinding/Grid.php b/Algorithm/PathFinding/Grid.php index 6d0c125c8..3a450cd71 100644 --- a/Algorithm/PathFinding/Grid.php +++ b/Algorithm/PathFinding/Grid.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Grid of nodes. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Grid { diff --git a/Algorithm/PathFinding/Heuristic.php b/Algorithm/PathFinding/Heuristic.php index 8e5ae5b8e..e70eb42ce 100644 --- a/Algorithm/PathFinding/Heuristic.php +++ b/Algorithm/PathFinding/Heuristic.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Topology\Metrics2D; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Heuristic { diff --git a/Algorithm/PathFinding/HeuristicType.php b/Algorithm/PathFinding/HeuristicType.php index 2d51434ad..18c471602 100644 --- a/Algorithm/PathFinding/HeuristicType.php +++ b/Algorithm/PathFinding/HeuristicType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Heuristic type enum. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class HeuristicType extends Enum { diff --git a/Algorithm/PathFinding/JumpPointNode.php b/Algorithm/PathFinding/JumpPointNode.php index 46c2d504c..718d30f9e 100644 --- a/Algorithm/PathFinding/JumpPointNode.php +++ b/Algorithm/PathFinding/JumpPointNode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class JumpPointNode extends Node { diff --git a/Algorithm/PathFinding/JumpPointSearch.php b/Algorithm/PathFinding/JumpPointSearch.php index 11958494c..771a59175 100644 --- a/Algorithm/PathFinding/JumpPointSearch.php +++ b/Algorithm/PathFinding/JumpPointSearch.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Perform path finding. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class JumpPointSearch implements PathFinderInterface { diff --git a/Algorithm/PathFinding/MovementType.php b/Algorithm/PathFinding/MovementType.php index 647d7b0eb..16ebd4b51 100644 --- a/Algorithm/PathFinding/MovementType.php +++ b/Algorithm/PathFinding/MovementType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Movement type enum. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class MovementType extends Enum { diff --git a/Algorithm/PathFinding/Node.php b/Algorithm/PathFinding/Node.php index 7c8867dff..90ac1e220 100644 --- a/Algorithm/PathFinding/Node.php +++ b/Algorithm/PathFinding/Node.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Node { diff --git a/Algorithm/PathFinding/NullJumpPointNode.php b/Algorithm/PathFinding/NullJumpPointNode.php index e33665baf..fe2dcbaa4 100644 --- a/Algorithm/PathFinding/NullJumpPointNode.php +++ b/Algorithm/PathFinding/NullJumpPointNode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullJumpPointNode extends JumpPointNode { diff --git a/Algorithm/PathFinding/NullNode.php b/Algorithm/PathFinding/NullNode.php index cf2009bdb..c14ac7287 100644 --- a/Algorithm/PathFinding/NullNode.php +++ b/Algorithm/PathFinding/NullNode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Node on grid. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullNode extends Node { diff --git a/Algorithm/PathFinding/Path.php b/Algorithm/PathFinding/Path.php index f032ae57e..9fa16250b 100644 --- a/Algorithm/PathFinding/Path.php +++ b/Algorithm/PathFinding/Path.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Path in grids. * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Path { diff --git a/Algorithm/PathFinding/PathFinderInterface.php b/Algorithm/PathFinding/PathFinderInterface.php index 3c7740c0a..70b45b844 100644 --- a/Algorithm/PathFinding/PathFinderInterface.php +++ b/Algorithm/PathFinding/PathFinderInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\PathFinding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\PathFinding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\PathFinding; /** * Path finder interface * - * @package phpOMS\Algorithm\PathFinding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\PathFinding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface PathFinderInterface { public static function findPath( diff --git a/Algorithm/Sort/BitonicSort.php b/Algorithm/Sort/BitonicSort.php index 727ec53c1..a5803a59c 100644 --- a/Algorithm/Sort/BitonicSort.php +++ b/Algorithm/Sort/BitonicSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * BitonicSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class BitonicSort implements SortInterface { diff --git a/Algorithm/Sort/BubbleSort.php b/Algorithm/Sort/BubbleSort.php index ede4ce25a..261ccef1b 100644 --- a/Algorithm/Sort/BubbleSort.php +++ b/Algorithm/Sort/BubbleSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * Bubblesort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class BubbleSort implements SortInterface { diff --git a/Algorithm/Sort/BucketSort.php b/Algorithm/Sort/BucketSort.php index 383f1ba7e..422edfb44 100644 --- a/Algorithm/Sort/BucketSort.php +++ b/Algorithm/Sort/BucketSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * Bucketsort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class BucketSort { diff --git a/Algorithm/Sort/CocktailShakerSort.php b/Algorithm/Sort/CocktailShakerSort.php index de09a2a4e..e29c663db 100644 --- a/Algorithm/Sort/CocktailShakerSort.php +++ b/Algorithm/Sort/CocktailShakerSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * CocktailShakerSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CocktailShakerSort implements SortInterface { diff --git a/Algorithm/Sort/CombSort.php b/Algorithm/Sort/CombSort.php index e2427480c..2ff687797 100644 --- a/Algorithm/Sort/CombSort.php +++ b/Algorithm/Sort/CombSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * CombSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CombSort implements SortInterface { diff --git a/Algorithm/Sort/CycleSort.php b/Algorithm/Sort/CycleSort.php index 1c0d07a39..e6817e036 100644 --- a/Algorithm/Sort/CycleSort.php +++ b/Algorithm/Sort/CycleSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * CycleSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CycleSort implements SortInterface { diff --git a/Algorithm/Sort/FlashSort.php b/Algorithm/Sort/FlashSort.php index 14ab8e464..983f50cf8 100644 --- a/Algorithm/Sort/FlashSort.php +++ b/Algorithm/Sort/FlashSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * FlashSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class FlashSort implements SortInterface { diff --git a/Algorithm/Sort/GnomeSort.php b/Algorithm/Sort/GnomeSort.php index 5e5511957..98f3b223d 100644 --- a/Algorithm/Sort/GnomeSort.php +++ b/Algorithm/Sort/GnomeSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * GnomeSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class GnomeSort implements SortInterface { diff --git a/Algorithm/Sort/OddEvenSort.php b/Algorithm/Sort/OddEvenSort.php index a7dc88f01..8f34f96d2 100644 --- a/Algorithm/Sort/OddEvenSort.php +++ b/Algorithm/Sort/OddEvenSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * OddEvenSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class OddEvenSort implements SortInterface { diff --git a/Algorithm/Sort/QuickSort.php b/Algorithm/Sort/QuickSort.php index 0b3444db3..3a80d56c4 100644 --- a/Algorithm/Sort/QuickSort.php +++ b/Algorithm/Sort/QuickSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * QuickSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class QuickSort implements SortInterface { diff --git a/Algorithm/Sort/SelectionSort.php b/Algorithm/Sort/SelectionSort.php index d740087a6..f610de56a 100644 --- a/Algorithm/Sort/SelectionSort.php +++ b/Algorithm/Sort/SelectionSort.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * SelectionSort class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class SelectionSort implements SortInterface { diff --git a/Algorithm/Sort/SortInterface.php b/Algorithm/Sort/SortInterface.php index 44ef1ae1a..06c5a3386 100644 --- a/Algorithm/Sort/SortInterface.php +++ b/Algorithm/Sort/SortInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * SortInterface class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface SortInterface { diff --git a/Algorithm/Sort/SortOrder.php b/Algorithm/Sort/SortOrder.php index 93a6013da..0549485fa 100644 --- a/Algorithm/Sort/SortOrder.php +++ b/Algorithm/Sort/SortOrder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * SortOrder enum. * - * @package phpOMS\Algorithm\Sort - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SortOrder extends Enum { diff --git a/Algorithm/Sort/SortableInterface.php b/Algorithm/Sort/SortableInterface.php index 9f803b3a0..7afa1b6d3 100644 --- a/Algorithm/Sort/SortableInterface.php +++ b/Algorithm/Sort/SortableInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Algorithm\Sort; - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Algorithm\Sort; + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Algorithm\Sort; /** * SortableInterface class. * - * @package phpOMS\Algorithm\Sort; - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Algorithm\Sort; + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface SortableInterface { diff --git a/ApplicationAbstract.php b/ApplicationAbstract.php index 06540556f..811f69cb4 100644 --- a/ApplicationAbstract.php +++ b/ApplicationAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -50,10 +50,10 @@ use phpOMS\DataStorage\Session\SessionInterface; * @property \phpOMS\Account\AccountManager $accountManager * @property \phpOMS\Log\FileLogger $logger * - * @package phpOMS - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ApplicationAbstract { @@ -61,7 +61,7 @@ class ApplicationAbstract /** * App name. * - * @var string + * @var string * @since 1.0.0 */ protected string $appName = ''; @@ -69,7 +69,7 @@ class ApplicationAbstract /** * Organization id. * - * @var int + * @var int * @since 1.0.0 */ protected int $orgId = 0; @@ -77,7 +77,7 @@ class ApplicationAbstract /** * App theme. * - * @var string + * @var string * @since 1.0.0 */ protected string $theme = ''; @@ -85,7 +85,7 @@ class ApplicationAbstract /** * Database object. * - * @var null|DatabasePool + * @var null|DatabasePool * @since 1.0.0 */ protected ?DatabasePool $dbPool = null; @@ -93,7 +93,7 @@ class ApplicationAbstract /** * Application settings object. * - * @var null|CoreSettings + * @var null|CoreSettings * @since 1.0.0 */ protected ?CoreSettings $appSettings = null; @@ -101,7 +101,7 @@ class ApplicationAbstract /** * Account manager instance. * - * @var null|AccountManager + * @var null|AccountManager * @since 1.0.0 */ protected ?AccountManager $accountManager = null; @@ -109,7 +109,7 @@ class ApplicationAbstract /** * Cache instance. * - * @var null|CachePool + * @var null|CachePool * @since 1.0.0 */ protected ?CachePool $cachePool = null; @@ -117,7 +117,7 @@ class ApplicationAbstract /** * ModuleManager instance. * - * @var null|ModuleManager + * @var null|ModuleManager * @since 1.0.0 */ protected ?ModuleManager $moduleManager = null; @@ -125,7 +125,7 @@ class ApplicationAbstract /** * Router instance. * - * @var null|Router + * @var null|Router * @since 1.0.0 */ protected ?Router $router = null; @@ -133,7 +133,7 @@ class ApplicationAbstract /** * Dispatcher instance. * - * @var null|Dispatcher + * @var null|Dispatcher * @since 1.0.0 */ protected ?Dispatcher $dispatcher = null; @@ -141,7 +141,7 @@ class ApplicationAbstract /** * Session instance. * - * @var null|SessionInterface + * @var null|SessionInterface * @since 1.0.0 */ protected ?SessionInterface $sessionManager = null; @@ -149,7 +149,7 @@ class ApplicationAbstract /** * Cookie instance. * - * @var null|CookieJar + * @var null|CookieJar * @since 1.0.0 */ protected ?CookieJar $cookieJar = null; @@ -157,7 +157,7 @@ class ApplicationAbstract /** * Server localization. * - * @var null|Localization + * @var null|Localization * @since 1.0.0 */ protected ?Localization $l11nServer = null; @@ -165,7 +165,7 @@ class ApplicationAbstract /** * Server localization. * - * @var null|FileLogger + * @var null|FileLogger * @since 1.0.0 */ protected ?FileLogger $logger = null; @@ -173,7 +173,7 @@ class ApplicationAbstract /** * L11n manager. * - * @var null|L11nManager + * @var null|L11nManager * @since 1.0.0 */ protected ?L11nManager $l11nManager = null; @@ -181,7 +181,7 @@ class ApplicationAbstract /** * Event manager. * - * @var null|EventManager + * @var null|EventManager * @since 1.0.0 */ protected ?EventManager $eventManager = null; @@ -196,7 +196,7 @@ class ApplicationAbstract * * @todo replace with proper setter (faster) * - * @since 1.0.0 + * @since 1.0.0 */ public function __set($name, $value) : void { @@ -216,7 +216,7 @@ class ApplicationAbstract * * @todo replace with proper getter (faster) * - * @since 1.0.0 + * @since 1.0.0 */ public function __get($name) { diff --git a/Asset/AssetManager.php b/Asset/AssetManager.php index ad4473a51..be6a5d734 100644 --- a/Asset/AssetManager.php +++ b/Asset/AssetManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Asset - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Asset + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Asset; /** * Asset manager class. * - * @package phpOMS\Asset - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Asset + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class AssetManager implements \Countable { @@ -28,7 +28,7 @@ final class AssetManager implements \Countable /** * Assets. * - * @var array + * @var array * @since 1.0.0 */ private array $assets = []; @@ -42,7 +42,7 @@ final class AssetManager implements \Countable * * @return bool Returns true if the asset could be set otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $id, string $asset, bool $overwrite = true) : bool { @@ -62,7 +62,7 @@ final class AssetManager implements \Countable * * @return bool Returns true if the asset could be removed otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $id) : bool { @@ -82,7 +82,7 @@ final class AssetManager implements \Countable * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $id) : ?string { @@ -98,7 +98,7 @@ final class AssetManager implements \Countable * * @return int Returns the amount of assets (>= 0) * - * @since 1.0.0 + * @since 1.0.0 */ public function count() : int { diff --git a/Asset/AssetType.php b/Asset/AssetType.php index 103304077..88d083d31 100644 --- a/Asset/AssetType.php +++ b/Asset/AssetType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Asset - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Asset + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Asset types enum. * - * @package phpOMS\Asset - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Asset + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AssetType extends Enum { diff --git a/Auth/Auth.php b/Auth/Auth.php index 09fa01b3e..f3278d914 100644 --- a/Auth/Auth.php +++ b/Auth/Auth.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Auth - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Auth + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\DataStorage\Session\SessionInterface; * * Responsible for authenticating and initializing the connection * - * @package phpOMS\Auth - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Auth + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Auth { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -45,7 +45,7 @@ final class Auth * * @return int Returns the user id * - * @since 1.0.0 + * @since 1.0.0 */ public static function authenticate(SessionInterface $session) : int { @@ -61,7 +61,7 @@ final class Auth * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function logout(SessionInterface $session) : void { diff --git a/Auth/LoginReturnType.php b/Auth/LoginReturnType.php index 8c6664e90..b2f63a7ef 100644 --- a/Auth/LoginReturnType.php +++ b/Auth/LoginReturnType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Auth - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Auth + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * These are possible answers to authentications. * - * @package phpOMS\Auth - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Auth + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class LoginReturnType extends Enum { diff --git a/AutoloadException.php b/AutoloadException.php index e0b11c9c8..321cd7347 100644 --- a/AutoloadException.php +++ b/AutoloadException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS; * * This exception is thrown if a file couldn't be autoloaded * - * @package phpOMS - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class AutoloadException extends \RuntimeException { @@ -33,7 +33,7 @@ final class AutoloadException extends \RuntimeException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/Autoloader.php b/Autoloader.php index 510bbe779..b55e9dd88 100644 --- a/Autoloader.php +++ b/Autoloader.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS; /** * Autoloader class. * - * @package phpOMS - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Autoloader { /** * Base paths for autoloading * - * @var string[] + * @var string[] * @since 1.0.0 */ private static $paths = [ @@ -40,7 +40,7 @@ final class Autoloader /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -55,7 +55,7 @@ final class Autoloader * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function addPath(string $path) : void { @@ -73,7 +73,7 @@ final class Autoloader * * @throws AutoloadException Throws this exception if the class to autoload doesn't exist. This could also be related to a wrong namespace/file path correlation. * - * @since 1.0.0 + * @since 1.0.0 */ public static function defaultAutoloader(string $class) : void { @@ -98,7 +98,7 @@ final class Autoloader * * @return bool Returns true if the namespace/class exists, otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public static function exists(string $class) : bool { diff --git a/Business/Finance/Depreciation.php b/Business/Finance/Depreciation.php index 67091078b..5d2de8c97 100644 --- a/Business/Finance/Depreciation.php +++ b/Business/Finance/Depreciation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Business\Finance; /** * Depreciation class. * - * @package phpOMS\Business\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Depreciation { @@ -32,7 +32,7 @@ final class Depreciation * * @return float Returns the straight line depreciation * - * @since 1.0.0 + * @since 1.0.0 */ public static function getStraightLineDepreciation(float $start, int $duration) : float { @@ -48,7 +48,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getStraightLineResidualInT(float $start, int $duration, int $t) : float { @@ -66,7 +66,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticDegressivDepreciationFactor(float $start, float $residual, int $duration) : float { @@ -83,7 +83,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticDegressivDepreciationInT(float $start, float $residual, int $duration, int $t) : float { @@ -100,7 +100,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticDegressivDepreciationResidualInT(float $start, float $residual, int $duration, int $t) : float { @@ -122,7 +122,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticProgressivDepreciationFactor(float $start, float $residual, int $duration) : float { @@ -139,7 +139,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticProgressivDepreciationInT(float $start, float $residual, int $duration, int $t) : float { @@ -156,7 +156,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArithmeticProgressivDepreciationResidualInT(float $start, float $residual, int $duration, int $t) : float { @@ -172,7 +172,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicProgressivDepreciationRate(float $start, float $residual, int $duration) : float { @@ -189,7 +189,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicProgressivDepreciationInT(float $start, float $residual, int $duration, int $t) : float { @@ -208,7 +208,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicProgressivDepreciationResidualInT(float $start, float $residual, int $duration, int $t) : float { @@ -230,7 +230,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicDegressivDepreciationRate(float $start, float $residual, int $duration) : float { @@ -247,7 +247,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicDegressivDepreciationInT(float $start, float $residual, int $duration, int $t) : float { @@ -265,7 +265,7 @@ final class Depreciation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometicDegressivDepreciationResidualInT(float $start, float $residual, int $duration, int $t) : float { diff --git a/Business/Finance/FinanceFormulas.php b/Business/Finance/FinanceFormulas.php index 08be5050c..4a14c0251 100644 --- a/Business/Finance/FinanceFormulas.php +++ b/Business/Finance/FinanceFormulas.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Statistic\Average; /** * Finance class. * - * @package phpOMS\Business\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCaseParameterName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -43,7 +43,7 @@ final class FinanceFormulas * * @return float Returns the APY * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAnnualPercentageYield(float $r, int $n) : float { @@ -60,7 +60,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getStateAnnualInterestRateOfAPY(float $apy, int $n) : float { @@ -76,7 +76,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueOfAnnuity(float $P, float $r, int $n) : float { @@ -92,7 +92,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfPeriodsOfFVA(float $fva, float $P, float $r) : int { @@ -108,7 +108,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodicPaymentOfFVA(float $fva, float $r, int $n) : float { @@ -124,7 +124,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueOfAnnuityConinuousCompounding(float $cf, float $r, int $t) : float { @@ -140,7 +140,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCashFlowOfFVACC(float $fvacc, float $r, int $t) : float { @@ -156,7 +156,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getTimeOfFVACC(float $fvacc, float $cf, float $r) : int { @@ -172,7 +172,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAnnuityPaymentPV(float $pv, float $r, int $n) : float { @@ -188,7 +188,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfAPPV(float $p, float $pv, float $r) : int { @@ -204,7 +204,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueOfAPPV(float $p, float $r, int $n) : float { @@ -220,7 +220,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAnnuityPaymentFV(float $fv, float $r, int $n) : float { @@ -236,7 +236,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfAPFV(float $p, float $fv, float $r) : int { @@ -252,7 +252,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueOfAPFV(float $p, float $r, int $n) : float { @@ -267,7 +267,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAnnutiyPaymentFactorPV(float $r, int $n) : float { @@ -282,7 +282,7 @@ final class FinanceFormulas * * @return int Returns the PV * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfAPFPV(float $p, float $r) : int { @@ -298,7 +298,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueOfAnnuity(float $P, float $r, int $n) : float { @@ -314,7 +314,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfPeriodsOfPVA(float $pva, float $P, float $r) : int { @@ -330,7 +330,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodicPaymentOfPVA(float $pva, float $r, int $n) : float { @@ -345,7 +345,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueAnnuityFactor(float $r, int $n) : float { @@ -360,7 +360,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfPVAF(float $p, float $r) : int { @@ -376,7 +376,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueOfAnnuityDue(float $P, float $r, int $n) : float { @@ -394,7 +394,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodicPaymentOfPVAD(float $PV, float $r, int $n) : float { @@ -410,7 +410,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfPVAD(float $PV, float $P, float $r) : int { @@ -426,7 +426,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueOfAnnuityDue(float $P, float $r, int $n) : float { @@ -442,7 +442,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodicPaymentOfFVAD(float $FV, float $r, int $n) : float { @@ -458,7 +458,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfFVAD(float $FV, float $P, float $r) : int { @@ -473,7 +473,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAssetToSalesRatio(float $assets, float $revenue) : float { @@ -488,7 +488,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAssetTurnoverRatio(float $assets, float $revenue) : float { @@ -503,7 +503,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAverageCollectionPeriod(float $receivables, int $period = 365) : float { @@ -518,7 +518,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getReceivablesTurnover(float $sales, float $receivables) : float { @@ -534,7 +534,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCompoundInterest(float $P, float $r, int $n) : float { @@ -550,7 +550,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPrincipalOfCompundInterest(float $C, float $r, int $n) : float { @@ -566,7 +566,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfCompundInterest(float $P, float $C, float $r) : float { @@ -582,7 +582,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getContinuousCompounding(float $P, float $r, int $t) : float { @@ -598,7 +598,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPrincipalOfContinuousCompounding(float $C, float $r, int $t) : float { @@ -614,7 +614,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfContinuousCompounding(float $P, float $C, float $r) : float { @@ -630,7 +630,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRateOfContinuousCompounding(float $P, float $C, float $t) : float { @@ -645,7 +645,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCurrentRatio(float $assets, float $liabilities) : float { @@ -659,7 +659,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDaysInInventory(float $inventory) : float { @@ -674,7 +674,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDebtCoverageRatio(float $income, float $service) : float { @@ -689,7 +689,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDebtRatio(float $liabilities, float $assets) : float { @@ -704,7 +704,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDebtToEquityRatio(float $liabilities, float $equity) : float { @@ -719,7 +719,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDebtToIncomeRatio(float $payments, float $income) : float { @@ -735,7 +735,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDiscountedPaybackPeriod(float $CF, float $O1, float $r) : float { @@ -749,7 +749,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDoublingTime(float $r) : float { @@ -763,7 +763,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDoublingRate(float $t) : float { @@ -777,7 +777,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDoublingTimeContinuousCompounding(float $r) : float { @@ -791,7 +791,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDoublingContinuousCompoundingRate(float $t) : float { @@ -807,7 +807,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEquivalentAnnualAnnuity(float $NPV, float $r, int $n) : float { @@ -823,7 +823,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPeriodsOfEAA(float $C, float $NPV, float $r) : int { @@ -839,7 +839,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNetPresentValueOfEAA(float $C, float $r, int $n) : float { @@ -857,7 +857,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFreeCashFlowToEquity(float $income, float $depamo, float $capital, float $wc, float $borrowing) : float { @@ -875,7 +875,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFreeCashFlowToFirm(float $ebit, float $t, float $depamo, float $capital, float $wc) : float { @@ -895,7 +895,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValue(float $C, float $r, int $n) : float { @@ -911,7 +911,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueContinuousCompounding(float $PV, float $r, int $t) : float { @@ -931,7 +931,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFutureValueFactor(float $r, int $n) : float { @@ -945,7 +945,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGeometricMeanReturn(array $r) : float { @@ -962,7 +962,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGrowingAnnuityFV(float $P, float $r, float $g, int $n) : float { @@ -979,7 +979,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGrowingAnnuityPaymentPV(float $PV, float $r, float $g, int $n) : float { @@ -996,7 +996,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGrowingAnnuityPaymentFV(float $FV, float $r, float $g, int $n) : float { @@ -1013,7 +1013,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGrowingAnnuityPV(float $P, float $r, float $g, int $n) : float { @@ -1029,7 +1029,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGrowingPerpetuityPV(float $D, float $r, float $g) : float { @@ -1044,7 +1044,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getInterestCoverageRatio(float $ebit, float $expense) : float { @@ -1059,7 +1059,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getInventoryTurnoverRatio(float $sales, float $inventory) : float { @@ -1076,7 +1076,7 @@ final class FinanceFormulas * * @throws \UnexpectedValueException Throws this exception if the length of the array is 0 * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNetPresentValue(array $C, float $r) : float { @@ -1103,7 +1103,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNetProfitMargin(float $income, float $sales) : float { @@ -1118,7 +1118,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNetWorkingCapital(float $assets, float $liabilities) : float { @@ -1134,7 +1134,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNumberOfPeriodsPVFV(float $FV, float $PV, float $r) : float { @@ -1149,7 +1149,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPaybackPeriod(float $investment, float $cash) : float { @@ -1164,7 +1164,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueOfPerpetuity(float $D, float $r) : float { @@ -1180,7 +1180,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValue(float $C, float $r, int $n) : float { @@ -1196,7 +1196,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueContinuousCompounding(float $C, float $r, int $t) : float { @@ -1211,7 +1211,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueFactor(float $r, int $n) : float { @@ -1226,7 +1226,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getQuickRatio(float $assets, float $liabilities) : float { @@ -1241,7 +1241,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRateOfOnflation(float $newCPI, float $oldCPI) : float { @@ -1256,7 +1256,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRealRateOfReturn(float $nominal, float $inflation) : float { @@ -1271,7 +1271,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getReceivablesTurnoverRatio(float $sales, float $receivable) : float { @@ -1286,7 +1286,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRetentionRatio(float $income, float $dividends) : float { @@ -1301,7 +1301,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getReturnOnAssets(float $income, float $assets) : float { @@ -1316,7 +1316,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getReturnOnEquity(float $income, float $equity) : float { @@ -1331,7 +1331,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getReturnOnInvestment(float $earnings, float $investment) : float { @@ -1347,7 +1347,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSimpleInterest(float $P, float $r, int $t) : float { @@ -1363,7 +1363,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSimpleInterestRate(float $I, float $P, int $t) : float { @@ -1379,7 +1379,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSimpleInterestPrincipal(float $I, float $r, int $t) : float { @@ -1395,7 +1395,7 @@ final class FinanceFormulas * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSimpleInterestTime(float $I, float $P, float $r) : int { @@ -1410,7 +1410,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRelativeMarketShareByShare(float $ownShare, float $competitorShare) : float { @@ -1425,7 +1425,7 @@ final class FinanceFormulas * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRelativeMarketShareBySales(float $ownSales, float $competitorSales) : float { diff --git a/Business/Finance/Loan.php b/Business/Finance/Loan.php index d4a955c60..869e1b6ed 100644 --- a/Business/Finance/Loan.php +++ b/Business/Finance/Loan.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Business\Finance; /** * Finance class. * - * @package phpOMS\Business\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCaseParameterName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -37,7 +37,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPaymentsOnBalloonLoan(float $PV, float $r, int $n, float $balloon = 0.0) : float { @@ -54,7 +54,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBalloonBalanceOfLoan(float $PV, float $P, float $r, int $n) : float { @@ -70,7 +70,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLoanPayment(float $PV, float $r, int $n) : float { @@ -87,7 +87,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRemainingBalanceLoan(float $PV, float $P, float $r, int $n) : float { @@ -102,7 +102,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLoanToDepositRatio(float $loans, float $deposits) : float { @@ -117,7 +117,7 @@ final class Loan * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLoanToValueRatio(float $loan, float $collateral) : float { diff --git a/Business/Finance/Lorenzkurve.php b/Business/Finance/Lorenzkurve.php index 9826bd69a..af995609c 100644 --- a/Business/Finance/Lorenzkurve.php +++ b/Business/Finance/Lorenzkurve.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Business\Finance; /** * Finance class. * - * @package phpOMS\Business\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Lorenzkurve { @@ -31,7 +31,7 @@ final class Lorenzkurve * * @return float Returns the gini coefficient * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGiniCoefficient(array $data) : float { diff --git a/Business/Finance/StockBonds.php b/Business/Finance/StockBonds.php index 3d0cfe5da..b74ad4177 100644 --- a/Business/Finance/StockBonds.php +++ b/Business/Finance/StockBonds.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Business\Finance; /** * Finance class. * - * @package phpOMS\Business\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCaseParameterName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -36,7 +36,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBondEquivalentYield(float $fv, float $price, int $days) : float { @@ -51,7 +51,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBookValuePerShare(float $total, int $common) : float { @@ -67,7 +67,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExpectedReturnCAPM(float $rf, float $beta, float $r) : float { @@ -82,7 +82,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCapitalGainsYield(float $P0, float $P1) : float { @@ -97,7 +97,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCurrentYield(float $coupons, float $price) : float { @@ -113,7 +113,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDilutedEarningsPerShare(float $income, float $avg, float $other) : float { @@ -128,7 +128,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDividendPayoutRatio(float $dividends, float $income) : float { @@ -143,7 +143,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDividendYield(float $dividends, float $price) : float { @@ -158,7 +158,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDividendsPerShare(float $dividends, int $shares) : float { @@ -173,7 +173,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEarningsPerShare(float $income, float $shares) : float { @@ -188,7 +188,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEquityMultiplier(float $assets, float $equity) : float { @@ -202,7 +202,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHoldingPeriodReturn(array $r) : float { @@ -224,7 +224,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNetAssetValue(float $assets, float $liabilities, int $shares) : float { @@ -239,7 +239,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPriceToBookValue(float $market, float $book) : float { @@ -254,7 +254,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPriceEarningsRatio(float $price, float $earnings) : float { @@ -269,7 +269,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPriceToSalesRatio(float $price, float $sales) : float { @@ -285,7 +285,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPresentValueOfStockConstantGrowth(float $dividend, float $r, float $g = 0.0) : float { @@ -300,7 +300,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getTaxEquivalentYield(float $free, float $tax) : float { @@ -316,7 +316,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getTotalStockReturn(float $P0, float $P1, float $D) : float { @@ -333,7 +333,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getYieldToMaturity(float $C, float $F, float $P, int $n) : float { @@ -349,7 +349,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getZeroCouponBondValue(float $F, float $r, int $t) : float { @@ -365,7 +365,7 @@ final class StockBonds * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getZeroCouponBondEffectiveYield(float $F, float $PV, int $n) : float { diff --git a/Business/Marketing/Metrics.php b/Business/Marketing/Metrics.php index bd1e6ded9..480d1f44a 100644 --- a/Business/Marketing/Metrics.php +++ b/Business/Marketing/Metrics.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Marketing - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Marketing + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Business\Marketing; * * This class provided basic marketing metric calculations * - * @package phpOMS\Business\Marketing - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Marketing + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Metrics { @@ -37,7 +37,7 @@ final class Metrics * * @return float Returns the customer retention * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCustomerRetention(int $ce, int $cn, int $cs) : float { diff --git a/Business/Marketing/NetPromoterScore.php b/Business/Marketing/NetPromoterScore.php index 90821949d..0f8682be7 100644 --- a/Business/Marketing/NetPromoterScore.php +++ b/Business/Marketing/NetPromoterScore.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Marketing - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Marketing + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ namespace phpOMS\Business\Marketing; * The net promoter score is a basic evaluation of the happiness of customers. * Instead of customers the NPS can also be transferred to non-customers. * - * @package phpOMS\Business\Marketing - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Marketing + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NetPromoterScore { /** * Score values * - * @var int[] + * @var int[] * @since 1.0.0 */ private array $scores = []; @@ -42,7 +42,7 @@ final class NetPromoterScore * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function add(int $score) : void { @@ -59,7 +59,7 @@ final class NetPromoterScore * * @return int Retunrs the NPS * - * @since 1.0.0 + * @since 1.0.0 */ public function getScore() : int { @@ -89,7 +89,7 @@ final class NetPromoterScore * * @return int Returns the amount of detractors (>= 0) * - * @since 1.0.0 + * @since 1.0.0 */ public function countDetractors() : int { @@ -110,7 +110,7 @@ final class NetPromoterScore * * @return int Returns the amount of passives (>= 0) * - * @since 1.0.0 + * @since 1.0.0 */ public function countPassives() : int { @@ -131,7 +131,7 @@ final class NetPromoterScore * * @return int Returns the amount of promoters (>= 0) * - * @since 1.0.0 + * @since 1.0.0 */ public function countPromoters() : int { diff --git a/Business/Programming/Metrics.php b/Business/Programming/Metrics.php index 5896b601d..307e110e6 100644 --- a/Business/Programming/Metrics.php +++ b/Business/Programming/Metrics.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Programming - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Programming + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Business\Programming; * * This class provides basic programming metric calculations. * - * @package phpOMS\Business\Programming - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Programming + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Metrics { @@ -37,7 +37,7 @@ final class Metrics * * @return int ABC metric score * - * @since 1.0.0 + * @since 1.0.0 */ public static function abcScore(int $a, int $b, int $c) : int { diff --git a/Business/Sales/MarketShareEstimation.php b/Business/Sales/MarketShareEstimation.php index f60e62d20..355d51fac 100644 --- a/Business/Sales/MarketShareEstimation.php +++ b/Business/Sales/MarketShareEstimation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Business\Sales - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Business\Sales + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ namespace phpOMS\Business\Sales; * This class can be used to calculate the market share based on a rank or vice versa * the rank based on a marketshare in a Zipf distributed market. * - * @package phpOMS\Business\Sales - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Business\Sales + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class MarketShareEstimation { @@ -38,7 +38,7 @@ final class MarketShareEstimation * * @return int Returns the rank * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRankFromMarketShare(int $participants, float $marketShare, float $modifier = 1.0) : int { @@ -61,7 +61,7 @@ final class MarketShareEstimation * * @return float Returns the Market share * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMarketShareFromRank(int $participants, int $rank, float $modifier = 1.0) : float { diff --git a/Config/OptionsInterface.php b/Config/OptionsInterface.php index 8bb44af45..415c957ae 100644 --- a/Config/OptionsInterface.php +++ b/Config/OptionsInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Config - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Config + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Config; /** * Options class. * - * @package phpOMS\Config - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Config + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface OptionsInterface { @@ -32,7 +32,7 @@ interface OptionsInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function exists($key) : bool; @@ -45,7 +45,7 @@ interface OptionsInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function setOption($key, $value, bool $overwrite = true) : bool; @@ -57,7 +57,7 @@ interface OptionsInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function setOptions(array $pair, bool $overwrite = true) : bool; @@ -68,7 +68,7 @@ interface OptionsInterface * * @return mixed Option value * - * @since 1.0.0 + * @since 1.0.0 */ public function getOption($key); } diff --git a/Config/OptionsTrait.php b/Config/OptionsTrait.php index 1228d9263..d3f34def2 100644 --- a/Config/OptionsTrait.php +++ b/Config/OptionsTrait.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Config - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Config + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Config; * * This trait basically implements the OptionsInterface * - * @package phpOMS\Config - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Config + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ trait OptionsTrait { @@ -30,7 +30,7 @@ trait OptionsTrait /** * Options. * - * @var array + * @var array * @since 1.0.0 */ private array $options = []; diff --git a/Config/SettingsAbstract.php b/Config/SettingsAbstract.php index 6c13329bd..0fa550957 100644 --- a/Config/SettingsAbstract.php +++ b/Config/SettingsAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Config - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Config + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract; * * Responsible for providing a database/cache bound settings manger * - * @package phpOMS\Config - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Config + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SettingsAbstract implements OptionsInterface { @@ -36,7 +36,7 @@ abstract class SettingsAbstract implements OptionsInterface /** * Cache manager (pool). * - * @var null|CachePool + * @var null|CachePool * @since 1.0.0 */ protected ?CachePool $cache = null; @@ -44,7 +44,7 @@ abstract class SettingsAbstract implements OptionsInterface /** * Database connection instance. * - * @var null|ConnectionAbstract + * @var null|ConnectionAbstract * @since 1.0.0 */ protected ?ConnectionAbstract $connection = null; @@ -52,7 +52,7 @@ abstract class SettingsAbstract implements OptionsInterface /** * Settings table. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected static ?string $table = null; @@ -60,7 +60,7 @@ abstract class SettingsAbstract implements OptionsInterface /** * Columns to identify the value. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $columns = [ @@ -70,7 +70,7 @@ abstract class SettingsAbstract implements OptionsInterface /** * Field where the actual value is stored. * - * @var string + * @var string * @since 1.0.0 */ protected string $valueField = 'option'; @@ -82,7 +82,7 @@ abstract class SettingsAbstract implements OptionsInterface * * @return mixed Option value * - * @since 1.0.0 + * @since 1.0.0 */ public function get($columns) { @@ -133,7 +133,7 @@ abstract class SettingsAbstract implements OptionsInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set(array $options, bool $store = false) : void { diff --git a/Contract/ArrayableInterface.php b/Contract/ArrayableInterface.php index 2ab553746..9403eb825 100644 --- a/Contract/ArrayableInterface.php +++ b/Contract/ArrayableInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Contract - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Contract + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Contract; * * This can be helpful for \JsonSerializable classes or classes which need to be represented as array. * - * @package phpOMS\Contract - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Contract + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ArrayableInterface { @@ -32,7 +32,7 @@ interface ArrayableInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array; } diff --git a/Contract/RenderableInterface.php b/Contract/RenderableInterface.php index 357bdac1d..413187a07 100644 --- a/Contract/RenderableInterface.php +++ b/Contract/RenderableInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Contract - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Contract + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ namespace phpOMS\Contract; * This is primarily used for classes that provide formatted output or output, * that get rendered. * - * @package phpOMS\Contract - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Contract + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface RenderableInterface { @@ -33,7 +33,7 @@ interface RenderableInterface * * @return string Returns rendered output * - * @since 1.0.0 + * @since 1.0.0 */ public function render() : string; } diff --git a/DataStorage/Cache/CachePool.php b/DataStorage/Cache/CachePool.php index edcd6c5a3..f6e2fc67b 100644 --- a/DataStorage/Cache/CachePool.php +++ b/DataStorage/Cache/CachePool.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,17 +24,17 @@ use phpOMS\DataStorage\DataStoragePoolInterface; * * Responsible for storing cache implementation. * - * @package phpOMS\DataStorage\Cache - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CachePool implements DataStoragePoolInterface { /** * MemCache instance. * - * @var DataStorageConnectionInterface[] + * @var DataStorageConnectionInterface[] * @since 1.0.0 */ private ?array $pool = null; @@ -47,7 +47,7 @@ final class CachePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $key, DataStorageConnectionInterface $cache) : bool { @@ -67,7 +67,7 @@ final class CachePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $key) : bool { @@ -87,7 +87,7 @@ final class CachePool implements DataStoragePoolInterface * * @return DataStorageConnectionInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $key = '') : DataStorageConnectionInterface { @@ -110,7 +110,7 @@ final class CachePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function create(string $key, array $config) : bool { diff --git a/DataStorage/Cache/CacheStatus.php b/DataStorage/Cache/CacheStatus.php index 82267e6ab..2472d17f2 100644 --- a/DataStorage/Cache/CacheStatus.php +++ b/DataStorage/Cache/CacheStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Possible caching status * - * @package phpOMS\DataStorage\Cache - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class CacheStatus extends Enum { diff --git a/DataStorage/Cache/CacheType.php b/DataStorage/Cache/CacheType.php index 6c406fb94..2e1436493 100644 --- a/DataStorage/Cache/CacheType.php +++ b/DataStorage/Cache/CacheType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Cache types that are supported by the application * - * @package phpOMS\DataStorage\Cache - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class CacheType extends Enum { diff --git a/DataStorage/Cache/Connection/CacheValueType.php b/DataStorage/Cache/Connection/CacheValueType.php index b199ad458..10e91156a 100644 --- a/DataStorage/Cache/Connection/CacheValueType.php +++ b/DataStorage/Cache/Connection/CacheValueType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Possible caching types * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class CacheValueType extends Enum { diff --git a/DataStorage/Cache/Connection/ConnectionAbstract.php b/DataStorage/Cache/Connection/ConnectionAbstract.php index b7f5ff7bb..9d5dea96c 100644 --- a/DataStorage/Cache/Connection/ConnectionAbstract.php +++ b/DataStorage/Cache/Connection/ConnectionAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -23,10 +23,10 @@ use phpOMS\DataStorage\Cache\CacheType; * Handles the cache connection. * Implementing wrapper functions for multiple caches is planned (far away). * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ConnectionAbstract implements ConnectionInterface { @@ -36,7 +36,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * This can be used externally to define queries and execute them. * - * @var mixed + * @var mixed * @since 1.0.0 */ protected $con = null; @@ -46,7 +46,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * The database prefix name for unique table names * - * @var string + * @var string * @since 1.0.0 */ public string $prefix = ''; @@ -54,7 +54,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database data. * - * @var null|string[] + * @var null|string[] * @since 1.0.0 */ protected ?array $dbdata = null; @@ -62,7 +62,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database type. * - * @var string + * @var string * @since 1.0.0 */ protected string $type = CacheType::UNDEFINED; @@ -70,7 +70,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = CacheStatus::CLOSED; @@ -96,7 +96,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCache() : string { @@ -108,7 +108,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getHost() : string { @@ -120,7 +120,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPort() : int { @@ -132,7 +132,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPrefix() : string { @@ -144,7 +144,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * Sets the database connection to null * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { @@ -154,7 +154,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Closes the chache. * - * @since 1.0.0 + * @since 1.0.0 */ public function close() : void { @@ -169,7 +169,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ protected function parseValue($value) { diff --git a/DataStorage/Cache/Connection/ConnectionFactory.php b/DataStorage/Cache/Connection/ConnectionFactory.php index 72b40053e..6973ed68f 100644 --- a/DataStorage/Cache/Connection/ConnectionFactory.php +++ b/DataStorage/Cache/Connection/ConnectionFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Cache\CacheType; /** * Cache connection factory. * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ConnectionFactory { @@ -30,7 +30,7 @@ class ConnectionFactory /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -46,7 +46,7 @@ class ConnectionFactory * * @throws \InvalidArgumentException throws this exception if the cache is not supported * - * @since 1.0.0 + * @since 1.0.0 */ public static function create(array $cacheData) : ConnectionInterface { diff --git a/DataStorage/Cache/Connection/ConnectionInterface.php b/DataStorage/Cache/Connection/ConnectionInterface.php index 32e020506..156917d60 100644 --- a/DataStorage/Cache/Connection/ConnectionInterface.php +++ b/DataStorage/Cache/Connection/ConnectionInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\DataStorageConnectionInterface; /** * Cache interface. * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ConnectionInterface extends DataStorageConnectionInterface { @@ -36,7 +36,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set($key, $value, int $expire = -1) : void; @@ -49,7 +49,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function add($key, $value, int $expire = -1) : bool; @@ -61,7 +61,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return mixed Cache value * - * @since 1.0.0 + * @since 1.0.0 */ public function get($key, int $expire = -1); @@ -73,7 +73,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function delete($key, int $expire = -1) : bool; @@ -84,7 +84,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function flush(int $expire = 0) : bool; @@ -93,7 +93,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function flushAll() : bool; @@ -106,7 +106,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function replace($key, $value, int $expire = -1) : bool; @@ -115,7 +115,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return mixed[] Stats array * - * @since 1.0.0 + * @since 1.0.0 */ public function stats() : array; @@ -124,7 +124,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return int Storage threshold * - * @since 1.0.0 + * @since 1.0.0 */ public function getThreshold() : int; } diff --git a/DataStorage/Cache/Connection/FileCache.php b/DataStorage/Cache/Connection/FileCache.php index c89ba1ed3..aa7e5f0b0 100644 --- a/DataStorage/Cache/Connection/FileCache.php +++ b/DataStorage/Cache/Connection/FileCache.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -35,10 +35,10 @@ use phpOMS\System\File\Local\File; * delimiter (1 byte) * data (n bytes) * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class FileCache extends ConnectionAbstract { @@ -50,7 +50,7 @@ class FileCache extends ConnectionAbstract /** * Delimiter for cache meta data * - * @var string + * @var string * @since 1.0.0 */ private const DELIM = '$'; @@ -58,7 +58,7 @@ class FileCache extends ConnectionAbstract /** * File path sanitizer * - * @var string + * @var string * @since 1.0.0 */ private const SANITIZE = '~'; @@ -66,7 +66,7 @@ class FileCache extends ConnectionAbstract /** * Only cache if data is larger than threshold (0-100). * - * @var int + * @var int * @since 1.0.0 */ private int $threshold = 50; @@ -76,7 +76,7 @@ class FileCache extends ConnectionAbstract * * @param string $path Cache path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path) { @@ -184,7 +184,7 @@ class FileCache extends ConnectionAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function build($value, int $expire) : string { @@ -203,7 +203,7 @@ class FileCache extends ConnectionAbstract * * @throws \InvalidArgumentException This exception is thrown if an unsupported datatype is used * - * @since 1.0.0 + * @since 1.0.0 */ private function dataType($value) : int { @@ -238,7 +238,7 @@ class FileCache extends ConnectionAbstract * * @throws InvalidEnumValue This exception is thrown if an unsupported cache value type is used * - * @since 1.0.0 + * @since 1.0.0 */ private function stringify($value, int $type) : string { @@ -266,7 +266,7 @@ class FileCache extends ConnectionAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getExpire(string $raw) : int { @@ -331,7 +331,7 @@ class FileCache extends ConnectionAbstract * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private function reverseValue(int $type, string $raw, int $expireEnd) { @@ -465,7 +465,7 @@ class FileCache extends ConnectionAbstract * * @return string Path to cache file * - * @since 1.0.0 + * @since 1.0.0 */ private function getPath($key) : string { diff --git a/DataStorage/Cache/Connection/MemCached.php b/DataStorage/Cache/Connection/MemCached.php index b0b902c33..eb11aee75 100644 --- a/DataStorage/Cache/Connection/MemCached.php +++ b/DataStorage/Cache/Connection/MemCached.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Cache\Exception\InvalidConnectionConfigException; /** * Memcache class. * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MemCached extends ConnectionAbstract { @@ -36,7 +36,7 @@ class MemCached extends ConnectionAbstract /** * Only cache if data is larger than threshold (0-100). * - * @var int + * @var int * @since 1.0.0 */ private int $threshold = 0; @@ -46,7 +46,7 @@ class MemCached extends ConnectionAbstract * * @param array $data Cache data * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $data) { @@ -194,7 +194,7 @@ class MemCached extends ConnectionAbstract /** * Destructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { @@ -206,7 +206,7 @@ class MemCached extends ConnectionAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function close() : void { diff --git a/DataStorage/Cache/Connection/NullCache.php b/DataStorage/Cache/Connection/NullCache.php index 55c0550f6..4fbf31d1f 100644 --- a/DataStorage/Cache/Connection/NullCache.php +++ b/DataStorage/Cache/Connection/NullCache.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Cache\Connection; /** * Null cache class. * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullCache extends ConnectionAbstract { diff --git a/DataStorage/Cache/Connection/RedisCache.php b/DataStorage/Cache/Connection/RedisCache.php index 4bbdbd49c..67612e30c 100644 --- a/DataStorage/Cache/Connection/RedisCache.php +++ b/DataStorage/Cache/Connection/RedisCache.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Cache\Exception\InvalidConnectionConfigException; /** * RedisCache class. * - * @package phpOMS\DataStorage\Cache\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class RedisCache extends ConnectionAbstract { @@ -38,7 +38,7 @@ class RedisCache extends ConnectionAbstract * * @param array $data Cache data * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $data) { @@ -222,7 +222,7 @@ class RedisCache extends ConnectionAbstract /** * Destructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { diff --git a/DataStorage/Cache/Exception/InvalidConnectionConfigException.php b/DataStorage/Cache/Exception/InvalidConnectionConfigException.php index dfc743264..09a5b141f 100644 --- a/DataStorage/Cache/Exception/InvalidConnectionConfigException.php +++ b/DataStorage/Cache/Exception/InvalidConnectionConfigException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cache\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cache\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Cache\Exception; /** * Invalid cache config exception class. * - * @package phpOMS\DataStorage\Cache\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cache\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidConnectionConfigException extends \InvalidArgumentException { @@ -31,7 +31,7 @@ final class InvalidConnectionConfigException extends \InvalidArgumentException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message = '', int $code = 0, \Exception $previous = null) { diff --git a/DataStorage/Cookie/CookieJar.php b/DataStorage/Cookie/CookieJar.php index 6b5ef11b0..9d8bdd2cb 100644 --- a/DataStorage/Cookie/CookieJar.php +++ b/DataStorage/Cookie/CookieJar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Cookie - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Cookie + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,24 +19,24 @@ use phpOMS\DataStorage\LockException; /** * CookieJar class * - * @package phpOMS\DataStorage\Cookie - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Cookie + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CookieJar { /** * Locked. * - * @var bool + * @var bool * @since 1.0.0 */ private static bool $isLocked = false; /** * Cookie values. * - * @var array + * @var array * @since 1.0.0 */ private array $cookies = []; @@ -58,7 +58,7 @@ final class CookieJar * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function lock() : void { @@ -70,7 +70,7 @@ final class CookieJar * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isLocked() : bool { @@ -91,7 +91,7 @@ final class CookieJar * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $id, $value, int $expire = 86400, string $path = '/', string $domain = null, bool $secure = false, bool $httpOnly = true, bool $overwrite = true) : bool { @@ -118,7 +118,7 @@ final class CookieJar * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $id) { @@ -134,7 +134,7 @@ final class CookieJar * * @throws LockException Throws this exception if the cookie is already sent * - * @since 1.0.0 + * @since 1.0.0 */ public function delete(string $id) : bool { @@ -162,7 +162,7 @@ final class CookieJar * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $id) : bool { @@ -182,7 +182,7 @@ final class CookieJar * * @throws LockException Throws this exception if the cookie is already sent * - * @since 1.0.0 + * @since 1.0.0 */ public function save() : void { diff --git a/DataStorage/DataMapperInterface.php b/DataStorage/DataMapperInterface.php index f423003d3..99b6b7d83 100644 --- a/DataStorage/DataMapperInterface.php +++ b/DataStorage/DataMapperInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Database\Query\Builder; * * This interface is used for DB, Cache & Session implementations * - * @package phpOMS\DataStorage - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface DataMapperInterface { @@ -36,7 +36,7 @@ interface DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function create($obj); @@ -47,7 +47,7 @@ interface DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function update($obj); @@ -58,7 +58,7 @@ interface DataMapperInterface * * @return int Status * - * @since 1.0.0 + * @since 1.0.0 */ public static function delete($obj); @@ -69,7 +69,7 @@ interface DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function find(string $search) : array; @@ -80,7 +80,7 @@ interface DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function listResults(Builder $query); @@ -91,7 +91,7 @@ interface DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function populate(array $result); @@ -102,7 +102,7 @@ interface DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateIterable(array $result) : array; @@ -113,7 +113,7 @@ interface DataMapperInterface * * @return $this * - * @since 1.0.0 + * @since 1.0.0 */ public static function with(...$objects); @@ -124,7 +124,7 @@ interface DataMapperInterface * * @return self * - * @since 1.0.0 + * @since 1.0.0 */ public static function get($primaryKey); } diff --git a/DataStorage/DataStorageConnectionInterface.php b/DataStorage/DataStorageConnectionInterface.php index 96197978c..4541b6e6c 100644 --- a/DataStorage/DataStorageConnectionInterface.php +++ b/DataStorage/DataStorageConnectionInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage; /** * Database connection interface. * - * @package phpOMS\DataStorage - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface DataStorageConnectionInterface { @@ -30,7 +30,7 @@ interface DataStorageConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPrefix() : string; @@ -45,7 +45,7 @@ interface DataStorageConnectionInterface * * @todo make private, reason was that not everyone wants to connect during initialization?! * - * @since 1.0.0 + * @since 1.0.0 */ public function connect(array $data) : void; @@ -54,7 +54,7 @@ interface DataStorageConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : string; @@ -63,7 +63,7 @@ interface DataStorageConnectionInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : int; @@ -72,7 +72,7 @@ interface DataStorageConnectionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function close() : void; } diff --git a/DataStorage/DataStoragePoolInterface.php b/DataStorage/DataStoragePoolInterface.php index 21395323b..41036cc18 100644 --- a/DataStorage/DataStoragePoolInterface.php +++ b/DataStorage/DataStoragePoolInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\DataStorage; * * DB, Cache, Session * - * @package phpOMS\DataStorage - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface DataStoragePoolInterface { @@ -35,7 +35,7 @@ interface DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $key, DataStorageConnectionInterface $db) : bool; @@ -46,7 +46,7 @@ interface DataStoragePoolInterface * * @return DataStorageConnectionInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $key = '') : DataStorageConnectionInterface; @@ -57,7 +57,7 @@ interface DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $key) : bool; @@ -69,7 +69,7 @@ interface DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function create(string $key, array $config) : bool; } diff --git a/DataStorage/Database/BuilderAbstract.php b/DataStorage/Database/BuilderAbstract.php index ea05dafa3..1c6b186d6 100644 --- a/DataStorage/Database/BuilderAbstract.php +++ b/DataStorage/Database/BuilderAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\DataStorageConnectionInterface; /** * Database query builder. * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class BuilderAbstract { /** * Grammar. * - * @var null|GrammarAbstract + * @var null|GrammarAbstract * @since 1.0.0 */ protected ?GrammarAbstract $grammar = null; @@ -38,7 +38,7 @@ abstract class BuilderAbstract /** * Database connection. * - * @var null|DataStorageConnectionInterface + * @var null|DataStorageConnectionInterface * @since 1.0.0 */ protected ?DataStorageConnectionInterface $connection = null; @@ -46,7 +46,7 @@ abstract class BuilderAbstract /** * Query type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = QueryType::NONE; @@ -54,7 +54,7 @@ abstract class BuilderAbstract /** * Prefix. * - * @var string + * @var string * @since 1.0.0 */ protected string $prefix = ''; @@ -62,7 +62,7 @@ abstract class BuilderAbstract /** * Raw. * - * @var string + * @var string * @since 1.0.0 */ public string $raw = ''; @@ -72,7 +72,7 @@ abstract class BuilderAbstract * * @return DataStorageConnectionInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function getConnection() : DataStorageConnectionInterface { @@ -86,7 +86,7 @@ abstract class BuilderAbstract * * @return self * - * @since 1.0.0 + * @since 1.0.0 */ public function prefix(string $prefix) : self { @@ -102,7 +102,7 @@ abstract class BuilderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function quote(string $value) : string { @@ -114,7 +114,7 @@ abstract class BuilderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPrefix() : string { @@ -126,7 +126,7 @@ abstract class BuilderAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -138,7 +138,7 @@ abstract class BuilderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function toSql() : string; } diff --git a/DataStorage/Database/Connection/ConnectionAbstract.php b/DataStorage/Database/Connection/ConnectionAbstract.php index 9d6527d72..752ce70e2 100644 --- a/DataStorage/Database/Connection/ConnectionAbstract.php +++ b/DataStorage/Database/Connection/ConnectionAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,10 +25,10 @@ use phpOMS\DataStorage\Database\Schema\Grammar\Grammar as SchemaGrammar; * Handles the database connection. * Implementing wrapper functions for multiple databases is planned (far away). * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ConnectionAbstract implements ConnectionInterface { @@ -38,7 +38,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * This can be used externally to define queries and execute them. * - * @var null|\PDO + * @var null|\PDO * @since 1.0.0 */ public ?\PDO $con = null; @@ -48,7 +48,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * The database prefix name for unique table names * - * @var string + * @var string * @since 1.0.0 */ public string $prefix = ''; @@ -56,7 +56,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database data. * - * @var null|string[] + * @var null|string[] * @since 1.0.0 */ protected ?array $dbdata = null; @@ -64,7 +64,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database type. * - * @var string + * @var string * @since 1.0.0 */ protected string $type = DatabaseType::UNDEFINED; @@ -72,7 +72,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = DatabaseStatus::CLOSED; @@ -80,7 +80,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database grammar. * - * @var null|Grammar + * @var null|Grammar * @since 1.0.0 */ protected ?Grammar $grammar = null; @@ -88,7 +88,7 @@ abstract class ConnectionAbstract implements ConnectionInterface /** * Database grammar. * - * @var null|SchemaGrammar + * @var null|SchemaGrammar * @since 1.0.0 */ protected ?SchemaGrammar $schemaGrammar = null; @@ -114,7 +114,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDatabase() : string { @@ -126,7 +126,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getHost() : string { @@ -138,7 +138,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPort() : int { @@ -150,7 +150,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPrefix() : string { @@ -178,7 +178,7 @@ abstract class ConnectionAbstract implements ConnectionInterface * * Sets the database connection to null * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { diff --git a/DataStorage/Database/Connection/ConnectionFactory.php b/DataStorage/Database/Connection/ConnectionFactory.php index 15a4c922e..c3d21c0b8 100644 --- a/DataStorage/Database/Connection/ConnectionFactory.php +++ b/DataStorage/Database/Connection/ConnectionFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabaseType; /** * Database connection factory. * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ConnectionFactory { @@ -30,7 +30,7 @@ final class ConnectionFactory /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -48,7 +48,7 @@ final class ConnectionFactory * * @throws \InvalidArgumentException throws this exception if the database is not supported * - * @since 1.0.0 + * @since 1.0.0 */ public static function create(array $dbdata) : ConnectionAbstract { diff --git a/DataStorage/Database/Connection/ConnectionInterface.php b/DataStorage/Database/Connection/ConnectionInterface.php index 1417ac507..f6158a0f5 100644 --- a/DataStorage/Database/Connection/ConnectionInterface.php +++ b/DataStorage/Database/Connection/ConnectionInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\DataStorageConnectionInterface; /** * Database connection interface. * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ConnectionInterface extends DataStorageConnectionInterface { @@ -33,7 +33,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return Grammar * - * @since 1.0.0 + * @since 1.0.0 */ public function getGrammar() : Grammar; @@ -42,7 +42,7 @@ interface ConnectionInterface extends DataStorageConnectionInterface * * @return SchemaGrammar * - * @since 1.0.0 + * @since 1.0.0 */ public function getSchemaGrammar() : SchemaGrammar; } diff --git a/DataStorage/Database/Connection/MysqlConnection.php b/DataStorage/Database/Connection/MysqlConnection.php index 9a85c36e3..5c1b856c9 100644 --- a/DataStorage/Database/Connection/MysqlConnection.php +++ b/DataStorage/Database/Connection/MysqlConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,10 +26,10 @@ use phpOMS\DataStorage\Database\Schema\Grammar\MysqlGrammar as MysqlSchemaGramma * Handles the database connection. * Implementing wrapper functions for multiple databases is planned (far away). * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class MysqlConnection extends ConnectionAbstract { @@ -41,7 +41,7 @@ final class MysqlConnection extends ConnectionAbstract * * @param string[] $dbdata the basic database information for establishing a connection * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $dbdata) { diff --git a/DataStorage/Database/Connection/NullConnection.php b/DataStorage/Database/Connection/NullConnection.php index fba8f9ec2..08d8006eb 100644 --- a/DataStorage/Database/Connection/NullConnection.php +++ b/DataStorage/Database/Connection/NullConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Connection; /** * Database handler. * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullConnection extends ConnectionAbstract { diff --git a/DataStorage/Database/Connection/PostgresConnection.php b/DataStorage/Database/Connection/PostgresConnection.php index 339cee6b3..bec6a1a95 100644 --- a/DataStorage/Database/Connection/PostgresConnection.php +++ b/DataStorage/Database/Connection/PostgresConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,10 +26,10 @@ use phpOMS\DataStorage\Database\Schema\Grammar\PostgresGrammar as PostgresSchema * Handles the database connection. * Implementing wrapper functions for multiple databases is planned (far away). * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class PostgresConnection extends ConnectionAbstract { @@ -40,7 +40,7 @@ final class PostgresConnection extends ConnectionAbstract * * @param string[] $dbdata the basic database information for establishing a connection * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $dbdata) { diff --git a/DataStorage/Database/Connection/SQLiteConnection.php b/DataStorage/Database/Connection/SQLiteConnection.php index 58a6e4847..f6ab76c45 100644 --- a/DataStorage/Database/Connection/SQLiteConnection.php +++ b/DataStorage/Database/Connection/SQLiteConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,10 +26,10 @@ use phpOMS\DataStorage\Database\Schema\Grammar\SQLiteGrammar as SQLiteSchemaGram * Handles the database connection. * Implementing wrapper functions for multiple databases is planned (far away). * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class SQLiteConnection extends ConnectionAbstract { @@ -41,7 +41,7 @@ final class SQLiteConnection extends ConnectionAbstract * * @param string[] $dbdata the basic database information for establishing a connection * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $dbdata) { diff --git a/DataStorage/Database/Connection/SqlServerConnection.php b/DataStorage/Database/Connection/SqlServerConnection.php index 9991d35ae..e2d464ff4 100644 --- a/DataStorage/Database/Connection/SqlServerConnection.php +++ b/DataStorage/Database/Connection/SqlServerConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Connection - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Connection + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,10 +26,10 @@ use phpOMS\DataStorage\Database\Schema\Grammar\MysqlGrammar as MysqlSchemaGramma * Handles the database connection. * Implementing wrapper functions for multiple databases is planned (far away). * - * @package phpOMS\DataStorage\Database\Connection - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Connection + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class SqlServerConnection extends ConnectionAbstract { @@ -40,7 +40,7 @@ final class SqlServerConnection extends ConnectionAbstract * * @param string[] $dbdata the basic database information for establishing a connection * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $dbdata) { diff --git a/DataStorage/Database/DataMapperAbstract.php b/DataStorage/Database/DataMapperAbstract.php index 56a15a35a..7dabbd825 100644 --- a/DataStorage/Database/DataMapperAbstract.php +++ b/DataStorage/Database/DataMapperAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -27,10 +27,10 @@ use phpOMS\Utils\ArrayUtils; * * DB, Cache, Session * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @todo: currently hasmany, owns one etc. are not using joins. In some cases this could improve the performance instead of separately querying the database */ class DataMapperAbstract implements DataMapperInterface @@ -38,7 +38,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Database connection. * - * @var null|ConnectionAbstract + * @var null|ConnectionAbstract * @since 1.0.0 */ protected static ?ConnectionAbstract $db = null; @@ -46,7 +46,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Overwriting extended values. * - * @var bool + * @var bool * @since 1.0.0 */ protected static bool $overwrite = true; @@ -54,7 +54,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = ''; @@ -62,7 +62,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $createdAt = ''; @@ -70,7 +70,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Language * - * @var string + * @var string * @since 1.0.0 */ protected static string $languageField = ''; @@ -78,7 +78,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = []; @@ -88,7 +88,7 @@ class DataMapperAbstract implements DataMapperInterface * * Most often used for localizations * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $conditionals = []; @@ -96,7 +96,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Has many relation. * - * @var array + * @var array * @since 1.0.0 */ protected static array $hasMany = []; @@ -106,7 +106,7 @@ class DataMapperAbstract implements DataMapperInterface * * Relation is defined in current mapper * - * @var array + * @var array * @since 1.0.0 */ protected static array $ownsOne = []; @@ -116,12 +116,12 @@ class DataMapperAbstract implements DataMapperInterface * * Relation is defined in current mapper * - * @var string[] + * @var string[] * @since 1.0.0 */ /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = []; @@ -129,7 +129,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = ''; @@ -137,7 +137,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Fields to load. * - * @var array[] + * @var array[] * @since 1.0.0 */ protected static array $fields = []; @@ -145,7 +145,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Initialized objects for cross reference to reduce initialization costs * - * @var array[] + * @var array[] * @since 1.0.0 */ protected static array $initObjects = []; @@ -153,7 +153,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Initialized arrays for cross reference to reduce initialization costs * - * @var array[] + * @var array[] * @since 1.0.0 */ protected static array $initArrays = []; @@ -161,7 +161,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Highest mapper to know when to clear initialized objects * - * @var null|string + * @var null|string * @since 1.0.0 */ protected static ?string $parentMapper = null; @@ -169,7 +169,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Extended value collection. * - * @var array + * @var array * @since 1.0.0 */ protected static array $collection = [ @@ -184,7 +184,7 @@ class DataMapperAbstract implements DataMapperInterface /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -196,7 +196,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __clone() @@ -210,7 +210,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function setConnection(ConnectionAbstract $con) : void { @@ -222,7 +222,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPrimaryField() : string { @@ -234,7 +234,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getTable() : string { @@ -248,7 +248,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function extend($class) : void { @@ -272,7 +272,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function with(...$objects) : void { @@ -288,7 +288,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function clear() : void { @@ -324,7 +324,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function find(string $search) : array { @@ -350,7 +350,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function create($obj, int $relations = RelationType::ALL, bool $force = false) { @@ -387,7 +387,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function createConditionals(\ReflectionClass $refClass, object $obj, $objId): void { @@ -401,7 +401,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function createArray(array &$obj, int $relations = RelationType::ALL) { @@ -431,7 +431,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createModel(object $obj, \ReflectionClass $refClass) { @@ -498,7 +498,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function createConditionalsArray(array &$obj, $objId): void { @@ -511,7 +511,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createModelArray(array &$obj) { @@ -568,7 +568,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function getObjectId(object $obj, \ReflectionClass $refClass = null) { @@ -597,7 +597,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function setObjectId(\ReflectionClass $refClass, object $obj, $objId) : void { @@ -626,7 +626,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function createRelation(string $member, $id1, $id2) : bool { @@ -650,7 +650,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws InvalidMapperException Throws this exception if the mapper in the has many relation is invalid * - * @since 1.0.0 + * @since 1.0.0 */ private static function createHasMany(\ReflectionClass $refClass, object $obj, $objId) : void { @@ -738,7 +738,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws InvalidMapperException Throws this exception if the mapper in the has many relation is invalid * - * @since 1.0.0 + * @since 1.0.0 */ private static function createHasManyArray(array &$obj, $objId) : void { @@ -796,7 +796,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createOwnsOne(string $propertyName, $obj) { @@ -824,7 +824,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createOwnsOneArray(string $propertyName, array &$obj) { @@ -852,7 +852,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createBelongsTo(string $propertyName, $obj) { @@ -881,7 +881,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function createBelongsToArray(string $propertyName, array $obj) { @@ -911,7 +911,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function createRelationTable(string $propertyName, array $objsIds, $objId) : void { @@ -942,7 +942,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function parseValue(string $type, $value = null) { @@ -984,7 +984,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws InvalidMapperException Throws this exception if the mapper in the has many relation is invalid * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateHasMany(\ReflectionClass $refClass, object $obj, $objId, int $relations = RelationType::ALL, $depth = 1) : void { @@ -1073,7 +1073,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws InvalidMapperException Throws this exception if the mapper in the has many relation is invalid * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateHasManyArray(array &$obj, $objId, int $relations = RelationType::ALL, $depth = 1) : void { @@ -1136,7 +1136,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateRelationTable(array $objsIds, $objId) { @@ -1165,7 +1165,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function deleteRelationTable(string $propertyName, array $objsIds, $objId) { @@ -1199,7 +1199,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateOwnsOne(string $propertyName, object $obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1223,7 +1223,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateOwnsOneArray(string $propertyName, array $obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1247,7 +1247,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateBelongsTo(string $propertyName, $obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1273,7 +1273,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateBelongsToArray(string $propertyName, $obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1298,7 +1298,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateModel(object $obj, $objId, \ReflectionClass $refClass = null, int $relations = RelationType::ALL, int $depth = 1) : void { @@ -1407,7 +1407,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateModelArray(array $obj, $objId, int $relations = RelationType::ALL, int $depth = 1) : void { @@ -1463,7 +1463,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function updateConditionalsArray(array $obj, $objId, int $relations = RelationType::ALL, int $depth = 1) : void { @@ -1504,7 +1504,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function update($obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1547,7 +1547,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function updateArray(array &$obj, int $relations = RelationType::ALL, int $depth = 1) { @@ -1595,7 +1595,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws InvalidMapperException Throws this exception if the mapper in the has many relation is invalid * - * @since 1.0.0 + * @since 1.0.0 */ private static function deleteHasMany(\ReflectionClass $refClass, object $obj, $objId, int $relations) : void { @@ -1664,7 +1664,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function deleteOwnsOne(string $propertyName, $obj) { @@ -1689,7 +1689,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function deleteBelongsTo(string $propertyName, $obj) { @@ -1732,7 +1732,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function deleteModel(object $obj, $objId, int $relations = RelationType::REFERENCE, \ReflectionClass $refClass = null) : void { @@ -1787,7 +1787,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function delete($obj, int $relations = RelationType::REFERENCE) { @@ -1825,7 +1825,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateIterable(array $result) : array { @@ -1849,7 +1849,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateIterableArray(array $result) : array { @@ -1874,7 +1874,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function populate(array $result, $obj = null) { @@ -1906,7 +1906,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateManyToMany(array $result, &$obj, int $depth = 3) : void { @@ -1942,7 +1942,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateManyToManyArray(array $result, array &$obj, int $depth = 3) : void { @@ -1967,7 +1967,7 @@ class DataMapperAbstract implements DataMapperInterface * * @todo accept reflection class as parameter * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateOwnsOne(&$obj, int $depth = 3) : void { @@ -2012,7 +2012,7 @@ class DataMapperAbstract implements DataMapperInterface * @todo accept reflection class as parameter * @todo do this in the getRaw() part as a join. check if has conditionals and then join the data an then everything can be done in the getModel function. * - * @since 1.0.0 + * @since 1.0.0 */ public static function getConditionals($key, string $table) : array { @@ -2046,7 +2046,7 @@ class DataMapperAbstract implements DataMapperInterface * * @todo accept reflection class as parameter * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateOwnsOneArray(array &$obj, int $depth = 3) : void { @@ -2070,7 +2070,7 @@ class DataMapperAbstract implements DataMapperInterface * * @todo accept reflection class as parameter * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateBelongsTo(&$obj, int $depth = 3) : void { @@ -2115,7 +2115,7 @@ class DataMapperAbstract implements DataMapperInterface * * @todo accept reflection class as parameter * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateBelongsToArray(array &$obj, int $depth = 3) : void { @@ -2139,7 +2139,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws \UnexpectedValueException * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateAbstract(array $result, $obj, array $columns) { @@ -2220,7 +2220,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function populateAbstractArray(array $result, array $obj, array $columns) : array { @@ -2261,7 +2261,7 @@ class DataMapperAbstract implements DataMapperInterface * * @todo: implement language * - * @since 1.0.0 + * @since 1.0.0 */ public static function get($primaryKey, int $relations = RelationType::ALL, $fill = null, int $depth = 3) { @@ -2320,7 +2320,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function getNullModelObj() { @@ -2343,7 +2343,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArray($primaryKey, int $relations = RelationType::ALL, int $depth = 3) : array { @@ -2388,7 +2388,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFor($refKey, string $ref, int $relations = RelationType::ALL, $fill = null, int $depth = 3) { @@ -2438,7 +2438,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getForArray($refKey, string $ref, int $relations = RelationType::ALL, int $depth = 3) { @@ -2475,7 +2475,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAll(int $relations = RelationType::ALL, int $depth = 3, string $lang = '') : array { @@ -2503,7 +2503,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAllArray(int $relations = RelationType::ALL, int $depth = 3, string $lang = '') : array { @@ -2529,7 +2529,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function listResults(Builder $query) : array { @@ -2558,7 +2558,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getNewest(int $limit = 1, Builder $query = null, int $relations = RelationType::ALL, int $depth = 3, string $lang = '') : array { @@ -2603,7 +2603,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAllByQuery(Builder $query, int $relations = RelationType::ALL, int $depth = 3) : array { @@ -2633,7 +2633,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRandom(int $amount = 1, int $relations = RelationType::ALL, int $depth = 3) { @@ -2662,7 +2662,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function fillRelations(array &$obj, int $relations = RelationType::ALL, int $depth = 3) : void { @@ -2714,7 +2714,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function fillRelationsArray(array &$obj, int $relations = RelationType::ALL, int $depth = 3) : void { @@ -2768,7 +2768,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRaw($primaryKey) : array { @@ -2791,7 +2791,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPrimaryKeysBy($refKey, string $ref) : array { @@ -2820,7 +2820,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHasManyPrimaryKeys($refKey, string $ref) : array { @@ -2848,7 +2848,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAllRaw(string $lang = '') : array { @@ -2874,7 +2874,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHasManyRaw($primaryKey, int $relations = RelationType::ALL) : array { @@ -2923,7 +2923,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public static function getQuery(Builder $query = null) : Builder { @@ -2940,7 +2940,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCreatedAt() : string { @@ -2956,7 +2956,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getByRequest(RequestAbstract $request) { @@ -3001,7 +3001,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function addInitialized(string $mapper, $id, object $obj = null) : void { @@ -3021,7 +3021,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function addInitializedArray(string $mapper, $id, array $obj = null) : void { @@ -3040,7 +3040,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function isInitialized(string $mapper, $id) : bool { @@ -3055,7 +3055,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function isInitializedArray(string $mapper, $id) : bool { @@ -3070,7 +3070,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function getInitialized(string $mapper, $id) { @@ -3085,7 +3085,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function getInitializedArray(string $mapper, $id) { @@ -3100,7 +3100,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function removeInitialized(string $mapper, $id) { @@ -3122,7 +3122,7 @@ class DataMapperAbstract implements DataMapperInterface * * @throws \Exception Throws this exception if the member couldn't be found * - * @since 1.0.0 + * @since 1.0.0 */ private static function getColumnByMember(string $name) : string { @@ -3142,7 +3142,7 @@ class DataMapperAbstract implements DataMapperInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function isNullObject($obj) : bool { diff --git a/DataStorage/Database/DatabaseExceptionFactory.php b/DataStorage/Database/DatabaseExceptionFactory.php index 323d2520a..64ffaf630 100644 --- a/DataStorage/Database/DatabaseExceptionFactory.php +++ b/DataStorage/Database/DatabaseExceptionFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Schema\Exception\TableException; /** * Database exception factory. * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class DatabaseExceptionFactory { @@ -33,7 +33,7 @@ class DatabaseExceptionFactory * * @return string Returns exception namespace/class * - * @since 1.0.0 + * @since 1.0.0 */ public static function createException(\PDOException $e) : string { @@ -52,7 +52,7 @@ class DatabaseExceptionFactory * * @return string Returns exception pessage * - * @since 1.0.0 + * @since 1.0.0 */ public static function createExceptionMessage(\PDOException $e) : string { diff --git a/DataStorage/Database/DatabasePool.php b/DataStorage/Database/DatabasePool.php index 1448f1a34..6806640f3 100644 --- a/DataStorage/Database/DatabasePool.php +++ b/DataStorage/Database/DatabasePool.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\DataStorage\DataStoragePoolInterface; /** * Database pool handler. * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class DatabasePool implements DataStoragePoolInterface { @@ -33,7 +33,7 @@ final class DatabasePool implements DataStoragePoolInterface /** * Databases. * - * @var DataStorageConnectionInterface[] + * @var DataStorageConnectionInterface[] * @since 1.0.0 */ private array $pool = []; @@ -41,7 +41,7 @@ final class DatabasePool implements DataStoragePoolInterface /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -55,7 +55,7 @@ final class DatabasePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $key, DataStorageConnectionInterface $db) : bool { @@ -75,7 +75,7 @@ final class DatabasePool implements DataStoragePoolInterface * * @return DataStorageConnectionInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $key = '') : DataStorageConnectionInterface { @@ -97,7 +97,7 @@ final class DatabasePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $key) : bool { @@ -118,7 +118,7 @@ final class DatabasePool implements DataStoragePoolInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function create(string $key, array $config) : bool { diff --git a/DataStorage/Database/DatabaseStatus.php b/DataStorage/Database/DatabaseStatus.php index a2d8df546..9ecc1f41c 100644 --- a/DataStorage/Database/DatabaseStatus.php +++ b/DataStorage/Database/DatabaseStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Possible database connection status * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DatabaseStatus extends Enum { diff --git a/DataStorage/Database/DatabaseType.php b/DataStorage/Database/DatabaseType.php index 1fcc7575c..46bc6107a 100644 --- a/DataStorage/Database/DatabaseType.php +++ b/DataStorage/Database/DatabaseType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Database types that are supported by the application * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DatabaseType extends Enum { diff --git a/DataStorage/Database/Exception/InvalidConnectionConfigException.php b/DataStorage/Database/Exception/InvalidConnectionConfigException.php index e0d68d29e..5720fb1b9 100644 --- a/DataStorage/Database/Exception/InvalidConnectionConfigException.php +++ b/DataStorage/Database/Exception/InvalidConnectionConfigException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Exception; /** * Permission exception class. * - * @package phpOMS\DataStorage\Database\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidConnectionConfigException extends \InvalidArgumentException { @@ -31,7 +31,7 @@ final class InvalidConnectionConfigException extends \InvalidArgumentException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message = '', int $code = 0, \Exception $previous = null) { diff --git a/DataStorage/Database/Exception/InvalidDatabaseTypeException.php b/DataStorage/Database/Exception/InvalidDatabaseTypeException.php index 147fb8880..cc88caf1e 100644 --- a/DataStorage/Database/Exception/InvalidDatabaseTypeException.php +++ b/DataStorage/Database/Exception/InvalidDatabaseTypeException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Exception; /** * Permission exception class. * - * @package phpOMS\DataStorage\Database\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidDatabaseTypeException extends \InvalidArgumentException { @@ -31,7 +31,7 @@ final class InvalidDatabaseTypeException extends \InvalidArgumentException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message = '', int $code = 0, \Exception $previous = null) { diff --git a/DataStorage/Database/Exception/InvalidMapperException.php b/DataStorage/Database/Exception/InvalidMapperException.php index 757fa7eb6..811b7fdd0 100644 --- a/DataStorage/Database/Exception/InvalidMapperException.php +++ b/DataStorage/Database/Exception/InvalidMapperException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Exception; /** * Permission exception class. * - * @package phpOMS\DataStorage\Database\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidMapperException extends \RuntimeException { @@ -31,7 +31,7 @@ final class InvalidMapperException extends \RuntimeException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message = '', int $code = 0, \Exception $previous = null) { diff --git a/DataStorage/Database/GrammarAbstract.php b/DataStorage/Database/GrammarAbstract.php index b850ea41e..1db7d39ed 100644 --- a/DataStorage/Database/GrammarAbstract.php +++ b/DataStorage/Database/GrammarAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\DataStorage\Database\Query\QueryType; /** * Grammar. * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class GrammarAbstract { /** * Comment style. * - * @var string + * @var string * @since 1.0.0 */ protected string $comment = '--'; @@ -37,7 +37,7 @@ abstract class GrammarAbstract /** * String quotes style. * - * @var string + * @var string * @since 1.0.0 */ protected string $valueQuotes = '\''; @@ -45,7 +45,7 @@ abstract class GrammarAbstract /** * System identifier. * - * @var string + * @var string * @since 1.0.0 */ protected string $systemIdentifier = '"'; @@ -53,7 +53,7 @@ abstract class GrammarAbstract /** * And operator. * - * @var string + * @var string * @since 1.0.0 */ protected string $and = 'AND'; @@ -61,7 +61,7 @@ abstract class GrammarAbstract /** * Or operator. * - * @var string + * @var string * @since 1.0.0 */ protected string $or = 'OR'; @@ -69,7 +69,7 @@ abstract class GrammarAbstract /** * Table prefix. * - * @var string + * @var string * @since 1.0.0 */ protected string $tablePrefix = ''; @@ -77,7 +77,7 @@ abstract class GrammarAbstract /** * Special keywords. * - * @var array + * @var array * @since 1.0.0 */ protected array $specialKeywords = [ @@ -91,7 +91,7 @@ abstract class GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function compileQuery(BuilderAbstract $query) : string { @@ -116,7 +116,7 @@ abstract class GrammarAbstract * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileComponents(BuilderAbstract $query) : array { @@ -147,7 +147,7 @@ abstract class GrammarAbstract * * @throws \InvalidArgumentException Throws this exception if the query type is undefined * - * @since 1.0.0 + * @since 1.0.0 */ abstract protected function getComponents(int $type) : array; @@ -156,7 +156,7 @@ abstract class GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDateFormat() : string { @@ -168,7 +168,7 @@ abstract class GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTablePrefix() : string { @@ -182,7 +182,7 @@ abstract class GrammarAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTablePrefix(string $prefix) : void { @@ -198,7 +198,7 @@ abstract class GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function expressionizeTableColumn(array $elements, string $prefix = '', bool $column = true) : string { @@ -232,7 +232,7 @@ abstract class GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileSystem(string $system, string $prefix = '') : string { diff --git a/DataStorage/Database/Query/Builder.php b/DataStorage/Database/Query/Builder.php index 0992c44ec..776220162 100644 --- a/DataStorage/Database/Query/Builder.php +++ b/DataStorage/Database/Query/Builder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\Database\Connection\ConnectionAbstract; /** * Database query builder. * - * @package phpOMS\DataStorage\Database\Query - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Builder extends BuilderAbstract { /** * Is read only. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $isReadOnly = false; @@ -38,7 +38,7 @@ class Builder extends BuilderAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ public array $selects = []; @@ -46,7 +46,7 @@ class Builder extends BuilderAbstract /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ public array $updates = []; @@ -54,7 +54,7 @@ class Builder extends BuilderAbstract /** * Stupid work around because value needs to be not null for it to work in Grammar. * - * @var array + * @var array * @since 1.0.0 */ public array $deletes = [1]; @@ -62,7 +62,7 @@ class Builder extends BuilderAbstract /** * Into. * - * @var \Closure|string + * @var \Closure|string * @since 1.0.0 */ public $into = null; @@ -70,7 +70,7 @@ class Builder extends BuilderAbstract /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ public array $inserts = []; @@ -78,7 +78,7 @@ class Builder extends BuilderAbstract /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ public array $values = []; @@ -86,7 +86,7 @@ class Builder extends BuilderAbstract /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ public array $sets = []; @@ -94,7 +94,7 @@ class Builder extends BuilderAbstract /** * Distinct. * - * @var bool + * @var bool * @since 1.0.0 */ public bool $distinct = false; @@ -102,7 +102,7 @@ class Builder extends BuilderAbstract /** * From. * - * @var array + * @var array * @since 1.0.0 */ public array $from = []; @@ -110,7 +110,7 @@ class Builder extends BuilderAbstract /** * Joins. * - * @var array + * @var array * @since 1.0.0 */ public array $joins = []; @@ -118,7 +118,7 @@ class Builder extends BuilderAbstract /** * Ons of joins. * - * @var array + * @var array * @since 1.0.0 */ public array $ons = []; @@ -126,7 +126,7 @@ class Builder extends BuilderAbstract /** * Where. * - * @var array + * @var array * @since 1.0.0 */ public array $wheres = []; @@ -134,7 +134,7 @@ class Builder extends BuilderAbstract /** * Group. * - * @var array + * @var array * @since 1.0.0 */ public array $groups = []; @@ -142,7 +142,7 @@ class Builder extends BuilderAbstract /** * Order. * - * @var array + * @var array * @since 1.0.0 */ public array $orders = []; @@ -150,7 +150,7 @@ class Builder extends BuilderAbstract /** * Limit. * - * @var null|int + * @var null|int * @since 1.0.0 */ public ?int $limit = null; @@ -158,7 +158,7 @@ class Builder extends BuilderAbstract /** * Offset. * - * @var null|int + * @var null|int * @since 1.0.0 */ public ?int $offset = null; @@ -166,7 +166,7 @@ class Builder extends BuilderAbstract /** * Binds. * - * @var array + * @var array * @since 1.0.0 */ private array $binds = []; @@ -174,7 +174,7 @@ class Builder extends BuilderAbstract /** * Union. * - * @var array + * @var array * @since 1.0.0 */ public array $unions = []; @@ -182,7 +182,7 @@ class Builder extends BuilderAbstract /** * Lock. * - * @var bool + * @var bool * @since 1.0.0 */ public bool $lock = false; @@ -190,7 +190,7 @@ class Builder extends BuilderAbstract /** * Comparison OPERATORS. * - * @var string[] + * @var string[] * @since 1.0.0 */ public const OPERATORS = [ @@ -229,7 +229,7 @@ class Builder extends BuilderAbstract * @param ConnectionAbstract $connection Database connection * @param bool $readOnly Query is read only * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ConnectionAbstract $connection, bool $readOnly = false) { @@ -244,7 +244,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setConnection(ConnectionAbstract $connection) : void { @@ -261,7 +261,7 @@ class Builder extends BuilderAbstract * * @todo Closure is not working this way, needs to be evaluated befor assigning * - * @since 1.0.0 + * @since 1.0.0 */ public function select(...$columns) : self { @@ -287,7 +287,7 @@ class Builder extends BuilderAbstract * * @todo Closure is not working this way, needs to be evaluated befor assigning * - * @since 1.0.0 + * @since 1.0.0 */ public function random(...$columns) : self { @@ -305,7 +305,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function bind($binds) : self { @@ -325,7 +325,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function newQuery() : self { @@ -337,7 +337,7 @@ class Builder extends BuilderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function toSql() : string { @@ -353,7 +353,7 @@ class Builder extends BuilderAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function raw(string $raw) : self { @@ -375,7 +375,7 @@ class Builder extends BuilderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function isValidReadOnly($raw) : bool { @@ -403,7 +403,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function selectRaw($expression) : self { @@ -417,7 +417,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function distinct() : self { @@ -433,7 +433,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function from(...$tables) : self { @@ -455,7 +455,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function fromRaw($expression) : self { @@ -476,7 +476,7 @@ class Builder extends BuilderAbstract * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function where($columns, $operator = null, $values = null, $boolean = 'and') : self { @@ -516,7 +516,7 @@ class Builder extends BuilderAbstract * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ public function getWhereByColumn($column) : ?array { @@ -532,7 +532,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function andWhere($where, $operator = null, $values = null) : self { @@ -548,7 +548,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function orWhere($where, $operator = null, $values = null) : self { @@ -564,7 +564,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereIn($column, $values = null, string $boolean = 'and') : self { @@ -581,7 +581,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereNull($column, string $boolean = 'and') : self { @@ -598,7 +598,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereNotNull($column, string $boolean = 'and') : self { @@ -614,7 +614,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function groupBy(...$columns) : self { @@ -636,7 +636,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function newest($column) : self { @@ -652,7 +652,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function oldest($column) : self { @@ -669,7 +669,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function orderBy($columns, $order = 'DESC') : self { @@ -701,7 +701,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function offset(int $offset) : self { @@ -717,7 +717,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function limit(int $limit) : self { @@ -733,7 +733,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function union($query) : self { @@ -751,7 +751,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lock() : void { @@ -762,7 +762,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lockUpdate() : void { @@ -773,7 +773,7 @@ class Builder extends BuilderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -785,7 +785,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function find() : void { @@ -798,7 +798,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function count(string $table = '*') : self { @@ -811,7 +811,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function min() : void { @@ -822,7 +822,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function max() : void { @@ -833,7 +833,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function sum() : void { @@ -844,7 +844,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function avg() : void { @@ -859,7 +859,7 @@ class Builder extends BuilderAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function insert(...$columns) : self { @@ -883,7 +883,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function into($table) : self { @@ -899,7 +899,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function values(...$values) : self { @@ -913,7 +913,7 @@ class Builder extends BuilderAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getValues() : array { @@ -927,7 +927,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function value($value) : self { @@ -952,7 +952,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function sets(...$sets) : self { @@ -968,7 +968,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function set($set) : self { @@ -986,7 +986,7 @@ class Builder extends BuilderAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function update(...$tables) : self { @@ -1012,7 +1012,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function delete() : self { @@ -1030,7 +1030,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function increment() : void { @@ -1041,7 +1041,7 @@ class Builder extends BuilderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function decrement() : void { @@ -1052,7 +1052,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function join($table, string $type = JoinType::JOIN) : self { @@ -1070,7 +1070,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftJoin($column) : self { @@ -1082,7 +1082,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftOuterJoin($column) : self { @@ -1094,7 +1094,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftInnerJoin($column) : self { @@ -1106,7 +1106,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightJoin($column) : self { @@ -1118,7 +1118,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightOuterJoin($column) : self { @@ -1130,7 +1130,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightInnerJoin($column) : self { @@ -1142,7 +1142,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function outerJoin($column) : self { @@ -1154,7 +1154,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function innerJoin($column) : self { @@ -1166,7 +1166,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function crossJoin($column) : self { @@ -1178,7 +1178,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function fullJoin($column) : self { @@ -1190,7 +1190,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function fullOuterJoin($column) : self { @@ -1202,7 +1202,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function rollback() : self { @@ -1214,7 +1214,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function on($columns, $operator = null, $values = null, $boolean = 'and') : self { @@ -1255,7 +1255,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function orOn($columns, $operator = null, $values = null) : self { @@ -1267,7 +1267,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function andOn($columns, $operator = null, $values = null) : self { @@ -1283,7 +1283,7 @@ class Builder extends BuilderAbstract * * @return Builder * - * @since 1.0.0 + * @since 1.0.0 */ public function merge(self $query) : self { @@ -1295,7 +1295,7 @@ class Builder extends BuilderAbstract * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function execute() { @@ -1321,7 +1321,7 @@ class Builder extends BuilderAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBindParamType($value) : int { @@ -1343,7 +1343,7 @@ class Builder extends BuilderAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPublicColumnName($column) : string { diff --git a/DataStorage/Database/Query/Column.php b/DataStorage/Database/Query/Column.php index a81f339a0..2a95bb04f 100644 --- a/DataStorage/Database/Query/Column.php +++ b/DataStorage/Database/Query/Column.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Query; /** * Database query builder. * - * @package phpOMS\DataStorage\Database\Query - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Column { @@ -28,7 +28,7 @@ class Column /** * Column name. * - * @var string + * @var string * @since 1.0.0 */ private string $column = ''; @@ -38,7 +38,7 @@ class Column * * @param string $column Column * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $column) { @@ -50,7 +50,7 @@ class Column * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getColumn() : string { diff --git a/DataStorage/Database/Query/Expression.php b/DataStorage/Database/Query/Expression.php index 283131d5a..471d35bab 100644 --- a/DataStorage/Database/Query/Expression.php +++ b/DataStorage/Database/Query/Expression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/DataStorage/Database/Query/Grammar/Grammar.php b/DataStorage/Database/Query/Grammar/Grammar.php index be119ff4c..662e6f317 100644 --- a/DataStorage/Database/Query/Grammar/Grammar.php +++ b/DataStorage/Database/Query/Grammar/Grammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -23,17 +23,17 @@ use phpOMS\DataStorage\Database\Query\Where; /** * Database query grammar. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Grammar extends GrammarAbstract { /** * Select components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $selectComponents = [ @@ -54,7 +54,7 @@ class Grammar extends GrammarAbstract /** * Insert components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $insertComponents = [ @@ -66,7 +66,7 @@ class Grammar extends GrammarAbstract /** * Update components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $updateComponents = [ @@ -78,7 +78,7 @@ class Grammar extends GrammarAbstract /** * Update components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $deleteComponents = [ @@ -90,7 +90,7 @@ class Grammar extends GrammarAbstract /** * Random components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $randomComponents = [ @@ -126,7 +126,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileSelects(Builder $query, array $columns) : string { @@ -147,7 +147,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileUpdates(Builder $query, array $table) : string { @@ -168,7 +168,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileDeletes(Builder $query, array $columns) : string { @@ -183,7 +183,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileFrom(Builder $query, array $table) : string { @@ -205,7 +205,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileWheres(Builder $query, array $wheres, bool $first = true) : string { @@ -234,7 +234,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileWhereElement(array $element, Builder $query, bool $first = true) : string { @@ -284,7 +284,7 @@ class Grammar extends GrammarAbstract * * @throws \InvalidArgumentException throws this exception if the value to compile is not supported by this function * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileValue(Builder $query, $value, string $prefix = '') : string { @@ -335,7 +335,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileLimit(Builder $query, int $limit) : string { @@ -350,7 +350,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileOffset(Builder $query, $offset) : string { @@ -365,7 +365,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileJoins(Builder $query, array $joins) : string { @@ -391,7 +391,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileOn(Builder $query, array $ons, bool $first = true) : string { @@ -418,7 +418,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileOnElement(array $element, Builder $query, bool $first = true) : string { @@ -458,7 +458,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileGroups(Builder $query, array $groups) { @@ -481,7 +481,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileOrders(Builder $query, array $orders) : string { @@ -523,7 +523,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileInto(Builder $query, $table) : string { @@ -538,7 +538,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileInserts(Builder $query, array $columns) : string { @@ -563,7 +563,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileValues(Builder $query, array $values) : string { @@ -588,7 +588,7 @@ class Grammar extends GrammarAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileSets(Builder $query, array $values) : string { diff --git a/DataStorage/Database/Query/Grammar/GrammarInterface.php b/DataStorage/Database/Query/Grammar/GrammarInterface.php index f8f60b126..9bfa97727 100644 --- a/DataStorage/Database/Query/Grammar/GrammarInterface.php +++ b/DataStorage/Database/Query/Grammar/GrammarInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Query\Grammar; /** * Grammar interface. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface GrammarInterface { diff --git a/DataStorage/Database/Query/Grammar/MicrosoftGrammar.php b/DataStorage/Database/Query/Grammar/MicrosoftGrammar.php index 3c3ebfff2..d3ce1b6e9 100644 --- a/DataStorage/Database/Query/Grammar/MicrosoftGrammar.php +++ b/DataStorage/Database/Query/Grammar/MicrosoftGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Grammar class. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MicrosoftGrammar extends Grammar { @@ -34,7 +34,7 @@ class MicrosoftGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileRandom(Builder $query, array $columns) : string { diff --git a/DataStorage/Database/Query/Grammar/MysqlGrammar.php b/DataStorage/Database/Query/Grammar/MysqlGrammar.php index fded53d9e..750f8207a 100644 --- a/DataStorage/Database/Query/Grammar/MysqlGrammar.php +++ b/DataStorage/Database/Query/Grammar/MysqlGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Grammar class. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MysqlGrammar extends Grammar { @@ -30,7 +30,7 @@ class MysqlGrammar extends Grammar /** * System identifier. * - * @var string + * @var string * @since 1.0.0 */ protected string $systemIdentifier = '`'; @@ -43,7 +43,7 @@ class MysqlGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileRandom(Builder $query, array $columns) : string { diff --git a/DataStorage/Database/Query/Grammar/OracleGrammar.php b/DataStorage/Database/Query/Grammar/OracleGrammar.php index 286393209..43a0af2c6 100644 --- a/DataStorage/Database/Query/Grammar/OracleGrammar.php +++ b/DataStorage/Database/Query/Grammar/OracleGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Grammar class. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class OracleGrammar extends Grammar { @@ -34,7 +34,7 @@ class OracleGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileRandom(Builder $query, array $columns) : string { diff --git a/DataStorage/Database/Query/Grammar/PostgresGrammar.php b/DataStorage/Database/Query/Grammar/PostgresGrammar.php index a6cafd660..f21289a22 100644 --- a/DataStorage/Database/Query/Grammar/PostgresGrammar.php +++ b/DataStorage/Database/Query/Grammar/PostgresGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Grammar class. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PostgresGrammar extends Grammar { @@ -34,7 +34,7 @@ class PostgresGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileRandom(Builder $query, array $columns) : string { diff --git a/DataStorage/Database/Query/Grammar/SQLiteGrammar.php b/DataStorage/Database/Query/Grammar/SQLiteGrammar.php index 26e501c43..736a350f1 100644 --- a/DataStorage/Database/Query/Grammar/SQLiteGrammar.php +++ b/DataStorage/Database/Query/Grammar/SQLiteGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Grammar class. * - * @package phpOMS\DataStorage\Database\Query\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class SQLiteGrammar extends Grammar { @@ -30,7 +30,7 @@ class SQLiteGrammar extends Grammar /** * System identifier. * - * @var string + * @var string * @since 1.0.0 */ public string $systemIdentifier = '`'; @@ -43,7 +43,7 @@ class SQLiteGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileRandom(Builder $query, array $columns) : string { diff --git a/DataStorage/Database/Query/JoinType.php b/DataStorage/Database/Query/JoinType.php index 24d304afd..233f08da6 100644 --- a/DataStorage/Database/Query/JoinType.php +++ b/DataStorage/Database/Query/JoinType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Query type enum. * - * @package phpOMS\DataStorage\Database\Query - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class JoinType extends Enum { diff --git a/DataStorage/Database/Query/QueryType.php b/DataStorage/Database/Query/QueryType.php index bca89d44f..2ffbfadab 100644 --- a/DataStorage/Database/Query/QueryType.php +++ b/DataStorage/Database/Query/QueryType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Query type enum. * - * @package phpOMS\DataStorage\Database\Query - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class QueryType extends Enum { diff --git a/DataStorage/Database/Query/Where.php b/DataStorage/Database/Query/Where.php index 3324722f9..823c9a1cc 100644 --- a/DataStorage/Database/Query/Where.php +++ b/DataStorage/Database/Query/Where.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Query - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Query + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Query; /** * Database query builder. * - * @package phpOMS\DataStorage\Database\Query - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Query + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Where { diff --git a/DataStorage/Database/RelationType.php b/DataStorage/Database/RelationType.php index e17b55875..9c475cd0c 100644 --- a/DataStorage/Database/RelationType.php +++ b/DataStorage/Database/RelationType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Relations which can be used in order to specifiy how the DataMapper is supposed to work (level of detail) * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RelationType extends Enum { diff --git a/DataStorage/Database/Schema/Builder.php b/DataStorage/Database/Schema/Builder.php index b86702301..c48b44943 100644 --- a/DataStorage/Database/Schema/Builder.php +++ b/DataStorage/Database/Schema/Builder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Schema - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Schema + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\Query\Builder as QueryBuilder; /** * Database query builder. * - * @package phpOMS\DataStorage\Database\Schema - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Schema + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Builder extends QueryBuilder { @@ -32,7 +32,7 @@ class Builder extends QueryBuilder /** * Fields. * - * @var array + * @var array * @since 1.0.0 */ public array $createFields = []; @@ -40,7 +40,7 @@ class Builder extends QueryBuilder /** * Database to drop. * - * @var string + * @var string * @since 1.0.0 */ public string $dropDatabase = ''; @@ -48,7 +48,7 @@ class Builder extends QueryBuilder /** * Table to drop. * - * @var string + * @var string * @since 1.0.0 */ public string $dropTable = ''; @@ -56,7 +56,7 @@ class Builder extends QueryBuilder /** * Tables. * - * @var array + * @var array * @since 1.0.0 */ public array $selectTables = ['*']; @@ -64,7 +64,7 @@ class Builder extends QueryBuilder /** * Select fields. * - * @var string + * @var string * @since 1.0.0 */ public string $selectFields = ''; @@ -72,7 +72,7 @@ class Builder extends QueryBuilder /** * @todo: ?????. * - * @var bool + * @var bool * @since 1.0.0 */ public bool $createTableSettings = true; @@ -83,7 +83,7 @@ class Builder extends QueryBuilder * @param ConnectionAbstract $connection Database connection * @param bool $readOnly Query is read only * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ConnectionAbstract $connection, bool $readOnly = false) { @@ -98,7 +98,7 @@ class Builder extends QueryBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setConnection(ConnectionAbstract $connection) : void { @@ -114,7 +114,7 @@ class Builder extends QueryBuilder * * @return self * - * @since 1.0.0 + * @since 1.0.0 */ public static function createFromSchema(array $definition, ConnectionAbstract $connection) : self { @@ -201,7 +201,7 @@ class Builder extends QueryBuilder * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function toSql() : string { diff --git a/DataStorage/Database/Schema/Exception/TableException.php b/DataStorage/Database/Schema/Exception/TableException.php index 5c55a8e2d..ed93b218f 100644 --- a/DataStorage/Database/Schema/Exception/TableException.php +++ b/DataStorage/Database/Schema/Exception/TableException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Schema\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Schema\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\DataStorage\Database\Schema\Exception; /** * Path exception class. * - * @package phpOMS\DataStorage\Database\Schema\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Schema\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TableException extends \PDOException { @@ -31,7 +31,7 @@ class TableException extends \PDOException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { @@ -45,7 +45,7 @@ class TableException extends \PDOException * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function findTable(string $message) : string { diff --git a/DataStorage/Database/Schema/Grammar/Grammar.php b/DataStorage/Database/Schema/Grammar/Grammar.php index a8015f724..04638b740 100644 --- a/DataStorage/Database/Schema/Grammar/Grammar.php +++ b/DataStorage/Database/Schema/Grammar/Grammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Schema\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Schema\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\DataStorage\Database\Schema\QueryType; /** * Database query grammar. * - * @package phpOMS\DataStorage\Database\Schema\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Schema\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Grammar extends QueryGrammar { /** * Drop components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $dropDatabaseComponents = [ @@ -41,7 +41,7 @@ class Grammar extends QueryGrammar /** * Drop components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $dropTableComponents = [ @@ -51,7 +51,7 @@ class Grammar extends QueryGrammar /** * Select tables components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $createTablesComponents = [ @@ -63,7 +63,7 @@ class Grammar extends QueryGrammar /** * Select tables components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $tablesComponents = [ @@ -73,7 +73,7 @@ class Grammar extends QueryGrammar /** * Select field components. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $fieldsComponents = [ @@ -109,7 +109,7 @@ class Grammar extends QueryGrammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileCreateTable(BuilderAbstract $query, string $table) : string { @@ -124,7 +124,7 @@ class Grammar extends QueryGrammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileCreateTableSettings(BuilderAbstract $query, bool $settings) : string { @@ -139,7 +139,7 @@ class Grammar extends QueryGrammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileDropDatabase(BuilderAbstract $query, string $table) : string { @@ -160,7 +160,7 @@ class Grammar extends QueryGrammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileDropTable(BuilderAbstract $query, string $table) : string { diff --git a/DataStorage/Database/Schema/Grammar/GrammarInterface.php b/DataStorage/Database/Schema/Grammar/GrammarInterface.php index 25670c8e2..9037cf060 100644 --- a/DataStorage/Database/Schema/Grammar/GrammarInterface.php +++ b/DataStorage/Database/Schema/Grammar/GrammarInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/DataStorage/Database/Schema/Grammar/MysqlGrammar.php b/DataStorage/Database/Schema/Grammar/MysqlGrammar.php index 821da32be..80fb9829e 100644 --- a/DataStorage/Database/Schema/Grammar/MysqlGrammar.php +++ b/DataStorage/Database/Schema/Grammar/MysqlGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Schema\Grammar - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Schema\Grammar + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\Database\Query\Builder; /** * Database query grammar. * - * @package phpOMS\DataStorage\Database\Schema\Grammar - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Schema\Grammar + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MysqlGrammar extends Grammar { /** * System identifier. * - * @var string + * @var string * @since 1.0.0 */ protected string $systemIdentifier = '`'; @@ -43,7 +43,7 @@ class MysqlGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileSelectTables(Builder $query, array $table) : string { @@ -63,7 +63,7 @@ class MysqlGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileSelectFields(Builder $query, string $table) : string { @@ -84,7 +84,7 @@ class MysqlGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileCreateFields(Builder $query, array $fields) : string { @@ -132,7 +132,7 @@ class MysqlGrammar extends Grammar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected function compileCreateTableSettings(BuilderAbstract $query, bool $settings) : string { diff --git a/DataStorage/Database/Schema/Grammar/OracleGrammar.php b/DataStorage/Database/Schema/Grammar/OracleGrammar.php index 935b98f02..14f272770 100644 --- a/DataStorage/Database/Schema/Grammar/OracleGrammar.php +++ b/DataStorage/Database/Schema/Grammar/OracleGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/DataStorage/Database/Schema/Grammar/PostgresGrammar.php b/DataStorage/Database/Schema/Grammar/PostgresGrammar.php index 1c44d9fb9..386ea1442 100644 --- a/DataStorage/Database/Schema/Grammar/PostgresGrammar.php +++ b/DataStorage/Database/Schema/Grammar/PostgresGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/DataStorage/Database/Schema/Grammar/SQLiteGrammar.php b/DataStorage/Database/Schema/Grammar/SQLiteGrammar.php index aec6a1758..fdcc8dc0d 100644 --- a/DataStorage/Database/Schema/Grammar/SQLiteGrammar.php +++ b/DataStorage/Database/Schema/Grammar/SQLiteGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,7 +19,7 @@ class SQLiteGrammar extends Grammar /** * System identifier. * - * @var string + * @var string * @since 1.0.0 */ protected string $systemIdentifier = '`'; diff --git a/DataStorage/Database/Schema/Grammar/SqlServerGrammar.php b/DataStorage/Database/Schema/Grammar/SqlServerGrammar.php index efb7aa179..83f4f46ae 100644 --- a/DataStorage/Database/Schema/Grammar/SqlServerGrammar.php +++ b/DataStorage/Database/Schema/Grammar/SqlServerGrammar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/DataStorage/Database/Schema/QueryType.php b/DataStorage/Database/Schema/QueryType.php index 370dc52a2..05b331272 100644 --- a/DataStorage/Database/Schema/QueryType.php +++ b/DataStorage/Database/Schema/QueryType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database\Schema - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database\Schema + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\DataStorage\Database\Query\QueryType as DefaultQueryType; * * Types used by the schema grammar in order to build the correct query. * - * @package phpOMS\DataStorage\Database\Schema - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database\Schema + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class QueryType extends DefaultQueryType { diff --git a/DataStorage/Database/SchemaMapper.php b/DataStorage/Database/SchemaMapper.php index 8f8142fde..fa07f7a6c 100644 --- a/DataStorage/Database/SchemaMapper.php +++ b/DataStorage/Database/SchemaMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Database - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Database + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\DataStorage\Database\Schema\Builder; /** * Database schema mapper. * - * @package phpOMS\DataStorage\Database - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Database + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class SchemaMapper { /** * Database connection. * - * @var null|ConnectionAbstract + * @var null|ConnectionAbstract * @since 1.0.0 */ protected ?ConnectionAbstract $db = null; @@ -40,7 +40,7 @@ class SchemaMapper * * @param ConnectionAbstract $db Database connection * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ConnectionAbstract $db) { diff --git a/DataStorage/File/JsonBuilder.php b/DataStorage/File/JsonBuilder.php index 92ab76c8f..453b9e6c4 100644 --- a/DataStorage/File/JsonBuilder.php +++ b/DataStorage/File/JsonBuilder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\DataStorage\Database\Query\JoinType; /** * Json query Jsonbuilder. * - * @package phpOMS\DataStorage\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class JsonBuilder { /** * Is read only. * - * @var bool + * @var bool * @since 1.0.0 */ private $isReadOnly = false; @@ -37,7 +37,7 @@ final class JsonBuilder /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ private $selects = []; @@ -45,7 +45,7 @@ final class JsonBuilder /** * Columns. * - * @var array + * @var array * @since 1.0.0 */ private $updates = []; @@ -53,7 +53,7 @@ final class JsonBuilder /** * Stupid work around because value needs to be not null for it to work in Grammar. * - * @var array + * @var array * @since 1.0.0 */ private $deletes = [1]; @@ -61,7 +61,7 @@ final class JsonBuilder /** * Into. * - * @var \Closure|string + * @var \Closure|string * @since 1.0.0 */ private $into = null; @@ -69,7 +69,7 @@ final class JsonBuilder /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ private $inserts = []; @@ -77,7 +77,7 @@ final class JsonBuilder /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ private $values = []; @@ -85,7 +85,7 @@ final class JsonBuilder /** * Into columns. * - * @var array + * @var array * @since 1.0.0 */ private $sets = []; @@ -93,7 +93,7 @@ final class JsonBuilder /** * Distinct. * - * @var bool + * @var bool * @since 1.0.0 */ private $distinct = false; @@ -101,7 +101,7 @@ final class JsonBuilder /** * From. * - * @var array + * @var array * @since 1.0.0 */ private $from = []; @@ -109,7 +109,7 @@ final class JsonBuilder /** * Joins. * - * @var array + * @var array * @since 1.0.0 */ private $joins = []; @@ -117,7 +117,7 @@ final class JsonBuilder /** * Ons of joins. * - * @var array + * @var array * @since 1.0.0 */ private $ons = []; @@ -125,7 +125,7 @@ final class JsonBuilder /** * Where. * - * @var array + * @var array * @since 1.0.0 */ private $wheres = []; @@ -133,7 +133,7 @@ final class JsonBuilder /** * Group. * - * @var array + * @var array * @since 1.0.0 */ private $groups = []; @@ -141,7 +141,7 @@ final class JsonBuilder /** * Order. * - * @var array + * @var array * @since 1.0.0 */ private $orders = []; @@ -149,7 +149,7 @@ final class JsonBuilder /** * Limit. * - * @var int + * @var int * @since 1.0.0 */ private $limit = null; @@ -157,7 +157,7 @@ final class JsonBuilder /** * Offset. * - * @var int + * @var int * @since 1.0.0 */ private $offset = null; @@ -165,7 +165,7 @@ final class JsonBuilder /** * Binds. * - * @var array + * @var array * @since 1.0.0 */ private $binds = []; @@ -173,7 +173,7 @@ final class JsonBuilder /** * Union. * - * @var array + * @var array * @since 1.0.0 */ private $unions = []; @@ -181,7 +181,7 @@ final class JsonBuilder /** * Lock. * - * @var bool + * @var bool * @since 1.0.0 */ private $lock = false; @@ -189,7 +189,7 @@ final class JsonBuilder /** * Comparison OPERATORS. * - * @var string[] + * @var string[] * @since 1.0.0 */ private const OPERATORS = [ @@ -225,7 +225,7 @@ final class JsonBuilder /** * Json grammar. * - * @var JsonGrammar + * @var JsonGrammar * @since 1.0.0 */ private $grammar = null; @@ -235,7 +235,7 @@ final class JsonBuilder * * @param bool $readOnly Query is read only * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(bool $readOnly = false) { @@ -252,7 +252,7 @@ final class JsonBuilder * * @todo Closure is not working this way, needs to be evaluated befor assigning * - * @since 1.0.0 + * @since 1.0.0 */ public function select(...$columns) : self { @@ -278,7 +278,7 @@ final class JsonBuilder * * @todo Closure is not working this way, needs to be evaluated befor assigning * - * @since 1.0.0 + * @since 1.0.0 */ public function random(...$columns) : self { @@ -296,7 +296,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function bind($binds) : self { @@ -316,7 +316,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function newQuery() : self { @@ -328,7 +328,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function distinct() : self { @@ -344,7 +344,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function from(...$tables) : self { @@ -371,7 +371,7 @@ final class JsonBuilder * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function where($columns, $operator = null, $values = null, $boolean = 'and') : self { @@ -411,7 +411,7 @@ final class JsonBuilder * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ public function getWhereByColumn($column) : ?array { @@ -427,7 +427,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function andWhere($where, $operator = null, $values = null) : self { @@ -443,7 +443,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function orWhere($where, $operator = null, $values = null) : self { @@ -459,7 +459,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereIn($column, $values = null, string $boolean = 'and') : self { @@ -476,7 +476,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereNull($column, string $boolean = 'and') : self { @@ -493,7 +493,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function whereNotNull($column, string $boolean = 'and') : self { @@ -509,7 +509,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function groupBy(...$columns) : self { @@ -531,7 +531,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function newest($column) : self { @@ -547,7 +547,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function oldest($column) : self { @@ -564,7 +564,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function orderBy($columns, $order = 'DESC') : self { @@ -596,7 +596,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function offset(int $offset) : self { @@ -612,7 +612,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function limit(int $limit) : self { @@ -628,7 +628,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function union($query) : self { @@ -646,7 +646,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lock() : void { @@ -657,7 +657,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lockUpdate() : void { @@ -668,7 +668,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function find() : void { @@ -681,7 +681,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function count(string $table = '*') : self { @@ -694,7 +694,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function min() : void { @@ -705,7 +705,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function max() : void { @@ -716,7 +716,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function sum() : void { @@ -727,7 +727,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function avg() : void { @@ -742,7 +742,7 @@ final class JsonBuilder * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function insert(...$columns) : self { @@ -766,7 +766,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function into($table) : self { @@ -782,7 +782,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function values(...$values) : self { @@ -796,7 +796,7 @@ final class JsonBuilder * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getValues() : array { @@ -810,7 +810,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function value($value) : self { @@ -835,7 +835,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function sets(...$sets) : self { @@ -851,7 +851,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function set($set) : self { @@ -869,7 +869,7 @@ final class JsonBuilder * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function update(...$tables) : self { @@ -895,7 +895,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function delete() : self { @@ -913,7 +913,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function increment() : void { @@ -924,7 +924,7 @@ final class JsonBuilder * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function decrement() : void { @@ -935,7 +935,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function join($table, string $type = JoinType::JOIN) : self { @@ -953,7 +953,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftJoin($column) : self { @@ -965,7 +965,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftOuterJoin($column) : self { @@ -977,7 +977,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function leftInnerJoin($column) : self { @@ -989,7 +989,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightJoin($column) : self { @@ -1001,7 +1001,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightOuterJoin($column) : self { @@ -1013,7 +1013,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function rightInnerJoin($column) : self { @@ -1025,7 +1025,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function outerJoin($column) : self { @@ -1037,7 +1037,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function innerJoin($column) : self { @@ -1049,7 +1049,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function crossJoin($column) : self { @@ -1061,7 +1061,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function fullJoin($column) : self { @@ -1073,7 +1073,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function fullOuterJoin($column) : self { @@ -1085,7 +1085,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function on($columns, $operator = null, $values = null, $boolean = 'and') : self { @@ -1126,7 +1126,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function orOn($columns, $operator = null, $values = null) : self { @@ -1138,7 +1138,7 @@ final class JsonBuilder * * @return JsonBuilder * - * @since 1.0.0 + * @since 1.0.0 */ public function andOn($columns, $operator = null, $values = null) : self { @@ -1150,7 +1150,7 @@ final class JsonBuilder * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function execute() { diff --git a/DataStorage/File/JsonGrammar.php b/DataStorage/File/JsonGrammar.php index 55bc2e81a..35940f9d9 100644 --- a/DataStorage/File/JsonGrammar.php +++ b/DataStorage/File/JsonGrammar.php @@ -9,11 +9,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ namespace phpOMS\DataStorage\File; /** * Json query JsonGrammar. * - * @package phpOMS\DataStorage\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class JsonGrammar { diff --git a/DataStorage/File/QueryType.php b/DataStorage/File/QueryType.php index 56dee5b18..2980acd65 100644 --- a/DataStorage/File/QueryType.php +++ b/DataStorage/File/QueryType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Query type enum. * - * @package phpOMS\DataStorage\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class QueryType extends Enum { diff --git a/DataStorage/LockException.php b/DataStorage/LockException.php index 13099cb88..b009baf9b 100644 --- a/DataStorage/LockException.php +++ b/DataStorage/LockException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ namespace phpOMS\DataStorage; * This exception is used for instances that have a lock componenent/state after which rendering, * header manipulation etc. are no longer allowed/possible. * - * @package phpOMS\DataStorage - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class LockException extends \RuntimeException { @@ -34,7 +34,7 @@ final class LockException extends \RuntimeException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/DataStorage/Session/HttpSession.php b/DataStorage/Session/HttpSession.php index 475000eb8..d111cdbb8 100644 --- a/DataStorage/Session/HttpSession.php +++ b/DataStorage/Session/HttpSession.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Session - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Session + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Utils\RnG\StringUtils; /** * Http session class. * - * @package phpOMS\DataStorage\Session - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Session + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -34,7 +34,7 @@ class HttpSession implements SessionInterface /** * Is session locked/already set. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $isLocked = false; @@ -42,7 +42,7 @@ class HttpSession implements SessionInterface /** * Raw session data. * - * @var array + * @var array * @since 1.0.0 */ private array $sessionData = []; @@ -50,7 +50,7 @@ class HttpSession implements SessionInterface /** * Session ID. * - * @var null|int|string + * @var null|int|string * @since 1.0.0 */ private $sid = null; @@ -58,7 +58,7 @@ class HttpSession implements SessionInterface /** * Inactivity Interval. * - * @var int + * @var int * @since 1.0.0 */ private int $inactivityInterval = 0; @@ -72,7 +72,7 @@ class HttpSession implements SessionInterface * * @throws LockException throws this exception if the session is alrady locked for further interaction * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $liftetime = 3600, $sid = false, int $inactivityInterval = 0) { @@ -108,7 +108,7 @@ class HttpSession implements SessionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function setCsrfProtection() : void { @@ -157,7 +157,7 @@ class HttpSession implements SessionInterface * * @return bool Lock status * - * @since 1.0.0 + * @since 1.0.0 */ public function isLocked() : bool { @@ -210,7 +210,7 @@ class HttpSession implements SessionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function destroy() : void { @@ -222,7 +222,7 @@ class HttpSession implements SessionInterface /** * Destruct session. * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { diff --git a/DataStorage/Session/SessionInterface.php b/DataStorage/Session/SessionInterface.php index 848877382..376a6143b 100644 --- a/DataStorage/Session/SessionInterface.php +++ b/DataStorage/Session/SessionInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\DataStorage\Session - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\DataStorage\Session + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\DataStorage\Session; * * Sessions can be used by http requests, console interaction and socket connections * - * @package phpOMS\DataStorage\Session - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\DataStorage\Session + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface SessionInterface { @@ -34,7 +34,7 @@ interface SessionInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function get($key); @@ -47,7 +47,7 @@ interface SessionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function set($key, $value, bool $overwrite = true) : bool; @@ -58,7 +58,7 @@ interface SessionInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($key) : bool; @@ -67,14 +67,14 @@ interface SessionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function save() : void; /** * @return null|int|string * - * @since 1.0.0 + * @since 1.0.0 */ public function getSID(); @@ -83,7 +83,7 @@ interface SessionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSID($sid) : void; @@ -92,7 +92,7 @@ interface SessionInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lock() : void; } diff --git a/Dispatcher/Dispatcher.php b/Dispatcher/Dispatcher.php index e9aca281e..8471499e4 100644 --- a/Dispatcher/Dispatcher.php +++ b/Dispatcher/Dispatcher.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Dispatcher - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Dispatcher + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\System\File\PathException; /** * Dispatcher class. * - * @package phpOMS\Dispatcher - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Dispatcher + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Dispatcher implements DispatcherInterface { @@ -33,7 +33,7 @@ final class Dispatcher implements DispatcherInterface /** * Application. * - * @var null|ApplicationAbstract + * @var null|ApplicationAbstract * @since 1.0.0 */ private ?ApplicationAbstract $app = null; @@ -43,7 +43,7 @@ final class Dispatcher implements DispatcherInterface * * Set in the module manager on module initialization. * - * @var array + * @var array * @since 1.0.0 */ private array $controllers = []; @@ -53,7 +53,7 @@ final class Dispatcher implements DispatcherInterface * * @param ApplicationAbstract $app Appliaction * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ApplicationAbstract $app = null) { @@ -103,7 +103,7 @@ final class Dispatcher implements DispatcherInterface * @throws \Exception this exception is thrown if the function is not callable * @throws \UnexpectedValueException this exception is thrown if the controller string is malformed * - * @since 1.0.0 + * @since 1.0.0 */ private function dispatchString(string $controller, array $data = null) : array { @@ -141,7 +141,7 @@ final class Dispatcher implements DispatcherInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function dispatchArray(array $controller, array $data = null) : array { @@ -161,7 +161,7 @@ final class Dispatcher implements DispatcherInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private function dispatchClosure(\Closure $controller, array $data = null) { @@ -177,7 +177,7 @@ final class Dispatcher implements DispatcherInterface * * @throws PathException this exception is thrown in case the controller couldn't be found * - * @since 1.0.0 + * @since 1.0.0 */ private function getController(string $controller) : object { @@ -196,7 +196,7 @@ final class Dispatcher implements DispatcherInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set(ModuleAbstract $controller, string $name) : void { diff --git a/Dispatcher/DispatcherInterface.php b/Dispatcher/DispatcherInterface.php index c751f39cc..a4d62a3ac 100644 --- a/Dispatcher/DispatcherInterface.php +++ b/Dispatcher/DispatcherInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Dispatcher - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Dispatcher + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,7 +26,7 @@ interface DispatcherInterface { * * @throws \UnexpectedValueException This exception is thrown for unsupported controller representations * - * @since 1.0.0 + * @since 1.0.0 */ public function dispatch($controller, ...$data) : array; } diff --git a/Event/EventManager.php b/Event/EventManager.php index 66672f9b7..cf89caa7f 100644 --- a/Event/EventManager.php +++ b/Event/EventManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Event - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Event + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,17 +26,17 @@ use phpOMS\Dispatcher\DispatcherInterface; * * What happens after triggering an event (removing the callback, resetting the sub-conditions etc.) depends on the setup. * - * @package phpOMS\Event - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Event + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class EventManager implements \Countable { /** * Events. * - * @var array + * @var array * @since 1.0.0 */ private array $groups = []; @@ -44,7 +44,7 @@ final class EventManager implements \Countable /** * Callbacks. * - * @var array + * @var array * @since 1.0.0 */ private array $callbacks = []; @@ -52,7 +52,7 @@ final class EventManager implements \Countable /** * Dispatcher. * - * @var DispatcherInterface + * @var DispatcherInterface * @since 1.0.0 */ private DispatcherInterface $dispatcher; @@ -62,7 +62,7 @@ final class EventManager implements \Countable * * @param Dispatcher $dispatcher Dispatcher. If no dispatcher is provided a simple general purpose dispatcher is used. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Dispatcher $dispatcher = null) { @@ -93,7 +93,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function importFromFile(string $path) : bool { @@ -123,7 +123,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function attach(string $group, $callback, bool $remove = false, bool $reset = false) : bool { @@ -145,7 +145,7 @@ final class EventManager implements \Countable * * @return bool returns true on sucessfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing * - * @since 1.0.0 + * @since 1.0.0 */ public function trigger(string $group, string $id = '', $data = null) : bool { @@ -174,7 +174,7 @@ final class EventManager implements \Countable * * @return bool returns true on sucessfully triggering the event, false if the event couldn't be triggered which also includes sub-requirements missing * - * @since 1.0.0 + * @since 1.0.0 */ private function triggerSingleEvent(string $group, string $id = '', $data = null) : bool { @@ -210,7 +210,7 @@ final class EventManager implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function reset(string $group) : void { @@ -230,7 +230,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function hasOutstanding(string $group) : bool { @@ -254,7 +254,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function detach(string $group) : bool { @@ -271,7 +271,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function detachCallback(string $group) : bool { @@ -290,7 +290,7 @@ final class EventManager implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function detachGroup(string $group) : bool { @@ -310,7 +310,7 @@ final class EventManager implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addGroup(string $group, string $id) : void { diff --git a/Localization/Defaults/City.php b/Localization/Defaults/City.php index 4d24810e0..698f54c60 100644 --- a/Localization/Defaults/City.php +++ b/Localization/Defaults/City.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Localization\Defaults; /** * City class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class City { /** * City id. * - * @var int + * @var int * @since 1.0.0 */ private $id = 0; @@ -35,7 +35,7 @@ final class City /** * Country code. * - * @var string + * @var string * @since 1.0.0 */ private $countryCode = ''; @@ -43,7 +43,7 @@ final class City /** * State code. * - * @var string + * @var string * @since 1.0.0 */ private $state = ''; @@ -51,7 +51,7 @@ final class City /** * City name. * - * @var string + * @var string * @since 1.0.0 */ private $name = ''; @@ -59,7 +59,7 @@ final class City /** * Postal code. * - * @var int + * @var int * @since 1.0.0 */ private $postal = 0; @@ -67,7 +67,7 @@ final class City /** * Latitude. * - * @var float + * @var float * @since 1.0.0 */ private $lat = 0.0; @@ -75,7 +75,7 @@ final class City /** * Longitude. * - * @var float + * @var float * @since 1.0.0 */ private $long = 0.0; @@ -85,7 +85,7 @@ final class City * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -97,7 +97,7 @@ final class City * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountryCode() : string { @@ -109,7 +109,7 @@ final class City * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getState() : string { @@ -121,7 +121,7 @@ final class City * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPostal() : int { @@ -133,7 +133,7 @@ final class City * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function getLat() : float { @@ -145,7 +145,7 @@ final class City * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function getLong() : float { diff --git a/Localization/Defaults/CityMapper.php b/Localization/Defaults/CityMapper.php index 4047726d9..88284a7aa 100644 --- a/Localization/Defaults/CityMapper.php +++ b/Localization/Defaults/CityMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CityMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ class CityMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -46,7 +46,7 @@ class CityMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'city'; @@ -54,7 +54,7 @@ class CityMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'city_id'; diff --git a/Localization/Defaults/Country.php b/Localization/Defaults/Country.php index 568ec11bc..d66c79953 100644 --- a/Localization/Defaults/Country.php +++ b/Localization/Defaults/Country.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Localization\Defaults; /** * Country class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Country { /** * Country id. * - * @var int + * @var int * @since 1.0.0 */ private $id = 0; @@ -35,7 +35,7 @@ final class Country /** * Country name. * - * @var string + * @var string * @since 1.0.0 */ private $name = ''; @@ -43,7 +43,7 @@ final class Country /** * Country code. * - * @var string + * @var string * @since 1.0.0 */ private $code2 = ''; @@ -51,7 +51,7 @@ final class Country /** * Country code. * - * @var string + * @var string * @since 1.0.0 */ private $code3 = ''; @@ -59,7 +59,7 @@ final class Country /** * Country code. * - * @var int + * @var int * @since 1.0.0 */ private $numeric = 0; @@ -67,7 +67,7 @@ final class Country /** * Country subdevision. * - * @var string + * @var string * @since 1.0.0 */ private $subdevision = ''; @@ -77,7 +77,7 @@ final class Country * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -89,7 +89,7 @@ final class Country * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode2() : string { @@ -101,7 +101,7 @@ final class Country * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode3() : string { @@ -113,7 +113,7 @@ final class Country * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getNumeric() : int { @@ -125,7 +125,7 @@ final class Country * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubdevision() : string { diff --git a/Localization/Defaults/CountryMapper.php b/Localization/Defaults/CountryMapper.php index 6f725cb07..c6e945e1b 100644 --- a/Localization/Defaults/CountryMapper.php +++ b/Localization/Defaults/CountryMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CountryMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ class CountryMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ class CountryMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'country'; @@ -53,7 +53,7 @@ class CountryMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'country_id'; diff --git a/Localization/Defaults/Currency.php b/Localization/Defaults/Currency.php index a0cb7e162..19e82821d 100644 --- a/Localization/Defaults/Currency.php +++ b/Localization/Defaults/Currency.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Localization\Defaults; /** * Currency class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Currency { /** * Currency id. * - * @var int + * @var int * @since 1.0.0 */ private $id = 0; @@ -35,7 +35,7 @@ final class Currency /** * Currency name. * - * @var string + * @var string * @since 1.0.0 */ private $name = ''; @@ -43,7 +43,7 @@ final class Currency /** * Currency code. * - * @var string + * @var string * @since 1.0.0 */ private $code = ''; @@ -51,7 +51,7 @@ final class Currency /** * Currency code. * - * @var int + * @var int * @since 1.0.0 */ private $number = 0; @@ -59,7 +59,7 @@ final class Currency /** * Currency decimals. * - * @var int + * @var int * @since 1.0.0 */ private $decimals = 0; @@ -67,7 +67,7 @@ final class Currency /** * Currency countries. * - * @var string + * @var string * @since 1.0.0 */ private $countries = ''; @@ -77,7 +77,7 @@ final class Currency * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -89,7 +89,7 @@ final class Currency * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode() : string { @@ -101,7 +101,7 @@ final class Currency * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getNumber() : int { @@ -113,7 +113,7 @@ final class Currency * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getDecimals() : int { @@ -125,7 +125,7 @@ final class Currency * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountries() : string { diff --git a/Localization/Defaults/CurrencyMapper.php b/Localization/Defaults/CurrencyMapper.php index 4215694c9..e320f7c5a 100644 --- a/Localization/Defaults/CurrencyMapper.php +++ b/Localization/Defaults/CurrencyMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CurrencyMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ class CurrencyMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ class CurrencyMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'currency'; @@ -53,7 +53,7 @@ class CurrencyMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'currency_id'; diff --git a/Localization/Defaults/Iban.php b/Localization/Defaults/Iban.php index d09abab12..9362135d9 100644 --- a/Localization/Defaults/Iban.php +++ b/Localization/Defaults/Iban.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Localization\Defaults; /** * iban class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Iban { /** * Iban id. * - * @var int + * @var int * @since 1.0.0 */ private $id = 0; @@ -35,7 +35,7 @@ final class Iban /** * Iban country. * - * @var string + * @var string * @since 1.0.0 */ private $country = ''; @@ -43,7 +43,7 @@ final class Iban /** * Iban chars. * - * @var int + * @var int * @since 1.0.0 */ private $chars = 2; @@ -51,7 +51,7 @@ final class Iban /** * Iban bban. * - * @var string + * @var string * @since 1.0.0 */ private $bban = ''; @@ -59,7 +59,7 @@ final class Iban /** * Iban fields. * - * @var string + * @var string * @since 1.0.0 */ private $fields = ''; @@ -69,7 +69,7 @@ final class Iban * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountry() : string { @@ -81,7 +81,7 @@ final class Iban * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getChars() : int { @@ -93,7 +93,7 @@ final class Iban * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBban() : string { @@ -105,7 +105,7 @@ final class Iban * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getFields() : string { diff --git a/Localization/Defaults/IbanMapper.php b/Localization/Defaults/IbanMapper.php index 165fe13b5..7821d6808 100644 --- a/Localization/Defaults/IbanMapper.php +++ b/Localization/Defaults/IbanMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class IbanMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ class IbanMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -44,7 +44,7 @@ class IbanMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'iban'; @@ -52,7 +52,7 @@ class IbanMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'iban_id'; diff --git a/Localization/Defaults/Language.php b/Localization/Defaults/Language.php index 37cd08403..a52c46b98 100644 --- a/Localization/Defaults/Language.php +++ b/Localization/Defaults/Language.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Localization\Defaults; /** * Language class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Language { /** * Language id. * - * @var int + * @var int * @since 1.0.0 */ private $id = 0; @@ -35,7 +35,7 @@ final class Language /** * Language name. * - * @var string + * @var string * @since 1.0.0 */ private $name = ''; @@ -43,7 +43,7 @@ final class Language /** * Language native. * - * @var string + * @var string * @since 1.0.0 */ private $native = ''; @@ -51,7 +51,7 @@ final class Language /** * Language code. * - * @var string + * @var string * @since 1.0.0 */ private $code2 = ''; @@ -59,7 +59,7 @@ final class Language /** * Language code. * - * @var string + * @var string * @since 1.0.0 */ private $code3 = ''; @@ -67,7 +67,7 @@ final class Language /** * Language code. * - * @var string + * @var string * @since 1.0.0 */ private $code3Native = ''; @@ -77,7 +77,7 @@ final class Language * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -89,7 +89,7 @@ final class Language * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getNative() : string { @@ -101,7 +101,7 @@ final class Language * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode2() : string { @@ -113,7 +113,7 @@ final class Language * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode3() : string { @@ -125,7 +125,7 @@ final class Language * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCode3Native() : string { diff --git a/Localization/Defaults/LanguageMapper.php b/Localization/Defaults/LanguageMapper.php index 41cfd369b..a34ca8f7d 100644 --- a/Localization/Defaults/LanguageMapper.php +++ b/Localization/Defaults/LanguageMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization\Defaults - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization\Defaults + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DataMapperAbstract; /** * Mapper class. * - * @package phpOMS\Localization\Defaults - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization\Defaults + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LanguageMapper extends DataMapperAbstract { @@ -30,7 +30,7 @@ class LanguageMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -45,7 +45,7 @@ class LanguageMapper extends DataMapperAbstract /** * Primary table. * - * @var string + * @var string * @since 1.0.0 */ protected static string $table = 'language'; @@ -53,7 +53,7 @@ class LanguageMapper extends DataMapperAbstract /** * Primary field name. * - * @var string + * @var string * @since 1.0.0 */ protected static string $primaryField = 'language_id'; diff --git a/Localization/ISO3166CharEnum.php b/Localization/ISO3166CharEnum.php index 6b8b0fdb8..2ec3b1c88 100644 --- a/Localization/ISO3166CharEnum.php +++ b/Localization/ISO3166CharEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO3166CharEnum extends Enum { diff --git a/Localization/ISO3166NameEnum.php b/Localization/ISO3166NameEnum.php index 3b90c09cc..8224e7432 100644 --- a/Localization/ISO3166NameEnum.php +++ b/Localization/ISO3166NameEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country names ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO3166NameEnum extends Enum { diff --git a/Localization/ISO3166NumEnum.php b/Localization/ISO3166NumEnum.php index 41db19837..d4fcaf216 100644 --- a/Localization/ISO3166NumEnum.php +++ b/Localization/ISO3166NumEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO3166NumEnum extends Enum { diff --git a/Localization/ISO3166TwoEnum.php b/Localization/ISO3166TwoEnum.php index cf8a8ca7e..02e111f75 100644 --- a/Localization/ISO3166TwoEnum.php +++ b/Localization/ISO3166TwoEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO3166TwoEnum extends Enum { diff --git a/Localization/ISO4217CharEnum.php b/Localization/ISO4217CharEnum.php index 92e41e2b8..adb964928 100644 --- a/Localization/ISO4217CharEnum.php +++ b/Localization/ISO4217CharEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Currency codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217CharEnum extends Enum { diff --git a/Localization/ISO4217DecimalEnum.php b/Localization/ISO4217DecimalEnum.php index ef652026a..7c16a53b5 100644 --- a/Localization/ISO4217DecimalEnum.php +++ b/Localization/ISO4217DecimalEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Currency decimals ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217DecimalEnum extends Enum { diff --git a/Localization/ISO4217Enum.php b/Localization/ISO4217Enum.php index c353e90a4..ad690a206 100644 --- a/Localization/ISO4217Enum.php +++ b/Localization/ISO4217Enum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Currency names ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217Enum extends Enum { diff --git a/Localization/ISO4217NumEnum.php b/Localization/ISO4217NumEnum.php index 41019bb96..1d282b9ee 100644 --- a/Localization/ISO4217NumEnum.php +++ b/Localization/ISO4217NumEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Currency codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217NumEnum extends Enum { diff --git a/Localization/ISO4217SubUnitEnum.php b/Localization/ISO4217SubUnitEnum.php index 9be42f30e..33940dc95 100644 --- a/Localization/ISO4217SubUnitEnum.php +++ b/Localization/ISO4217SubUnitEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Currency sub units ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217SubUnitEnum extends Enum { diff --git a/Localization/ISO4217SymbolEnum.php b/Localization/ISO4217SymbolEnum.php index ca9ddcf79..3b19bec42 100644 --- a/Localization/ISO4217SymbolEnum.php +++ b/Localization/ISO4217SymbolEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country symbols ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO4217SymbolEnum extends Enum { diff --git a/Localization/ISO639Enum.php b/Localization/ISO639Enum.php index a3fc0cf62..374c333d1 100644 --- a/Localization/ISO639Enum.php +++ b/Localization/ISO639Enum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Language name ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO639Enum extends Enum { diff --git a/Localization/ISO639x1Enum.php b/Localization/ISO639x1Enum.php index 1c4e81877..ed7791a5e 100644 --- a/Localization/ISO639x1Enum.php +++ b/Localization/ISO639x1Enum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Language codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO639x1Enum extends Enum { diff --git a/Localization/ISO639x2Enum.php b/Localization/ISO639x2Enum.php index b3faaf115..7cad1219f 100644 --- a/Localization/ISO639x2Enum.php +++ b/Localization/ISO639x2Enum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Language codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO639x2Enum extends Enum { diff --git a/Localization/ISO8601EnumArray.php b/Localization/ISO8601EnumArray.php index b94809b3b..81bba55de 100644 --- a/Localization/ISO8601EnumArray.php +++ b/Localization/ISO8601EnumArray.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Stdlib\Base\EnumArray; * Careful only (1) is considered as the ISO8601 standard. This file is only supposed to * contain all plausible datetime strings. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ISO8601EnumArray extends EnumArray { diff --git a/Localization/L11nManager.php b/Localization/L11nManager.php index d4d4a27d4..6c5720834 100644 --- a/Localization/L11nManager.php +++ b/Localization/L11nManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Module\ModuleAbstract; /** * Localization class. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class L11nManager { @@ -31,7 +31,7 @@ final class L11nManager /** * Language. * - * @var array + * @var array * @since 1.0.0 */ private array $language = []; @@ -39,7 +39,7 @@ final class L11nManager /** * App Name. * - * @var string + * @var string * @since 1.0.0 */ private string $appName = ''; @@ -47,7 +47,7 @@ final class L11nManager /** * Construct. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $appName) { @@ -61,7 +61,7 @@ final class L11nManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isLanguageLoaded(string $language) : bool { @@ -82,7 +82,7 @@ final class L11nManager * * @throws \UnexpectedValueException this exception is thrown when no language definitions for the defined source `$from` exist * - * @since 1.0.0 + * @since 1.0.0 */ public function loadLanguage(string $language, string $from, array $translation) : void { @@ -110,7 +110,7 @@ final class L11nManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function loadLanguageFromFile(string $language, string $from, string $file) : void { @@ -131,7 +131,7 @@ final class L11nManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getModuleLanguage(string $language, string $module = null) : array { @@ -154,7 +154,7 @@ final class L11nManager * * @return string In case the language element couldn't be found 'ERROR' will be returned * - * @since 1.0.0 + * @since 1.0.0 */ public function getText(string $code, string $module, string $theme, $translation) : string { @@ -191,7 +191,7 @@ final class L11nManager * * @return string In case the language element couldn't be found 'ERROR' will be returned * - * @since 1.0.0 + * @since 1.0.0 */ public function getHtml(string $code, string $module, string $theme, $translation) : string { diff --git a/Localization/Localization.php b/Localization/Localization.php index c7526865c..08d9ab5ed 100644 --- a/Localization/Localization.php +++ b/Localization/Localization.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Utils\Converter\TemperatureType; /** * Localization class. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Localization { @@ -32,7 +32,7 @@ class Localization /** * Country ID. * - * @var string + * @var string * @since 1.0.0 */ private string $country = ISO3166TwoEnum::_USA; @@ -40,7 +40,7 @@ class Localization /** * Timezone. * - * @var string + * @var string * @since 1.0.0 */ private string $timezone = 'America/New_York'; @@ -48,7 +48,7 @@ class Localization /** * Language ISO code. * - * @var string + * @var string * @since 1.0.0 */ private string $language = ISO639x1Enum::_EN; @@ -56,7 +56,7 @@ class Localization /** * Currency. * - * @var string + * @var string * @since 1.0.0 */ private string $currency = ISO4217Enum::_USD; @@ -64,7 +64,7 @@ class Localization /** * Number format. * - * @var string + * @var string * @since 1.0.0 */ private string $decimal = '.'; @@ -72,7 +72,7 @@ class Localization /** * Number format. * - * @var string + * @var string * @since 1.0.0 */ private string $thousands = ','; @@ -80,7 +80,7 @@ class Localization /** * Angle type. * - * @var string + * @var string * @since 1.0.0 */ private string $angle = AngleType::DEGREE; @@ -88,7 +88,7 @@ class Localization /** * Temperature type. * - * @var string + * @var string * @since 1.0.0 */ private string $temperature = TemperatureType::CELSIUS; @@ -96,7 +96,7 @@ class Localization /** * Time format. * - * @var array + * @var array * @since 1.0.0 */ private array $datetime = []; @@ -104,7 +104,7 @@ class Localization /** * Weight. * - * @var array + * @var array * @since 1.0.0 */ private array $weight = []; @@ -112,7 +112,7 @@ class Localization /** * Speed. * - * @var array + * @var array * @since 1.0.0 */ private array $speed = []; @@ -120,7 +120,7 @@ class Localization /** * Length. * - * @var array + * @var array * @since 1.0.0 */ private array $length = []; @@ -128,7 +128,7 @@ class Localization /** * Area. * - * @var array + * @var array * @since 1.0.0 */ private array $area = []; @@ -136,7 +136,7 @@ class Localization /** * Volume. * - * @var array + * @var array * @since 1.0.0 */ private array $volume = []; @@ -151,7 +151,7 @@ class Localization * * @throws InvalidEnumValue This exception is thrown if the language is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function loadFromLanguage(string $langCode, string $countryCode = '*') : void { @@ -198,7 +198,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function importLocale(array $locale) : void { @@ -222,7 +222,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountry() : string { @@ -238,7 +238,7 @@ class Localization * * @throws InvalidEnumValue This exception is thrown if the country is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function setCountry(string $country) : void { @@ -254,7 +254,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTimezone() : string { @@ -270,7 +270,7 @@ class Localization * * @throws InvalidEnumValue This exception is thrown if the timezone is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function setTimezone(string $timezone) : void { @@ -286,7 +286,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getLanguage() : string { @@ -302,7 +302,7 @@ class Localization * * @throws InvalidEnumValue This exception is thrown if the language is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function setLanguage(string $language) : void { @@ -320,7 +320,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCurrency() : string { @@ -336,7 +336,7 @@ class Localization * * @throws InvalidEnumValue This exception is thrown if the currency is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function setCurrency(string $currency) : void { @@ -352,7 +352,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDatetime() : array { @@ -366,7 +366,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDatetime(array $datetime) : void { @@ -378,7 +378,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDecimal() : string { @@ -392,7 +392,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDecimal(string $decimal) : void { @@ -404,7 +404,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getThousands() : string { @@ -418,7 +418,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setThousands(string $thousands) : void { @@ -430,7 +430,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getAngle() : string { @@ -444,7 +444,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAngle(string $angle) : void { @@ -456,7 +456,7 @@ class Localization * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTemperature() : string { @@ -470,7 +470,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTemperature(string $temperature) : void { @@ -482,7 +482,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getSpeed() : array { @@ -496,7 +496,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSpeed(array $speed) : void { @@ -508,7 +508,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getWeight() : array { @@ -522,7 +522,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setWeight(array $weight) : void { @@ -534,7 +534,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getLength() : array { @@ -548,7 +548,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLength(array $length) : void { @@ -560,7 +560,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getArea() : array { @@ -574,7 +574,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setArea(array $area) : void { @@ -586,7 +586,7 @@ class Localization * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getVolume() : array { @@ -600,7 +600,7 @@ class Localization * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setVolume(array $volume) : void { diff --git a/Localization/Money.php b/Localization/Money.php index e8108341c..410ea8d18 100644 --- a/Localization/Money.php +++ b/Localization/Money.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Localization; /** * Money class. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Money implements \Serializable { @@ -28,7 +28,7 @@ final class Money implements \Serializable /** * Max amount of decimals. * - * @var int + * @var int * @since 1.0.0 */ public const MAX_DECIMALS = 4; @@ -36,7 +36,7 @@ final class Money implements \Serializable /** * Thousands separator. * - * @var string + * @var string * @since 1.0.0 */ private string $thousands = ','; @@ -44,7 +44,7 @@ final class Money implements \Serializable /** * Decimal separator. * - * @var string + * @var string * @since 1.0.0 */ private string $decimal = '.'; @@ -52,7 +52,7 @@ final class Money implements \Serializable /** * Currency symbol position * - * @var int + * @var int * @since 1.0.0 */ private int $position = 1; @@ -60,7 +60,7 @@ final class Money implements \Serializable /** * Currency symbol. * - * @var string + * @var string * @since 1.0.0 */ private string $symbol = ISO4217SymbolEnum::_USD; @@ -68,7 +68,7 @@ final class Money implements \Serializable /** * Value. * - * @var int + * @var int * @since 1.0.0 */ private int $value = 0; @@ -82,7 +82,7 @@ final class Money implements \Serializable * @param string $symbol Currency symbol * @param int $position Symbol position * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($value = 0, string $thousands = ',', string $decimal = '.', string $symbol = '', int $position = 0) { @@ -104,7 +104,7 @@ final class Money implements \Serializable * * @throws \Exception this exception is thrown if an internal explode or substr error occurs * - * @since 1.0.0 + * @since 1.0.0 */ public static function toInt(string $value, string $thousands = ',', string $decimal = '.') : int { @@ -140,7 +140,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function setLocalization(string $thousands = ',', string $decimal = '.', string $symbol = '', int $position = 0) : self { @@ -159,7 +159,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function setString(string $value) : self { @@ -175,7 +175,7 @@ final class Money implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCurrency(int $decimals = 2) : string { @@ -191,7 +191,7 @@ final class Money implements \Serializable * * @throws \Exception this exception is thrown if an internal substr error occurs * - * @since 1.0.0 + * @since 1.0.0 */ public function getAmount(int $decimals = 2) : string { @@ -213,7 +213,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function add($value) : self { @@ -233,7 +233,7 @@ final class Money implements \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getInt() : int { @@ -247,7 +247,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function sub($value) : self { @@ -269,7 +269,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function mult($value) : self { @@ -287,7 +287,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function div($value) : self { @@ -303,7 +303,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function abs() : self { @@ -319,7 +319,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function pow($value) : self { @@ -335,7 +335,7 @@ final class Money implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -349,7 +349,7 @@ final class Money implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function unserialize($value) : void { @@ -363,7 +363,7 @@ final class Money implements \Serializable * * @return Money * - * @since 1.0.0 + * @since 1.0.0 */ public function setInt(int $value) : self { diff --git a/Localization/NullLocalization.php b/Localization/NullLocalization.php index 1247acc0a..2e94b2301 100644 --- a/Localization/NullLocalization.php +++ b/Localization/NullLocalization.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Localization; /** * Localization class. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullLocalization extends Localization { diff --git a/Localization/PhoneEnum.php b/Localization/PhoneEnum.php index e47ce01f1..2864c7787 100644 --- a/Localization/PhoneEnum.php +++ b/Localization/PhoneEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Country codes ISO list. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PhoneEnum extends Enum { diff --git a/Localization/TimeZoneEnumArray.php b/Localization/TimeZoneEnumArray.php index 5cfdd5825..e34f9b945 100644 --- a/Localization/TimeZoneEnumArray.php +++ b/Localization/TimeZoneEnumArray.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Localization - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Localization + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\EnumArray; /** * PHP Time zones. * - * @package phpOMS\Localization - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Localization + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TimeZoneEnumArray extends EnumArray { diff --git a/Log/FileLogger.php b/Log/FileLogger.php index 7b512728c..ab48b6d22 100644 --- a/Log/FileLogger.php +++ b/Log/FileLogger.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Log - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Log + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\System\File\Local\File; /** * Logging class. * - * @package phpOMS\Log - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Log + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -39,7 +39,7 @@ final class FileLogger implements LoggerInterface * Potential values are null or an array filled with log timings. * This is used in order to profile code sections by ID. * - * @var array + * @var array * @since 1.0.0 */ private static array $timings = []; @@ -47,7 +47,7 @@ final class FileLogger implements LoggerInterface /** * Instance. * - * @var null|FileLogger + * @var null|FileLogger * @since 1.0.0 */ protected static ?FileLogger $instance = null; @@ -55,7 +55,7 @@ final class FileLogger implements LoggerInterface /** * Verbose. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $verbose = false; @@ -65,7 +65,7 @@ final class FileLogger implements LoggerInterface * * Potential values are null or a valid file pointer * - * @var false|resource + * @var false|resource * @since 1.0.0 */ private $fp = false; @@ -73,7 +73,7 @@ final class FileLogger implements LoggerInterface /** * Logging path * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -81,7 +81,7 @@ final class FileLogger implements LoggerInterface /** * Is the logging file created * - * @var bool + * @var bool * @since 1.0.0 */ private bool $created = false; @@ -94,7 +94,7 @@ final class FileLogger implements LoggerInterface * @param string $lpath Path for logging * @param bool $verbose Verbose logging * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $lpath, bool $verbose = false) { @@ -115,7 +115,7 @@ final class FileLogger implements LoggerInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function createFile() : void { @@ -133,7 +133,7 @@ final class FileLogger implements LoggerInterface * * @return FileLogger * - * @since 1.0.0 + * @since 1.0.0 */ public static function getInstance(string $path = '', bool $verbose = false) : self { @@ -149,7 +149,7 @@ final class FileLogger implements LoggerInterface * * Closes the logging file * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function __destruct() @@ -164,7 +164,7 @@ final class FileLogger implements LoggerInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __clone() @@ -178,7 +178,7 @@ final class FileLogger implements LoggerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function startTimeLog($id = '') : bool { @@ -201,7 +201,7 @@ final class FileLogger implements LoggerInterface * * @return float The time measurement in ms * - * @since 1.0.0 + * @since 1.0.0 */ public static function endTimeLog($id = '') : float { @@ -223,7 +223,7 @@ final class FileLogger implements LoggerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function interpolate(string $message, array $context = [], string $level = LogLevel::DEBUG) : string { @@ -262,7 +262,7 @@ final class FileLogger implements LoggerInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function write(string $message) : void { @@ -376,7 +376,7 @@ final class FileLogger implements LoggerInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function countLogs() { @@ -423,7 +423,7 @@ final class FileLogger implements LoggerInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getHighestPerpetrator(int $limit = 10) : array { @@ -472,7 +472,7 @@ final class FileLogger implements LoggerInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function get(int $limit = 25, int $offset = 0) : array { @@ -528,7 +528,7 @@ final class FileLogger implements LoggerInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getByLine(int $id = 1) : array { @@ -582,7 +582,7 @@ final class FileLogger implements LoggerInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function console(string $message, bool $verbose = true, array $context = []) : void { diff --git a/Log/LogLevel.php b/Log/LogLevel.php index ad4d51a49..ab2c8892c 100644 --- a/Log/LogLevel.php +++ b/Log/LogLevel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Log - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Log + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Log level enum. * - * @package phpOMS\Log - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Log + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class LogLevel extends Enum { diff --git a/Log/LoggerInterface.php b/Log/LoggerInterface.php index 09e4e342f..2f8f78d89 100644 --- a/Log/LoggerInterface.php +++ b/Log/LoggerInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Log - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Log + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Log; /** * Logging interface. * - * @package phpOMS\Log - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Log + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface LoggerInterface { diff --git a/Math/Exception/ZeroDevisionException.php b/Math/Exception/ZeroDevisionException.php index c5888c4fc..986ca75fc 100644 --- a/Math/Exception/ZeroDevisionException.php +++ b/Math/Exception/ZeroDevisionException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Exception; /** * Zero devision exception. * - * @package phpOMS\Math\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ZeroDevisionException extends \UnexpectedValueException { @@ -30,7 +30,7 @@ final class ZeroDevisionException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $code = 0, \Exception $previous = null) { diff --git a/Math/Functions/Fibunacci.php b/Math/Functions/Fibunacci.php index 9310b1c25..01b2f9e14 100644 --- a/Math/Functions/Fibunacci.php +++ b/Math/Functions/Fibunacci.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Functions - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Functions + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Math\Number\Numbers; /** * Well known functions class. * - * @package phpOMS\Math\Functions - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Functions + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Fibunacci { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -44,7 +44,7 @@ final class Fibunacci * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isFibunacci(int $n) : bool { @@ -59,7 +59,7 @@ final class Fibunacci * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function fib(int $n, int $start = 1) : int { @@ -87,7 +87,7 @@ final class Fibunacci * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function binet(int $n) : int { diff --git a/Math/Functions/Functions.php b/Math/Functions/Functions.php index 405df7b76..cee52066f 100644 --- a/Math/Functions/Functions.php +++ b/Math/Functions/Functions.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Functions - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Functions + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Functions; /** * Well known functions and helpers class. * - * @package phpOMS\Math\Functions - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Functions + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Functions { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -45,7 +45,7 @@ final class Functions * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function fact(int $n, int $start = 1) : int { @@ -70,7 +70,7 @@ final class Functions * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function binomialCoefficient(int $n, int $k) : int { @@ -111,7 +111,7 @@ final class Functions * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function ackermann(int $m, int $n) : int { @@ -131,7 +131,7 @@ final class Functions * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function abs(array $values) : array { @@ -152,7 +152,7 @@ final class Functions * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function invMod(int $a, int $n) : int { @@ -198,7 +198,7 @@ final class Functions * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function mod($a, $b) : int { @@ -216,7 +216,7 @@ final class Functions * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isOdd($a) : bool { @@ -230,7 +230,7 @@ final class Functions * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isEven($a) : bool { @@ -245,7 +245,7 @@ final class Functions * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function powerFloat(array $values, float $exp = 2.0) : array { @@ -266,7 +266,7 @@ final class Functions * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function powerInt(array $values, int $exp = 2) : array { @@ -286,7 +286,7 @@ final class Functions * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function sqrt(array $values) : array { @@ -311,7 +311,7 @@ final class Functions * * @return int Lowest value is 0 and highest value is length - 1 * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRelativeDegree(int $value, int $length, int $start = 0) : int { diff --git a/Math/Functions/Gamma.php b/Math/Functions/Gamma.php index 8851e047b..84daaf81b 100644 --- a/Math/Functions/Gamma.php +++ b/Math/Functions/Gamma.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Functions - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Functions + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Functions; /** * Gamma function * - * @package phpOMS\Math\Functions - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Functions + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Gamma { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -38,7 +38,7 @@ final class Gamma /** * approximation values. * - * @var float[] + * @var float[] * @since 1.0.0 */ private const LANCZOSAPPROXIMATION = [ @@ -53,7 +53,7 @@ final class Gamma * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function lanczosApproximationReal($z) : float { @@ -79,7 +79,7 @@ final class Gamma * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function stirlingApproximation($x) : float { @@ -93,7 +93,7 @@ final class Gamma * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function spougeApproximation($z) : float { @@ -124,7 +124,7 @@ final class Gamma * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getGammaInteger(int $k) : int { diff --git a/Math/Geometry/ConvexHull/MonotoneChain.php b/Math/Geometry/ConvexHull/MonotoneChain.php index 85d00c7a7..9bf8ce982 100644 --- a/Math/Geometry/ConvexHull/MonotoneChain.php +++ b/Math/Geometry/ConvexHull/MonotoneChain.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\ConvexHull - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\ConvexHull + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Geometry\ConvexHull; /** * Andrew's monotone chain convex hull algorithm class. * - * @package phpOMS\Math\Geometry\ConvexHull - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\ConvexHull + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class MonotoneChain { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class MonotoneChain * * @return array> * - * @since 1.0.0 + * @since 1.0.0 */ public static function createConvexHull(array $points) : array { @@ -87,7 +87,7 @@ final class MonotoneChain * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function cross(array $a, array $b, array $c) : float { @@ -102,7 +102,7 @@ final class MonotoneChain * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function sort(array $a, array $b) : float { diff --git a/Math/Geometry/Shape/D2/Circle.php b/Math/Geometry/Shape/D2/Circle.php index 5c77ec5ae..c42ded14e 100644 --- a/Math/Geometry/Shape/D2/Circle.php +++ b/Math/Geometry/Shape/D2/Circle.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Circle shape. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Circle implements D2ShapeInterface { @@ -32,7 +32,7 @@ final class Circle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $r) : float { @@ -46,7 +46,7 @@ final class Circle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPerimeter(float $r) : float { @@ -60,7 +60,7 @@ final class Circle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRadiusBySurface(float $surface) : float { diff --git a/Math/Geometry/Shape/D2/D2ShapeInterface.php b/Math/Geometry/Shape/D2/D2ShapeInterface.php index 7ebf27c23..05b5fc97f 100644 --- a/Math/Geometry/Shape/D2/D2ShapeInterface.php +++ b/Math/Geometry/Shape/D2/D2ShapeInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Geometry\Shape\ShapeInterface; /** * Shape interface. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface D2ShapeInterface extends ShapeInterface { diff --git a/Math/Geometry/Shape/D2/Ellipse.php b/Math/Geometry/Shape/D2/Ellipse.php index 20d6750d9..8cec2cdb6 100644 --- a/Math/Geometry/Shape/D2/Ellipse.php +++ b/Math/Geometry/Shape/D2/Ellipse.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Ellipse shape. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Ellipse implements D2ShapeInterface { @@ -38,7 +38,7 @@ final class Ellipse implements D2ShapeInterface * * @return float Distance between points in meter * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a, float $b) : float { @@ -58,7 +58,7 @@ final class Ellipse implements D2ShapeInterface * * @return float Distance between points in meter * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPerimeter(float $a, float $b) : float { diff --git a/Math/Geometry/Shape/D2/Polygon.php b/Math/Geometry/Shape/D2/Polygon.php index 54e469524..192b20e6a 100644 --- a/Math/Geometry/Shape/D2/Polygon.php +++ b/Math/Geometry/Shape/D2/Polygon.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Polygon class. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Polygon implements D2ShapeInterface { /** * Epsilon for float comparison. * - * @var float + * @var float * @since 1.0.0 */ public const EPSILON = 0.00001; @@ -37,7 +37,7 @@ final class Polygon implements D2ShapeInterface * * These coordinates define the polygon * - * @var array[] + * @var array[] * @since 1.0.0 */ private array $coord = []; @@ -49,7 +49,7 @@ final class Polygon implements D2ShapeInterface * * @example Polygon([['x' => 1, 'y' => 2], ['x' => ...], ...]) * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $coord) { @@ -63,7 +63,7 @@ final class Polygon implements D2ShapeInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function pointInPolygon(array $point) : int { @@ -146,7 +146,7 @@ final class Polygon implements D2ShapeInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function isOnVertex(array $point, array $polygon) : bool { @@ -164,7 +164,7 @@ final class Polygon implements D2ShapeInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getInteriorAngleSum() : int { @@ -176,7 +176,7 @@ final class Polygon implements D2ShapeInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getExteriorAngleSum() : int { @@ -188,7 +188,7 @@ final class Polygon implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function getSurface() : float { @@ -200,7 +200,7 @@ final class Polygon implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private function getSignedSurface() : float { @@ -222,7 +222,7 @@ final class Polygon implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function getPerimeter() : float { @@ -241,7 +241,7 @@ final class Polygon implements D2ShapeInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getBarycenter() : array { diff --git a/Math/Geometry/Shape/D2/Quadrilateral.php b/Math/Geometry/Shape/D2/Quadrilateral.php index d3825a558..90bbf6156 100644 --- a/Math/Geometry/Shape/D2/Quadrilateral.php +++ b/Math/Geometry/Shape/D2/Quadrilateral.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Geometry\Shape\D2; diff --git a/Math/Geometry/Shape/D2/Rectangle.php b/Math/Geometry/Shape/D2/Rectangle.php index 369dca586..72f2c6295 100644 --- a/Math/Geometry/Shape/D2/Rectangle.php +++ b/Math/Geometry/Shape/D2/Rectangle.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Rectangle shape. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Rectangle implements D2ShapeInterface { @@ -33,7 +33,7 @@ final class Rectangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a, float $b) : float { @@ -48,7 +48,7 @@ final class Rectangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPerimeter(float $a, float $b) : float { @@ -63,7 +63,7 @@ final class Rectangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDiagonal(float $a, float $b) : float { diff --git a/Math/Geometry/Shape/D2/Trapezoid.php b/Math/Geometry/Shape/D2/Trapezoid.php index ce9d4176c..8f0b1bcac 100644 --- a/Math/Geometry/Shape/D2/Trapezoid.php +++ b/Math/Geometry/Shape/D2/Trapezoid.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Trapezoid shape. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Trapezoid implements D2ShapeInterface { @@ -40,7 +40,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a, float $b, float $h) : float { @@ -63,7 +63,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPerimeter(float $a, float $b, float $c, float $d) : float { @@ -85,7 +85,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHeight(float $area, float $a, float $b) : float { @@ -107,7 +107,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getA(float $area, float $h, float $b) : float { @@ -129,7 +129,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getB(float $area, float $h, float $a) : float { @@ -152,7 +152,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getC(float $perimeter, float $a, float $b, float $d) : float { @@ -175,7 +175,7 @@ final class Trapezoid implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getD(float $perimeter, float $a, float $b, float $c) : float { diff --git a/Math/Geometry/Shape/D2/Triangle.php b/Math/Geometry/Shape/D2/Triangle.php index effde69a6..9f77fe003 100644 --- a/Math/Geometry/Shape/D2/Triangle.php +++ b/Math/Geometry/Shape/D2/Triangle.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D2 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D2 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D2; /** * Triangle shape. * - * @package phpOMS\Math\Geometry\Shape\D2 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D2 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Triangle implements D2ShapeInterface { @@ -39,7 +39,7 @@ final class Triangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $b, float $h) : float { @@ -55,7 +55,7 @@ final class Triangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPerimeter(float $a, float $b, float $c) : float { @@ -70,7 +70,7 @@ final class Triangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHeight(float $area, float $b) : float { @@ -84,7 +84,7 @@ final class Triangle implements D2ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getHypot(...$vec) : float { diff --git a/Math/Geometry/Shape/D3/Cone.php b/Math/Geometry/Shape/D3/Cone.php index 0a846f55a..ed091afa5 100644 --- a/Math/Geometry/Shape/D3/Cone.php +++ b/Math/Geometry/Shape/D3/Cone.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Cone shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Cone implements D3ShapeInterface { @@ -33,7 +33,7 @@ final class Cone implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolume(float $r, float $h) : float { @@ -48,7 +48,7 @@ final class Cone implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $r, float $h) : float { @@ -63,7 +63,7 @@ final class Cone implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSlantHeight(float $r, float $h) : float { diff --git a/Math/Geometry/Shape/D3/Cuboid.php b/Math/Geometry/Shape/D3/Cuboid.php index 2f072f719..9fc244034 100644 --- a/Math/Geometry/Shape/D3/Cuboid.php +++ b/Math/Geometry/Shape/D3/Cuboid.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Cuboid shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Cuboid implements D3ShapeInterface { @@ -34,7 +34,7 @@ final class Cuboid implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolume(float $a, float $b, float $h) : float { @@ -50,7 +50,7 @@ final class Cuboid implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a, float $b, float $h) : float { diff --git a/Math/Geometry/Shape/D3/Cylinder.php b/Math/Geometry/Shape/D3/Cylinder.php index 37871575f..48783af94 100644 --- a/Math/Geometry/Shape/D3/Cylinder.php +++ b/Math/Geometry/Shape/D3/Cylinder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Cylinder shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Cylinder implements D3ShapeInterface { @@ -33,7 +33,7 @@ final class Cylinder implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolume(float $r, float $h) : float { @@ -48,7 +48,7 @@ final class Cylinder implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $r, float $h) : float { @@ -63,7 +63,7 @@ final class Cylinder implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLateralSurface(float $r, float $h) : float { diff --git a/Math/Geometry/Shape/D3/D3ShapeInterface.php b/Math/Geometry/Shape/D3/D3ShapeInterface.php index 59766023b..6a9504eb5 100644 --- a/Math/Geometry/Shape/D3/D3ShapeInterface.php +++ b/Math/Geometry/Shape/D3/D3ShapeInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Geometry\Shape\ShapeInterface; /** * Shape interface. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface D3ShapeInterface extends ShapeInterface { diff --git a/Math/Geometry/Shape/D3/Prism.php b/Math/Geometry/Shape/D3/Prism.php index ec82ac330..8b1a44e36 100644 --- a/Math/Geometry/Shape/D3/Prism.php +++ b/Math/Geometry/Shape/D3/Prism.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Geometry\Shape\D3; diff --git a/Math/Geometry/Shape/D3/RectangularPyramid.php b/Math/Geometry/Shape/D3/RectangularPyramid.php index 6acde9081..a563aa0a1 100644 --- a/Math/Geometry/Shape/D3/RectangularPyramid.php +++ b/Math/Geometry/Shape/D3/RectangularPyramid.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Rectangular pyramid shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class RectangularPyramid implements D3ShapeInterface { @@ -34,7 +34,7 @@ final class RectangularPyramid implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolume(float $a, float $b, float $h) : float { @@ -50,7 +50,7 @@ final class RectangularPyramid implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a, float $b, float $h) : float { @@ -66,7 +66,7 @@ final class RectangularPyramid implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLateralSurface(float $a, float $b, float $h) : float { diff --git a/Math/Geometry/Shape/D3/Sphere.php b/Math/Geometry/Shape/D3/Sphere.php index 572ecbdc7..4950c5705 100644 --- a/Math/Geometry/Shape/D3/Sphere.php +++ b/Math/Geometry/Shape/D3/Sphere.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Sphere shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Sphere implements D3ShapeInterface { /** * Radius. * - * @var float + * @var float * @since 1.0.0 */ private float $radius = 0.0; @@ -37,7 +37,7 @@ final class Sphere implements D3ShapeInterface * * @param float $radius Sphere radius * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(float $radius) { @@ -55,7 +55,7 @@ final class Sphere implements D3ShapeInterface * * @return float Distance between points in meter * - * @since 1.0.0 + * @since 1.0.0 */ public static function distance2PointsOnSphere(float $latStart, float $longStart, float $latEnd, float $longEnd, float $radius = 6371000.0) : float { @@ -84,7 +84,7 @@ final class Sphere implements D3ShapeInterface * * @return Sphere * - * @since 1.0.0 + * @since 1.0.0 */ public static function byRadius(float $r) : self { @@ -98,7 +98,7 @@ final class Sphere implements D3ShapeInterface * * @return Sphere * - * @since 1.0.0 + * @since 1.0.0 */ public static function byVolume(float $v) : self { @@ -112,7 +112,7 @@ final class Sphere implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRadiusByVolume(float $v) : float { @@ -126,7 +126,7 @@ final class Sphere implements D3ShapeInterface * * @return Sphere * - * @since 1.0.0 + * @since 1.0.0 */ public static function bySurface(float $s) : self { @@ -155,7 +155,7 @@ final class Sphere implements D3ShapeInterface * * @return float Sphere volume * - * @since 1.0.0 + * @since 1.0.0 */ public function getVolume() : float { @@ -169,7 +169,7 @@ final class Sphere implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolumeByRadius(float $r) : float { @@ -181,7 +181,7 @@ final class Sphere implements D3ShapeInterface * * @return float Sphere radius * - * @since 1.0.0 + * @since 1.0.0 */ public function getRadius() : float { @@ -193,7 +193,7 @@ final class Sphere implements D3ShapeInterface * * @return float Sphere surface * - * @since 1.0.0 + * @since 1.0.0 */ public function getSurface() : float { @@ -207,7 +207,7 @@ final class Sphere implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurfaceByRadius(float $r) : float { diff --git a/Math/Geometry/Shape/D3/Tetrahedron.php b/Math/Geometry/Shape/D3/Tetrahedron.php index 91918553d..511b5abbc 100644 --- a/Math/Geometry/Shape/D3/Tetrahedron.php +++ b/Math/Geometry/Shape/D3/Tetrahedron.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape\D3 - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape\D3 + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape\D3; /** * Tetraedron shape. * - * @package phpOMS\Math\Geometry\Shape\D3 - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape\D3 + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Tetrahedron implements D3ShapeInterface { @@ -32,7 +32,7 @@ final class Tetrahedron implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVolume(float $a) : float { @@ -46,7 +46,7 @@ final class Tetrahedron implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSurface(float $a) : float { @@ -60,7 +60,7 @@ final class Tetrahedron implements D3ShapeInterface * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFaceArea(float $a) : float { diff --git a/Math/Geometry/Shape/ShapeInterface.php b/Math/Geometry/Shape/ShapeInterface.php index eb40128b3..baa41b641 100644 --- a/Math/Geometry/Shape/ShapeInterface.php +++ b/Math/Geometry/Shape/ShapeInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Geometry\Shape - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Geometry\Shape + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Geometry\Shape; /** * Shape interface. * - * @package phpOMS\Math\Geometry\Shape - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Geometry\Shape + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ShapeInterface { diff --git a/Math/Integral/Gauss.php b/Math/Integral/Gauss.php index a8d1b770b..0a7d9863e 100644 --- a/Math/Integral/Gauss.php +++ b/Math/Integral/Gauss.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Math/Matrix/CholeskyDecomposition.php b/Math/Matrix/CholeskyDecomposition.php index 486910f74..52dc17354 100644 --- a/Math/Matrix/CholeskyDecomposition.php +++ b/Math/Matrix/CholeskyDecomposition.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; * * A is syymetric, positive definite then A = L*L' * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CholeskyDecomposition { /** * L matrix. * - * @var array + * @var array * @since 1.0.0 */ private array $L = []; @@ -39,7 +39,7 @@ final class CholeskyDecomposition /** * Dimension of L * - * @var int + * @var int * @since 1.0.0 */ private int $m = 0; @@ -47,7 +47,7 @@ final class CholeskyDecomposition /** * Is symmetric positiv definite * - * @var bool + * @var bool * @since 1.0.0 */ private bool $isSpd = true; @@ -57,7 +57,7 @@ final class CholeskyDecomposition * * @param Matrix $M Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Matrix $M) { @@ -94,7 +94,7 @@ final class CholeskyDecomposition * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isSpd() : bool { @@ -106,7 +106,7 @@ final class CholeskyDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getL() : Matrix { @@ -123,7 +123,7 @@ final class CholeskyDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function solve(Matrix $B) : Matrix { diff --git a/Math/Matrix/EigenvalueDecomposition.php b/Math/Matrix/EigenvalueDecomposition.php index 485b1bc13..a2c2f777f 100644 --- a/Math/Matrix/EigenvalueDecomposition.php +++ b/Math/Matrix/EigenvalueDecomposition.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,17 +22,17 @@ use phpOMS\Math\Geometry\Shape\D2\Triangle; * A symmetric then A = V*D*V' * A not symmetric then (potentially) A = V*D*inverse(V) * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class EigenvalueDecomposition { /** * Dimension m * - * @var int + * @var int * @since 1.0.0 */ private int $m = 0; @@ -40,7 +40,7 @@ final class EigenvalueDecomposition /** * Is symmetric * - * @var bool + * @var bool * @since 1.0.0 */ private bool $isSymmetric = true; @@ -48,7 +48,7 @@ final class EigenvalueDecomposition /** * A square matrix. * - * @var array + * @var array * @since 1.0.0 */ private array $A = []; @@ -56,7 +56,7 @@ final class EigenvalueDecomposition /** * Eigenvectors * - * @var array + * @var array * @since 1.0.0 */ private array $V = []; @@ -64,7 +64,7 @@ final class EigenvalueDecomposition /** * Eigenvalues * - * @var array + * @var array * @since 1.0.0 */ private array $D = []; @@ -72,7 +72,7 @@ final class EigenvalueDecomposition /** * Eigenvalues * - * @var array + * @var array * @since 1.0.0 */ private array $E = []; @@ -80,7 +80,7 @@ final class EigenvalueDecomposition /** * Hessenberg form * - * @var array + * @var array * @since 1.0.0 */ private array $H = []; @@ -88,7 +88,7 @@ final class EigenvalueDecomposition /** * Non-symmetric storage * - * @var array + * @var array * @since 1.0.0 */ private array $ort = []; @@ -96,7 +96,7 @@ final class EigenvalueDecomposition /** * Complex scalar division * - * @var float + * @var float * @since 1.0.0 */ private float $cdivr = 0.0; @@ -104,7 +104,7 @@ final class EigenvalueDecomposition /** * Complex scalar division * - * @var float + * @var float * @since 1.0.0 */ private float $cdivi = 0.0; @@ -114,7 +114,7 @@ final class EigenvalueDecomposition * * @param Matrix $M Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Matrix $M) { @@ -145,7 +145,7 @@ final class EigenvalueDecomposition * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function tred2() : void { @@ -266,7 +266,7 @@ final class EigenvalueDecomposition * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function tql2() : void { diff --git a/Math/Matrix/Exception/InvalidDimensionException.php b/Math/Matrix/Exception/InvalidDimensionException.php index 5b0b4c325..90259a851 100644 --- a/Math/Matrix/Exception/InvalidDimensionException.php +++ b/Math/Matrix/Exception/InvalidDimensionException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Matrix\Exception; /** * Zero devision exception. * - * @package phpOMS\Math\Matrix\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidDimensionException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ final class InvalidDimensionException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($message, int $code = 0, \Exception $previous = null) { diff --git a/Math/Matrix/IdentityMatrix.php b/Math/Matrix/IdentityMatrix.php index 866fac6ac..1ca83e0c2 100644 --- a/Math/Matrix/IdentityMatrix.php +++ b/Math/Matrix/IdentityMatrix.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Matrix; /** * Identity Matrix * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class IdentityMatrix extends Matrix { @@ -29,7 +29,7 @@ final class IdentityMatrix extends Matrix * * @param int $n Matrix dimension * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $n) { diff --git a/Math/Matrix/LUDecomposition.php b/Math/Matrix/LUDecomposition.php index 906eb1574..09bfe6ce4 100644 --- a/Math/Matrix/LUDecomposition.php +++ b/Math/Matrix/LUDecomposition.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; * * A(piv,:) = L*U * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class LUDecomposition { /** * LU matrix. * - * @var array + * @var array * @since 1.0.0 */ private array $LU = []; @@ -39,7 +39,7 @@ final class LUDecomposition /** * Dimension m * - * @var int + * @var int * @since 1.0.0 */ private int $m = 0; @@ -47,7 +47,7 @@ final class LUDecomposition /** * Dimension n * - * @var int + * @var int * @since 1.0.0 */ private int $n = 0; @@ -55,7 +55,7 @@ final class LUDecomposition /** * Pivot sign * - * @var int + * @var int * @since 1.0.0 */ private int $pivSign = 1; @@ -63,7 +63,7 @@ final class LUDecomposition /** * Pivot * - * @var array + * @var array * @since 1.0.0 */ private array $piv = []; @@ -73,7 +73,7 @@ final class LUDecomposition * * @param Matrix $M Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Matrix $M) { @@ -137,7 +137,7 @@ final class LUDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getL() : Matrix { @@ -166,7 +166,7 @@ final class LUDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getU() : Matrix { @@ -193,7 +193,7 @@ final class LUDecomposition * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getPivot() : array { @@ -205,7 +205,7 @@ final class LUDecomposition * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isNonsingular() : bool { @@ -223,7 +223,7 @@ final class LUDecomposition * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function det() : float { @@ -242,7 +242,7 @@ final class LUDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function solve(Matrix $B) : Matrix { diff --git a/Math/Matrix/Matrix.php b/Math/Matrix/Matrix.php index edf044c05..c079c786f 100644 --- a/Math/Matrix/Matrix.php +++ b/Math/Matrix/Matrix.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Matrix class * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Matrix implements \ArrayAccess, \Iterator { /** * Matrix. * - * @var array + * @var array * @since 1.0.0 */ protected array $matrix = []; @@ -37,7 +37,7 @@ class Matrix implements \ArrayAccess, \Iterator /** * Columns. * - * @var int + * @var int * @since 1.0.0 */ protected int $n = 0; @@ -45,7 +45,7 @@ class Matrix implements \ArrayAccess, \Iterator /** * Rows. * - * @var int + * @var int * @since 1.0.0 */ protected int $m = 0; @@ -53,7 +53,7 @@ class Matrix implements \ArrayAccess, \Iterator /** * Iterator position. * - * @var int + * @var int * @since 1.0.0 */ protected int $position = 0; @@ -64,7 +64,7 @@ class Matrix implements \ArrayAccess, \Iterator * @param int $m Rows * @param int $n Columns * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $m = 1, int $n = 1) { @@ -87,7 +87,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws InvalidDimensionException * - * @since 1.0.0 + * @since 1.0.0 */ public function set(int $m, int $n, $value) : void { @@ -108,7 +108,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws InvalidDimensionException * - * @since 1.0.0 + * @since 1.0.0 */ public function get(int $m, int $n) { @@ -124,7 +124,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function transpose() : self { @@ -139,7 +139,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return array> * - * @since 1.0.0 + * @since 1.0.0 */ public function getMatrix() : array { @@ -156,7 +156,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubMatrix(int $iRow, int $lRow, int $iCol, int $lCol) : self { @@ -181,7 +181,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubMatrixByColumnsRows(array $rows, array $cols) : self { @@ -210,7 +210,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubMatrixByColumns(int $iRow, int $lRow, array $cols) : self { @@ -238,7 +238,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubMatrixByRows(array $rows, int $iCol, int $lCol) : self { @@ -262,7 +262,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return array> * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { @@ -274,7 +274,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isSymmetric() : bool { @@ -293,7 +293,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function rank() : int { @@ -343,7 +343,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function swapRow(array &$matrix, int $row1, int $row2, int $col) : void { @@ -363,7 +363,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setMatrix(array $matrix) : self { @@ -383,7 +383,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function sub($value) : self { @@ -405,7 +405,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function add($value) : self { @@ -427,7 +427,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function addMatrix(self $matrix) : self { @@ -455,7 +455,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getM() : int { @@ -467,7 +467,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getN() : int { @@ -483,7 +483,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function addScalar($scalar) : self { @@ -510,7 +510,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function mult($value) : self { @@ -532,7 +532,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function multMatrix(self $matrix) : self { @@ -569,7 +569,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function multScalar($scalar) : self { @@ -592,7 +592,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function upperTriangular() : self { @@ -612,7 +612,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return int Det sign * - * @since 1.0.0 + * @since 1.0.0 */ private function upperTrianglize(array &$arr) : int { @@ -662,7 +662,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @throws InvalidDimensionException * - * @since 1.0.0 + * @since 1.0.0 */ public function inverse() : self { @@ -676,7 +676,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function solve(self $B) : self { @@ -690,7 +690,7 @@ class Matrix implements \ArrayAccess, \Iterator * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function det() : float { diff --git a/Math/Matrix/QRDecomposition.php b/Math/Matrix/QRDecomposition.php index b05ea70bb..338031c02 100644 --- a/Math/Matrix/QRDecomposition.php +++ b/Math/Matrix/QRDecomposition.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,17 +22,17 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; * * For every matrix A = Q*R * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class QRDecomposition { /** * QR matrix. * - * @var array[] + * @var array[] * @since 1.0.0 */ private array $QR = []; @@ -40,7 +40,7 @@ final class QRDecomposition /** * Dimension m * - * @var int + * @var int * @since 1.0.0 */ private int $m = 0; @@ -48,7 +48,7 @@ final class QRDecomposition /** * Dimension n * - * @var int + * @var int * @since 1.0.0 */ private int $n = 0; @@ -56,7 +56,7 @@ final class QRDecomposition /** * R diagonal * - * @var array + * @var array * @since 1.0.0 */ private array $Rdiag = []; @@ -66,7 +66,7 @@ final class QRDecomposition * * @param Matrix $M Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Matrix $M) { @@ -118,7 +118,7 @@ final class QRDecomposition * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isFullRank() : bool { @@ -136,7 +136,7 @@ final class QRDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getH() : Matrix { @@ -163,7 +163,7 @@ final class QRDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getR() : Matrix { @@ -192,7 +192,7 @@ final class QRDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getQ() : Matrix { @@ -232,7 +232,7 @@ final class QRDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function solve(Matrix $B) : Matrix { diff --git a/Math/Matrix/SingularValueDecomposition.php b/Math/Matrix/SingularValueDecomposition.php index 437366ec5..79954b9ac 100644 --- a/Math/Matrix/SingularValueDecomposition.php +++ b/Math/Matrix/SingularValueDecomposition.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Math\Geometry\Shape\D2\Triangle; /** * Singular value decomposition * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class SingularValueDecomposition { /** * U matrix. * - * @var array[] + * @var array[] * @since 1.0.0 */ private array $U = []; @@ -37,7 +37,7 @@ final class SingularValueDecomposition /** * V matrix. * - * @var array[] + * @var array[] * @since 1.0.0 */ private array $V = []; @@ -45,7 +45,7 @@ final class SingularValueDecomposition /** * Singular values. * - * @var array + * @var array * @since 1.0.0 */ private array $S = []; @@ -53,7 +53,7 @@ final class SingularValueDecomposition /** * Dimension m * - * @var int + * @var int * @since 1.0.0 */ private int $m = 0; @@ -61,7 +61,7 @@ final class SingularValueDecomposition /** * Dimension n * - * @var int + * @var int * @since 1.0.0 */ private int $n = 0; @@ -71,7 +71,7 @@ final class SingularValueDecomposition * * @param Matrix $M Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Matrix $M) { @@ -459,7 +459,7 @@ final class SingularValueDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getU() : Matrix { @@ -474,7 +474,7 @@ final class SingularValueDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getV() : Matrix { @@ -489,7 +489,7 @@ final class SingularValueDecomposition * * @return Matrix * - * @since 1.0.0 + * @since 1.0.0 */ public function getS() : Matrix { @@ -513,7 +513,7 @@ final class SingularValueDecomposition * * @return Vector * - * @since 1.0.0 + * @since 1.0.0 */ public function getSingularValues() : Vector { @@ -528,7 +528,7 @@ final class SingularValueDecomposition * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function norm2() : float { @@ -540,7 +540,7 @@ final class SingularValueDecomposition * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function cond() : float { @@ -552,7 +552,7 @@ final class SingularValueDecomposition * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function rank() : int { diff --git a/Math/Matrix/Vector.php b/Math/Matrix/Vector.php index caea38b60..afec424c8 100644 --- a/Math/Matrix/Vector.php +++ b/Math/Matrix/Vector.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Matrix - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Matrix + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Matrix; /** * Vector class * - * @package phpOMS\Math\Matrix - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Matrix + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Vector extends Matrix { diff --git a/Math/Number/Complex.php b/Math/Number/Complex.php index a53affc9d..75075e884 100644 --- a/Math/Number/Complex.php +++ b/Math/Number/Complex.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Number; /** * Complex number class. * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Complex { /** * Real part. * - * @var mixed + * @var mixed * @since 1.0.0 */ private $re = null; @@ -35,7 +35,7 @@ final class Complex /** * Imaginary part. * - * @var mixed + * @var mixed * @since 1.0.0 */ private $im = null; @@ -46,7 +46,7 @@ final class Complex * @param mixed $re Real part * @param mixed $im Imaginary part * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($re = 0, $im = 0) { @@ -59,7 +59,7 @@ final class Complex * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function re() { @@ -71,7 +71,7 @@ final class Complex * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function im() { @@ -85,7 +85,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ public function conjugate() : self { @@ -97,7 +97,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ public function reciprocal() : self { @@ -112,7 +112,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ public function sqrt() : self { @@ -127,7 +127,7 @@ final class Complex * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function abs() { @@ -139,7 +139,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ public function square() : self { @@ -155,7 +155,7 @@ final class Complex * * @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type * - * @since 1.0.0 + * @since 1.0.0 */ public function pow($value) : self { @@ -182,7 +182,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ public function powInteger(int $value) : self { @@ -209,7 +209,7 @@ final class Complex * * @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type * - * @since 1.0.0 + * @since 1.0.0 */ public function add($value) : self { @@ -229,7 +229,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function addComplex(self $cpl) : self { @@ -243,7 +243,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function addScalar($val) : self { @@ -259,7 +259,7 @@ final class Complex * * @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type * - * @since 1.0.0 + * @since 1.0.0 */ public function sub($value) : self { @@ -279,7 +279,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function subComplex(self $cpl) : self { @@ -293,7 +293,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function subScalar($val) : self { @@ -309,7 +309,7 @@ final class Complex * * @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type * - * @since 1.0.0 + * @since 1.0.0 */ public function mult($value) : self { @@ -329,7 +329,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function multComplex(self $cpl) : self { @@ -346,7 +346,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function multScalar($val) : self { @@ -362,7 +362,7 @@ final class Complex * * @throws \InvalidArgumentException This exception is thrown if the argument has an invalid type * - * @since 1.0.0 + * @since 1.0.0 */ public function div($value) : self { @@ -382,7 +382,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function divComplex(self $cpl) : self { @@ -399,7 +399,7 @@ final class Complex * * @return Complex * - * @since 1.0.0 + * @since 1.0.0 */ private function divScalar($val) : self { @@ -413,7 +413,7 @@ final class Complex * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function render(int $precision = 2) : string { diff --git a/Math/Number/Integer.php b/Math/Number/Integer.php index f126f9ef5..a2f8d85af 100644 --- a/Math/Number/Integer.php +++ b/Math/Number/Integer.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Number; /** * Integer class * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Integer { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class Integer * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isInteger($value) : bool { @@ -56,7 +56,7 @@ final class Integer * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function trialFactorization(int $value) : array { @@ -98,7 +98,7 @@ final class Integer * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function pollardsRho(int $n, int $x = 2, int $factor = 1, int $cycleSize = 2, int $y = 2) : int { @@ -123,7 +123,7 @@ final class Integer * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function greatestCommonDivisor(int $n, int $m) : int { @@ -151,7 +151,7 @@ final class Integer * * @throws \Exception This exception is thrown if the value is not odd * - * @since 1.0.0 + * @since 1.0.0 */ public static function fermatFactor(int $value, int $limit = 1000000) : array { diff --git a/Math/Number/Natural.php b/Math/Number/Natural.php index 024a3dbb9..bd77b1420 100644 --- a/Math/Number/Natural.php +++ b/Math/Number/Natural.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Number; /** * Natura number class * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Natural { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class Natural * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isNatural($value) : bool { diff --git a/Math/Number/NumberType.php b/Math/Number/NumberType.php index d5e1c91dd..abbefdb11 100644 --- a/Math/Number/NumberType.php +++ b/Math/Number/NumberType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Number type enum. * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class NumberType extends Enum { diff --git a/Math/Number/Numbers.php b/Math/Number/Numbers.php index 2a471a83d..5fee27825 100644 --- a/Math/Number/Numbers.php +++ b/Math/Number/Numbers.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Number; /** * Numbers class. * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Numbers { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class Numbers * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isPerfect(int $n) : bool { @@ -64,7 +64,7 @@ final class Numbers * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isSelfdescribing(int $n) : bool { @@ -91,7 +91,7 @@ final class Numbers * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isSquare(int $n) : bool { @@ -105,7 +105,7 @@ final class Numbers * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function countTrailingZeros(int $n) : int { diff --git a/Math/Number/OperationInterface.php b/Math/Number/OperationInterface.php index f3336b4f4..cdebd53ac 100644 --- a/Math/Number/OperationInterface.php +++ b/Math/Number/OperationInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Number; /** * Basic operation interface. * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface OperationInterface { @@ -31,7 +31,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function add($x); @@ -42,7 +42,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function sub($x); @@ -53,7 +53,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function mult($x); @@ -64,7 +64,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function div($x); @@ -75,7 +75,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function pow($p); @@ -84,7 +84,7 @@ interface OperationInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function abs(); } diff --git a/Math/Number/Prime.php b/Math/Number/Prime.php index c761a1022..1cee1fd0d 100644 --- a/Math/Number/Prime.php +++ b/Math/Number/Prime.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Number - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Number + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Number; /** * Well known functions class. * - * @package phpOMS\Math\Number - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Number + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Prime { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class Prime * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isMersenne(int $n) : bool { @@ -58,7 +58,7 @@ final class Prime * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function mersenne(int $p) : int { @@ -73,7 +73,7 @@ final class Prime * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function rabinTest(int $n, int $k = 10000) : bool { @@ -127,7 +127,7 @@ final class Prime * * @return int[] * - * @since 1.0.0 + * @since 1.0.0 */ public static function sieveOfEratosthenes(int $n) : array { @@ -161,7 +161,7 @@ final class Prime * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isPrime(int $n) : bool { diff --git a/Math/Numerics/Interpolation/CubicSplineInterpolation.php b/Math/Numerics/Interpolation/CubicSplineInterpolation.php index 89bbc168a..18078c0d2 100644 --- a/Math/Numerics/Interpolation/CubicSplineInterpolation.php +++ b/Math/Numerics/Interpolation/CubicSplineInterpolation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Numerics\Interpolation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Numerics\Interpolation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Numerics\Interpolation; /** * Web module interface. * - * @package phpOMS\Math\Numerics\Interpolation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Numerics\Interpolation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CubicSplineInterpolation { diff --git a/Math/Numerics/Interpolation/LinearInterpolation.php b/Math/Numerics/Interpolation/LinearInterpolation.php index 749bfc684..640c0b83b 100644 --- a/Math/Numerics/Interpolation/LinearInterpolation.php +++ b/Math/Numerics/Interpolation/LinearInterpolation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Numerics\Interpolation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Numerics\Interpolation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Numerics\Interpolation; /** * Web module interface. * - * @package phpOMS\Math\Numerics\Interpolation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Numerics\Interpolation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LinearInterpolation { diff --git a/Math/Numerics/Interpolation/PolynomialInterpolation.php b/Math/Numerics/Interpolation/PolynomialInterpolation.php index d014ef4b8..970c730f5 100644 --- a/Math/Numerics/Interpolation/PolynomialInterpolation.php +++ b/Math/Numerics/Interpolation/PolynomialInterpolation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Numerics\Interpolation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Numerics\Interpolation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Numerics\Interpolation; /** * Web module interface. * - * @package phpOMS\Math\Numerics\Interpolation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Numerics\Interpolation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PolynomialInterpolation { diff --git a/Math/Parser/Evaluator.php b/Math/Parser/Evaluator.php index de2d23561..673a61e91 100644 --- a/Math/Parser/Evaluator.php +++ b/Math/Parser/Evaluator.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Parser - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Parser + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Parser; /** * Basic math function evaluation. * - * @package phpOMS\Math\Parser - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Parser + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Evaluator { @@ -33,7 +33,7 @@ class Evaluator * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function evaluate(string $equation) : ?float { @@ -77,7 +77,7 @@ class Evaluator * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private static function parseValue($value) { @@ -91,7 +91,7 @@ class Evaluator * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private static function shuntingYard(string $equation) : array { diff --git a/Math/Statistic/Average.php b/Math/Statistic/Average.php index b63f0b6dc..e39d2371d 100644 --- a/Math/Statistic/Average.php +++ b/Math/Statistic/Average.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Average class. * - * @package phpOMS\Math\Statistic - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Average { @@ -43,7 +43,7 @@ final class Average /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -59,7 +59,7 @@ final class Average * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function averageDatasetChange(array $x, int $h = 1) : float { @@ -80,7 +80,7 @@ final class Average * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function totalMovingAverage(array $x, int $order, array $weight = null, bool $symmetric = false) : array { @@ -108,7 +108,7 @@ final class Average * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function movingAverage(array $x, int $t, int $order, array $weight = null, bool $symmetric = false) : float { @@ -142,7 +142,7 @@ final class Average * * @throws InvalidDimensionException This exception is thrown in case both parameters have different array length * - * @since 1.0.0 + * @since 1.0.0 */ public static function weightedAverage(array $values, array $weight) : float { @@ -170,7 +170,7 @@ final class Average * * @throws ZeroDevisionException This exception is thrown if the values array is empty * - * @since 1.0.0 + * @since 1.0.0 */ public static function arithmeticMean(array $values) : float { @@ -192,7 +192,7 @@ final class Average * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function mode(array $values) : float { @@ -211,7 +211,7 @@ final class Average * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function median(array $values) : float { @@ -242,7 +242,7 @@ final class Average * * @throws ZeroDevisionException This exception is thrown if the values array is empty * - * @since 1.0.0 + * @since 1.0.0 */ public static function geometricMean(array $values, int $offset = 0) : float { @@ -267,7 +267,7 @@ final class Average * * @throws ZeroDevisionException This exception is thrown if a value in the values array is 0 or if the values array is empty * - * @since 1.0.0 + * @since 1.0.0 */ public static function harmonicMean(array $values, int $offset = 0) : float { @@ -305,7 +305,7 @@ final class Average * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function angleMean($angles, int $offset = 0) : float { @@ -334,7 +334,7 @@ final class Average * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function angleMean2(array $angles, int $offset = 0) : float { diff --git a/Math/Statistic/Basic.php b/Math/Statistic/Basic.php index 286bad5ed..4b7cbfcf6 100644 --- a/Math/Statistic/Basic.php +++ b/Math/Statistic/Basic.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Statistic; /** * Basic statistic functions. * - * @package phpOMS\Math\Statistic - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Basic { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -44,7 +44,7 @@ final class Basic * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function frequency(array $values) : array { diff --git a/Math/Statistic/Correlation.php b/Math/Statistic/Correlation.php index ef7f0d20a..ea0ba647d 100644 --- a/Math/Statistic/Correlation.php +++ b/Math/Statistic/Correlation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Math\Statistic; /** * Correlation. * - * @package phpOMS\Math\Statistic - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Correlation { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -45,7 +45,7 @@ final class Correlation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function bravaisPersonCorrelationCoefficient(array $x, array $y) : float { @@ -60,7 +60,7 @@ final class Correlation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function autocorrelationCoefficient(array $x, int $k = 0) : float { @@ -85,7 +85,7 @@ final class Correlation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function boxPierceTest(array $autocorrelations, int $h, int $n) : float { @@ -106,7 +106,7 @@ final class Correlation * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function ljungBoxTest(array $autocorrelations, int $h, int $n) : float { diff --git a/Math/Statistic/Forecast/Error.php b/Math/Statistic/Forecast/Error.php index 66b67b732..b0a335f4d 100644 --- a/Math/Statistic/Forecast/Error.php +++ b/Math/Statistic/Forecast/Error.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Math\Statistic\MeasureOfDispersion; /** * Basic forecast functions. * - * @package phpOMS\Math\Statistic\Forecast - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Error { @@ -36,7 +36,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getForecastError(float $observed, float $forecasted) : float { @@ -51,7 +51,7 @@ class Error * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getForecastErrorArray(array $observed, array $forecasted) : array { @@ -72,7 +72,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPercentageError(float $error, float $observed) : float { @@ -87,7 +87,7 @@ class Error * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPercentageErrorArray(array $errors, array $observed) : array { @@ -107,7 +107,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMeanAbsoulteError(array $errors) : float { @@ -121,7 +121,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMeanSquaredError(array $errors) : float { @@ -135,7 +135,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRootMeanSquaredError(array $errors) : float { @@ -154,7 +154,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCoefficientOfDetermination(array $observed, array $forecasted) : float { @@ -182,7 +182,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSumSquaredError(array $errors) : float { @@ -204,7 +204,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRBarSquared(float $R, int $observations, int $predictors) : float { @@ -220,7 +220,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAkaikeInformationCriterion(float $sse, int $observations, int $predictors) : float { @@ -238,7 +238,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCorrectedAkaikeInformationCriterion(float $aic, int $observations, int $predictors) : float { @@ -254,7 +254,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSchwarzBayesianInformationCriterion(float $sse, int $observations, int $predictors) : float { @@ -269,7 +269,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMeanAbsolutePercentageError(array $observed, array $forecasted) : float { @@ -284,7 +284,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSymmetricMeanAbsolutePercentageError(array $observed, array $forecasted) : float { @@ -305,7 +305,7 @@ class Error * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCrossSectionalScaledErrorArray(array $errors, array $observed) : array { @@ -327,7 +327,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCrossSectionalScaledError(float $error, array $observed) : float { @@ -348,7 +348,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMeanAbsoluteScaledError(array $scaledErrors) : float { @@ -362,7 +362,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMeanSquaredScaledError(array $scaledErrors) : float { @@ -378,7 +378,7 @@ class Error * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getScaledErrorArray(array $errors, array $observed, int $m = 1) : array { @@ -401,7 +401,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getScaledError(float $error, array $observed, int $m = 1) : float { @@ -416,7 +416,7 @@ class Error * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function getNaiveForecast(array $observed, int $m = 1) : float { diff --git a/Math/Statistic/Forecast/ForecastIntervalMultiplier.php b/Math/Statistic/Forecast/ForecastIntervalMultiplier.php index 6b3fcd815..0e5908b8d 100644 --- a/Math/Statistic/Forecast/ForecastIntervalMultiplier.php +++ b/Math/Statistic/Forecast/ForecastIntervalMultiplier.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Prediction interval multiplier. * - * @package phpOMS\Math\Statistic\Forecast - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ForecastIntervalMultiplier extends Enum { diff --git a/Math/Statistic/Forecast/Forecasts.php b/Math/Statistic/Forecast/Forecasts.php index 34afad5a3..e1e29eae7 100644 --- a/Math/Statistic/Forecast/Forecasts.php +++ b/Math/Statistic/Forecast/Forecasts.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Statistic\Forecast; /** * General forecasts helper class. * - * @package phpOMS\Math\Statistic\Forecast - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Forecasts { @@ -33,7 +33,7 @@ class Forecasts * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getForecastInteval(float $forecast, float $standardDeviation, float $interval = ForecastIntervalMultiplier::P_95) : array { diff --git a/Math/Statistic/Forecast/Regression/LevelLevelRegression.php b/Math/Statistic/Forecast/Regression/LevelLevelRegression.php index b11ecf221..9199c184f 100644 --- a/Math/Statistic/Forecast/Regression/LevelLevelRegression.php +++ b/Math/Statistic/Forecast/Regression/LevelLevelRegression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast\Regression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Statistic\Forecast\Regression; /** * Regression class. * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast\Regression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LevelLevelRegression extends RegressionAbstract { diff --git a/Math/Statistic/Forecast/Regression/LevelLogRegression.php b/Math/Statistic/Forecast/Regression/LevelLogRegression.php index 506d28662..1ed7833e0 100644 --- a/Math/Statistic/Forecast/Regression/LevelLogRegression.php +++ b/Math/Statistic/Forecast/Regression/LevelLogRegression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast\Regression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Regression class. * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast\Regression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LevelLogRegression extends RegressionAbstract { diff --git a/Math/Statistic/Forecast/Regression/LogLevelRegression.php b/Math/Statistic/Forecast/Regression/LogLevelRegression.php index 0ad2336f4..f352309b5 100644 --- a/Math/Statistic/Forecast/Regression/LogLevelRegression.php +++ b/Math/Statistic/Forecast/Regression/LogLevelRegression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast\Regression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Regression class. * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast\Regression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LogLevelRegression extends RegressionAbstract { diff --git a/Math/Statistic/Forecast/Regression/LogLogRegression.php b/Math/Statistic/Forecast/Regression/LogLogRegression.php index ee45b7a36..abf3b17df 100644 --- a/Math/Statistic/Forecast/Regression/LogLogRegression.php +++ b/Math/Statistic/Forecast/Regression/LogLogRegression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast\Regression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Regression class. * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast\Regression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LogLogRegression extends RegressionAbstract { diff --git a/Math/Statistic/Forecast/Regression/MultipleLinearRegression.php b/Math/Statistic/Forecast/Regression/MultipleLinearRegression.php index ee2e15f5c..fa05053b0 100644 --- a/Math/Statistic/Forecast/Regression/MultipleLinearRegression.php +++ b/Math/Statistic/Forecast/Regression/MultipleLinearRegression.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Statistic\Forecast\Regression; diff --git a/Math/Statistic/Forecast/Regression/RegressionAbstract.php b/Math/Statistic/Forecast/Regression/RegressionAbstract.php index 5c5e312ad..3e3a4e5f9 100644 --- a/Math/Statistic/Forecast/Regression/RegressionAbstract.php +++ b/Math/Statistic/Forecast/Regression/RegressionAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic\Forecast\Regression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Statistic\Forecast\Regression; @@ -21,10 +21,10 @@ use phpOMS\Math\Statistic\MeasureOfDispersion; /** * Regression abstract class. * - * @package phpOMS\Math\Statistic\Forecast\Regression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic\Forecast\Regression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RegressionAbstract { @@ -40,7 +40,7 @@ abstract class RegressionAbstract * * @throws InvalidDimensionException throws this exception if the dimension of both arrays is not equal * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRegression(array $x, array $y) : array { @@ -64,7 +64,7 @@ abstract class RegressionAbstract * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getStandardErrorOfRegression(array $errors) : float { @@ -89,7 +89,7 @@ abstract class RegressionAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPredictionInterval(float $forecasted, array $x, array $errors, float $multiplier = ForecastIntervalMultiplier::P_95) : array { @@ -116,7 +116,7 @@ abstract class RegressionAbstract * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function getBeta1(array $x, array $y) : float { @@ -146,7 +146,7 @@ abstract class RegressionAbstract * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function getBeta0(array $x, array $y, float $b1) : float { @@ -162,7 +162,7 @@ abstract class RegressionAbstract * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ abstract public static function getSlope(float $b1, float $x, float $y) : float; @@ -175,7 +175,7 @@ abstract class RegressionAbstract * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ abstract public static function getElasticity(float $b1, float $x, float $y): float; } diff --git a/Math/Statistic/MeasureOfDispersion.php b/Math/Statistic/MeasureOfDispersion.php index 69e6c96c7..8ec8dd1a7 100644 --- a/Math/Statistic/MeasureOfDispersion.php +++ b/Math/Statistic/MeasureOfDispersion.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Statistic - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Statistic + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ use phpOMS\Math\Matrix\Exception\InvalidDimensionException; /** * Measure of dispersion. * - * @package phpOMS\Math\Statistic - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Statistic + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class MeasureOfDispersion { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -47,7 +47,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function range(array $values) : float { @@ -70,7 +70,7 @@ final class MeasureOfDispersion * * @throws ZeroDevisionException This exception is thrown if the mean is 0 * - * @since 1.0.0 + * @since 1.0.0 */ public static function empiricalVariationCoefficient(array $values, float $mean = null) : float { @@ -95,7 +95,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function standardDeviation(array $values, float $mean = null) : float { @@ -125,7 +125,7 @@ final class MeasureOfDispersion * * @throws ZeroDevisionException This exception is thrown if the size of the values array is less than 2 * - * @since 1.0.0 + * @since 1.0.0 */ public static function sampleVariance(array $values, float $mean = null) : float { @@ -155,7 +155,7 @@ final class MeasureOfDispersion * * @throws ZeroDevisionException This exception is thrown if the values array is empty * - * @since 1.0.0 + * @since 1.0.0 */ public static function empiricalVariance(array $values, array $probabilities = [], float $mean = null) : float { @@ -193,7 +193,7 @@ final class MeasureOfDispersion * @throws ZeroDevisionException This exception is thrown if the size of the x array is less than 2 * @throws InvalidDimensionException This exception is thrown if x and y have different dimensions * - * @since 1.0.0 + * @since 1.0.0 */ public static function empiricalCovariance(array $x, array $y, float $meanX = null, float $meanY = null) : float { @@ -226,7 +226,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getIQR(array $x) : float { @@ -256,7 +256,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function meanDeviation(array $x, float $mean = null) : float { @@ -278,7 +278,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function meanAbsoluteDeviation(array $x, float $mean = null) : float { @@ -300,7 +300,7 @@ final class MeasureOfDispersion * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function squaredMeanDeviation(array $x, float $mean = null) : float { diff --git a/Math/Stochastic/Distribution/BernoulliDistribution.php b/Math/Stochastic/Distribution/BernoulliDistribution.php index f01ce390e..bceb479bb 100644 --- a/Math/Stochastic/Distribution/BernoulliDistribution.php +++ b/Math/Stochastic/Distribution/BernoulliDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Bernulli distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class BernoulliDistribution { @@ -34,7 +34,7 @@ class BernoulliDistribution * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPmf(float $p, int $k) : float { @@ -55,7 +55,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $p, float $k) : float { @@ -75,7 +75,7 @@ class BernoulliDistribution * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(float $p) : int { @@ -95,7 +95,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $p) : float { @@ -109,7 +109,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $p) : float { @@ -129,7 +129,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $p) : float { @@ -144,7 +144,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $p, float $t) : float { @@ -158,7 +158,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness(float $p) : float { @@ -172,7 +172,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEntropy(float $p) : float { @@ -186,7 +186,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFisherInformation(float $p) : float { @@ -200,7 +200,7 @@ class BernoulliDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(float $p) : float { diff --git a/Math/Stochastic/Distribution/BetaDistribution.php b/Math/Stochastic/Distribution/BetaDistribution.php index 7128570db..3d16a1426 100644 --- a/Math/Stochastic/Distribution/BetaDistribution.php +++ b/Math/Stochastic/Distribution/BetaDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/BinomialDistribution.php b/Math/Stochastic/Distribution/BinomialDistribution.php index e5eeffb16..f8c0cdaaa 100644 --- a/Math/Stochastic/Distribution/BinomialDistribution.php +++ b/Math/Stochastic/Distribution/BinomialDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Math\Functions\Functions; /** * Binomial distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class BinomialDistribution { @@ -37,7 +37,7 @@ class BinomialDistribution * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(int $n, float $p) : float { @@ -53,7 +53,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(int $n, float $t, float $p) : float { @@ -68,7 +68,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness(int $n, float $p) : float { @@ -83,7 +83,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFisherInformation(int $n, float $p) : float { @@ -98,7 +98,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(int $n, float $p) : float { @@ -114,7 +114,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(int $n, int $x, float $p) : float { @@ -138,7 +138,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPmf(int $n, int $k, float $p) : float { @@ -153,7 +153,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(int $n, float $p) : float { @@ -168,7 +168,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(int $n, float $p) : float { @@ -183,7 +183,7 @@ class BinomialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(int $n, float $p) : float { diff --git a/Math/Stochastic/Distribution/CauchyDistribution.php b/Math/Stochastic/Distribution/CauchyDistribution.php index b94cea79f..b1031d99c 100644 --- a/Math/Stochastic/Distribution/CauchyDistribution.php +++ b/Math/Stochastic/Distribution/CauchyDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Cauchy distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CauchyDistribution { @@ -33,7 +33,7 @@ class CauchyDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, float $x0, float $gamma) : float { @@ -49,7 +49,7 @@ class CauchyDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $x, float $x0, float $gamma) : float { @@ -63,7 +63,7 @@ class CauchyDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode($x0) : float { @@ -77,7 +77,7 @@ class CauchyDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $x0) : float { @@ -91,7 +91,7 @@ class CauchyDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEntropy(float $gamma) : float { diff --git a/Math/Stochastic/Distribution/ChiSquaredDistribution.php b/Math/Stochastic/Distribution/ChiSquaredDistribution.php index 35e75ed77..683c8df4d 100644 --- a/Math/Stochastic/Distribution/ChiSquaredDistribution.php +++ b/Math/Stochastic/Distribution/ChiSquaredDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Chi squared distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ChiSquaredDistribution { @@ -28,7 +28,7 @@ class ChiSquaredDistribution /** * Chi square table. * - * @var array> + * @var array> * @since 1.0.0 */ public const TABLE = [ @@ -83,7 +83,7 @@ class ChiSquaredDistribution * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function testHypothesis(array $dataset, array $expected, float $significance = 0.05, int $df = 0) : array { @@ -131,7 +131,7 @@ class ChiSquaredDistribution * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDegreesOfFreedom(array $values) : int { @@ -152,7 +152,7 @@ class ChiSquaredDistribution * * @throws \OutOfBoundsException * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, int $df) : float { @@ -170,7 +170,7 @@ class ChiSquaredDistribution * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(int $df) : int { @@ -184,7 +184,7 @@ class ChiSquaredDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(int $df) : float { @@ -198,7 +198,7 @@ class ChiSquaredDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(int $df) : float { @@ -212,7 +212,7 @@ class ChiSquaredDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(int $df) : float { @@ -229,7 +229,7 @@ class ChiSquaredDistribution * * @throws \OutOfBoundsException * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(int $df, float $t) : float { @@ -247,7 +247,7 @@ class ChiSquaredDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness(int $df) : float { @@ -261,7 +261,7 @@ class ChiSquaredDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(int $df) : float { diff --git a/Math/Stochastic/Distribution/ExponentialDistribution.php b/Math/Stochastic/Distribution/ExponentialDistribution.php index 349ad356f..bef771523 100644 --- a/Math/Stochastic/Distribution/ExponentialDistribution.php +++ b/Math/Stochastic/Distribution/ExponentialDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Exponential distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ExponentialDistribution { @@ -32,7 +32,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, float $lambda) : float { @@ -47,7 +47,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $x, float $lambda) : float { @@ -59,7 +59,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode() : float { @@ -73,7 +73,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $lambda) : float { @@ -87,7 +87,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $lambda) : float { @@ -101,7 +101,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $lambda) : float { @@ -118,7 +118,7 @@ class ExponentialDistribution * * @throws \OutOfBoundsException * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $t, float $lambda) : float { @@ -134,7 +134,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness() : float { @@ -146,7 +146,7 @@ class ExponentialDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis() : float { diff --git a/Math/Stochastic/Distribution/FDistribution.php b/Math/Stochastic/Distribution/FDistribution.php index 29623465c..750ff5614 100644 --- a/Math/Stochastic/Distribution/FDistribution.php +++ b/Math/Stochastic/Distribution/FDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/GammaDistribution.php b/Math/Stochastic/Distribution/GammaDistribution.php index f0cb4fa32..446f3ef92 100644 --- a/Math/Stochastic/Distribution/GammaDistribution.php +++ b/Math/Stochastic/Distribution/GammaDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/GeometricDistribution.php b/Math/Stochastic/Distribution/GeometricDistribution.php index 846b921a8..4c2cf21e8 100644 --- a/Math/Stochastic/Distribution/GeometricDistribution.php +++ b/Math/Stochastic/Distribution/GeometricDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Geometric distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class GeometricDistribution { @@ -32,7 +32,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPmf(float $p, int $k) : float { @@ -47,7 +47,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $p, int $k) : float { @@ -59,7 +59,7 @@ class GeometricDistribution * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode() : int { @@ -73,7 +73,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $p) : float { @@ -87,7 +87,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $p) : float { @@ -101,7 +101,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $p) : float { @@ -116,7 +116,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $p, float $t) : float { @@ -130,7 +130,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness(float $lambda) : float { @@ -144,7 +144,7 @@ class GeometricDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(float $lambda) : float { diff --git a/Math/Stochastic/Distribution/HypergeometricDistribution.php b/Math/Stochastic/Distribution/HypergeometricDistribution.php index 974005e46..2d69464c3 100644 --- a/Math/Stochastic/Distribution/HypergeometricDistribution.php +++ b/Math/Stochastic/Distribution/HypergeometricDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/LaplaceDistribution.php b/Math/Stochastic/Distribution/LaplaceDistribution.php index fd3c2d7af..6909d71c0 100644 --- a/Math/Stochastic/Distribution/LaplaceDistribution.php +++ b/Math/Stochastic/Distribution/LaplaceDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Laplace distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LaplaceDistribution { @@ -33,7 +33,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, float $mu, float $b) : float { @@ -49,7 +49,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $x, float $mu, float $b) : float { @@ -63,7 +63,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(float $mu) : float { @@ -77,7 +77,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $mu) : float { @@ -91,7 +91,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $mu) : float { @@ -105,7 +105,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $b) : float { @@ -123,7 +123,7 @@ class LaplaceDistribution * * @throws \OutOfBoundsException * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $t, float $mu, float $b) : float { @@ -139,7 +139,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness() : float { @@ -151,7 +151,7 @@ class LaplaceDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis() : float { diff --git a/Math/Stochastic/Distribution/LogDistribution.php b/Math/Stochastic/Distribution/LogDistribution.php index 6196d82b2..80967c26c 100644 --- a/Math/Stochastic/Distribution/LogDistribution.php +++ b/Math/Stochastic/Distribution/LogDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/LogNormalDistribution.php b/Math/Stochastic/Distribution/LogNormalDistribution.php index 831db5e5e..357775cf3 100644 --- a/Math/Stochastic/Distribution/LogNormalDistribution.php +++ b/Math/Stochastic/Distribution/LogNormalDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/LogisticDistribution.php b/Math/Stochastic/Distribution/LogisticDistribution.php index a34018c34..41c451445 100644 --- a/Math/Stochastic/Distribution/LogisticDistribution.php +++ b/Math/Stochastic/Distribution/LogisticDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/NormalDistribution.php b/Math/Stochastic/Distribution/NormalDistribution.php index a206b700d..db473a127 100644 --- a/Math/Stochastic/Distribution/NormalDistribution.php +++ b/Math/Stochastic/Distribution/NormalDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Normal distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NormalDistribution { @@ -34,7 +34,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, float $mu, float $sig) : float { @@ -50,7 +50,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $x, float $mu, float $sig) : float { @@ -64,7 +64,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function erf(float $x) : float { @@ -84,7 +84,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(float $mu) : float { @@ -98,7 +98,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $mu) : float { @@ -112,7 +112,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $mu) : float { @@ -126,7 +126,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $sig) : float { @@ -142,7 +142,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $t, float $mu, float $sig) : float { @@ -154,7 +154,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness() : float { @@ -168,7 +168,7 @@ class NormalDistribution * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFisherInformation(float $sig) : array { @@ -180,7 +180,7 @@ class NormalDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis() : float { diff --git a/Math/Stochastic/Distribution/ParetoDistribution.php b/Math/Stochastic/Distribution/ParetoDistribution.php index a2e3d4fd4..3ccf2604a 100644 --- a/Math/Stochastic/Distribution/ParetoDistribution.php +++ b/Math/Stochastic/Distribution/ParetoDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/PoissonDistribution.php b/Math/Stochastic/Distribution/PoissonDistribution.php index 71d93a898..f0bcbaee2 100644 --- a/Math/Stochastic/Distribution/PoissonDistribution.php +++ b/Math/Stochastic/Distribution/PoissonDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Math\Functions\Gamma; /** * Well known functions class. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PoissonDistribution { @@ -37,7 +37,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPmf(int $k, float $lambda) : float { @@ -52,7 +52,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(int $k, float $lambda) : float { @@ -72,7 +72,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(float $lambda) : float { @@ -86,7 +86,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $lambda) : float { @@ -100,7 +100,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $lambda) : float { @@ -114,7 +114,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $lambda) : float { @@ -129,7 +129,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(float $lambda, float $t) : float { @@ -143,7 +143,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness(float $lambda) : float { @@ -157,7 +157,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFisherInformation(float $lambda) : float { @@ -171,7 +171,7 @@ class PoissonDistribution * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(float $lambda) : float { diff --git a/Math/Stochastic/Distribution/TDistribution.php b/Math/Stochastic/Distribution/TDistribution.php index ad0aa8517..0d02ce259 100644 --- a/Math/Stochastic/Distribution/TDistribution.php +++ b/Math/Stochastic/Distribution/TDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/UniformDistributionContinuous.php b/Math/Stochastic/Distribution/UniformDistributionContinuous.php index 2c28491ff..d6159910a 100644 --- a/Math/Stochastic/Distribution/UniformDistributionContinuous.php +++ b/Math/Stochastic/Distribution/UniformDistributionContinuous.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Uniform (continuous) distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class UniformDistributionContinuous { @@ -33,7 +33,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMode(float $a, float $b) : float { @@ -49,7 +49,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPdf(float $x, float $a, float $b) : float { @@ -65,7 +65,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $x, float $a, float $b) : float { @@ -87,7 +87,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(int $t, float $a, float $b) : float { @@ -99,7 +99,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness() : float { @@ -111,7 +111,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis() : float { @@ -126,7 +126,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $a, float $b) : float { @@ -141,7 +141,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $a, float $b) : float { @@ -156,7 +156,7 @@ class UniformDistributionContinuous * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $a, float $b) : float { diff --git a/Math/Stochastic/Distribution/UniformDistributionDiscrete.php b/Math/Stochastic/Distribution/UniformDistributionDiscrete.php index 972b21bca..c277ec272 100644 --- a/Math/Stochastic/Distribution/UniformDistributionDiscrete.php +++ b/Math/Stochastic/Distribution/UniformDistributionDiscrete.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * Uniform (discrete) distribution. * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class UniformDistributionDiscrete { @@ -33,7 +33,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getPmf(float $a, float $b) : float { @@ -51,7 +51,7 @@ class UniformDistributionDiscrete * * @throws \OutOfBoundsException * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCdf(float $k, float $a, float $b) : float { @@ -71,7 +71,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMgf(int $t, float $a, float $b) : float { @@ -83,7 +83,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSkewness() : float { @@ -98,7 +98,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExKurtosis(float $a, float $b) : float { @@ -115,7 +115,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMedian(float $a, float $b) : float { @@ -130,7 +130,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMean(float $a, float $b) : float { @@ -145,7 +145,7 @@ class UniformDistributionDiscrete * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getVariance(float $a, float $b) : float { diff --git a/Math/Stochastic/Distribution/WeibullDistribution.php b/Math/Stochastic/Distribution/WeibullDistribution.php index 86e60fbd5..397b2d3d3 100644 --- a/Math/Stochastic/Distribution/WeibullDistribution.php +++ b/Math/Stochastic/Distribution/WeibullDistribution.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic\Distribution; diff --git a/Math/Stochastic/Distribution/ZTest.php b/Math/Stochastic/Distribution/ZTest.php index 0c354615a..37892a32f 100644 --- a/Math/Stochastic/Distribution/ZTest.php +++ b/Math/Stochastic/Distribution/ZTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic\Distribution - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic\Distribution + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Math\Stochastic\Distribution; /** * ZTest * - * @package phpOMS\Math\Stochastic\Distribution - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic\Distribution + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ZTest { @@ -43,7 +43,7 @@ class ZTest * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function testHypothesis(float $dataset, float $expected, float $total, float $significance = 0.95) : bool { diff --git a/Math/Stochastic/NaiveBayesFilter.php b/Math/Stochastic/NaiveBayesFilter.php index 7c771515a..89f943d91 100644 --- a/Math/Stochastic/NaiveBayesFilter.php +++ b/Math/Stochastic/NaiveBayesFilter.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Stochastic - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Stochastic + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Math\Stochastic; @@ -16,10 +16,10 @@ namespace phpOMS\Math\Stochastic; /** * Bernulli distribution. * - * @package phpOMS\Math\Stochastic - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Stochastic + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NaiveBayesFilter { diff --git a/Math/Topology/Metrics2D.php b/Math/Topology/Metrics2D.php index edfebede8..fe3729048 100644 --- a/Math/Topology/Metrics2D.php +++ b/Math/Topology/Metrics2D.php @@ -5,11 +5,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Math\Topology - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Math\Topology + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Math\Topology; /** * Metrics. * - * @package phpOMS\Math\Topology - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Math\Topology + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Metrics2D { @@ -41,7 +41,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function manhattan(array $a, array $b) : float { @@ -58,7 +58,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function euclidean(array $a, array $b) : float { @@ -78,7 +78,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function octile(array $a, array $b) : float { @@ -98,7 +98,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function chebyshev(array $a, array $b) : float { @@ -119,7 +119,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function minkowski(array $a, array $b, int $lambda) : float { @@ -140,7 +140,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function canberra(array $a, array $b) : float { @@ -158,7 +158,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function brayCurtis(array $a, array $b) : float { @@ -176,7 +176,7 @@ final class Metrics2D * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function angularSeparation(array $a, array $b) : float { @@ -193,7 +193,7 @@ final class Metrics2D * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function hamming(array $a, array $b) : int { @@ -223,7 +223,7 @@ final class Metrics2D * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function ulam(array $a, array $b) : int { diff --git a/Message/Console/Header.php b/Message/Console/Header.php index 4943b859a..efd66c9c9 100644 --- a/Message/Console/Header.php +++ b/Message/Console/Header.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Message\HeaderAbstract; /** * Response class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -31,7 +31,7 @@ final class Header extends HeaderAbstract /** * Protocol version. * - * @var string + * @var string * @since 1.0.0 */ private const VERSION = '1.0'; @@ -39,7 +39,7 @@ final class Header extends HeaderAbstract /** * Header. * - * @var string[][] + * @var string[][] * @since 1.0.0 */ private array $header = []; @@ -47,7 +47,7 @@ final class Header extends HeaderAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -64,7 +64,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $key, string $header, bool $overwrite = false) : bool { @@ -104,7 +104,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($key) : bool { @@ -138,7 +138,7 @@ final class Header extends HeaderAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $key = null) : array { @@ -156,7 +156,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function has(string $key) : bool { @@ -179,7 +179,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate500() : void { diff --git a/Message/Console/Request.php b/Message/Console/Request.php index a3e865b3d..2ef943e22 100644 --- a/Message/Console/Request.php +++ b/Message/Console/Request.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Console - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Console + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\Uri\UriInterface; /** * Request class. * - * @package phpOMS\Message\Console - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Console + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -36,7 +36,7 @@ final class Request extends RequestAbstract /** * OS type. * - * @var null|string + * @var null|string * @since 1.0.0 */ private ?string $os = null; @@ -47,7 +47,7 @@ final class Request extends RequestAbstract * @param UriInterface $uri Uri * @param Localization $l11n Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(UriInterface $uri = null, Localization $l11n = null) { @@ -65,7 +65,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function init() : void { @@ -82,7 +82,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function createRequestHashs(int $start = 0) : void { @@ -104,7 +104,7 @@ final class Request extends RequestAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getOS() : string { @@ -122,7 +122,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOS(string $os) : void { diff --git a/Message/Console/Response.php b/Message/Console/Response.php index a7ca1aee3..2fe603111 100644 --- a/Message/Console/Response.php +++ b/Message/Console/Response.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,17 +25,17 @@ use phpOMS\Views\View; /** * Response class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Response extends ResponseAbstract implements RenderableInterface { /** * Response status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = RequestStatusCode::R_200; @@ -45,7 +45,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @param Localization $l11n Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Localization $l11n = null) { @@ -60,7 +60,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setResponse(array $response) : void { @@ -74,7 +74,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($id) : bool { @@ -102,7 +102,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function render(bool $optimize = false) : string { @@ -126,7 +126,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @throws \Exception this exception is thrown if the response cannot be rendered * - * @since 1.0.0 + * @since 1.0.0 */ private function getRaw(bool $optimize = false) : string { diff --git a/Message/HeaderAbstract.php b/Message/HeaderAbstract.php index 96353c3f4..4ba9c92c2 100644 --- a/Message/HeaderAbstract.php +++ b/Message/HeaderAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Localization\Localization; /** * Response class. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class HeaderAbstract { /** * Responses. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $isLocked = false; @@ -37,7 +37,7 @@ abstract class HeaderAbstract /** * Localization. * - * @var null|Localization + * @var null|Localization * @since 1.0.0 */ protected ?Localization $l11n = null; @@ -45,7 +45,7 @@ abstract class HeaderAbstract /** * Account. * - * @var int + * @var int * @since 1.0.0 */ protected int $account = 0; @@ -53,7 +53,7 @@ abstract class HeaderAbstract /** * Response status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = 0; @@ -61,7 +61,7 @@ abstract class HeaderAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -73,7 +73,7 @@ abstract class HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lock() : void { @@ -85,7 +85,7 @@ abstract class HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isLocked() : bool { @@ -97,7 +97,7 @@ abstract class HeaderAbstract * * @return Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function getL11n() : Localization { @@ -111,7 +111,7 @@ abstract class HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setL11n(Localization $l11n) : void { @@ -123,7 +123,7 @@ abstract class HeaderAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getAccount() : int { @@ -137,7 +137,7 @@ abstract class HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAccount(int $account) : void { @@ -151,7 +151,7 @@ abstract class HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatusCode(int $status) : void { @@ -166,7 +166,7 @@ abstract class HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function generate(int $statusCode) : void; @@ -175,7 +175,7 @@ abstract class HeaderAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatusCode() : int { @@ -187,7 +187,7 @@ abstract class HeaderAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getProtocolVersion() : string; @@ -200,7 +200,7 @@ abstract class HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function set(string $key, string $value, bool $overwrite = false) : bool; @@ -211,7 +211,7 @@ abstract class HeaderAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function get(string $key = null) : array; @@ -222,7 +222,7 @@ abstract class HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function has(string $key) : bool; } diff --git a/Message/Http/BrowserType.php b/Message/Http/BrowserType.php index 65a3d3341..1c78178ef 100644 --- a/Message/Http/BrowserType.php +++ b/Message/Http/BrowserType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Browser types can be used for statistics or in order to deliver browser specific content. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class BrowserType extends Enum { diff --git a/Message/Http/Header.php b/Message/Http/Header.php index 0545071b2..76fcc9192 100644 --- a/Message/Http/Header.php +++ b/Message/Http/Header.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\System\MimeType; /** * Response class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -33,7 +33,7 @@ final class Header extends HeaderAbstract /** * Header. * - * @var string[][] + * @var string[][] * @since 1.0.0 */ private array $header = []; @@ -41,7 +41,7 @@ final class Header extends HeaderAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -57,7 +57,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $key, string $header, bool $overwrite = false) : bool { @@ -94,7 +94,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDownloadable(string $name, string $type) : void { @@ -112,7 +112,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isSecurityHeader(string $key) : bool { @@ -137,7 +137,7 @@ final class Header extends HeaderAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatusCode() : int { @@ -153,7 +153,7 @@ final class Header extends HeaderAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getAllHeaders() : array { @@ -191,7 +191,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($key) : bool { @@ -225,7 +225,7 @@ final class Header extends HeaderAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $key = null) : array { @@ -239,7 +239,7 @@ final class Header extends HeaderAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function has(string $key) : bool { @@ -251,7 +251,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function push() : void @@ -302,7 +302,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate403() : void { @@ -316,7 +316,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate404() : void { @@ -330,7 +330,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate406() : void { @@ -344,7 +344,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate407() : void { @@ -356,7 +356,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate503() : void { @@ -371,7 +371,7 @@ final class Header extends HeaderAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function generate500() : void { diff --git a/Message/Http/OSType.php b/Message/Http/OSType.php index 79e5e6e34..528e0d172 100644 --- a/Message/Http/OSType.php +++ b/Message/Http/OSType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * OS Types which could be useful in order to create statistics or deliver OS specific content. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class OSType extends Enum { diff --git a/Message/Http/Request.php b/Message/Http/Request.php index 50339aa67..35dfb8c6f 100644 --- a/Message/Http/Request.php +++ b/Message/Http/Request.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\Uri\UriInterface; /** * Request class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -37,7 +37,7 @@ final class Request extends RequestAbstract /** * Browser type. * - * @var null|string + * @var null|string * @since 1.0.0 */ private ?string $browser = null; @@ -45,7 +45,7 @@ final class Request extends RequestAbstract /** * OS type. * - * @var null|string + * @var null|string * @since 1.0.0 */ private ?string $os = null; @@ -53,7 +53,7 @@ final class Request extends RequestAbstract /** * Request information. * - * @var null|string[] + * @var null|string[] * @since 1.0.0 */ private ?array $info = null; @@ -64,7 +64,7 @@ final class Request extends RequestAbstract * @param UriInterface $uri Uri * @param Localization $l11n Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(UriInterface $uri = null, Localization $l11n = null) { @@ -85,7 +85,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function init() : void { @@ -104,7 +104,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function initCurrentRequest() : void { @@ -123,7 +123,7 @@ final class Request extends RequestAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function initNonGetData() : void { @@ -159,7 +159,7 @@ final class Request extends RequestAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getRequestLanguage() : string { @@ -179,7 +179,7 @@ final class Request extends RequestAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getLocale() : string { @@ -198,7 +198,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function cleanupGlobals() : void { @@ -213,7 +213,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function setupUriBuilder() : void { @@ -234,7 +234,7 @@ final class Request extends RequestAbstract * * @return Request * - * @since 1.0.0 + * @since 1.0.0 */ public static function createFromSuperglobals() : self { @@ -259,7 +259,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function createRequestHashs(int $start = 0) : void { @@ -281,7 +281,7 @@ final class Request extends RequestAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isMobile() : bool { @@ -312,7 +312,7 @@ final class Request extends RequestAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBrowser() : string { @@ -341,7 +341,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setBrowser(string $browser) : void { @@ -353,7 +353,7 @@ final class Request extends RequestAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getOS() : string { @@ -382,7 +382,7 @@ final class Request extends RequestAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOS(string $os) : void { @@ -406,7 +406,7 @@ final class Request extends RequestAbstract * * @throws \OutOfRangeException This exception is thrown if the port is out of range * - * @since 1.0.0 + * @since 1.0.0 */ public function isHttps(int $port = 443) : bool { @@ -465,7 +465,7 @@ final class Request extends RequestAbstract * * @return Response * - * @since 1.0.0 + * @since 1.0.0 */ public function rest() : Response { diff --git a/Message/Http/RequestMethod.php b/Message/Http/RequestMethod.php index 841d21944..e9857e2d4 100644 --- a/Message/Http/RequestMethod.php +++ b/Message/Http/RequestMethod.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Request method enum. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RequestMethod extends Enum { diff --git a/Message/Http/RequestStatus.php b/Message/Http/RequestStatus.php index 0d97053d8..32a6f2f76 100644 --- a/Message/Http/RequestStatus.php +++ b/Message/Http/RequestStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Request status enum. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RequestStatus extends Enum { diff --git a/Message/Http/RequestStatusCode.php b/Message/Http/RequestStatusCode.php index af10a7bef..fbeff3227 100644 --- a/Message/Http/RequestStatusCode.php +++ b/Message/Http/RequestStatusCode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Message\Http; @@ -18,10 +18,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Request status enum. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RequestStatusCode extends Enum { diff --git a/Message/Http/Response.php b/Message/Http/Response.php index 614650bff..ff0bcb882 100644 --- a/Message/Http/Response.php +++ b/Message/Http/Response.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -25,17 +25,17 @@ use phpOMS\Views\View; /** * Response class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Response extends ResponseAbstract implements RenderableInterface { /** * Response status. * - * @var int + * @var int * @since 1.0.0 */ protected int $status = RequestStatusCode::R_200; @@ -45,7 +45,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @param Localization $l11n Localization * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Localization $l11n = null) { @@ -60,7 +60,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setResponse(array $response) : void { @@ -74,7 +74,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($id) : bool { @@ -110,7 +110,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function render(bool $optimize = false) : string { @@ -134,7 +134,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function getRaw(bool $optimize = false) : string { @@ -158,7 +158,7 @@ final class Response extends ResponseAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function removeWhitespaceAndLineBreak(string $render) : string { diff --git a/Message/Http/Rest.php b/Message/Http/Rest.php index 7cddae240..83a7e06ca 100644 --- a/Message/Http/Rest.php +++ b/Message/Http/Rest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Http - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Http + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Message\Http; /** * Rest request class. * - * @package phpOMS\Message\Http - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Http + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Rest { @@ -34,7 +34,7 @@ final class Rest * * @throws \Exception this exception is thrown if an internal curl_init error occurs * - * @since 1.0.0 + * @since 1.0.0 */ public static function request(Request $request) : Response { diff --git a/Message/Mail/ContentEncoding.php b/Message/Mail/ContentEncoding.php index 7bdcd3fd9..35178bf1f 100644 --- a/Message/Mail/ContentEncoding.php +++ b/Message/Mail/ContentEncoding.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Mail - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Mail + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * OS Types which could be useful in order to create statistics or deliver OS specific content. * - * @package phpOMS\Message\Mail - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Mail + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ContentEncoding extends Enum { diff --git a/Message/Mail/EmailAbstract.php b/Message/Mail/EmailAbstract.php index 643efe83e..e072751b1 100644 --- a/Message/Mail/EmailAbstract.php +++ b/Message/Mail/EmailAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Mail - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Mail + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Message\Mail; /** * Mail class. * - * @package phpOMS\Message\Mail - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Mail + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class EmailAbstract { /** * Host. * - * @var string + * @var string * @since 1.0.0 */ protected $host = ''; @@ -35,7 +35,7 @@ class EmailAbstract /** * Port. * - * @var int + * @var int * @since 1.0.0 */ protected $port = 25; @@ -43,7 +43,7 @@ class EmailAbstract /** * Use ssl. * - * @var bool + * @var bool * @since 1.0.0 */ protected $ssl = false; @@ -51,7 +51,7 @@ class EmailAbstract /** * Mailbox base. * - * @var string + * @var string * @since 1.0.0 */ protected $mailbox = ''; @@ -59,7 +59,7 @@ class EmailAbstract /** * Timeout. * - * @var int + * @var int * @since 1.0.0 */ protected $timeout = 30; @@ -67,7 +67,7 @@ class EmailAbstract /** * Connection. * - * @var mixed + * @var mixed * @since 1.0.0 */ protected $con = null; @@ -80,7 +80,7 @@ class EmailAbstract * @param int $timeout Timeout * @param bool $ssl Use ssl * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $host = 'localhost', int $port = 25, int $timeout = 30, bool $ssl = false) { @@ -103,7 +103,7 @@ class EmailAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function decode(string $content, int $encoding) { @@ -119,7 +119,7 @@ class EmailAbstract /** * Descrutor * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { @@ -131,7 +131,7 @@ class EmailAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function disconnect() : void { @@ -149,7 +149,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function connect(string $user = '', string $pass = '') : bool { @@ -171,7 +171,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isConnected() : bool { @@ -185,7 +185,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getBoxes(string $pattern = '*') : array { @@ -199,7 +199,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getQuota() : array { @@ -219,7 +219,7 @@ class EmailAbstract * * @return Mail * - * @since 1.0.0 + * @since 1.0.0 */ public function getEmail(string $id) : Mail { @@ -241,7 +241,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxAll() : array { @@ -255,7 +255,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxOverview(string $option = 'ALL') : array { @@ -269,7 +269,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxNew() : array { @@ -283,7 +283,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxFrom(string $from) : array { @@ -297,7 +297,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxTo(string $to) : array { @@ -311,7 +311,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxCc(string $cc) : array { @@ -325,7 +325,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxBcc(string $bcc) : array { @@ -337,7 +337,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxAnswered() : array { @@ -351,7 +351,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxSubject(string $subject) : array { @@ -365,7 +365,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxSince(\DateTime $since) : array { @@ -377,7 +377,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxUnseen() : array { @@ -389,7 +389,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxSeen() : array { @@ -401,7 +401,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxDeleted() : array { @@ -415,7 +415,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInboxText(string $text) : array { @@ -429,7 +429,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function createMailbox(string $mailbox) : bool { @@ -444,7 +444,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function renameMailbox(string $old, string $new) : bool { @@ -458,7 +458,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function deleteMailbox(string $mailbox) : bool { @@ -472,7 +472,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function deleteMessage(int $id) : bool { @@ -484,7 +484,7 @@ class EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function deleteMarkedMessages() : bool { @@ -499,7 +499,7 @@ class EmailAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getMessageOverview(int $length = 0, int $start = 1) : array { @@ -516,7 +516,7 @@ class EmailAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function countMessages() : int { @@ -530,7 +530,7 @@ class EmailAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getMessageHeader(int $id) : string { diff --git a/Message/Mail/Imap.php b/Message/Mail/Imap.php index c49563978..94095d9ec 100644 --- a/Message/Mail/Imap.php +++ b/Message/Mail/Imap.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Mail - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Mail + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Message\Mail; /** * Imap mail class. * - * @package phpOMS\Message\Mail - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Mail + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Imap extends EmailAbstract { @@ -32,7 +32,7 @@ class Imap extends EmailAbstract * @param int $timeout Timeout * @param bool $ssl Use ssl * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $host = 'localhost', int $port = 143, int $timeout = 30, bool $ssl = false) { @@ -47,7 +47,7 @@ class Imap extends EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function connect(string $user = '', string $pass = '') : bool { diff --git a/Message/Mail/Mail.php b/Message/Mail/Mail.php index 4314ba50c..4fa00e507 100644 --- a/Message/Mail/Mail.php +++ b/Message/Mail/Mail.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Mail - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Mail + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Message\Mail; /** * Mail class. * - * @package phpOMS\Message\Mail - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Mail + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Mail { /** * Mail from. * - * @var string + * @var string * @since 1.0.0 */ protected $from = ''; @@ -35,7 +35,7 @@ class Mail /** * Mail to. * - * @var array + * @var array * @since 1.0.0 */ protected $to = []; @@ -43,7 +43,7 @@ class Mail /** * Mail subject. * - * @var string + * @var string * @since 1.0.0 */ protected $subject = ''; @@ -51,7 +51,7 @@ class Mail /** * Mail cc. * - * @var array + * @var array * @since 1.0.0 */ protected $cc = []; @@ -59,7 +59,7 @@ class Mail /** * Mail reply to. * - * @var array + * @var array * @since 1.0.0 */ protected $replyTo = []; @@ -67,7 +67,7 @@ class Mail /** * Mail bcc. * - * @var array + * @var array * @since 1.0.0 */ protected $bcc = []; @@ -75,7 +75,7 @@ class Mail /** * Mail attachments. * - * @var array + * @var array * @since 1.0.0 */ protected $attachment = []; @@ -83,7 +83,7 @@ class Mail /** * Mail body. * - * @var string + * @var string * @since 1.0.0 */ protected $body = ''; @@ -91,7 +91,7 @@ class Mail /** * Mail overview. * - * @var string + * @var string * @since 1.0.0 */ protected $overview = ''; @@ -99,7 +99,7 @@ class Mail /** * Mail alt. * - * @var string + * @var string * @since 1.0.0 */ protected $bodyAlt = ''; @@ -107,7 +107,7 @@ class Mail /** * Mail mime. * - * @var string + * @var string * @since 1.0.0 */ protected $bodyMime = ''; @@ -115,7 +115,7 @@ class Mail /** * Mail header. * - * @var string + * @var string * @since 1.0.0 */ protected $headerMail = ''; @@ -123,7 +123,7 @@ class Mail /** * Word wrap. * - * @var int + * @var int * @since 1.0.0 */ protected $wordWrap = 78; @@ -131,7 +131,7 @@ class Mail /** * Encoding. * - * @var int + * @var int * @since 1.0.0 */ protected $encoding = 0; @@ -139,7 +139,7 @@ class Mail /** * Mail host name. * - * @var string + * @var string * @since 1.0.0 */ protected $hostname = ''; @@ -147,7 +147,7 @@ class Mail /** * Mail id. * - * @var string + * @var string * @since 1.0.0 */ protected $messageId = ''; @@ -155,7 +155,7 @@ class Mail /** * Mail message type. * - * @var string + * @var string * @since 1.0.0 */ protected $messageType = ''; @@ -163,7 +163,7 @@ class Mail /** * Mail from. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected $messageDate = null; @@ -173,7 +173,7 @@ class Mail * * @param mixed $id Id * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($id) { @@ -187,7 +187,7 @@ class Mail * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setBody(string $body) : void { @@ -201,7 +201,7 @@ class Mail * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOverview(array $overview) : void { @@ -215,7 +215,7 @@ class Mail * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setEncoding(int $encoding) : void { diff --git a/Message/Mail/Pop3.php b/Message/Mail/Pop3.php index 4e0649c7c..5c248be12 100644 --- a/Message/Mail/Pop3.php +++ b/Message/Mail/Pop3.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message\Mail - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message\Mail + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Message\Mail; /** * Imap mail class. * - * @package phpOMS\Message\Mail - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message\Mail + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Pop3 extends EmailAbstract { @@ -32,7 +32,7 @@ class Pop3 extends EmailAbstract * @param int $timeout Timeout * @param bool $ssl Use ssl * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $host = 'localhost', int $port = 25, int $timeout = 30, bool $ssl = false) { @@ -47,7 +47,7 @@ class Pop3 extends EmailAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function connect(string $user = '', string $pass = '') : bool { diff --git a/Message/MessageInterface.php b/Message/MessageInterface.php index 5876c256a..beca14dc8 100644 --- a/Message/MessageInterface.php +++ b/Message/MessageInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Message; /** * Message interface. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface MessageInterface { @@ -29,7 +29,7 @@ interface MessageInterface * * @return null|HeaderAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getHeader() : ?HeaderAbstract; @@ -38,7 +38,7 @@ interface MessageInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBody() : string; } diff --git a/Message/NotificationLevel.php b/Message/NotificationLevel.php index 6ee5035c8..b4f92e4e0 100644 --- a/Message/NotificationLevel.php +++ b/Message/NotificationLevel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Notification level enum. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class NotificationLevel extends Enum { diff --git a/Message/RequestAbstract.php b/Message/RequestAbstract.php index fb3ad4c9f..93458bbf8 100644 --- a/Message/RequestAbstract.php +++ b/Message/RequestAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Uri\UriInterface; /** * Request class. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RequestAbstract implements MessageInterface { /** * Uri. * - * @var UriInterface + * @var UriInterface * @since 1.0.0 */ protected UriInterface $uri; @@ -37,7 +37,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request method. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $method = null; @@ -45,7 +45,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request type. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $type = null; @@ -53,7 +53,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request data. * - * @var array + * @var array * @since 1.0.0 */ protected array $data = []; @@ -61,7 +61,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request hash. * - * @var array + * @var array * @since 1.0.0 */ protected array $hash = []; @@ -69,7 +69,7 @@ abstract class RequestAbstract implements MessageInterface /** * Uploaded files. * - * @var array + * @var array * @since 1.0.0 */ protected array $files = []; @@ -77,7 +77,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request lock. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $lock = false; @@ -85,7 +85,7 @@ abstract class RequestAbstract implements MessageInterface /** * Request header. * - * @var HeaderAbstract + * @var HeaderAbstract * @since 1.0.0 */ protected HeaderAbstract $header; @@ -95,7 +95,7 @@ abstract class RequestAbstract implements MessageInterface * * @return UriInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function getUri() : UriInterface { @@ -109,7 +109,7 @@ abstract class RequestAbstract implements MessageInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setUri(UriInterface $uri) : void { @@ -121,7 +121,7 @@ abstract class RequestAbstract implements MessageInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getHash() : array { @@ -133,7 +133,7 @@ abstract class RequestAbstract implements MessageInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getMethod() : string; @@ -144,7 +144,7 @@ abstract class RequestAbstract implements MessageInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMethod(string $method) : void { @@ -158,7 +158,7 @@ abstract class RequestAbstract implements MessageInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function getData($key = null) { @@ -178,7 +178,7 @@ abstract class RequestAbstract implements MessageInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDataJson($key) : array { @@ -201,7 +201,7 @@ abstract class RequestAbstract implements MessageInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDataList($key, string $delim = ',') : array { @@ -231,7 +231,7 @@ abstract class RequestAbstract implements MessageInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getLike(string $regex) : array { @@ -252,7 +252,7 @@ abstract class RequestAbstract implements MessageInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function hasData($key) : bool { @@ -268,7 +268,7 @@ abstract class RequestAbstract implements MessageInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function setData($key, $value, bool $overwrite = true) : bool { @@ -289,7 +289,7 @@ abstract class RequestAbstract implements MessageInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function lock() : void { @@ -301,7 +301,7 @@ abstract class RequestAbstract implements MessageInterface * * @return HeaderAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getHeader() : HeaderAbstract { @@ -326,7 +326,7 @@ abstract class RequestAbstract implements MessageInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getRouteVerb() : int; @@ -335,7 +335,7 @@ abstract class RequestAbstract implements MessageInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getFiles() : array { diff --git a/Message/RequestSource.php b/Message/RequestSource.php index c43e8c0d4..03bfafa1e 100644 --- a/Message/RequestSource.php +++ b/Message/RequestSource.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Request source enum. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RequestSource extends Enum { diff --git a/Message/ResponseAbstract.php b/Message/ResponseAbstract.php index 3c733f3ed..359c05954 100644 --- a/Message/ResponseAbstract.php +++ b/Message/ResponseAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Message; /** * Response abstract class. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable { /** * Responses. * - * @var array + * @var array * @since 1.0.0 */ protected array $response = []; @@ -35,7 +35,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable /** * Header. * - * @var HeaderAbstract + * @var HeaderAbstract * @since 1.0.0 */ protected HeaderAbstract $header; @@ -47,7 +47,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function get($id) { @@ -63,7 +63,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set($key, $response, bool $overwrite = true) : void { @@ -87,7 +87,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function toArray() : array; @@ -96,7 +96,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable * * @return HeaderAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getHeader() : HeaderAbstract { @@ -110,7 +110,7 @@ abstract class ResponseAbstract implements MessageInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getBody(bool $optimize = false) : string; } diff --git a/Message/ResponseType.php b/Message/ResponseType.php index 9b3144cea..9b5f69e90 100644 --- a/Message/ResponseType.php +++ b/Message/ResponseType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Response type enum. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ResponseType extends Enum { diff --git a/Message/Socket/Request.php b/Message/Socket/Request.php index a55a180eb..1c99ccf6d 100644 --- a/Message/Socket/Request.php +++ b/Message/Socket/Request.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Message\Socket; diff --git a/Message/Socket/Response.php b/Message/Socket/Response.php index 58e2faed8..ed21075a8 100644 --- a/Message/Socket/Response.php +++ b/Message/Socket/Response.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Message\Socket; diff --git a/Message/UploadedFileInterface.php b/Message/UploadedFileInterface.php index 827611307..0373b3844 100644 --- a/Message/UploadedFileInterface.php +++ b/Message/UploadedFileInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Message; /** * Upload interface. * - * @package phpOMS\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface UploadedFileInterface { @@ -28,7 +28,7 @@ interface UploadedFileInterface /** * Retrieve a stream representing the uploaded file. * - * @since 1.0.0 + * @since 1.0.0 */ public function getStream(); @@ -39,7 +39,7 @@ interface UploadedFileInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function moveTo(string $targetPath) : void; @@ -48,7 +48,7 @@ interface UploadedFileInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSize() : int; @@ -57,7 +57,7 @@ interface UploadedFileInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getError() : int; @@ -66,7 +66,7 @@ interface UploadedFileInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getClientFilename() : string; @@ -75,7 +75,7 @@ interface UploadedFileInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getClientMediaType() : string; } diff --git a/Model/Html/Head.php b/Model/Html/Head.php index 9ef80b373..95a8a8261 100644 --- a/Model/Html/Head.php +++ b/Model/Html/Head.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Html - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Html + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -23,10 +23,10 @@ use phpOMS\Localization\ISO639x1Enum; * * Responsible for handling everything that's going on in the * - * @package phpOMS\Model\Html - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Html + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Head implements RenderableInterface { @@ -34,7 +34,7 @@ class Head implements RenderableInterface /** * Page language. * - * @var string + * @var string * @since 1.0.0 */ private string $language = ISO639x1Enum::_EN; @@ -42,7 +42,7 @@ class Head implements RenderableInterface /** * Page title. * - * @var string + * @var string * @since 1.0.0 */ private string $title = ''; @@ -50,7 +50,7 @@ class Head implements RenderableInterface /** * Assets bound to this page instance. * - * @var array + * @var array * @since 1.0.0 */ private array $assets = []; @@ -58,7 +58,7 @@ class Head implements RenderableInterface /** * Is the header set? * - * @var bool + * @var bool * @since 1.0.0 */ private bool $hasContent = false; @@ -66,7 +66,7 @@ class Head implements RenderableInterface /** * Page meta. * - * @var Meta + * @var Meta * @since 1.0.0 */ private Meta $meta; @@ -76,7 +76,7 @@ class Head implements RenderableInterface * * Inline style * - * @var mixed[] + * @var mixed[] * @since 1.0.0 */ private array $style = []; @@ -84,7 +84,7 @@ class Head implements RenderableInterface /** * html script. * - * @var mixed[] + * @var mixed[] * @since 1.0.0 */ private array $script = []; @@ -92,7 +92,7 @@ class Head implements RenderableInterface /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -104,7 +104,7 @@ class Head implements RenderableInterface * * @return Meta * - * @since 1.0.0 + * @since 1.0.0 */ public function getMeta() : Meta { @@ -116,7 +116,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTitle() : string { @@ -130,7 +130,7 @@ class Head implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTitle(string $title) : void { @@ -145,7 +145,7 @@ class Head implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addAsset(int $type, string $uri, array $attributes = []) : void { @@ -159,7 +159,7 @@ class Head implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLanguage(string $language) : void { @@ -171,7 +171,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getLanguage() : string { @@ -183,7 +183,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function render() : string { @@ -201,7 +201,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function renderStyle() : string { @@ -218,7 +218,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function renderScript() : string { @@ -239,7 +239,7 @@ class Head implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStyle(string $key, string $style, bool $overwrite = true) : void { @@ -257,7 +257,7 @@ class Head implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setScript(string $key, string $script, bool $overwrite = true) : void { @@ -271,7 +271,7 @@ class Head implements RenderableInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getStyleAll() : array { @@ -283,7 +283,7 @@ class Head implements RenderableInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getScriptAll() : array { @@ -295,7 +295,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function renderAssets() : string { @@ -322,7 +322,7 @@ class Head implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function renderAssetsLate() : string { diff --git a/Model/Html/Meta.php b/Model/Html/Meta.php index 8dd683e31..9d39bceee 100644 --- a/Model/Html/Meta.php +++ b/Model/Html/Meta.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Html - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Html + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Views\ViewAbstract; /** * Meta class. * - * @package phpOMS\Model\Html - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Html + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Meta implements RenderableInterface { @@ -31,7 +31,7 @@ class Meta implements RenderableInterface /** * Keywords. * - * @var string[] + * @var string[] * @since 1.0.0 */ private array $keywords = []; @@ -39,7 +39,7 @@ class Meta implements RenderableInterface /** * Author. * - * @var string + * @var string * @since 1.0.0 */ private string $author = ''; @@ -47,7 +47,7 @@ class Meta implements RenderableInterface /** * Charset. * - * @var string + * @var string * @since 1.0.0 */ private string $charset = ''; @@ -55,7 +55,7 @@ class Meta implements RenderableInterface /** * Description. * - * @var string + * @var string * @since 1.0.0 */ private string $description = ''; @@ -63,7 +63,7 @@ class Meta implements RenderableInterface /** * Itemprop. * - * @var array + * @var array * @since 1.0.0 */ private array $itemprops = []; @@ -71,7 +71,7 @@ class Meta implements RenderableInterface /** * Property. * - * @var array + * @var array * @since 1.0.0 */ private array $properties = []; @@ -79,7 +79,7 @@ class Meta implements RenderableInterface /** * Name. * - * @var array + * @var array * @since 1.0.0 */ private array $names = []; @@ -91,7 +91,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addKeyword(string $keyword) : void { @@ -105,7 +105,7 @@ class Meta implements RenderableInterface * * @return string[] Keywords * - * @since 1.0.0 + * @since 1.0.0 */ public function getKeywords() : array { @@ -117,7 +117,7 @@ class Meta implements RenderableInterface * * @return string Author * - * @since 1.0.0 + * @since 1.0.0 */ public function getAuthor() : string { @@ -131,7 +131,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAuthor(string $author) : void { @@ -143,7 +143,7 @@ class Meta implements RenderableInterface * * @return string Charset * - * @since 1.0.0 + * @since 1.0.0 */ public function getCharset() : string { @@ -157,7 +157,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCharset(string $charset) : void { @@ -169,7 +169,7 @@ class Meta implements RenderableInterface * * @return string Descritpion * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -183,7 +183,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -198,7 +198,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setProperty(string $property, string $content) : void { @@ -213,7 +213,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setItemprop(string $itemprop, string $content) : void { @@ -228,7 +228,7 @@ class Meta implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name, string $content) : void { @@ -255,7 +255,7 @@ class Meta implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function renderProperty() : string { @@ -272,7 +272,7 @@ class Meta implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function renderItemprop() : string { @@ -289,7 +289,7 @@ class Meta implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function renderName() : string { diff --git a/Model/Message/Dom.php b/Model/Message/Dom.php index 8bf679bf5..88078c430 100644 --- a/Model/Message/Dom.php +++ b/Model/Message/Dom.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Contract\ArrayableInterface; /** * Dom class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Dom implements \Serializable, ArrayableInterface { @@ -30,7 +30,7 @@ class Dom implements \Serializable, ArrayableInterface /** * Message type. * - * @var string + * @var string * @since 1.0.0 */ public const TYPE = 'dom'; @@ -38,7 +38,7 @@ class Dom implements \Serializable, ArrayableInterface /** * Selector string. * - * @var string + * @var string * @since 1.0.0 */ private string $selector = ''; @@ -46,7 +46,7 @@ class Dom implements \Serializable, ArrayableInterface /** * Dom content. * - * @var string + * @var string * @since 1.0.0 */ private string $content = ''; @@ -54,7 +54,7 @@ class Dom implements \Serializable, ArrayableInterface /** * Dom action. * - * @var int + * @var int * @since 1.0.0 */ private int $action = DomAction::MODIFY; @@ -62,7 +62,7 @@ class Dom implements \Serializable, ArrayableInterface /** * Delay in ms. * - * @var int + * @var int * @since 1.0.0 */ private int $delay = 0; @@ -88,7 +88,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSelector(string $selector) : void { @@ -102,7 +102,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAction(int $action) : void { @@ -116,7 +116,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDelay(int $delay) : void { @@ -128,7 +128,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -161,7 +161,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -173,7 +173,7 @@ class Dom implements \Serializable, ArrayableInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { diff --git a/Model/Message/DomAction.php b/Model/Message/DomAction.php index 68265f898..d6690a505 100644 --- a/Model/Message/DomAction.php +++ b/Model/Message/DomAction.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * DomAction class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DomAction extends Enum { diff --git a/Model/Message/FormValidation.php b/Model/Message/FormValidation.php index 741cf670d..b661a52e1 100644 --- a/Model/Message/FormValidation.php +++ b/Model/Message/FormValidation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Contract\ArrayableInterface; /** * FormValidation class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializable { @@ -30,7 +30,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ /** * Message type. * - * @var string + * @var string * @since 1.0.0 */ public const TYPE = 'validation'; @@ -38,7 +38,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ /** * Form validation result. * - * @var array + * @var array * @since 1.0.0 */ private array $validation = []; @@ -48,7 +48,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ * * @param array $validation Invalid data * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $validation = []) { @@ -60,7 +60,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -72,7 +72,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ /** * {@inheritdoc} @@ -97,7 +97,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -109,7 +109,7 @@ class FormValidation implements \Serializable, ArrayableInterface, \JsonSerializ * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { diff --git a/Model/Message/Notify.php b/Model/Message/Notify.php index 7e9cb9af3..9d86770a2 100644 --- a/Model/Message/Notify.php +++ b/Model/Message/Notify.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Contract\ArrayableInterface; /** * Notify class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable { @@ -30,7 +30,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Message type. * - * @var string + * @var string * @since 1.0.0 */ public const TYPE = 'notify'; @@ -38,7 +38,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Notification title. * - * @var string + * @var string * @since 1.0.0 */ private string $title = ''; @@ -46,7 +46,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Message. * - * @var string + * @var string * @since 1.0.0 */ private string $message = ''; @@ -54,7 +54,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Delay in ms. * - * @var int + * @var int * @since 1.0.0 */ private int $delay = 0; @@ -62,7 +62,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Stay in ms. * - * @var int + * @var int * @since 1.0.0 */ private int $stay = 0; @@ -70,7 +70,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable /** * Level or type. * - * @var int + * @var int * @since 1.0.0 */ private int $level = NotifyType::INFO; @@ -81,7 +81,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * @param string $msg Message * @param int $level Message level * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $msg = '', int $level = NotifyType::INFO) { @@ -96,7 +96,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDelay(int $delay) : void { @@ -110,7 +110,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStay(int $stay) : void { @@ -124,7 +124,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTitle(string $title) : void { @@ -138,7 +138,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMessage(string $message) : void { @@ -152,7 +152,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLevel(int $level) : void { @@ -164,7 +164,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -176,7 +176,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ /** * {@inheritdoc} @@ -205,7 +205,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -217,7 +217,7 @@ class Notify implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { diff --git a/Model/Message/NotifyType.php b/Model/Message/NotifyType.php index c4b652809..20f802bb7 100644 --- a/Model/Message/NotifyType.php +++ b/Model/Message/NotifyType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * NotifyType class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class NotifyType extends Enum { diff --git a/Model/Message/Redirect.php b/Model/Message/Redirect.php index 4b31c6631..bf1f165ea 100644 --- a/Model/Message/Redirect.php +++ b/Model/Message/Redirect.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Contract\ArrayableInterface; /** * Redirect class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable { @@ -30,7 +30,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable /** * Message type. * - * @var string + * @var string * @since 1.0.0 */ public const TYPE = 'redirect'; @@ -38,7 +38,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable /** * Redirect uri. * - * @var string + * @var string * @since 1.0.0 */ private string $uri = ''; @@ -46,7 +46,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable /** * Delay. * - * @var int + * @var int * @since 1.0.0 */ private int $delay = 0; @@ -54,7 +54,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable /** * Window. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $new = false; @@ -65,7 +65,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * @param string $url Url * @param bool $blank New window * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $url = '', bool $blank = false) { @@ -80,7 +80,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDelay(int $delay) : void { @@ -94,7 +94,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setUri(string $uri) : void { @@ -106,7 +106,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -118,7 +118,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ /** * {@inheritdoc} @@ -145,7 +145,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -157,7 +157,7 @@ class Redirect implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { diff --git a/Model/Message/Reload.php b/Model/Message/Reload.php index 530cb6674..2e3f543ea 100644 --- a/Model/Message/Reload.php +++ b/Model/Message/Reload.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Model\Message - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Model\Message + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Contract\ArrayableInterface; /** * Reload class. * - * @package phpOMS\Model\Message - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Model\Message + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable { @@ -30,7 +30,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable /** * Message type. * - * @var string + * @var string * @since 1.0.0 */ public const TYPE = 'reload'; @@ -38,7 +38,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable /** * Delay in ms. * - * @var int + * @var int * @since 1.0.0 */ private int $delay = 0; @@ -48,7 +48,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @param int $delay Delay in ms * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $delay = 0) { @@ -62,7 +62,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDelay(int $delay) : void { @@ -74,7 +74,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -96,7 +96,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -108,7 +108,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { @@ -123,7 +123,7 @@ class Reload implements \Serializable, ArrayableInterface, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ /** * {@inheritdoc} diff --git a/Module/ConsoleInterface.php b/Module/ConsoleInterface.php index 3e8dab6b6..ae0b9855b 100644 --- a/Module/ConsoleInterface.php +++ b/Module/ConsoleInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module; /** * Console module interface. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ConsoleInterface { @@ -30,7 +30,7 @@ interface ConsoleInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function callConsole() : void; } diff --git a/Module/Exception/InvalidModuleException.php b/Module/Exception/InvalidModuleException.php index 0f3d2c909..7ab13c7e2 100644 --- a/Module/Exception/InvalidModuleException.php +++ b/Module/Exception/InvalidModuleException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module\Exception; /** * Zero devision exception. * - * @package phpOMS\Module\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidModuleException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ final class InvalidModuleException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/Module/Exception/InvalidThemeException.php b/Module/Exception/InvalidThemeException.php index e176ac653..50fc31251 100644 --- a/Module/Exception/InvalidThemeException.php +++ b/Module/Exception/InvalidThemeException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module\Exception; /** * Zero devision exception. * - * @package phpOMS\Module\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InvalidThemeException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ final class InvalidThemeException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/Module/InfoManager.php b/Module/InfoManager.php index a2e77167e..9189c2a54 100644 --- a/Module/InfoManager.php +++ b/Module/InfoManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Utils\ArrayUtils; * * Handling the info files for modules * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class InfoManager { @@ -33,7 +33,7 @@ final class InfoManager /** * File path. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -41,7 +41,7 @@ final class InfoManager /** * Info data. * - * @var array + * @var array * @since 1.0.0 */ private array $info = []; @@ -51,7 +51,7 @@ final class InfoManager * * @param string $path Info file path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path) { @@ -63,7 +63,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPath() : string { @@ -77,7 +77,7 @@ final class InfoManager * * @throws PathException this exception is thrown in case the info file path doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public function load() : void { @@ -95,7 +95,7 @@ final class InfoManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function update() : void { @@ -115,7 +115,7 @@ final class InfoManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $path, $data, string $delim = '/') : void { @@ -131,7 +131,7 @@ final class InfoManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function get() : array { @@ -143,7 +143,7 @@ final class InfoManager * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -155,7 +155,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getInternalName() : string { @@ -167,7 +167,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getExternalName() : string { @@ -179,7 +179,7 @@ final class InfoManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDependencies() : array { @@ -191,7 +191,7 @@ final class InfoManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getProviding() : array { @@ -203,7 +203,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDirectory() : string { @@ -215,7 +215,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCategory() : string { @@ -227,7 +227,7 @@ final class InfoManager * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getVersion() : string { @@ -239,7 +239,7 @@ final class InfoManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getLoad() : array { diff --git a/Module/InstallerAbstract.php b/Module/InstallerAbstract.php index 5540373b5..c6b3ac0b3 100644 --- a/Module/InstallerAbstract.php +++ b/Module/InstallerAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,10 +26,10 @@ use phpOMS\Utils\Parser\Php\ArrayParser; /** * Installer abstract class. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class InstallerAbstract { @@ -41,7 +41,7 @@ abstract class InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function registerInDatabase(DatabasePool $dbPool, InfoManager $info) : void { @@ -83,7 +83,7 @@ abstract class InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function install(DatabasePool $dbPool, InfoManager $info) : void { @@ -102,7 +102,7 @@ abstract class InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function createTables(DatabasePool $dbPool, InfoManager $info) : void { @@ -131,7 +131,7 @@ abstract class InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function activate(DatabasePool $dbPool, InfoManager $info) : void { @@ -147,7 +147,7 @@ abstract class InstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function reInit(InfoManager $info) : void { @@ -164,7 +164,7 @@ abstract class InstallerAbstract * * @throws PermissionException * - * @since 1.0.0 + * @since 1.0.0 */ private static function initRoutes(InfoManager $info) : void { @@ -191,7 +191,7 @@ abstract class InstallerAbstract * * @throws PermissionException * - * @since 1.0.0 + * @since 1.0.0 */ private static function installRoutes(string $destRoutePath, string $srcRoutePath) : void { @@ -230,7 +230,7 @@ abstract class InstallerAbstract * * @throws PermissionException * - * @since 1.0.0 + * @since 1.0.0 */ private static function initHooks(InfoManager $info) : void { @@ -258,7 +258,7 @@ abstract class InstallerAbstract * @throws PathException This exception is thrown if the hook file doesn't exist * @throws PermissionException This exception is thrown if the hook file couldn't be updated (no write permission) * - * @since 1.0.0 + * @since 1.0.0 */ private static function installHooks(string $destHookPath, string $srcHookPath) : void { diff --git a/Module/ModuleAbstract.php b/Module/ModuleAbstract.php index b6f3ba7c3..8dd150379 100644 --- a/Module/ModuleAbstract.php +++ b/Module/ModuleAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\System\MimeType; /** * Module abstraction class. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @todo: maybe move to Modules because this is very project specific and not general enough for a framework * @todo: maybe move all of the Module\classes parts to the Modules\? @@ -36,7 +36,7 @@ abstract class ModuleAbstract /** * Module name. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_NAME = ''; @@ -44,7 +44,7 @@ abstract class ModuleAbstract /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_PATH = __DIR__ . '/../../Modules'; @@ -52,7 +52,7 @@ abstract class ModuleAbstract /** * Module version. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_VERSION = '1.0.0'; @@ -60,7 +60,7 @@ abstract class ModuleAbstract /** * Module id. * - * @var string + * @var string * @since 1.0.0 */ public const MODULE_ID = 0; @@ -68,7 +68,7 @@ abstract class ModuleAbstract /** * Receiving modules from? * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $providing = []; @@ -76,7 +76,7 @@ abstract class ModuleAbstract /** * Localization files. * - * @var array + * @var array * @since 1.0.0 */ protected static array $localization = []; @@ -84,7 +84,7 @@ abstract class ModuleAbstract /** * Dependencies. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $dependencies = []; @@ -92,7 +92,7 @@ abstract class ModuleAbstract /** * Receiving modules from? * - * @var string[] + * @var string[] * @since 1.0.0 */ protected array $receiving = []; @@ -100,7 +100,7 @@ abstract class ModuleAbstract /** * Application instance. * - * @var null|ApplicationAbstract + * @var null|ApplicationAbstract * @since 1.0.0 */ protected ?ApplicationAbstract $app = null; @@ -110,7 +110,7 @@ abstract class ModuleAbstract * * @param null|ApplicationAbstract $app Application instance * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ApplicationAbstract $app = null) { @@ -125,7 +125,7 @@ abstract class ModuleAbstract * * @return array> * - * @since 1.0.0 + * @since 1.0.0 */ public static function getLocalization(string $language, string $destination) : array { @@ -145,7 +145,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function addReceiving(string $module) : void { @@ -157,7 +157,7 @@ abstract class ModuleAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getProviding() : array { @@ -170,7 +170,7 @@ abstract class ModuleAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -183,7 +183,7 @@ abstract class ModuleAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDependencies() : array { @@ -203,7 +203,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function fillJsonResponse( RequestAbstract $request, @@ -232,7 +232,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function fillJsonRawResponse(RequestAbstract $request, ResponseAbstract $response, $obj) : void { @@ -250,7 +250,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function createModel(int $account, $obj, string $mapper, string $trigger) : void { @@ -275,7 +275,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function updateModel(RequestAbstract $request, $old, $new, $mapper, string $trigger) : void { @@ -303,7 +303,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function deleteModel(RequestAbstract $request, $obj, string $mapper, string $trigger) : void { @@ -329,7 +329,7 @@ abstract class ModuleAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ protected function createModelRelation(RequestAbstract $request, $rel1, $rel2, string $mapper, string $field, string $trigger) : void { diff --git a/Module/ModuleManager.php b/Module/ModuleManager.php index 9e941f522..bb10bbee6 100644 --- a/Module/ModuleManager.php +++ b/Module/ModuleManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -27,10 +27,10 @@ use phpOMS\System\File\PathException; * * General module functionality such as listings and initialization. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ModuleManager { @@ -38,7 +38,7 @@ final class ModuleManager /** * All modules that are running on this uri. * - * @var \phpOMS\Module\ModuleAbstract[] + * @var \phpOMS\Module\ModuleAbstract[] * @since 1.0.0 */ private array $running = []; @@ -48,7 +48,7 @@ final class ModuleManager * * This is important to inform other moduels what kind of information they can receive from other modules. * - * @var array> + * @var array> * @since 1.0.0 */ private array $providing = []; @@ -56,7 +56,7 @@ final class ModuleManager /** * Application instance. * - * @var null|ApplicationAbstract + * @var null|ApplicationAbstract * @since 1.0.0 */ private ?ApplicationAbstract $app = null; @@ -64,7 +64,7 @@ final class ModuleManager /** * Installed modules. * - * @var array + * @var array * @since 1.0.0 */ private array $installed = []; @@ -72,7 +72,7 @@ final class ModuleManager /** * All active modules (on all pages not just the ones that are running now). * - * @var array + * @var array * @since 1.0.0 */ private array $active = []; @@ -80,7 +80,7 @@ final class ModuleManager /** * Module path. * - * @var string + * @var string * @since 1.0.0 */ private string $modulePath = __DIR__ . '/../../Modules'; @@ -88,7 +88,7 @@ final class ModuleManager /** * All modules in the module directory. * - * @var array + * @var array * @since 1.0.0 */ private array $all = []; @@ -96,7 +96,7 @@ final class ModuleManager /** * To load based on request uri. * - * @var array + * @var array * @since 1.0.0 */ private array $uriLoad = []; @@ -107,7 +107,7 @@ final class ModuleManager * @param ApplicationAbstract $app Application * @param string $modulePath Path to modules * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ApplicationAbstract $app, string $modulePath = '') { @@ -122,7 +122,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getLanguageFiles(RequestAbstract $request) : array { @@ -145,7 +145,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getUriLoad(RequestAbstract $request) : array { @@ -174,7 +174,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getActiveModules(bool $useCache = true) : array { @@ -214,7 +214,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isActive(string $module) : bool { @@ -228,7 +228,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isRunning(string $module) : bool { @@ -242,7 +242,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getAllModules() : array { @@ -274,7 +274,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getAvailableModules() : array { @@ -288,7 +288,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getInstalledModules(bool $useCache = true) : array { @@ -326,7 +326,7 @@ final class ModuleManager * * @return InfoManager * - * @since 1.0.0 + * @since 1.0.0 */ private function loadInfo(string $module) : InfoManager { @@ -349,7 +349,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function deactivate(string $module) : bool { @@ -379,7 +379,7 @@ final class ModuleManager * * @throws InvalidModuleException Throws this exception in case the deactiviation doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ private function deactivateModule(InfoManager $info) : void { @@ -400,7 +400,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function activate(string $module) : bool { @@ -430,7 +430,7 @@ final class ModuleManager * * @throws InvalidModuleException Throws this exception in case the activation doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ private function activateModule(InfoManager $info) : void { @@ -453,7 +453,7 @@ final class ModuleManager * * @throws InvalidModuleException Throws this exception in case the installer doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public function reInit(string $module) : void { @@ -475,7 +475,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function install(string $module) : bool { @@ -525,7 +525,7 @@ final class ModuleManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function uninstall(string $module) : bool { @@ -563,7 +563,7 @@ final class ModuleManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function installDependencies(array $dependencies) : void { @@ -581,7 +581,7 @@ final class ModuleManager * * @throws InvalidModuleException Throws this exception in case the installer doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ private function installModule(InfoManager $info) : void { @@ -605,7 +605,7 @@ final class ModuleManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function installProviding(string $from, string $for) : void { @@ -624,7 +624,7 @@ final class ModuleManager * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $module) : ModuleAbstract { @@ -645,7 +645,7 @@ final class ModuleManager * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public function initModule($modules) : void { @@ -667,7 +667,7 @@ final class ModuleManager * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function initModuleController(string $module) : void { @@ -684,7 +684,7 @@ final class ModuleManager * * @return string Application and module name dependant name * - * @since 1.0.0 + * @since 1.0.0 */ private function generateModuleName(string $module) : string { @@ -698,7 +698,7 @@ final class ModuleManager * * @return ModuleAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getModuleInstance(string $module) : ModuleAbstract { @@ -730,7 +730,7 @@ final class ModuleManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function registerRequesting(ModuleAbstract $obj) : void { @@ -755,7 +755,7 @@ final class ModuleManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function registerProvided(ModuleAbstract $obj) : void { @@ -774,7 +774,7 @@ final class ModuleManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function initRequestModules(Request $request) : void { @@ -792,7 +792,7 @@ final class ModuleManager * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getRoutedModules(Request $request) : array { diff --git a/Module/ModuleStatus.php b/Module/ModuleStatus.php index f7cf6abff..f902628e2 100644 --- a/Module/ModuleStatus.php +++ b/Module/ModuleStatus.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\Module; @@ -18,10 +18,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Module status enum. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ModuleStatus extends Enum { diff --git a/Module/NullModule.php b/Module/NullModule.php index 97abf3195..464851089 100644 --- a/Module/NullModule.php +++ b/Module/NullModule.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module; /** * Module abstraction class. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NullModule extends ModuleAbstract { diff --git a/Module/PackageManager.php b/Module/PackageManager.php index 1bafc2630..12decb867 100644 --- a/Module/PackageManager.php +++ b/Module/PackageManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,17 +26,17 @@ use phpOMS\Utils\StringUtils; * * The package manager is responsible for handling installation and update packages for modules, frameworks and resources. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class PackageManager { /** * File path. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -44,7 +44,7 @@ final class PackageManager /** * Base path. * - * @var string + * @var string * @since 1.0.0 */ private string $basePath = ''; @@ -52,7 +52,7 @@ final class PackageManager /** * Extract path. * - * @var string + * @var string * @since 1.0.0 */ private string $extractPath = ''; @@ -60,7 +60,7 @@ final class PackageManager /** * Public key. * - * @var string + * @var string * @since 1.0.0 */ private string $publicKey = ''; @@ -68,7 +68,7 @@ final class PackageManager /** * Info data. * - * @var array + * @var array * @since 1.0.0 */ private array $info = []; @@ -80,7 +80,7 @@ final class PackageManager * @param string $basePath Path of the application * @param string $publicKey Public key * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path, string $basePath, string $publicKey) { @@ -96,7 +96,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function extract(string $path) : void { @@ -111,7 +111,7 @@ final class PackageManager * * @throws PathException this exception is thrown in case the info file path doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public function load() : void { @@ -129,7 +129,7 @@ final class PackageManager * * @return bool Returns true if the package is authentic, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public function isValid() : bool { @@ -142,7 +142,7 @@ final class PackageManager * * @return string Hash value of files * - * @since 1.0.0 + * @since 1.0.0 */ private function hashFiles() : string { @@ -172,7 +172,7 @@ final class PackageManager * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function install() : void { @@ -194,7 +194,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function move($components) : void { @@ -210,7 +210,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function copy($components) : void { @@ -230,7 +230,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function delete($components) : void { @@ -246,7 +246,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function execute($components) : void { @@ -260,7 +260,7 @@ final class PackageManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function cleanup() : void { @@ -276,7 +276,7 @@ final class PackageManager * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function authenticate(string $signedHash, string $rawHash) : bool { diff --git a/Module/SocketInterface.php b/Module/SocketInterface.php index 3ecb491ab..190124ff8 100644 --- a/Module/SocketInterface.php +++ b/Module/SocketInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module; /** * Socket module interface. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface SocketInterface { @@ -30,7 +30,7 @@ interface SocketInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function callSock() : void; } diff --git a/Module/StatusAbstract.php b/Module/StatusAbstract.php index 456b483f7..9fae06293 100644 --- a/Module/StatusAbstract.php +++ b/Module/StatusAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\DataStorage\Database\Query\Builder; * * This abstraction can be used by modules in order to manipulate their basic status/state. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class StatusAbstract { @@ -38,7 +38,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function activate(DatabasePool $dbPool, InfoManager $info) : void { @@ -54,7 +54,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function activateRoutes(string $destRoutePath, string $srcRoutePath) : void { @@ -69,7 +69,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function activateInDatabase(DatabasePool $dbPool, InfoManager $info) : void { @@ -89,7 +89,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function deactivate(DatabasePool $dbPool, InfoManager $info) : void { @@ -105,7 +105,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private static function deactivateRoutes(string $destRoutePath, string $srcRoutePath) : void { @@ -120,7 +120,7 @@ abstract class StatusAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function deactivateInDatabase(DatabasePool $dbPool, InfoManager $info) : void { diff --git a/Module/UninstallerAbstract.php b/Module/UninstallerAbstract.php index 90e7744c5..6942480fb 100644 --- a/Module/UninstallerAbstract.php +++ b/Module/UninstallerAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\DataStorage\Database\Schema\Builder as SchemaBuilder; /** * Uninstaller abstract class. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class UninstallerAbstract { @@ -36,7 +36,7 @@ abstract class UninstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function uninstall(DatabasePool $dbPool, InfoManager $info) : void { @@ -51,7 +51,7 @@ abstract class UninstallerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function dropTables(DatabasePool $dbPool, InfoManager $info) : void { diff --git a/Module/UpdaterAbstract.php b/Module/UpdaterAbstract.php index 0e6a9e8e6..98781ba07 100644 --- a/Module/UpdaterAbstract.php +++ b/Module/UpdaterAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\DataStorage\Database\DatabasePool; /** * Updater abstract class. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class UpdaterAbstract { @@ -35,7 +35,7 @@ abstract class UpdaterAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function update(DatabasePool $dbPool, InfoManager $info) : void { diff --git a/Module/WebInterface.php b/Module/WebInterface.php index d098386bd..2315db8ab 100644 --- a/Module/WebInterface.php +++ b/Module/WebInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Module - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Module + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Module; /** * Web module interface. * - * @package phpOMS\Module - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Module + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface WebInterface { diff --git a/Router/RouteVerb.php b/Router/RouteVerb.php index 4ee5dd491..de711f233 100644 --- a/Router/RouteVerb.php +++ b/Router/RouteVerb.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Router - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Router + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Route verb enum. * - * @package phpOMS\Router - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Router + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class RouteVerb extends Enum { diff --git a/Router/Router.php b/Router/Router.php index d4c78d4fa..c1f96e3f0 100644 --- a/Router/Router.php +++ b/Router/Router.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Router - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Router + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Uri\Http; /** * Router class. * - * @package phpOMS\Router - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Router + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Router { @@ -31,7 +31,7 @@ final class Router /** * Routes. * - * @var array + * @var array * @since 1.0.0 */ private array $routes = []; @@ -59,7 +59,7 @@ final class Router * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function importFromFile(string $path) : bool { @@ -83,7 +83,7 @@ final class Router * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $route, $destination, int $verb = RouteVerb::GET, bool $csrf = false) : void { @@ -110,7 +110,7 @@ final class Router * * @return array[] * - * @since 1.0.0 + * @since 1.0.0 */ public function route( string $uri, diff --git a/Security/PhpCode.php b/Security/PhpCode.php index 8b7ed3a17..117b399db 100644 --- a/Security/PhpCode.php +++ b/Security/PhpCode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Security - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Security + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,17 +20,17 @@ namespace phpOMS\Security; * This can be used to ensure php code doesn't contain malicious functions and or characters. * Additionally this can also be used in order verify that the source code is not altered compared to some expected source code. * - * @package phpOMS\Security - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Security + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class PhpCode { /** * Disabled functions * - * @var array + * @var array * @since 1.0.0 */ public static array $disabledFunctions = [ @@ -45,7 +45,7 @@ final class PhpCode /** * Deprecated functions * - * @var array + * @var array * @since 1.0.0 */ public static array $deprecatedFunctions = [ @@ -60,7 +60,7 @@ final class PhpCode /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -75,7 +75,7 @@ final class PhpCode * * @return string Normalized source code * - * @since 1.0.0 + * @since 1.0.0 */ public static function normalizeSource(string $source) : string { @@ -89,7 +89,7 @@ final class PhpCode * * @return bool Returns true if the code has unicode characters otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasUnicode(string $source) : bool { @@ -103,7 +103,7 @@ final class PhpCode * * @return bool Returns true if code has disabled function calls otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function isDisabled(array $functions) : bool { @@ -132,7 +132,7 @@ final class PhpCode * * @return bool Returns true if code contains deprecated functions otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasDeprecatedFunction(string $source) : bool { @@ -153,7 +153,7 @@ final class PhpCode * * @return bool Returns true if filee matches expected signature otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function validateFileIntegrity(string $source, string $hash) : bool { @@ -168,7 +168,7 @@ final class PhpCode * * @return bool Returns true if source code is the same as the expected code otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function validateStringIntegrity(string $source, string $remote) : bool { diff --git a/Socket/Client/Client.php b/Socket/Client/Client.php index 84cb67dcb..8c50d7d0b 100644 --- a/Socket/Client/Client.php +++ b/Socket/Client/Client.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Client - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Client + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Socket\SocketAbstract; /** * Client socket class. * - * @package phpOMS\Socket\Client - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Client + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Client extends SocketAbstract { @@ -32,7 +32,7 @@ class Client extends SocketAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -49,7 +49,7 @@ class Client extends SocketAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function disconnect() : void { diff --git a/Socket/Client/ClientConnection.php b/Socket/Client/ClientConnection.php index 72c92bebf..265e9dac3 100644 --- a/Socket/Client/ClientConnection.php +++ b/Socket/Client/ClientConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Client - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Client + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Socket\Client; /** * Client socket class. * - * @package phpOMS\Socket\Client - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Client + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ClientConnection { diff --git a/Socket/Client/NullClientConnection.php b/Socket/Client/NullClientConnection.php index 42d3732fd..cfc65cc7f 100644 --- a/Socket/Client/NullClientConnection.php +++ b/Socket/Client/NullClientConnection.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Client - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Client + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Socket\Client; /** * Client socket class. * - * @package phpOMS\Socket\Client - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Client + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullClientConnection extends ClientConnection { diff --git a/Socket/CommandManager.php b/Socket/CommandManager.php index 5a75fa4d0..9413c9e6f 100644 --- a/Socket/CommandManager.php +++ b/Socket/CommandManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -28,7 +28,7 @@ class CommandManager implements \Countable /** * Commands. * - * @var mixed[] + * @var mixed[] * @since 1.0.0 */ private $commands = []; @@ -36,7 +36,7 @@ class CommandManager implements \Countable /** * Commands. * - * @var int + * @var int * @since 1.0.0 */ private $count = 0; @@ -44,7 +44,7 @@ class CommandManager implements \Countable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -59,7 +59,7 @@ class CommandManager implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function attach(string $cmd, $callback, $source) : void { @@ -75,7 +75,7 @@ class CommandManager implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function detach(string $cmd, $source) : void { @@ -94,7 +94,7 @@ class CommandManager implements \Countable * * @return bool|mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function trigger(string $cmd, $conn, $para) { @@ -110,7 +110,7 @@ class CommandManager implements \Countable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function count() : int { diff --git a/Socket/Packets/Header.php b/Socket/Packets/Header.php index 40e31ee9e..e443d5aa2 100644 --- a/Socket/Packets/Header.php +++ b/Socket/Packets/Header.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Packets - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Packets + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Socket\Packets; * * Parsing/serializing arrays to and from php file * - * @package phpOMS\Socket\Packets - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Packets + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Header implements \Serializable { @@ -33,7 +33,7 @@ class Header implements \Serializable /** * Packet size. * - * @var int + * @var int * @since 1.0.0 */ private $length = 0; @@ -41,7 +41,7 @@ class Header implements \Serializable /** * Packet type. * - * @var int + * @var int * @since 1.0.0 */ private $type = 0; @@ -49,7 +49,7 @@ class Header implements \Serializable /** * Packet subtype. * - * @var int + * @var int * @since 1.0.0 */ private $subtype = 0; @@ -77,7 +77,7 @@ class Header implements \Serializable /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getLength() { @@ -89,7 +89,7 @@ class Header implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLength($length) : void { @@ -99,7 +99,7 @@ class Header implements \Serializable /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -111,7 +111,7 @@ class Header implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setType(int $type) : void { @@ -121,7 +121,7 @@ class Header implements \Serializable /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubtype() : int { @@ -133,7 +133,7 @@ class Header implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setSubtype($subtype) : void { @@ -145,7 +145,7 @@ class Header implements \Serializable * * @return string Json serialization * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -157,7 +157,7 @@ class Header implements \Serializable * * @return string Json serialization * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString() { @@ -171,7 +171,7 @@ class Header implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function unserialize($string) : void { diff --git a/Socket/Packets/PacketAbstract.php b/Socket/Packets/PacketAbstract.php index c3383f5aa..a1b304778 100644 --- a/Socket/Packets/PacketAbstract.php +++ b/Socket/Packets/PacketAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Packets - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Packets + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Socket\Packets; * * Parsing/serializing arrays to and from php file * - * @package phpOMS\Socket\Packets - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Packets + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PacketAbstract implements \Serializable { @@ -30,7 +30,7 @@ abstract class PacketAbstract implements \Serializable /** * Packet header. * - * @var Header + * @var Header * @since 1.0.0 */ private $header = null; diff --git a/Socket/Packets/PacketManager.php b/Socket/Packets/PacketManager.php index 07dc3de37..1ad361481 100644 --- a/Socket/Packets/PacketManager.php +++ b/Socket/Packets/PacketManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Packets - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Packets + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Socket\Server\ClientManager; * * Parsing/serializing arrays to and from php file * - * @package phpOMS\Socket\Packets - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Packets + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PacketManager { @@ -33,7 +33,7 @@ class PacketManager /** * Command Manager. * - * @var CommandManager + * @var CommandManager * @since 1.0.0 */ private $commandManager = null; @@ -41,7 +41,7 @@ class PacketManager /** * Client Manager. * - * @var ClientManager + * @var ClientManager * @since 1.0.0 */ private $clientManager = null; @@ -52,7 +52,7 @@ class PacketManager * @param CommandManager $cmd Command Manager * @param ClientManager $user Client Manager * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(CommandManager $cmd, ClientManager $user) { @@ -67,7 +67,7 @@ class PacketManager * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function handle(string $data, $client) : void { diff --git a/Socket/Packets/PacketType.php b/Socket/Packets/PacketType.php index 2b692d136..4b8555f0c 100644 --- a/Socket/Packets/PacketType.php +++ b/Socket/Packets/PacketType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Packets - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Packets + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Packet type enum. * - * @package phpOMS\Socket\Packets - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Packets + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PacketType extends Enum { diff --git a/Socket/Server/ClientManager.php b/Socket/Server/ClientManager.php index f3bb6f92d..df2db085b 100644 --- a/Socket/Server/ClientManager.php +++ b/Socket/Server/ClientManager.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Socket/Server/Server.php b/Socket/Server/Server.php index 2b842ba62..6b77b24b3 100644 --- a/Socket/Server/Server.php +++ b/Socket/Server/Server.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket\Server - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket\Server + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Socket\SocketAbstract; /** * Server class. * - * @package phpOMS\Socket\Server - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket\Server + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Server extends SocketAbstract { @@ -33,7 +33,7 @@ class Server extends SocketAbstract /** * Socket connection limit. * - * @var int + * @var int * @since 1.0.0 */ private $limit = 10; @@ -41,7 +41,7 @@ class Server extends SocketAbstract /** * Client connections. * - * @var array + * @var array * @since 1.0.0 */ private $conn = []; @@ -49,7 +49,7 @@ class Server extends SocketAbstract /** * Packet manager. * - * @var PacketManager + * @var PacketManager * @since 1.0.0 */ private $packetManager = null; @@ -61,7 +61,7 @@ class Server extends SocketAbstract /** * Socket application. * - * @var \Socket\SocketApplication + * @var \Socket\SocketApplication * @since 1.0.0 */ private $app = null; @@ -71,7 +71,7 @@ class Server extends SocketAbstract * * @param \Socket\SocketApplication $app socketApplication * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($app) { @@ -85,7 +85,7 @@ class Server extends SocketAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasInternet() : bool { @@ -118,7 +118,7 @@ class Server extends SocketAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLimit(int $limit) : void { diff --git a/Socket/SocketAbstract.php b/Socket/SocketAbstract.php index 24a93de11..bd98aaa25 100644 --- a/Socket/SocketAbstract.php +++ b/Socket/SocketAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Socket; /** * Socket class. * - * @package phpOMS\Socket - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SocketAbstract implements SocketInterface { @@ -28,7 +28,7 @@ abstract class SocketAbstract implements SocketInterface /** * Socket ip. * - * @var string + * @var string * @since 1.0.0 */ protected $ip = null; @@ -36,7 +36,7 @@ abstract class SocketAbstract implements SocketInterface /** * Socket port. * - * @var int + * @var int * @since 1.0.0 */ protected $port = null; @@ -44,7 +44,7 @@ abstract class SocketAbstract implements SocketInterface /** * Socket running? * - * @var bool + * @var bool * @since 1.0.0 */ protected $run = true; @@ -52,7 +52,7 @@ abstract class SocketAbstract implements SocketInterface /** * Socket. * - * @var resource + * @var resource * @since 1.0.0 */ protected $sock = null; @@ -72,7 +72,7 @@ abstract class SocketAbstract implements SocketInterface /** * Destructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __destruct() { diff --git a/Socket/SocketInterface.php b/Socket/SocketInterface.php index b9d80c306..f099ef27d 100644 --- a/Socket/SocketInterface.php +++ b/Socket/SocketInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Socket; /** * Socket class. * - * @package phpOMS\Socket - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface SocketInterface { @@ -33,7 +33,7 @@ interface SocketInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function create(string $ip, int $port) : void; @@ -42,7 +42,7 @@ interface SocketInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function close() : void; @@ -51,7 +51,7 @@ interface SocketInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function run() : void; } diff --git a/Socket/SocketType.php b/Socket/SocketType.php index 403b2643a..78e6de30d 100644 --- a/Socket/SocketType.php +++ b/Socket/SocketType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Socket - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Socket + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Socket type enum. * - * @package phpOMS\Socket - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Socket + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SocketType extends Enum { diff --git a/Stdlib/Base/Address.php b/Stdlib/Base/Address.php index a7dfcd21b..5e24c63e5 100644 --- a/Stdlib/Base/Address.php +++ b/Stdlib/Base/Address.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Address class. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Address implements \JsonSerializable { @@ -28,7 +28,7 @@ class Address implements \JsonSerializable /** * Name of the receiver. * - * @var string + * @var string * @since 1.0.0 */ private string $recipient = ''; @@ -36,7 +36,7 @@ class Address implements \JsonSerializable /** * Sub of the address. * - * @var string + * @var string * @since 1.0.0 */ private string $fao = ''; @@ -44,7 +44,7 @@ class Address implements \JsonSerializable /** * Location. * - * @var Location + * @var Location * @since 1.0.0 */ private Location $location; @@ -52,7 +52,7 @@ class Address implements \JsonSerializable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -64,7 +64,7 @@ class Address implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getRecipient() : string { @@ -78,7 +78,7 @@ class Address implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setRecipient(string $recipient) : void { @@ -90,7 +90,7 @@ class Address implements \JsonSerializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getFAO() : string { @@ -104,7 +104,7 @@ class Address implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setFAO(string $fao) : void { @@ -116,7 +116,7 @@ class Address implements \JsonSerializable * * @return Location * - * @since 1.0.0 + * @since 1.0.0 */ public function getLocation() : Location { @@ -130,7 +130,7 @@ class Address implements \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLocation(Location $location) : void { diff --git a/Stdlib/Base/AddressType.php b/Stdlib/Base/AddressType.php index 7036e23fa..a786018f3 100644 --- a/Stdlib/Base/AddressType.php +++ b/Stdlib/Base/AddressType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Address type enum. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AddressType extends Enum { diff --git a/Stdlib/Base/Enum.php b/Stdlib/Base/Enum.php index 6dd7bd4ea..c8a63edd7 100644 --- a/Stdlib/Base/Enum.php +++ b/Stdlib/Base/Enum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Stdlib\Base; * * Replacing the SplEnum class and providing basic enum. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class Enum { @@ -36,7 +36,7 @@ abstract class Enum * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidValue($value) : bool { @@ -50,7 +50,7 @@ abstract class Enum * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getConstants() : array { @@ -64,7 +64,7 @@ abstract class Enum * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRandom() { @@ -83,7 +83,7 @@ abstract class Enum * * @throws \UnexpectedValueException throws this exception if the constant is not defined in the enum class * - * @since 1.0.0 + * @since 1.0.0 */ public static function getByName(string $name) { @@ -101,7 +101,7 @@ abstract class Enum * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getName(string $value) { @@ -119,7 +119,7 @@ abstract class Enum * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidName(string $name) : bool { @@ -131,7 +131,7 @@ abstract class Enum * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function count() : int { @@ -148,7 +148,7 @@ abstract class Enum * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasFlag(int $flags, int $checkForFlag) : bool { diff --git a/Stdlib/Base/EnumArray.php b/Stdlib/Base/EnumArray.php index 7bd4e6e2c..3c01556f8 100644 --- a/Stdlib/Base/EnumArray.php +++ b/Stdlib/Base/EnumArray.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\Stdlib\Base; * * Replacing the SplEnum class and providing basic enum. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class EnumArray { /** * Constants. * - * @var array + * @var array * @since 1.0.0 */ protected static array $constants = []; @@ -43,7 +43,7 @@ abstract class EnumArray * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidName(string $name) : bool { @@ -57,7 +57,7 @@ abstract class EnumArray * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function getConstants() : array { @@ -74,7 +74,7 @@ abstract class EnumArray * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidValue($value) : bool { @@ -92,7 +92,7 @@ abstract class EnumArray * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function get($key) { diff --git a/Stdlib/Base/Exception/InvalidEnumName.php b/Stdlib/Base/Exception/InvalidEnumName.php index d480a4384..3044b04d3 100644 --- a/Stdlib/Base/Exception/InvalidEnumName.php +++ b/Stdlib/Base/Exception/InvalidEnumName.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Stdlib\Base\Exception; * * Performing operations on the file system * - * @package phpOMS\Stdlib\Base\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class InvalidEnumName extends \UnexpectedValueException { @@ -34,7 +34,7 @@ class InvalidEnumName extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/Stdlib/Base/Exception/InvalidEnumValue.php b/Stdlib/Base/Exception/InvalidEnumValue.php index a0fd5d965..df6872519 100644 --- a/Stdlib/Base/Exception/InvalidEnumValue.php +++ b/Stdlib/Base/Exception/InvalidEnumValue.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base\Exception - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base\Exception + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Stdlib\Base\Exception; * * Performing operations on the file system * - * @package phpOMS\Stdlib\Base\Exception - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base\Exception + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class InvalidEnumValue extends \UnexpectedValueException { @@ -34,7 +34,7 @@ class InvalidEnumValue extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($message, int $code = 0, \Exception $previous = null) { diff --git a/Stdlib/Base/Heap.php b/Stdlib/Base/Heap.php index ac02d2e07..220dc5bd6 100644 --- a/Stdlib/Base/Heap.php +++ b/Stdlib/Base/Heap.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Heap class. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Heap { diff --git a/Stdlib/Base/Iban.php b/Stdlib/Base/Iban.php index 4d1a5a828..19bec7377 100644 --- a/Stdlib/Base/Iban.php +++ b/Stdlib/Base/Iban.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Validation\Finance\IbanEnum; /** * Iban class. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Iban implements \Serializable { /** * Iban. * - * @var string + * @var string * @since 1.0.0 */ private string $iban = ''; @@ -39,7 +39,7 @@ class Iban implements \Serializable * * @param string $iban Iban * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $iban) { @@ -53,7 +53,7 @@ class Iban implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function parse(string $iban) : void { @@ -71,7 +71,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function normalize(string $iban) : string { @@ -83,7 +83,7 @@ class Iban implements \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getLength() : int { @@ -95,7 +95,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getChecksum() : string { @@ -109,7 +109,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private function getSequence(string $sequence) : string { @@ -132,7 +132,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountry() : string { @@ -146,7 +146,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getNationalChecksum() : string { @@ -158,7 +158,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBranchCode() : string { @@ -170,7 +170,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getAccountType() : string { @@ -182,7 +182,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCurrency() : string { @@ -194,7 +194,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBankCode() : string { @@ -206,7 +206,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getAccount() : string { @@ -218,7 +218,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getHoldersKennital() : string { @@ -230,7 +230,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getOwnerAccountNumber() : string { @@ -244,7 +244,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBicCode() : string { @@ -264,7 +264,7 @@ class Iban implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function prettyPrint() : string { diff --git a/Stdlib/Base/Location.php b/Stdlib/Base/Location.php index 219ced3b0..e4c8a6f79 100644 --- a/Stdlib/Base/Location.php +++ b/Stdlib/Base/Location.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Location class. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Location implements \JsonSerializable, \Serializable { @@ -28,7 +28,7 @@ class Location implements \JsonSerializable, \Serializable /** * Location id * - * @var int + * @var int * @since 1.0.0 */ private int $id = 0; @@ -36,7 +36,7 @@ class Location implements \JsonSerializable, \Serializable /** * Zip or postal. * - * @var string + * @var string * @since 1.0.0 */ private string $postal = ''; @@ -44,7 +44,7 @@ class Location implements \JsonSerializable, \Serializable /** * Name of city. * - * @var string + * @var string * @since 1.0.0 */ private string $city = ''; @@ -52,7 +52,7 @@ class Location implements \JsonSerializable, \Serializable /** * Name of the country. * - * @var string + * @var string * @since 1.0.0 */ private string $country = ''; @@ -60,7 +60,7 @@ class Location implements \JsonSerializable, \Serializable /** * Street & district. * - * @var string + * @var string * @since 1.0.0 */ private string $address = ''; @@ -68,7 +68,7 @@ class Location implements \JsonSerializable, \Serializable /** * Address type * - * @var int + * @var int * @since 1.0.0 */ private int $type = AddressType::HOME; @@ -76,7 +76,7 @@ class Location implements \JsonSerializable, \Serializable /** * State. * - * @var string + * @var string * @since 1.0.0 */ private string $state = ''; @@ -84,7 +84,7 @@ class Location implements \JsonSerializable, \Serializable /** * Geo coordinates. * - * @var float[] + * @var float[] * @since 1.0.0 */ private array $geo = ['lat' => 0, 'long' => 0]; @@ -92,7 +92,7 @@ class Location implements \JsonSerializable, \Serializable /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -103,7 +103,7 @@ class Location implements \JsonSerializable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : int { @@ -115,7 +115,7 @@ class Location implements \JsonSerializable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -129,7 +129,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setType(int $type) : void { @@ -141,7 +141,7 @@ class Location implements \JsonSerializable, \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPostal() : string { @@ -155,7 +155,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPostal(string $postal) : void { @@ -167,7 +167,7 @@ class Location implements \JsonSerializable, \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCity() : string { @@ -181,7 +181,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCity(string $city) : void { @@ -193,7 +193,7 @@ class Location implements \JsonSerializable, \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCountry() : string { @@ -207,7 +207,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCountry(string $country) : void { @@ -219,7 +219,7 @@ class Location implements \JsonSerializable, \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getAddress() : string { @@ -233,7 +233,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAddress(string $address) : void { @@ -245,7 +245,7 @@ class Location implements \JsonSerializable, \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getState() : string { @@ -259,7 +259,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setState(string $state) : void { @@ -271,7 +271,7 @@ class Location implements \JsonSerializable, \Serializable * * @return float[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getGeo() : array { @@ -285,7 +285,7 @@ class Location implements \JsonSerializable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setGeo(array $geo) : void { diff --git a/Stdlib/Base/NullLocation.php b/Stdlib/Base/NullLocation.php index df13616b9..173d08aaa 100644 --- a/Stdlib/Base/NullLocation.php +++ b/Stdlib/Base/NullLocation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Location class. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullLocation extends Location { diff --git a/Stdlib/Base/PhoneType.php b/Stdlib/Base/PhoneType.php index a5e7a90b2..b59067ddb 100644 --- a/Stdlib/Base/PhoneType.php +++ b/Stdlib/Base/PhoneType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Base; /** * Phone type enum. * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PhoneType extends Enum { diff --git a/Stdlib/Base/SmartDateTime.php b/Stdlib/Base/SmartDateTime.php index 8ff02c6c4..313d0d78f 100644 --- a/Stdlib/Base/SmartDateTime.php +++ b/Stdlib/Base/SmartDateTime.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\Math\Functions\Functions; * * Providing smarter datetimes * - * @package phpOMS\Stdlib\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class SmartDateTime extends \DateTime { /** * Default format * - * @var string + * @var string * @since 1.0.0 */ public const FORMAT = 'Y-m-d hh:mm:ss'; @@ -39,7 +39,7 @@ class SmartDateTime extends \DateTime /** * Default timezone * - * @var string + * @var string * @since 1.0.0 */ public const TIMEZONE = 'UTC'; @@ -51,7 +51,7 @@ class SmartDateTime extends \DateTime * * @return SmartDateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function createFromDateTime(\DateTime $date) : self { @@ -68,7 +68,7 @@ class SmartDateTime extends \DateTime * * @return SmartDateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function createModify(int $y, int $m = 0, int $d = 0, int $calendar = \CAL_GREGORIAN) : self { @@ -88,7 +88,7 @@ class SmartDateTime extends \DateTime * * @return SmartDateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function smartModify(int $y, int $m = 0, int $d = 0, int $calendar = \CAL_GREGORIAN) : self { @@ -123,7 +123,7 @@ class SmartDateTime extends \DateTime * * @return SmartDateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getEndOfMonth() : self { @@ -135,7 +135,7 @@ class SmartDateTime extends \DateTime * * @return SmartDateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getStartOfMonth() : self { @@ -147,7 +147,7 @@ class SmartDateTime extends \DateTime * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getDaysOfMonth() : int { @@ -159,7 +159,7 @@ class SmartDateTime extends \DateTime * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getFirstDayOfMonth() : int { @@ -171,7 +171,7 @@ class SmartDateTime extends \DateTime * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isLeapYear() : bool { @@ -185,7 +185,7 @@ class SmartDateTime extends \DateTime * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function leapYear(int $year) : bool { @@ -215,7 +215,7 @@ class SmartDateTime extends \DateTime * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getDayOfWeek(int $y, int $m, int $d) : int { @@ -233,7 +233,7 @@ class SmartDateTime extends \DateTime * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getFirstDayOfWeek() : int { @@ -247,7 +247,7 @@ class SmartDateTime extends \DateTime * * @return \DateTime[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getMonthCalendar(int $weekStartsWith = 0) : array { diff --git a/Stdlib/Graph/BinaryTree.php b/Stdlib/Graph/BinaryTree.php index f5f2b387d..0d8218ac4 100644 --- a/Stdlib/Graph/BinaryTree.php +++ b/Stdlib/Graph/BinaryTree.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Graph - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Graph + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Graph; /** * Tree class. * - * @package phpOMS\Stdlib\Graph - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Graph + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @todo : there is a bug with Hungary ibans since they have two k (checksums) in their definition */ @@ -46,7 +46,7 @@ class BinaryTree extends Tree * * @return Node Left node * - * @since 1.0.0 + * @since 1.0.0 */ public function getLeft(Node $base) { @@ -63,7 +63,7 @@ class BinaryTree extends Tree * * @return Node Right node * - * @since 1.0.0 + * @since 1.0.0 */ public function getRight(Node $base) { @@ -81,7 +81,7 @@ class BinaryTree extends Tree * * @return BinaryTree * - * @since 1.0.0 + * @since 1.0.0 */ public function setLeft(Node $base, Node $left) : self { @@ -104,7 +104,7 @@ class BinaryTree extends Tree * * @return BinaryTree * - * @since 1.0.0 + * @since 1.0.0 */ public function setRight(Node $base, Node $right) /* : void */ { @@ -125,7 +125,7 @@ class BinaryTree extends Tree * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function inOrder(Node $node, \Closure $callback) : void { @@ -143,7 +143,7 @@ class BinaryTree extends Tree * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function getVerticalOrder(Node $node, int $horizontalDistance = 0, array &$order) : void { @@ -172,7 +172,7 @@ class BinaryTree extends Tree * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function verticalOrder(Node $node, \Closure $callback) : void { @@ -194,7 +194,7 @@ class BinaryTree extends Tree * * @return bool True if tree is symmetric, false if tree is not symmetric * - * @since 1.0.0 + * @since 1.0.0 */ public function isSymmetric(Node $node1 = null, Node $node2 = null) : bool { diff --git a/Stdlib/Graph/Edge.php b/Stdlib/Graph/Edge.php index 7a29f0800..3f6233f57 100644 --- a/Stdlib/Graph/Edge.php +++ b/Stdlib/Graph/Edge.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Graph - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Graph + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Graph; /** * Edge class. * - * @package phpOMS\Stdlib\Graph - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Graph + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Edge { @@ -29,7 +29,7 @@ class Edge * * In case of directed edges this is the from node/starting node. * - * @var Node + * @var Node * @since 1.0.0 */ private $node1 = null; @@ -39,7 +39,7 @@ class Edge * * In case of directed edges this is the to node/end node. * - * @var Node + * @var Node * @since 1.0.0 */ private $node2 = null; @@ -47,7 +47,7 @@ class Edge /** * Is graph/edge directed * - * @var bool + * @var bool * @since 1.0.0 */ private $isDirected = false; @@ -55,7 +55,7 @@ class Edge /** * Edge weight * - * @var float + * @var float * @since 1.0.0 */ private $weight = 0.0; @@ -69,7 +69,7 @@ class Edge * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(Node $node1, Node $node2, float $weight = 0.0, bool $isDirected = false) { @@ -84,7 +84,7 @@ class Edge * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getNodes() : array { @@ -96,7 +96,7 @@ class Edge * * @return Node * - * @since 1.0.0 + * @since 1.0.0 */ public function getNode1() : Node { @@ -108,7 +108,7 @@ class Edge * * @return Node * - * @since 1.0.0 + * @since 1.0.0 */ public function getNode2() : Node { @@ -120,7 +120,7 @@ class Edge * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public function getWeight() : float { @@ -133,7 +133,7 @@ class Edge * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isDirected() : bool { diff --git a/Stdlib/Graph/Graph.php b/Stdlib/Graph/Graph.php index e148438c1..4de1ba88f 100644 --- a/Stdlib/Graph/Graph.php +++ b/Stdlib/Graph/Graph.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Graph - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Graph + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Stdlib\Graph; /** * Tree class. * - * @package phpOMS\Stdlib\Graph - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Graph + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Graph { /** * Nodes. * - * @var array + * @var array * @since 1.0.0 */ protected $nodes = []; @@ -35,7 +35,7 @@ class Graph /** * Edges. * - * @var array + * @var array * @since 1.0.0 */ protected $edges = []; @@ -47,7 +47,7 @@ class Graph * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function addNode(Node $node) : self { @@ -64,7 +64,7 @@ class Graph * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function addNodeRelative(Node $relative, Node $node) : self { @@ -81,7 +81,7 @@ class Graph * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function setNode($key, Node $node) : self { @@ -97,7 +97,7 @@ class Graph * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function addEdge(Edge $edge) : self { @@ -114,7 +114,7 @@ class Graph * * @return Graph * - * @since 1.0.0 + * @since 1.0.0 */ public function setEdge($key, Edge $edge) /* : void */ { @@ -130,7 +130,7 @@ class Graph * * @return null|Node * - * @since 1.0.0 + * @since 1.0.0 */ public function getNode($key) : ?Node { @@ -142,7 +142,7 @@ class Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getNodes() : array { @@ -156,7 +156,7 @@ class Graph * * @return null|Edge * - * @since 1.0.0 + * @since 1.0.0 */ public function getEdge($key) : ?Edge { @@ -168,7 +168,7 @@ class Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getEdges() : array { @@ -182,7 +182,7 @@ class Graph * * @return Edge[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getEdgesOfNode($node) : array { @@ -209,7 +209,7 @@ class Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getNeighbors($node) : array { @@ -238,7 +238,7 @@ class Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getDimension() : int { @@ -251,7 +251,7 @@ class Graph * * @return Edge[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getBridges() : array { @@ -264,7 +264,7 @@ class Graph * * @return Tree * - * @since 1.0.0 + * @since 1.0.0 */ public function getKruskalMinimalSpanningTree() : Tree { @@ -277,7 +277,7 @@ class Graph * * @return Tree * - * @since 1.0.0 + * @since 1.0.0 */ public function getPrimMinimalSpanningTree() : Tree { @@ -290,7 +290,7 @@ class Graph * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getCircle() : array { @@ -302,7 +302,7 @@ class Graph * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getFloydWarshallShortestPath() : array { @@ -314,7 +314,7 @@ class Graph * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDijkstraShortestPath() : array { @@ -326,7 +326,7 @@ class Graph * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function depthFirstTraversal() : array { @@ -338,7 +338,7 @@ class Graph * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function breadthFirstTraversal() : array { @@ -350,7 +350,7 @@ class Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function longestPath() : array { @@ -365,7 +365,7 @@ class Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function longestPathBetweenNodes($node1, $node2) : array { @@ -387,7 +387,7 @@ class Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getOrder() : int { @@ -401,7 +401,7 @@ class Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSize() : int { @@ -415,7 +415,7 @@ class Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getDiameter() : int { diff --git a/Stdlib/Graph/Node.php b/Stdlib/Graph/Node.php index c2b1c3c15..9324633c0 100644 --- a/Stdlib/Graph/Node.php +++ b/Stdlib/Graph/Node.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Graph - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Graph + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Stdlib\Graph; /** * Node class. * - * @package phpOMS\Stdlib\Graph - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Graph + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @todo : there is a bug with Hungary ibans since they have two k (checksums) in their definition */ @@ -29,7 +29,7 @@ class Node /** * Node data. * - * @var mixed + * @var mixed * @since 1.0.0 */ private $data = null; @@ -39,7 +39,7 @@ class Node * * @param mixed $data Node data * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($data = null) { @@ -51,7 +51,7 @@ class Node * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function getData() { @@ -63,7 +63,7 @@ class Node * * @param mixed $data Node data * - * @since 1.0.0 + * @since 1.0.0 */ public function setData($data) : void { diff --git a/Stdlib/Graph/Tree.php b/Stdlib/Graph/Tree.php index d06b62acd..dc67718e4 100644 --- a/Stdlib/Graph/Tree.php +++ b/Stdlib/Graph/Tree.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Graph - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Graph + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Stdlib\Graph; /** * Tree class. * - * @package phpOMS\Stdlib\Graph - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Graph + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Tree extends Graph { /** * Root node. * - * @var Node + * @var Node * @since 1.0.0 */ private $root = null; @@ -35,7 +35,7 @@ class Tree extends Graph /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct() { @@ -51,7 +51,7 @@ class Tree extends Graph * * @return Tree * - * @since 1.0.0 + * @since 1.0.0 */ public function addRelativeNode(Node $base, Node $node) : self { @@ -68,7 +68,7 @@ class Tree extends Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getMaxDepth(Node $node = null) : int { @@ -95,7 +95,7 @@ class Tree extends Graph * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getMinDepth(Node $node = null) : int { @@ -125,7 +125,7 @@ class Tree extends Graph * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function levelOrder(Node $node, \Closure $callback) : void { @@ -144,7 +144,7 @@ class Tree extends Graph * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isLeaf(Node $node) : bool { @@ -159,7 +159,7 @@ class Tree extends Graph * * @return Node[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getLevelNodes(int $level, Node $node) : array { @@ -185,7 +185,7 @@ class Tree extends Graph * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function isFull(int $type) : bool { @@ -212,7 +212,7 @@ class Tree extends Graph * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function preOrder(Node $node, \Closure $callback) : void { @@ -237,7 +237,7 @@ class Tree extends Graph * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function postOrder(Node $node, \Closure $callback) : void { diff --git a/Stdlib/Map/KeyType.php b/Stdlib/Map/KeyType.php index 5b5b22a93..bc7b84fa4 100644 --- a/Stdlib/Map/KeyType.php +++ b/Stdlib/Map/KeyType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Map - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Map + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * These keys specify how the multi map works. * - * @package phpOMS\Stdlib\Map - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Map + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class KeyType extends Enum { diff --git a/Stdlib/Map/MultiMap.php b/Stdlib/Map/MultiMap.php index 7e39db7b2..8574172d7 100644 --- a/Stdlib/Map/MultiMap.php +++ b/Stdlib/Map/MultiMap.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Map - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Map + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Utils\Permutation; /** * Multimap utils. * - * @package phpOMS\Stdlib\Map - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Map + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class MultiMap implements \Countable { @@ -30,7 +30,7 @@ class MultiMap implements \Countable /** * Stored values. * - * @var array + * @var array * @since 1.0.0 */ private array $values = []; @@ -38,7 +38,7 @@ class MultiMap implements \Countable /** * Associated keys for values. * - * @var array + * @var array * @since 1.0.0 */ private array $keys = []; @@ -46,7 +46,7 @@ class MultiMap implements \Countable /** * Key type. * - * @var int + * @var int * @since 1.0.0 */ private int $keyType = KeyType::SINGLE; @@ -54,7 +54,7 @@ class MultiMap implements \Countable /** * Order type. * - * @var int + * @var int * @since 1.0.0 */ private int $orderType = OrderType::LOOSE; @@ -65,7 +65,7 @@ class MultiMap implements \Countable * @param int $key Key type (all keys need to match or just one) * @param int $order Order of the keys is important (only required for multiple keys) * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $key = KeyType::SINGLE, int $order = OrderType::LOOSE) { @@ -82,7 +82,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function add(array $keys, $value, bool $overwrite = true) : bool { @@ -117,7 +117,7 @@ class MultiMap implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function garbageCollect() : void { @@ -130,7 +130,7 @@ class MultiMap implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function garbageCollectKeys() : void { @@ -146,7 +146,7 @@ class MultiMap implements \Countable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function garbageCollectValues() : void { @@ -164,7 +164,7 @@ class MultiMap implements \Countable * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function get($key) { @@ -182,7 +182,7 @@ class MultiMap implements \Countable * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private function getSingle($key) { @@ -196,7 +196,7 @@ class MultiMap implements \Countable * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ private function getMultiple($key) { @@ -228,7 +228,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function set($key, $value) : bool { @@ -247,7 +247,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function setMultiple($key, $value) : bool { @@ -275,7 +275,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function setSingle($key, $value) : bool { @@ -295,7 +295,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remove($key) : bool { @@ -313,7 +313,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function removeMultiple($key) : bool { @@ -343,7 +343,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function removeSingle($key) : bool { @@ -370,7 +370,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function remap($old, $new) : bool { @@ -398,7 +398,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeKey($key) : bool { @@ -418,7 +418,7 @@ class MultiMap implements \Countable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function removeKeySingle($key) : bool { @@ -440,7 +440,7 @@ class MultiMap implements \Countable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getSiblings($key) : array { @@ -459,7 +459,7 @@ class MultiMap implements \Countable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getSiblingsMultiple($key) : array { @@ -479,7 +479,7 @@ class MultiMap implements \Countable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function getSiblingsSingle($key) : array { @@ -503,7 +503,7 @@ class MultiMap implements \Countable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function keys() : array { @@ -515,7 +515,7 @@ class MultiMap implements \Countable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function values() : array { @@ -527,7 +527,7 @@ class MultiMap implements \Countable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function count() : int { diff --git a/Stdlib/Map/OrderType.php b/Stdlib/Map/OrderType.php index 76f77ac0f..590aa7a5b 100644 --- a/Stdlib/Map/OrderType.php +++ b/Stdlib/Map/OrderType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Map - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Map + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Specifies if keys in the map can be ordered in any way or need to match the exact order. * - * @package phpOMS\Stdlib\Map - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Map + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class OrderType extends Enum { diff --git a/Stdlib/Queue/PriorityMode.php b/Stdlib/Queue/PriorityMode.php index 016fa2427..3984cc7ad 100644 --- a/Stdlib/Queue/PriorityMode.php +++ b/Stdlib/Queue/PriorityMode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Queue - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Queue + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Defines the different priorities in which elements from the queue can be extracted. * - * @package phpOMS\Stdlib\Queue - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Queue + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PriorityMode extends Enum { diff --git a/Stdlib/Queue/PriorityQueue.php b/Stdlib/Queue/PriorityQueue.php index 65446097d..ba68df285 100644 --- a/Stdlib/Queue/PriorityQueue.php +++ b/Stdlib/Queue/PriorityQueue.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Stdlib\Queue - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Stdlib\Queue + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Priority queue class. * - * @package phpOMS\Stdlib\Queue - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Stdlib\Queue + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PriorityQueue implements \Countable, \Serializable { /** * Queue type. * - * @var int + * @var int * @since 1.0.0 */ private int $type = PriorityMode::FIFO; @@ -37,7 +37,7 @@ class PriorityQueue implements \Countable, \Serializable /** * Queue. * - * @var array + * @var array * @since 1.0.0 */ private array $queue = []; @@ -47,7 +47,7 @@ class PriorityQueue implements \Countable, \Serializable * * @throws InvalidEnumValue This exception is thrown if the priority mode is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(int $type = PriorityMode::FIFO) { @@ -63,7 +63,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -78,7 +78,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function insert($data, float $priority = 1.0) : int { @@ -108,7 +108,7 @@ class PriorityQueue implements \Countable, \Serializable * * @throws InvalidEnumValue * - * @since 1.0.0 + * @since 1.0.0 */ private function getInsertPosition(float $priority) : int { @@ -133,7 +133,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getInsertFIFO(float $priority) : int { @@ -147,7 +147,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getInsertLIFO(float $priority) : int { @@ -161,7 +161,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getInsertHighest(float $priority) : int { @@ -184,7 +184,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private function getInsertLowest(float $priority) : int { @@ -207,7 +207,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function increaseAll(float $increase = 1.0) : void { @@ -221,7 +221,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function pop() : array { @@ -235,7 +235,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function delete($id) : bool { @@ -256,7 +256,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPriority($id, float $priority) : void { @@ -283,7 +283,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function get($id) : array { @@ -295,7 +295,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getAll() : array { @@ -325,7 +325,7 @@ class PriorityQueue implements \Countable, \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function unserialize($data) : void { diff --git a/System/File/ContainerInterface.php b/System/File/ContainerInterface.php index 656f2056d..67871909c 100644 --- a/System/File/ContainerInterface.php +++ b/System/File/ContainerInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\System\File; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ContainerInterface { @@ -35,7 +35,7 @@ interface ContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getCount(bool $recursive = false) : int; @@ -46,7 +46,7 @@ interface ContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSize(bool $recursive = false) : int; @@ -55,7 +55,7 @@ interface ContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string; @@ -64,7 +64,7 @@ interface ContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPath() : string; @@ -75,7 +75,7 @@ interface ContainerInterface * * @return ContainerInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function getParent() : self; @@ -84,7 +84,7 @@ interface ContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function createNode() : bool; @@ -96,7 +96,7 @@ interface ContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function copyNode(string $to, bool $overwrite = false) : bool; @@ -108,7 +108,7 @@ interface ContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function moveNode(string $to, bool $overwrite = false) : bool; @@ -117,7 +117,7 @@ interface ContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function deleteNode() : bool; @@ -126,7 +126,7 @@ interface ContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getCreatedAt() : \DateTime; @@ -135,7 +135,7 @@ interface ContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getChangedAt() : \DateTime; @@ -144,7 +144,7 @@ interface ContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getOwner() : int; @@ -153,7 +153,7 @@ interface ContainerInterface * * @return int Permissions (e.g. 0755); * - * @since 1.0.0 + * @since 1.0.0 */ public function getPermission() : int; @@ -165,7 +165,7 @@ interface ContainerInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function index() : void; } diff --git a/System/File/ContentPutMode.php b/System/File/ContentPutMode.php index 6e3a9ee7e..387bbb601 100644 --- a/System/File/ContentPutMode.php +++ b/System/File/ContentPutMode.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Defines how the content manipulation should be handled. * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ContentPutMode extends Enum { diff --git a/System/File/DirectoryInterface.php b/System/File/DirectoryInterface.php index 92df47b1e..05ee04e9e 100644 --- a/System/File/DirectoryInterface.php +++ b/System/File/DirectoryInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\System\File; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface DirectoryInterface extends ContainerInterface, \Iterator, \ArrayAccess { @@ -33,7 +33,7 @@ interface DirectoryInterface extends ContainerInterface, \Iterator, \ArrayAccess * * @return null|ContainerInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function getNode(string $name) : ?ContainerInterface; @@ -44,7 +44,7 @@ interface DirectoryInterface extends ContainerInterface, \Iterator, \ArrayAccess * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function addNode($file) : bool; } diff --git a/System/File/ExtensionType.php b/System/File/ExtensionType.php index cb7dce5e4..8481d9a00 100644 --- a/System/File/ExtensionType.php +++ b/System/File/ExtensionType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Defines what kind of category a file belongs to. * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ExtensionType extends Enum { diff --git a/System/File/FileInterface.php b/System/File/FileInterface.php index dafe319d4..a7f0467d6 100644 --- a/System/File/FileInterface.php +++ b/System/File/FileInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\System\File; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface FileInterface extends ContainerInterface { @@ -35,7 +35,7 @@ interface FileInterface extends ContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function putContent(string $content, int $mode = ContentPutMode::APPEND | ContentPutMode::CREATE) : bool; @@ -48,7 +48,7 @@ interface FileInterface extends ContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function setContent(string $content) : bool; @@ -61,7 +61,7 @@ interface FileInterface extends ContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function appendContent(string $content) : bool; @@ -74,7 +74,7 @@ interface FileInterface extends ContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function prependContent(string $content) : bool; @@ -83,7 +83,7 @@ interface FileInterface extends ContainerInterface * * @return string Content of file * - * @since 1.0.0 + * @since 1.0.0 */ public function getContent() : string; @@ -92,7 +92,7 @@ interface FileInterface extends ContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getExtension() : string; } diff --git a/System/File/FileUtils.php b/System/File/FileUtils.php index d07d39591..ca1bf400e 100644 --- a/System/File/FileUtils.php +++ b/System/File/FileUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\System\File; /** * Path exception class. * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class FileUtils { @@ -40,7 +40,7 @@ final class FileUtils /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -55,7 +55,7 @@ final class FileUtils * * @return int Extension type * - * @since 1.0.0 + * @since 1.0.0 */ public static function getExtensionType(string $extension) : int { @@ -95,7 +95,7 @@ final class FileUtils * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function absolute(string $origPath) : string { @@ -133,7 +133,7 @@ final class FileUtils * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function changeFileEncoding(string $file, string $encoding) : void { @@ -154,7 +154,7 @@ final class FileUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function permissionToOctal(string $permission) : int { diff --git a/System/File/Ftp/Directory.php b/System/File/Ftp/Directory.php index dfcba6b8f..0780861f1 100644 --- a/System/File/Ftp/Directory.php +++ b/System/File/Ftp/Directory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Ftp - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Ftp + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -26,17 +26,17 @@ use phpOMS\Uri\Http; * * Performing operations on the file system * - * @package phpOMS\System\File\Ftp - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Ftp + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Directory extends FileAbstract implements FtpContainerInterface, DirectoryInterface { /** * Directory nodes (files and directories). * - * @var FileAbstract[] + * @var FileAbstract[] * @since 1.0.0 */ private array $nodes = []; @@ -48,7 +48,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function ftpConnect(Http $http) { @@ -76,7 +76,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function list($con, string $path, string $filter = '*') : array { @@ -118,7 +118,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function create($con, string $path, int $permission = 0755, bool $recursive = false) : bool { @@ -288,7 +288,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function parseRawList($con, string $path) : array { @@ -367,7 +367,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function get($con, string $from, string $to) : bool { @@ -400,7 +400,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function put($con, string $from, string $to) : bool { @@ -440,7 +440,7 @@ class Directory extends FileAbstract implements FtpContainerInterface, Directory * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function move($con, string $from, string $to, bool $overwrite = false) : bool { diff --git a/System/File/Ftp/File.php b/System/File/Ftp/File.php index 203a5a53b..29c17b879 100644 --- a/System/File/Ftp/File.php +++ b/System/File/Ftp/File.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Ftp - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Ftp + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -29,17 +29,17 @@ use phpOMS\Uri\Http; * * All static implementations require a path/uri in the following form: ftp://user:pass@domain.com/path/subpath... * - * @package phpOMS\System\File\Ftp - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Ftp + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class File extends FileAbstract implements FileInterface { /** * Ftp connection * - * @var resource + * @var resource * @since 1.0.0 */ private $con = null; @@ -47,7 +47,7 @@ class File extends FileAbstract implements FileInterface /** * Ftp connection uri. * - * @var null|Http + * @var null|Http * @since 1.0.0 */ private ?Http $uri = null; @@ -65,7 +65,7 @@ class File extends FileAbstract implements FileInterface * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function ftpConnect(Http $http) { @@ -396,7 +396,7 @@ class File extends FileAbstract implements FileInterface * * @return ContainerInterface * - * @since 1.0.0 + * @since 1.0.0 */ public function getParent() : ContainerInterface { @@ -408,7 +408,7 @@ class File extends FileAbstract implements FileInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function createNode() : bool { @@ -423,7 +423,7 @@ class File extends FileAbstract implements FileInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function copyNode(string $to, bool $overwrite = false) : bool { @@ -438,7 +438,7 @@ class File extends FileAbstract implements FileInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function moveNode(string $to, bool $overwrite = false) : bool { @@ -450,7 +450,7 @@ class File extends FileAbstract implements FileInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public function deleteNode() : bool { @@ -465,7 +465,7 @@ class File extends FileAbstract implements FileInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function putContent(string $content, int $mode = ContentPutMode::APPEND | ContentPutMode::CREATE) : bool { @@ -481,7 +481,7 @@ class File extends FileAbstract implements FileInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function setContent(string $content) : bool { @@ -497,7 +497,7 @@ class File extends FileAbstract implements FileInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function appendContent(string $content) : bool { @@ -513,7 +513,7 @@ class File extends FileAbstract implements FileInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function prependContent(string $content) : bool { @@ -525,7 +525,7 @@ class File extends FileAbstract implements FileInterface * * @return string Content of file * - * @since 1.0.0 + * @since 1.0.0 */ public function getContent() : string { @@ -537,7 +537,7 @@ class File extends FileAbstract implements FileInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getExtension() : string { diff --git a/System/File/Ftp/FileAbstract.php b/System/File/Ftp/FileAbstract.php index 5732e30d5..37eb21543 100644 --- a/System/File/Ftp/FileAbstract.php +++ b/System/File/Ftp/FileAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Ftp - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Ftp + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\System\File\ContainerInterface; * * Performing operations on the file system * - * @package phpOMS\System\File\Ftp - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Ftp + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FileAbstract implements ContainerInterface { /** * Path. * - * @var string + * @var string * @since 1.0.0 */ protected string $path = ''; @@ -39,7 +39,7 @@ abstract class FileAbstract implements ContainerInterface /** * Name. * - * @var string + * @var string * @since 1.0.0 */ protected string $name = 'new_directory'; @@ -47,7 +47,7 @@ abstract class FileAbstract implements ContainerInterface /** * Directory/File count. * - * @var int + * @var int * @since 1.0.0 */ protected int $count = 0; @@ -55,7 +55,7 @@ abstract class FileAbstract implements ContainerInterface /** * Directory/Filesize in bytes. * - * @var int + * @var int * @since 1.0.0 */ protected int $size = 0; @@ -63,7 +63,7 @@ abstract class FileAbstract implements ContainerInterface /** * Created at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $createdAt = null; @@ -71,7 +71,7 @@ abstract class FileAbstract implements ContainerInterface /** * Last changed at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $changedAt = null; @@ -79,7 +79,7 @@ abstract class FileAbstract implements ContainerInterface /** * Owner. * - * @var int + * @var int * @since 1.0.0 */ protected int $owner = 0; @@ -87,7 +87,7 @@ abstract class FileAbstract implements ContainerInterface /** * Permission. * - * @var int + * @var int * @since 1.0.0 */ protected int $permission = 0755; @@ -97,7 +97,7 @@ abstract class FileAbstract implements ContainerInterface * * @param string $path Path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path) { diff --git a/System/File/Ftp/FtpContainerInterface.php b/System/File/Ftp/FtpContainerInterface.php index 651871af9..7631ba45d 100644 --- a/System/File/Ftp/FtpContainerInterface.php +++ b/System/File/Ftp/FtpContainerInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\System\File\Ftp; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface FtpContainerInterface { @@ -34,7 +34,7 @@ interface FtpContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function created($con, string $path) : \DateTime; @@ -46,7 +46,7 @@ interface FtpContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function changed($con, string $path) : \DateTime; @@ -58,7 +58,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function owner($con, string $path) : string; @@ -70,7 +70,7 @@ interface FtpContainerInterface * * @return int Permissions (e.g. 0755); * - * @since 1.0.0 + * @since 1.0.0 */ public static function permission($con, string $path) : int; @@ -83,7 +83,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function parent(string $path) : string; @@ -95,7 +95,7 @@ interface FtpContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function delete($con, string $path) : bool; @@ -109,7 +109,7 @@ interface FtpContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function copy($con, string $from, string $to, bool $overwrite = false) : bool; @@ -123,7 +123,7 @@ interface FtpContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function move($con, string $from, string $to, bool $overwrite = false) : bool; @@ -136,7 +136,7 @@ interface FtpContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function size($con, string $path, bool $recursive = true) : int; @@ -148,7 +148,7 @@ interface FtpContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function exists($con, string $path) : bool; @@ -159,7 +159,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function name(string $path) : string; @@ -170,7 +170,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function basename(string $path) : string; @@ -181,7 +181,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirname(string $path) : string; @@ -192,7 +192,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirpath(string $path) : string; @@ -206,7 +206,7 @@ interface FtpContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function count($con, string $path, bool $recursive = true, array $ignore = []) : int; @@ -219,7 +219,7 @@ interface FtpContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function sanitize(string $path, string $replace = '', string $invalid = '/[^\w\s\d\.\-_~,;\/\[\]\(\]]/') : string; } diff --git a/System/File/Ftp/FtpStorage.php b/System/File/Ftp/FtpStorage.php index 802c4aca8..fb7343dd9 100644 --- a/System/File/Ftp/FtpStorage.php +++ b/System/File/Ftp/FtpStorage.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Ftp - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Ftp + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\System\File\StorageAbstract; * * Performing operations on the file system * - * @package phpOMS\System\File\Ftp - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Ftp + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class FtpStorage extends StorageAbstract diff --git a/System/File/Local/Directory.php b/System/File/Local/Directory.php index 6d7a90d9f..7e5a41f99 100644 --- a/System/File/Local/Directory.php +++ b/System/File/Local/Directory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Local - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Local + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,17 +24,17 @@ use phpOMS\Utils\StringUtils; * * Performing operations on the file system * - * @package phpOMS\System\File\Local - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Local + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Directory extends FileAbstract implements LocalContainerInterface, DirectoryInterface { /** * Directory list filter. * - * @var string + * @var string * @since 1.0.0 */ private string $filter = '*'; @@ -42,7 +42,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D /** * Directory nodes (files and directories). * - * @var FileAbstract[] + * @var FileAbstract[] * @since 1.0.0 */ private array $nodes = []; @@ -53,7 +53,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D * @param string $path Path * @param string $filter Filter * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path, string $filter = '*') { @@ -73,7 +73,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function list(string $path, string $filter = '*') : array { @@ -108,7 +108,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function listByExtension(string $path, string $extension = '', string $exclude = '') : array { @@ -200,7 +200,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function count(string $path, bool $recursive = true, array $ignore = []) : int { @@ -433,7 +433,7 @@ final class Directory extends FileAbstract implements LocalContainerInterface, D * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function create(string $path, int $permission = 0755, bool $recursive = false) : bool { diff --git a/System/File/Local/File.php b/System/File/Local/File.php index d571044b3..37d479b35 100644 --- a/System/File/Local/File.php +++ b/System/File/Local/File.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Local - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Local + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,10 +24,10 @@ use phpOMS\System\File\PathException; * * Performing operations on the file system * - * @package phpOMS\System\File\Local - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Local + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class File extends FileAbstract implements LocalContainerInterface, FileInterface { @@ -37,7 +37,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @param string $path Path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path) { @@ -68,7 +68,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function put(string $path, string $content, int $mode = ContentPutMode::REPLACE | ContentPutMode::CREATE) : bool { @@ -108,7 +108,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return string Content of file * - * @since 1.0.0 + * @since 1.0.0 */ public static function get(string $path) : string { @@ -139,7 +139,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function set(string $path, string $content) : bool { @@ -156,7 +156,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function append(string $path, string $content) : bool { @@ -173,7 +173,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function prepend(string $path, string $content) : bool { @@ -239,7 +239,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ private static function createFileTime(int $time) : \DateTime { @@ -536,7 +536,7 @@ final class File extends FileAbstract implements LocalContainerInterface, FileIn * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function extension(string $path) : string { diff --git a/System/File/Local/FileAbstract.php b/System/File/Local/FileAbstract.php index 5bdafd7e1..01e0af2b6 100644 --- a/System/File/Local/FileAbstract.php +++ b/System/File/Local/FileAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Local - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Local + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,17 +21,17 @@ use phpOMS\System\File\ContainerInterface; * * Performing operations on the file system * - * @package phpOMS\System\File\Local - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Local + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FileAbstract implements ContainerInterface { /** * Path. * - * @var string + * @var string * @since 1.0.0 */ protected string $path = ''; @@ -39,7 +39,7 @@ abstract class FileAbstract implements ContainerInterface /** * Name. * - * @var string + * @var string * @since 1.0.0 */ protected string $name = 'new_directory'; @@ -47,7 +47,7 @@ abstract class FileAbstract implements ContainerInterface /** * Directory/File count. * - * @var int + * @var int * @since 1.0.0 */ protected int $count = 0; @@ -55,7 +55,7 @@ abstract class FileAbstract implements ContainerInterface /** * Directory/Filesize in bytes. * - * @var int + * @var int * @since 1.0.0 */ protected int $size = 0; @@ -63,7 +63,7 @@ abstract class FileAbstract implements ContainerInterface /** * Created at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $createdAt = null; @@ -71,7 +71,7 @@ abstract class FileAbstract implements ContainerInterface /** * Last changed at. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ protected ?\DateTime $changedAt = null; @@ -79,7 +79,7 @@ abstract class FileAbstract implements ContainerInterface /** * Owner. * - * @var int + * @var int * @since 1.0.0 */ protected int $owner = 0; @@ -87,7 +87,7 @@ abstract class FileAbstract implements ContainerInterface /** * Permission. * - * @var int + * @var int * @since 1.0.0 */ protected int $permission = 0755; @@ -97,7 +97,7 @@ abstract class FileAbstract implements ContainerInterface * * @param string $path Path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path) { diff --git a/System/File/Local/LocalContainerInterface.php b/System/File/Local/LocalContainerInterface.php index f8f353393..38b1505b7 100644 --- a/System/File/Local/LocalContainerInterface.php +++ b/System/File/Local/LocalContainerInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\System\File\Local; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface LocalContainerInterface { @@ -33,7 +33,7 @@ interface LocalContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function created(string $path) : \DateTime; @@ -44,7 +44,7 @@ interface LocalContainerInterface * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function changed(string $path) : \DateTime; @@ -55,7 +55,7 @@ interface LocalContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function owner(string $path) : int; @@ -66,7 +66,7 @@ interface LocalContainerInterface * * @return int Permissions (e.g. 0755); * - * @since 1.0.0 + * @since 1.0.0 */ public static function permission(string $path) : int; @@ -79,7 +79,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function parent(string $path) : string; @@ -90,7 +90,7 @@ interface LocalContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function delete(string $path) : bool; @@ -103,7 +103,7 @@ interface LocalContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function copy(string $from, string $to, bool $overwrite = false) : bool; @@ -116,7 +116,7 @@ interface LocalContainerInterface * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function move(string $from, string $to, bool $overwrite = false) : bool; @@ -128,7 +128,7 @@ interface LocalContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function size(string $path, bool $recursive = true) : int; @@ -139,7 +139,7 @@ interface LocalContainerInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function exists(string $path) : bool; @@ -150,7 +150,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function name(string $path) : string; @@ -161,7 +161,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function basename(string $path) : string; @@ -172,7 +172,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirname(string $path) : string; @@ -183,7 +183,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirpath(string $path) : string; @@ -196,7 +196,7 @@ interface LocalContainerInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function count(string $path, bool $recursive = true, array $ignore = []) : int; @@ -209,7 +209,7 @@ interface LocalContainerInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function sanitize(string $path, string $replace = '', string $invalid = '/[^\w\s\d\.\-_~,;\/\[\]\(\]]/') : string; } diff --git a/System/File/Local/LocalStorage.php b/System/File/Local/LocalStorage.php index 5a5b1b20a..44654eab9 100644 --- a/System/File/Local/LocalStorage.php +++ b/System/File/Local/LocalStorage.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File\Local - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File\Local + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,17 +22,17 @@ use phpOMS\System\File\StorageAbstract; * * Performing operations on the file system * - * @package phpOMS\System\File\Local - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File\Local + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LocalStorage extends StorageAbstract { /** * Storage instance. * - * @var LocalStorage + * @var LocalStorage * @since 1.0.0 */ private static ?self $instance = null; @@ -42,7 +42,7 @@ class LocalStorage extends StorageAbstract * * @return StorageAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public static function getInstance() : StorageAbstract { diff --git a/System/File/PathException.php b/System/File/PathException.php index 1d1873299..4497829e4 100644 --- a/System/File/PathException.php +++ b/System/File/PathException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\System\File; /** * Path exception class. * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class PathException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ final class PathException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/System/File/PermissionException.php b/System/File/PermissionException.php index 07e124414..f049bee7a 100644 --- a/System/File/PermissionException.php +++ b/System/File/PermissionException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\System\File; /** * Permission exception class. * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class PermissionException extends \RuntimeException { @@ -31,7 +31,7 @@ final class PermissionException extends \RuntimeException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/System/File/Storage.php b/System/File/Storage.php index 54527a2c2..b4f36ce7b 100644 --- a/System/File/Storage.php +++ b/System/File/Storage.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\System\File; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Storage { /** * Registered storage. * - * @var array + * @var array * @since 1.0.0 */ private static array $registered = []; @@ -37,7 +37,7 @@ final class Storage /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -54,7 +54,7 @@ final class Storage * * @throws \Exception Throws exception in case of invalid storage * - * @since 1.0.0 + * @since 1.0.0 */ public static function env(string $env = 'local') : StorageAbstract { @@ -92,7 +92,7 @@ final class Storage * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function register(string $name, $class) : bool { diff --git a/System/File/StorageAbstract.php b/System/File/StorageAbstract.php index 920b82ca9..a64c2e37e 100644 --- a/System/File/StorageAbstract.php +++ b/System/File/StorageAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System\File - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System\File + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\System\File; * * Performing operations on the file system * - * @package phpOMS\System\File - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System\File + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class StorageAbstract { /** * Storage type. * - * @var int + * @var int * @since 1.0.0 */ protected int $type = 0; @@ -39,7 +39,7 @@ abstract class StorageAbstract * * @return StorageAbstract storage instance * - * @since 1.0.0 + * @since 1.0.0 */ abstract public static function getInstance() : self; @@ -50,7 +50,7 @@ abstract class StorageAbstract * * @return string Class namespace * - * @since 1.0.0 + * @since 1.0.0 */ abstract protected static function getClassType(string $path) : string; @@ -59,7 +59,7 @@ abstract class StorageAbstract * * @return int storage type * - * @since 1.0.0 + * @since 1.0.0 */ public function getType() : int { @@ -73,7 +73,7 @@ abstract class StorageAbstract * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function created(string $path) : \DateTime { @@ -87,7 +87,7 @@ abstract class StorageAbstract * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function changed(string $path) : \DateTime { @@ -101,7 +101,7 @@ abstract class StorageAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function owner(string $path) : int { @@ -115,7 +115,7 @@ abstract class StorageAbstract * * @return int Permissions (e.g. 0755); * - * @since 1.0.0 + * @since 1.0.0 */ public static function permission(string $path) : int { @@ -131,7 +131,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function parent(string $path) : string { @@ -145,7 +145,7 @@ abstract class StorageAbstract * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function delete(string $path) : bool { @@ -161,7 +161,7 @@ abstract class StorageAbstract * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function copy(string $from, string $to, bool $overwrite = false) : bool { @@ -177,7 +177,7 @@ abstract class StorageAbstract * * @return bool True on success and false on failure * - * @since 1.0.0 + * @since 1.0.0 */ public static function move(string $from, string $to, bool $overwrite = false) : bool { @@ -192,7 +192,7 @@ abstract class StorageAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function size(string $path, bool $recursive = true) : int { @@ -206,7 +206,7 @@ abstract class StorageAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function exists(string $path) : bool { @@ -220,7 +220,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function name(string $path) : string { @@ -234,7 +234,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function basename(string $path) : string { @@ -248,7 +248,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirname(string $path) : string { @@ -262,7 +262,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function dirpath(string $path) : string { @@ -278,7 +278,7 @@ abstract class StorageAbstract * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function count(string $path, bool $recursive = true, array $ignore = []) : int { @@ -294,7 +294,7 @@ abstract class StorageAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function sanitize(string $path, string $replace = '', string $invalid = '/[^\w\s\d\.\-_~,;\/\[\]\(\]]/') : string { diff --git a/System/MimeType.php b/System/MimeType.php index 831c1761c..94397ab70 100644 --- a/System/MimeType.php +++ b/System/MimeType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Stdlib\Base\Enum; * * Common mime types which can be helpful for responses where a specific mime needs to be set. * - * @package phpOMS\System - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class MimeType extends Enum { diff --git a/System/OperatingSystem.php b/System/OperatingSystem.php index a049f94e7..d6e777df0 100644 --- a/System/OperatingSystem.php +++ b/System/OperatingSystem.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\System; /** * Operating system class. * - * @package phpOMS\System - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class OperatingSystem { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -39,7 +39,7 @@ final class OperatingSystem * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getSystem() : int { diff --git a/System/SystemType.php b/System/SystemType.php index ae619ddbc..19ed42277 100644 --- a/System/SystemType.php +++ b/System/SystemType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Operating system type enum. * - * @package phpOMS\System - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SystemType extends Enum { diff --git a/System/SystemUtils.php b/System/SystemUtils.php index 372075340..52243fcf4 100644 --- a/System/SystemUtils.php +++ b/System/SystemUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\System - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\System + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\System; /** * System utils * - * @package phpOMS\System - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\System + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class SystemUtils { @@ -28,7 +28,7 @@ final class SystemUtils /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -40,7 +40,7 @@ final class SystemUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRAM() : int { @@ -77,7 +77,7 @@ final class SystemUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getRAMUsage() : int { @@ -105,7 +105,7 @@ final class SystemUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCpuUsage() : int { diff --git a/UnhandledHandler.php b/UnhandledHandler.php index 594ab94e7..cf30c5c3f 100644 --- a/UnhandledHandler.php +++ b/UnhandledHandler.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -32,7 +32,7 @@ final class UnhandledHandler * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public static function exceptionHandler(\Throwable $e) : void @@ -55,7 +55,7 @@ final class UnhandledHandler * * @return bool Returns true if the error could be logged otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function errorHandler(int $errno, string $errstr, string $errfile, int $errline) : bool { @@ -83,7 +83,7 @@ final class UnhandledHandler * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public static function shutdownHandler() : void diff --git a/Uri/Argument.php b/Uri/Argument.php index b4a1d3843..a4f22efbd 100644 --- a/Uri/Argument.php +++ b/Uri/Argument.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Utils\StringUtils; * * Considers arguments used in ca CLI as uri * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -34,7 +34,7 @@ final class Argument implements UriInterface /** * Root path. * - * @var string + * @var string * @since 1.0.0 */ private string $rootPath = '/'; @@ -42,7 +42,7 @@ final class Argument implements UriInterface /** * Path offset. * - * @var int + * @var int * @since 1.0.0 */ private int $pathOffset = 0; @@ -50,7 +50,7 @@ final class Argument implements UriInterface /** * Path elements. * - * @var array + * @var array * @since 1.0.0 */ private array $pathElements = []; @@ -58,7 +58,7 @@ final class Argument implements UriInterface /** * Uri. * - * @var string + * @var string * @since 1.0.0 */ private string $uri = ''; @@ -66,7 +66,7 @@ final class Argument implements UriInterface /** * Uri scheme. * - * @var string + * @var string * @since 1.0.0 */ private string $scheme = ''; @@ -74,7 +74,7 @@ final class Argument implements UriInterface /** * Uri host. * - * @var string + * @var string * @since 1.0.0 */ private string $host = ''; @@ -82,7 +82,7 @@ final class Argument implements UriInterface /** * Uri port. * - * @var int + * @var int * @since 1.0.0 */ private int $port = 0; @@ -90,7 +90,7 @@ final class Argument implements UriInterface /** * Uri user. * - * @var string + * @var string * @since 1.0.0 */ private string $user = ''; @@ -98,7 +98,7 @@ final class Argument implements UriInterface /** * Uri password. * - * @var string + * @var string * @since 1.0.0 */ private string $pass = ''; @@ -106,7 +106,7 @@ final class Argument implements UriInterface /** * Uri path. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -114,7 +114,7 @@ final class Argument implements UriInterface /** * Uri query. * - * @var array + * @var array * @since 1.0.0 */ private array $query = []; @@ -122,7 +122,7 @@ final class Argument implements UriInterface /** * Uri query. * - * @var string + * @var string * @since 1.0.0 */ private string $queryString = ''; @@ -130,7 +130,7 @@ final class Argument implements UriInterface /** * Uri fragment. * - * @var string + * @var string * @since 1.0.0 */ private string $fragment = ''; @@ -138,7 +138,7 @@ final class Argument implements UriInterface /** * Uri base. * - * @var string + * @var string * @since 1.0.0 */ private string $base = ''; @@ -148,7 +148,7 @@ final class Argument implements UriInterface * * @param string $uri Uri * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $uri = '') { @@ -174,7 +174,7 @@ final class Argument implements UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function setPath(string $uri) : void { @@ -213,7 +213,7 @@ final class Argument implements UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function setQuery(string $uri) : void { @@ -238,7 +238,7 @@ final class Argument implements UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function setFragment(string $uri) : void { @@ -326,7 +326,7 @@ final class Argument implements UriInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPathOffset() : int { diff --git a/Uri/Http.php b/Uri/Http.php index dff23de2b..f7cb4c238 100644 --- a/Uri/Http.php +++ b/Uri/Http.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Utils\StringUtils; * * Uri used for http requests (incoming & outgoing) * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.Superglobals) */ @@ -34,7 +34,7 @@ final class Http implements UriInterface /** * Root path. * - * @var string + * @var string * @since 1.0.0 */ private string $rootPath = ''; @@ -42,7 +42,7 @@ final class Http implements UriInterface /** * Path offset. * - * @var int + * @var int * @since 1.0.0 */ private int $pathOffset = 0; @@ -50,7 +50,7 @@ final class Http implements UriInterface /** * Path elements. * - * @var array + * @var array * @since 1.0.0 */ private array $pathElements = []; @@ -58,7 +58,7 @@ final class Http implements UriInterface /** * Uri. * - * @var string + * @var string * @since 1.0.0 */ private string $uri = ''; @@ -66,7 +66,7 @@ final class Http implements UriInterface /** * Uri scheme. * - * @var string + * @var string * @since 1.0.0 */ private string $scheme = ''; @@ -74,7 +74,7 @@ final class Http implements UriInterface /** * Uri host. * - * @var string + * @var string * @since 1.0.0 */ private string $host = ''; @@ -82,7 +82,7 @@ final class Http implements UriInterface /** * Uri port. * - * @var int + * @var int * @since 1.0.0 */ private int $port = 80; @@ -90,7 +90,7 @@ final class Http implements UriInterface /** * Uri user. * - * @var string + * @var string * @since 1.0.0 */ private string $user = ''; @@ -98,7 +98,7 @@ final class Http implements UriInterface /** * Uri password. * - * @var string + * @var string * @since 1.0.0 */ private string $pass = ''; @@ -106,7 +106,7 @@ final class Http implements UriInterface /** * Uri path. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -114,7 +114,7 @@ final class Http implements UriInterface /** * Uri query. * - * @var array + * @var array * @since 1.0.0 */ private array $query = []; @@ -122,7 +122,7 @@ final class Http implements UriInterface /** * Uri query. * - * @var string + * @var string * @since 1.0.0 */ private string $queryString = ''; @@ -130,7 +130,7 @@ final class Http implements UriInterface /** * Uri fragment. * - * @var string + * @var string * @since 1.0.0 */ private string $fragment = ''; @@ -138,7 +138,7 @@ final class Http implements UriInterface /** * Uri base. * - * @var string + * @var string * @since 1.0.0 */ private string $base = ''; @@ -148,7 +148,7 @@ final class Http implements UriInterface * * @param string $uri Root path for subdirectory * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $uri) { @@ -202,7 +202,7 @@ final class Http implements UriInterface * * @return string Returns the current uri * - * @since 1.0.0 + * @since 1.0.0 */ public static function getCurrent() : string { @@ -218,7 +218,7 @@ final class Http implements UriInterface * * @return Http Returns the current uri * - * @since 1.0.0 + * @since 1.0.0 */ public static function fromCurrent() : self { @@ -279,7 +279,7 @@ final class Http implements UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getSubdomain() : string { @@ -322,7 +322,7 @@ final class Http implements UriInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPathOffset() : int { diff --git a/Uri/InvalidUriException.php b/Uri/InvalidUriException.php index dc0dfd933..2dd73263e 100644 --- a/Uri/InvalidUriException.php +++ b/Uri/InvalidUriException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Uri; /** * Uri exception. * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class InvalidUriException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ class InvalidUriException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $message, int $code = 0, \Exception $previous = null) { diff --git a/Uri/UriFactory.php b/Uri/UriFactory.php index b287929e1..d94303d16 100644 --- a/Uri/UriFactory.php +++ b/Uri/UriFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Uri; * * Used in order to create a uri * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class UriFactory { @@ -30,7 +30,7 @@ final class UriFactory /** * Dynamic query elements. * - * @var string[] + * @var string[] * @since 1.0.0 */ private static array $uri = []; @@ -38,7 +38,7 @@ final class UriFactory /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -52,7 +52,7 @@ final class UriFactory * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getQuery(string $key) : ?string { @@ -66,7 +66,7 @@ final class UriFactory * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function clean(string $identifier = '?') : void { @@ -90,7 +90,7 @@ final class UriFactory * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function setQuery(string $key, string $value, bool $overwrite = true) : bool { @@ -110,7 +110,7 @@ final class UriFactory * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function setupUriBuilder(UriInterface $uri) : void { @@ -144,7 +144,7 @@ final class UriFactory * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function clear(string $key) : bool { @@ -164,7 +164,7 @@ final class UriFactory * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function clearLike(string $pattern) : bool { @@ -189,7 +189,7 @@ final class UriFactory * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ private static function unique(string $url) : string { @@ -232,7 +232,7 @@ final class UriFactory * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function build(string $uri, array $toMatch = []) : string { diff --git a/Uri/UriInterface.php b/Uri/UriInterface.php index 2b1a7e855..98f9c1d3d 100644 --- a/Uri/UriInterface.php +++ b/Uri/UriInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Uri; /** * Uri interface. * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface UriInterface { @@ -32,7 +32,7 @@ interface UriInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValid(string $uri) : bool; @@ -41,7 +41,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getScheme() : string; @@ -50,7 +50,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getAuthority() : string; @@ -59,7 +59,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getUserInfo() : string; @@ -68,7 +68,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getHost() : string; @@ -77,7 +77,7 @@ interface UriInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPort() : int; @@ -86,7 +86,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPath() : string; @@ -95,7 +95,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getUser() : string; @@ -104,7 +104,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPass() : string; @@ -113,7 +113,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getRootPath() : string; @@ -124,7 +124,7 @@ interface UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setRootPath(string $root) : void; @@ -137,7 +137,7 @@ interface UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPathOffset(int $offset = 0) : void; @@ -148,7 +148,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPathElement(int $pos) : string; @@ -157,7 +157,7 @@ interface UriInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getPathElements() : array; @@ -168,7 +168,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getQuery(string $key = null) : string; @@ -177,7 +177,7 @@ interface UriInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getQueryArray() : array; @@ -186,7 +186,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getFragment() : string; @@ -195,7 +195,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function __toString(); @@ -204,7 +204,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getBase() : string; @@ -213,7 +213,7 @@ interface UriInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getRoute() : string; @@ -224,7 +224,7 @@ interface UriInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $uri) : void; } diff --git a/Uri/UriScheme.php b/Uri/UriScheme.php index 95bfce6d9..b1a67ca28 100644 --- a/Uri/UriScheme.php +++ b/Uri/UriScheme.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Uri - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Uri + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Uri scheme. * - * @package phpOMS\Uri - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Uri + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class UriScheme extends Enum { diff --git a/Utils/ArrayUtils.php b/Utils/ArrayUtils.php index 400e501e0..2728acbf3 100644 --- a/Utils/ArrayUtils.php +++ b/Utils/ArrayUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils; /** * Array utils. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ArrayUtils { @@ -28,7 +28,7 @@ final class ArrayUtils /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -44,7 +44,7 @@ final class ArrayUtils * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function unsetArray(string $path, array $data, string $delim = '/') : array { @@ -87,7 +87,7 @@ final class ArrayUtils * * @throws \Exception This exception is thrown if the path is corrupted * - * @since 1.0.0 + * @since 1.0.0 */ public static function setArray(string $path, array $data, $value, string $delim = '/', bool $overwrite = false) : array { @@ -128,7 +128,7 @@ final class ArrayUtils * * @throws \Exception This exception is thrown if the path is corrupted * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArray(string $path, array $data, string $delim = '/') { @@ -159,7 +159,7 @@ final class ArrayUtils * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function inArrayRecursive($needle, array $haystack, $key = null) : bool { @@ -188,7 +188,7 @@ final class ArrayUtils * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function anyInArray(array $needles, array $haystack) : bool { @@ -209,7 +209,7 @@ final class ArrayUtils * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function allInArray(array $needles, array $haystack) : bool { @@ -231,7 +231,7 @@ final class ArrayUtils * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ public static function stringify(array $array) : string { @@ -278,7 +278,7 @@ final class ArrayUtils * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function arrayToCsv(array $data, string $delimiter = ';', string $enclosure = '"', string $escape = '\\') : string { @@ -307,7 +307,7 @@ final class ArrayUtils * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getArg(string $id, array $args) : ?string { @@ -326,7 +326,7 @@ final class ArrayUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasArg(string $id, array $args) : ?int { @@ -346,7 +346,7 @@ final class ArrayUtils * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function arrayFlatten(array $array) : array { @@ -376,7 +376,7 @@ final class ArrayUtils * * @return float|int * - * @since 1.0.0 + * @since 1.0.0 */ public static function arraySum(array $array, int $start = 0, int $count = 0) { @@ -398,7 +398,7 @@ final class ArrayUtils * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public static function arraySumRecursive(array $array) { diff --git a/Utils/Barcode/Aztec.php b/Utils/Barcode/Aztec.php index 69d4d28e9..fb4cb15d0 100644 --- a/Utils/Barcode/Aztec.php +++ b/Utils/Barcode/Aztec.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Aztec class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Aztec { diff --git a/Utils/Barcode/C128Abstract.php b/Utils/Barcode/C128Abstract.php index 4755c03be..68c61488f 100644 --- a/Utils/Barcode/C128Abstract.php +++ b/Utils/Barcode/C128Abstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Exception\InvalidEnumValue; /** * Code 128 abstract class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -32,7 +32,7 @@ abstract class C128Abstract /** * Checksum. * - * @var int + * @var int * @since 1.0.0 */ protected static int $CHECKSUM = 0; @@ -40,7 +40,7 @@ abstract class C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = []; @@ -48,7 +48,7 @@ abstract class C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = ''; @@ -56,7 +56,7 @@ abstract class C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = ''; @@ -64,7 +64,7 @@ abstract class C128Abstract /** * Orientation. * - * @var int + * @var int * @since 1.0.0 */ protected int $orientation = 0; @@ -72,7 +72,7 @@ abstract class C128Abstract /** * Barcode dimension. * - * @var int[] + * @var int[] * @since 1.0.0 */ protected array $dimension = ['width' => 0, 'height' => 0]; @@ -80,7 +80,7 @@ abstract class C128Abstract /** * Barcode dimension. * - * @var int + * @var int * @since 1.0.0 */ protected int $margin = 10; @@ -88,7 +88,7 @@ abstract class C128Abstract /** * Content to encrypt. * - * @var string + * @var string * @since 1.0.0 */ protected string $content = ''; @@ -96,7 +96,7 @@ abstract class C128Abstract /** * Show text below barcode. * - * @var bool + * @var bool * @since 1.0.0 */ protected bool $showText = true; @@ -104,7 +104,7 @@ abstract class C128Abstract /** * Background color. * - * @var int[] + * @var int[] * @since 1.0.0 */ protected array $background = ['r' => 0, 'g' => 0, 'b' => 0, 'a' => 0]; @@ -112,7 +112,7 @@ abstract class C128Abstract /** * Front color. * - * @var int[] + * @var int[] * @since 1.0.0 */ protected array $front = ['r' => 0, 'g' => 0, 'b' => 0, 'a' => 0]; @@ -125,7 +125,7 @@ abstract class C128Abstract * @param int $height Barcode height * @param int $orientation Orientation of the barcode * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $content = '', int $width = 100, int $height = 20, int $orientation = OrientationType::HORIZONTAL) { @@ -142,7 +142,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDimension(int $width, int $height) : void { @@ -165,7 +165,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMargin(int $margin) : void { @@ -179,7 +179,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setOrientation(int $orientation) : void { @@ -195,7 +195,7 @@ abstract class C128Abstract * * @return string Returns the string representation of the code * - * @since 1.0.0 + * @since 1.0.0 */ public function getContent() : string { @@ -209,7 +209,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setContent(string $content) : void { @@ -221,7 +221,7 @@ abstract class C128Abstract * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function get() { @@ -237,7 +237,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function saveToPngFile(string $file) : void { @@ -254,7 +254,7 @@ abstract class C128Abstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function saveToJpgFile(string $file) : void { @@ -271,7 +271,7 @@ abstract class C128Abstract * * @return bool Returns true if the string is valid for the specific code implementetion otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidString(string $barcode) : bool { @@ -291,7 +291,7 @@ abstract class C128Abstract * * @return string Returns the code string generated from the human readable content * - * @since 1.0.0 + * @since 1.0.0 */ protected function generateCodeString() : string { @@ -319,7 +319,7 @@ abstract class C128Abstract * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ protected function createImage(string $codeString) { @@ -372,7 +372,7 @@ abstract class C128Abstract * * @return int Length of the code * - * @since 1.0.0 + * @since 1.0.0 */ private function calculateCodeLength(string $codeString) : int { @@ -393,7 +393,7 @@ abstract class C128Abstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function calculateDimensions(string $codeString) : array { diff --git a/Utils/Barcode/C128a.php b/Utils/Barcode/C128a.php index c28bd426b..f3ad09eac 100644 --- a/Utils/Barcode/C128a.php +++ b/Utils/Barcode/C128a.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Code 128a class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class C128a extends C128Abstract /** * Checksum. * - * @var int + * @var int * @since 1.0.0 */ protected static int $CHECKSUM = 103; @@ -38,7 +38,7 @@ class C128a extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = [ @@ -67,7 +67,7 @@ class C128a extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '211412'; @@ -75,7 +75,7 @@ class C128a extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '2331112'; diff --git a/Utils/Barcode/C128b.php b/Utils/Barcode/C128b.php index c6b91763b..88b1ff88d 100644 --- a/Utils/Barcode/C128b.php +++ b/Utils/Barcode/C128b.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Code 128b class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class C128b extends C128Abstract /** * Checksum. * - * @var int + * @var int * @since 1.0.0 */ protected static int $CHECKSUM = 104; @@ -38,7 +38,7 @@ class C128b extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = [ @@ -66,7 +66,7 @@ class C128b extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '211214'; @@ -74,7 +74,7 @@ class C128b extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '2331112'; diff --git a/Utils/Barcode/C128c.php b/Utils/Barcode/C128c.php index ce0a32bc2..266152f5e 100644 --- a/Utils/Barcode/C128c.php +++ b/Utils/Barcode/C128c.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Code 128c class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class C128c extends C128Abstract /** * Checksum. * - * @var int + * @var int * @since 1.0.0 */ protected static int $CHECKSUM = 105; @@ -38,7 +38,7 @@ class C128c extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = [ @@ -66,7 +66,7 @@ class C128c extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '211232'; @@ -74,7 +74,7 @@ class C128c extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '2331112'; diff --git a/Utils/Barcode/C25.php b/Utils/Barcode/C25.php index 88898d3d7..5d427f5f6 100644 --- a/Utils/Barcode/C25.php +++ b/Utils/Barcode/C25.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Code 25 class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class C25 extends C128Abstract /** * Char array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0']; @@ -38,7 +38,7 @@ class C25 extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY2 = [ @@ -49,7 +49,7 @@ class C25 extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '1111'; @@ -57,7 +57,7 @@ class C25 extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '311'; @@ -71,7 +71,7 @@ class C25 extends C128Abstract * * @throws \InvalidArgumentException this exception is thrown if the content string is not supported * - * @since 1.0.0 + * @since 1.0.0 */ public function setContent(string $content) : void { diff --git a/Utils/Barcode/C39.php b/Utils/Barcode/C39.php index 90005c570..4d7c12aea 100644 --- a/Utils/Barcode/C39.php +++ b/Utils/Barcode/C39.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Code 39 class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class C39 extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = [ @@ -48,7 +48,7 @@ class C39 extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '1211212111'; @@ -56,7 +56,7 @@ class C39 extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '121121211'; diff --git a/Utils/Barcode/Codebar.php b/Utils/Barcode/Codebar.php index a2f6e5701..221b97d28 100644 --- a/Utils/Barcode/Codebar.php +++ b/Utils/Barcode/Codebar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Codebar class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCasePropertyName) * @SuppressWarnings(PHPMD.CamelCaseVariableName) @@ -30,7 +30,7 @@ class Codebar extends C128Abstract /** * Char array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY = ['1', '2', '3', '4', '5', '6', '7', '8', '9', '0', '-', '$', ':', '/', '.', '+', 'A', 'B', 'C', 'D']; @@ -38,7 +38,7 @@ class Codebar extends C128Abstract /** * Char weighted array. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static array $CODEARRAY2 = [ @@ -49,7 +49,7 @@ class Codebar extends C128Abstract /** * Code start. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_START = '11221211'; @@ -57,7 +57,7 @@ class Codebar extends C128Abstract /** * Code end. * - * @var string + * @var string * @since 1.0.0 */ protected static string $CODE_END = '1122121'; diff --git a/Utils/Barcode/Datamatrix.php b/Utils/Barcode/Datamatrix.php index f51ef8434..d5856600c 100644 --- a/Utils/Barcode/Datamatrix.php +++ b/Utils/Barcode/Datamatrix.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Aztec class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Datamatrix { diff --git a/Utils/Barcode/HIBCC.php b/Utils/Barcode/HIBCC.php index b7dad6f83..d88936e5b 100644 --- a/Utils/Barcode/HIBCC.php +++ b/Utils/Barcode/HIBCC.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Aztec class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class HIBCC { diff --git a/Utils/Barcode/OrientationType.php b/Utils/Barcode/OrientationType.php index 36c1d0393..0aaa66990 100644 --- a/Utils/Barcode/OrientationType.php +++ b/Utils/Barcode/OrientationType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Orientation type enum. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class OrientationType extends Enum { diff --git a/Utils/Barcode/QR.php b/Utils/Barcode/QR.php index 58933df8c..b58c9b2ad 100644 --- a/Utils/Barcode/QR.php +++ b/Utils/Barcode/QR.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Barcode - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Barcode + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Barcode; /** * Aztec class. * - * @package phpOMS\Utils\Barcode - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Barcode + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class QR { diff --git a/Utils/ColorUtils.php b/Utils/ColorUtils.php index e72fb4e44..b458d1f4c 100644 --- a/Utils/ColorUtils.php +++ b/Utils/ColorUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils; /** * Color class for color operations. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ColorUtils { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -42,7 +42,7 @@ final class ColorUtils * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function intToRgb(int $rgbInt) : array { @@ -62,7 +62,7 @@ final class ColorUtils * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function rgbToInt(array $rgb) : int { diff --git a/Utils/Compression/CompressionInterface.php b/Utils/Compression/CompressionInterface.php index 24d94680c..9c0b0687b 100644 --- a/Utils/Compression/CompressionInterface.php +++ b/Utils/Compression/CompressionInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Compression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Compression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Compression; /** * Compression Interface * - * @package phpOMS\Utils\Compression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Compression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface CompressionInterface { @@ -31,7 +31,7 @@ interface CompressionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function compress(string $source) : string; @@ -42,7 +42,7 @@ interface CompressionInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function decompress(string $compressed) : string; } diff --git a/Utils/Compression/LZW.php b/Utils/Compression/LZW.php index e57d69432..f3ee32bf2 100644 --- a/Utils/Compression/LZW.php +++ b/Utils/Compression/LZW.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Compression - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Compression + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Compression; /** * LZW compression class * - * @package phpOMS\Utils\Compression - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Compression + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LZW implements CompressionInterface { diff --git a/Utils/Converter/AngleType.php b/Utils/Converter/AngleType.php index 3c5c51f74..edee8afc5 100644 --- a/Utils/Converter/AngleType.php +++ b/Utils/Converter/AngleType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Angle type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AngleType extends Enum { diff --git a/Utils/Converter/AreaType.php b/Utils/Converter/AreaType.php index 50203d665..36597acea 100644 --- a/Utils/Converter/AreaType.php +++ b/Utils/Converter/AreaType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Area type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class AreaType extends Enum { diff --git a/Utils/Converter/Currency.php b/Utils/Converter/Currency.php index 9873d24ef..1a952d7b9 100644 --- a/Utils/Converter/Currency.php +++ b/Utils/Converter/Currency.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -23,10 +23,10 @@ use phpOMS\Uri\Http; /** * Currency converter. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Currency { @@ -34,7 +34,7 @@ class Currency /** * ECB currency rates. * - * @var null|array + * @var null|array * @since 1.0.0 */ private static ?array $ecbCurrencies = null; @@ -42,7 +42,7 @@ class Currency /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -56,7 +56,7 @@ class Currency * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function resetCurrencies() : void { @@ -73,7 +73,7 @@ class Currency * * @throws \InvalidArgumentException This exception is thrown if the currency to convert to doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public static function fromEurTo(float $value, string $to) : float { @@ -94,7 +94,7 @@ class Currency * * @throws \Exception This exception is thrown if the XML is malformed * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEcbEuroRates() : array { @@ -129,7 +129,7 @@ class Currency * * @throws \InvalidArgumentException This exception is thrown if the currency to convert from doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public static function fromToEur(float $value, string $from) : float { @@ -154,7 +154,7 @@ class Currency * * @throws \InvalidArgumentException This exception is thrown if either the from or to currency doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertCurrency(float $value, string $from, string $to) : float { diff --git a/Utils/Converter/EnergyPowerType.php b/Utils/Converter/EnergyPowerType.php index 38489f169..fe405bbda 100644 --- a/Utils/Converter/EnergyPowerType.php +++ b/Utils/Converter/EnergyPowerType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Energy/Power type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class EnergyPowerType extends Enum { diff --git a/Utils/Converter/File.php b/Utils/Converter/File.php index 4f6bc5dc6..00dd088b8 100644 --- a/Utils/Converter/File.php +++ b/Utils/Converter/File.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Converter; /** * File converter. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class File { @@ -28,7 +28,7 @@ class File /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -44,7 +44,7 @@ class File * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function byteSizeToString(int $bytes, string $decimal = '.', string $thousands = ',') : string { @@ -68,7 +68,7 @@ class File * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function kilobyteSizeToString(int $kilobytes, string $decimal = '.', string $thousands = ',') : string { diff --git a/Utils/Converter/FileSizeType.php b/Utils/Converter/FileSizeType.php index b60ddd5f5..c686afc68 100644 --- a/Utils/Converter/FileSizeType.php +++ b/Utils/Converter/FileSizeType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * File size type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class FileSizeType extends Enum { diff --git a/Utils/Converter/Ip.php b/Utils/Converter/Ip.php index de32941f7..e83482ea2 100644 --- a/Utils/Converter/Ip.php +++ b/Utils/Converter/Ip.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Converter; /** * Ip converter. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Ip { @@ -29,7 +29,7 @@ class Ip /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -43,7 +43,7 @@ class Ip * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function ip2Float(string $ip) : float { diff --git a/Utils/Converter/LengthType.php b/Utils/Converter/LengthType.php index 84d782257..26a84811c 100644 --- a/Utils/Converter/LengthType.php +++ b/Utils/Converter/LengthType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Length type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class LengthType extends Enum { diff --git a/Utils/Converter/Measurement.php b/Utils/Converter/Measurement.php index d71cb93c7..92d31cbac 100644 --- a/Utils/Converter/Measurement.php +++ b/Utils/Converter/Measurement.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Converter; /** * Measurement converter. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Measurement { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -43,7 +43,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertTemperature(float $value, string $from = TemperatureType::FAHRENHEIT, string $to = TemperatureType::CELSIUS) : float { @@ -89,7 +89,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeTemperature(float $value, string $from) : float { @@ -133,7 +133,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertWeight(float $value, string $from = WeightType::GRAM, string $to = WeightType::KILOGRAM) : float { @@ -197,7 +197,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeWeight(float $value, string $from) : float { @@ -259,7 +259,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertLength(float $value, string $from = LengthType::METERS, string $to = LengthType::KILOMETERS) : float { @@ -344,7 +344,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeLength(float $value, string $from) : float { @@ -427,7 +427,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertArea(float $value, string $from = AreaType::SQUARE_METERS, string $to = AreaType::SQUARE_KILOMETERS) : float { @@ -488,7 +488,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeArea(float $value, string $from) : float { @@ -547,7 +547,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertVolume(float $value, string $from = VolumeType::LITER, string $to = VolumeType::LITER) : float { @@ -683,7 +683,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeVolume(float $value, string $from) : float { @@ -817,7 +817,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertSpeed(float $value, string $from = SpeedType::KILOMETERS_PER_HOUR, string $to = SpeedType::KILOMETERS_PER_HOUR) : float { @@ -941,7 +941,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeSpeed(float $value, string $from) : float { @@ -1063,7 +1063,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertTime(float $value, string $from = TimeType::SECONDS, string $to = TimeType::HOURS) : float { @@ -1112,7 +1112,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeTime(float $value, string $from) : float { @@ -1159,7 +1159,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertAngle(float $value, string $from = AngleType::DEGREE, string $to = AngleType::DEGREE) : float { @@ -1211,7 +1211,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeAngle(float $value, string $from) : float { @@ -1261,7 +1261,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertPressure(float $value, string $from = PressureType::PASCALS, string $to = PressureType::BAR) : float { @@ -1321,7 +1321,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizePressure(float $value, string $from) : float { @@ -1379,7 +1379,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertEnergy(float $value, string $from = EnergyPowerType::JOULS, string $to = EnergyPowerType::KILOWATT_HOUERS) : float { @@ -1426,7 +1426,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeEnergy(float $value, string $from) : float { @@ -1472,7 +1472,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertFileSize(float $value, string $from = FileSizeType::BYTE, string $to = FileSizeType::MEGABYTE) : float { @@ -1524,7 +1524,7 @@ class Measurement * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ private static function normalizeFileSize(float $value, string $from) : float { diff --git a/Utils/Converter/Numeric.php b/Utils/Converter/Numeric.php index 9676846d2..3cb8953cf 100644 --- a/Utils/Converter/Numeric.php +++ b/Utils/Converter/Numeric.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Converter; /** * Numeric converter. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Numeric { @@ -28,7 +28,7 @@ class Numeric /** * Romans association. * - * @var array + * @var array * @since 1.0.0 */ public const ROMANS = [ @@ -40,7 +40,7 @@ class Numeric /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -58,7 +58,7 @@ class Numeric * * @throws \Exception This exception is thrown if one of the bases or the number is invalid * - * @since 1.0.0 + * @since 1.0.0 */ public static function convertBase(string $numberInput, string $fromBaseInput, string $toBaseInput) : string { @@ -117,7 +117,7 @@ class Numeric * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function arabicToRoman(int $arabic) : string { @@ -143,7 +143,7 @@ class Numeric * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function romanToArabic(string $roman) : int { @@ -172,7 +172,7 @@ class Numeric * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function numericToAlpha(int $number) : string { @@ -193,7 +193,7 @@ class Numeric * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function alphaToNumeric(string $alpha) : int { diff --git a/Utils/Converter/PressureType.php b/Utils/Converter/PressureType.php index 39f759897..112bc059e 100644 --- a/Utils/Converter/PressureType.php +++ b/Utils/Converter/PressureType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Pressure type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class PressureType extends Enum { diff --git a/Utils/Converter/SpeedType.php b/Utils/Converter/SpeedType.php index dfba81c55..d46de575b 100644 --- a/Utils/Converter/SpeedType.php +++ b/Utils/Converter/SpeedType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Speed type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class SpeedType extends Enum { diff --git a/Utils/Converter/TemperatureType.php b/Utils/Converter/TemperatureType.php index d383ebc0e..c0219af2e 100644 --- a/Utils/Converter/TemperatureType.php +++ b/Utils/Converter/TemperatureType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Temperature type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TemperatureType extends Enum { diff --git a/Utils/Converter/TimeType.php b/Utils/Converter/TimeType.php index fba2f9274..79dfd2351 100644 --- a/Utils/Converter/TimeType.php +++ b/Utils/Converter/TimeType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Time type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TimeType extends Enum { diff --git a/Utils/Converter/VolumeType.php b/Utils/Converter/VolumeType.php index ab7085bb8..7a0dc8f5c 100644 --- a/Utils/Converter/VolumeType.php +++ b/Utils/Converter/VolumeType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Volume type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class VolumeType extends Enum { diff --git a/Utils/Converter/WeightType.php b/Utils/Converter/WeightType.php index 747f1778a..1ab6ee5b7 100644 --- a/Utils/Converter/WeightType.php +++ b/Utils/Converter/WeightType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Converter - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Converter + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Weight type enum. * - * @package phpOMS\Utils\Converter - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Converter + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class WeightType extends Enum { diff --git a/Utils/Encoding/Caesar.php b/Utils/Encoding/Caesar.php index 2f73bf2eb..ee2e89e2a 100644 --- a/Utils/Encoding/Caesar.php +++ b/Utils/Encoding/Caesar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Encoding; /** * Gray encoding class * - * @package phpOMS\Utils\Encoding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Caesar { /** * ASCII lower char limit. * - * @var int + * @var int * @since 1.0.0 */ public const LIMIT_LOWER = 0; @@ -35,7 +35,7 @@ class Caesar /** * ASCII upper char limit. * - * @var int + * @var int * @since 1.0.0 */ public const LIMIT_UPPER = 127; @@ -48,7 +48,7 @@ class Caesar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function encode(string $source, string $key) : string { @@ -81,7 +81,7 @@ class Caesar * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function decode(string $raw, string $key) : string { diff --git a/Utils/Encoding/EncodingInterface.php b/Utils/Encoding/EncodingInterface.php index cd9a887f8..9f88d0ce1 100644 --- a/Utils/Encoding/EncodingInterface.php +++ b/Utils/Encoding/EncodingInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Encoding; /** * Encoding Interface * - * @package phpOMS\Utils\Encoding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface EncodingInterface { @@ -31,7 +31,7 @@ interface EncodingInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function encode($source); @@ -42,7 +42,7 @@ interface EncodingInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function decode($decoded); } diff --git a/Utils/Encoding/Gray.php b/Utils/Encoding/Gray.php index f6975f23a..57ce9befe 100644 --- a/Utils/Encoding/Gray.php +++ b/Utils/Encoding/Gray.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Encoding; /** * Gray encoding class * - * @package phpOMS\Utils\Encoding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Gray { @@ -31,7 +31,7 @@ final class Gray * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function encode(int $source) : int { @@ -45,7 +45,7 @@ final class Gray * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function decode(int $gray) : int { diff --git a/Utils/Encoding/Huffman/Dictionary.php b/Utils/Encoding/Huffman/Dictionary.php index d9a1826c8..278117b0d 100644 --- a/Utils/Encoding/Huffman/Dictionary.php +++ b/Utils/Encoding/Huffman/Dictionary.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding\Huffman - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding\Huffman + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Encoding\Huffman; /** * Gray encoding class * - * @package phpOMS\Utils\Encoding\Huffman - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding\Huffman + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Dictionary { /** * Huffman dictionary. * - * @var array + * @var array * @since 1.0.0 */ private array $dictionary = []; @@ -35,7 +35,7 @@ final class Dictionary /** * Minimum length. * - * @var int + * @var int * @since 1.0.0 */ private int $min = -1; @@ -43,7 +43,7 @@ final class Dictionary /** * Maximum length. * - * @var int + * @var int * @since 1.0.0 */ private int $max = -1; @@ -53,7 +53,7 @@ final class Dictionary * * @param string $source Source to create the dictionary from * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $source = '') { @@ -69,7 +69,7 @@ final class Dictionary * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function generate(string $source) : void { @@ -103,7 +103,7 @@ final class Dictionary * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ private function fill(array $entry, string $value = '') : void { @@ -132,7 +132,7 @@ final class Dictionary * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function set(string $entry, string $value) : void { @@ -170,7 +170,7 @@ final class Dictionary * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function get(string $entry) : string { @@ -192,7 +192,7 @@ final class Dictionary * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public function getEntry(&$value) : ?string { diff --git a/Utils/Encoding/Huffman/Huffman.php b/Utils/Encoding/Huffman/Huffman.php index d70b1fb8a..17e3e4168 100644 --- a/Utils/Encoding/Huffman/Huffman.php +++ b/Utils/Encoding/Huffman/Huffman.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding\Huffman - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding\Huffman + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Encoding\Huffman; /** * Gray encoding class * - * @package phpOMS\Utils\Encoding\Huffman - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding\Huffman + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Huffman { /** * Huffman dictionary. * - * @var null|Dictionary + * @var null|Dictionary * @since 1.0.0 */ private ?Dictionary $dictionary = null; @@ -37,7 +37,7 @@ final class Huffman * * @return Dictionary * - * @since 1.0.0 + * @since 1.0.0 */ public function getDictionary() : ?Dictionary { @@ -51,7 +51,7 @@ final class Huffman * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDictionary(Dictionary $dictionary) : void { @@ -65,7 +65,7 @@ final class Huffman * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function encode(string $source) : string { @@ -107,7 +107,7 @@ final class Huffman * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function decode(string $raw) : string { diff --git a/Utils/Encoding/XorEncoding.php b/Utils/Encoding/XorEncoding.php index 0ad7447b7..d954ddfdc 100644 --- a/Utils/Encoding/XorEncoding.php +++ b/Utils/Encoding/XorEncoding.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Encoding - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Encoding + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Encoding; /** * XOR encoding class * - * @package phpOMS\Utils\Encoding - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Encoding + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class XorEncoding { @@ -33,7 +33,7 @@ final class XorEncoding * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function decode(string $raw, string $key) : string { @@ -48,7 +48,7 @@ final class XorEncoding * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function encode(string $source, string $key) : string { diff --git a/Utils/Excel/Excel.php b/Utils/Excel/Excel.php index 2776ea8b7..cc99df287 100644 --- a/Utils/Excel/Excel.php +++ b/Utils/Excel/Excel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Excel - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Excel + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/Git/Author.php b/Utils/Git/Author.php index 45ee5f56b..bea20ae88 100644 --- a/Utils/Git/Author.php +++ b/Utils/Git/Author.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Git; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Author { /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -35,7 +35,7 @@ class Author /** * Email. * - * @var string + * @var string * @since 1.0.0 */ private string $email = ''; @@ -43,7 +43,7 @@ class Author /** * Commit count. * - * @var int + * @var int * @since 1.0.0 */ private int $commitCount = 0; @@ -51,7 +51,7 @@ class Author /** * Additions count. * - * @var int + * @var int * @since 1.0.0 */ private int $additionsCount = 0; @@ -59,7 +59,7 @@ class Author /** * Removals count. * - * @var int + * @var int * @since 1.0.0 */ private int $removalsCount = 0; @@ -70,7 +70,7 @@ class Author * @param string $name Author name * @param string $email Author email * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $name = '', string $email = '') { @@ -83,7 +83,7 @@ class Author * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -95,7 +95,7 @@ class Author * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getEmail() : string { @@ -107,7 +107,7 @@ class Author * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getCommitCount() : int { @@ -121,7 +121,7 @@ class Author * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCommitCount(int $count) : void { @@ -135,7 +135,7 @@ class Author * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAdditionCount(int $count) : void { @@ -147,7 +147,7 @@ class Author * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getAdditionCount() : int { @@ -161,7 +161,7 @@ class Author * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setRemovalCount(int $count) : void { @@ -173,7 +173,7 @@ class Author * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getRemovalCount() : int { diff --git a/Utils/Git/Branch.php b/Utils/Git/Branch.php index 82d3bc6b3..5e2bee35b 100644 --- a/Utils/Git/Branch.php +++ b/Utils/Git/Branch.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Git; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Branch { /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -37,7 +37,7 @@ class Branch * * @param string $name Branch name * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $name = '') { @@ -49,7 +49,7 @@ class Branch * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -63,7 +63,7 @@ class Branch * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setName(string $name) : void { diff --git a/Utils/Git/Commit.php b/Utils/Git/Commit.php index f50931426..6178542cd 100644 --- a/Utils/Git/Commit.php +++ b/Utils/Git/Commit.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Git; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Commit { /** * Hash. * - * @var string + * @var string * @since 1.0.0 */ private string $id = ''; @@ -35,7 +35,7 @@ class Commit /** * Author. * - * @var Author + * @var Author * @since 1.0.0 */ private Author $author; @@ -43,7 +43,7 @@ class Commit /** * Branch. * - * @var Branch + * @var Branch * @since 1.0.0 */ private Branch $branch; @@ -51,7 +51,7 @@ class Commit /** * Tag. * - * @var Tag + * @var Tag * @since 1.0.0 */ private Tag $tag; @@ -59,7 +59,7 @@ class Commit /** * Commit date. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private ?\DateTime $date = null; @@ -67,7 +67,7 @@ class Commit /** * Repository. * - * @var Repository + * @var Repository * @since 1.0.0 */ private Repository $repository; @@ -75,7 +75,7 @@ class Commit /** * Commit message. * - * @var string + * @var string * @since 1.0.0 */ private string $message = ''; @@ -83,7 +83,7 @@ class Commit /** * Files. * - * @var array + * @var array * @since 1.0.0 */ private array $files = []; @@ -93,7 +93,7 @@ class Commit * * @param string $id Commit hash * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $id = '') { @@ -109,7 +109,7 @@ class Commit * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : string { @@ -123,7 +123,7 @@ class Commit * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function addFile(string $path) : bool { @@ -141,7 +141,7 @@ class Commit * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getMessage() : string { @@ -155,7 +155,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMessage(string $message) : void { @@ -167,7 +167,7 @@ class Commit * * @return string[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getFiles() : array { @@ -181,7 +181,7 @@ class Commit * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeFile(string $path) : bool { @@ -199,7 +199,7 @@ class Commit * * @return Author * - * @since 1.0.0 + * @since 1.0.0 */ public function getAuthor() : Author { @@ -213,7 +213,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setAuthor(Author $author) : void { @@ -225,7 +225,7 @@ class Commit * * @return Branch * - * @since 1.0.0 + * @since 1.0.0 */ public function getBranch() : Branch { @@ -239,7 +239,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setBranch(Branch $branch) : void { @@ -251,7 +251,7 @@ class Commit * * @return Tag * - * @since 1.0.0 + * @since 1.0.0 */ public function getTag() : Tag { @@ -265,7 +265,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTag(Tag $tag) : void { @@ -277,7 +277,7 @@ class Commit * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getDate() : \DateTime { @@ -291,7 +291,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDate(\DateTime $date) : void { @@ -303,7 +303,7 @@ class Commit * * @return Repository * - * @since 1.0.0 + * @since 1.0.0 */ public function getRepository() : Repository { @@ -317,7 +317,7 @@ class Commit * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setRepository(Repository $repository) : void { @@ -336,7 +336,7 @@ class Commit * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function addChanges(string $path, int $line, string $old, string $new) : void { diff --git a/Utils/Git/Git.php b/Utils/Git/Git.php index 765e61abd..e8589c978 100644 --- a/Utils/Git/Git.php +++ b/Utils/Git/Git.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\System\File\PathException; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class Git @@ -30,7 +30,7 @@ class Git /** * Git path. * - * @var string + * @var string * @since 1.0.0 */ protected static string $bin = '/usr/bin/git'; @@ -40,7 +40,7 @@ class Git * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function test() : bool { @@ -62,7 +62,7 @@ class Git * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBin() : string { @@ -78,7 +78,7 @@ class Git * * @throws PathException This exception is thrown if the binary path doesn't exist * - * @since 1.0.0 + * @since 1.0.0 */ public static function setBin(string $path) : void { diff --git a/Utils/Git/NullCommit.php b/Utils/Git/NullCommit.php index eb93f3534..d170b9f8f 100644 --- a/Utils/Git/NullCommit.php +++ b/Utils/Git/NullCommit.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\Git; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullCommit extends Commit { diff --git a/Utils/Git/Repository.php b/Utils/Git/Repository.php index 23281c0a6..26255d2b4 100644 --- a/Utils/Git/Repository.php +++ b/Utils/Git/Repository.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Utils\StringUtils; /** * Repository class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class Repository @@ -31,7 +31,7 @@ class Repository /** * Repository path. * - * @var string + * @var string * @since 1.0.0 */ private string $path = ''; @@ -39,7 +39,7 @@ class Repository /** * Repository name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -47,7 +47,7 @@ class Repository /** * Bare repository. * - * @var bool + * @var bool * @since 1.0.0 */ private bool $bare = false; @@ -55,7 +55,7 @@ class Repository /** * Current branch. * - * @var Branch + * @var Branch * @since 1.0.0 */ private Branch $branch; @@ -65,7 +65,7 @@ class Repository * * @param string $path Repository path * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $path = '') { @@ -85,7 +85,7 @@ class Repository * * @throws PathException * - * @since 1.0.0 + * @since 1.0.0 */ private function setPath(string $path) : void { @@ -111,7 +111,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getPath() : string { @@ -123,7 +123,7 @@ class Repository * * @return Branch * - * @since 1.0.0 + * @since 1.0.0 */ public function getActiveBranch() : Branch { @@ -139,7 +139,7 @@ class Repository * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getBranches() : array { @@ -166,7 +166,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ private function run(string $cmd) : array { @@ -216,7 +216,7 @@ class Repository * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseLines(string $lines) : array { @@ -247,7 +247,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function create(string $source = null) : void { @@ -269,7 +269,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function status() : string { @@ -285,7 +285,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function add($files = '*') : string { @@ -302,7 +302,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function rm($files = '*', bool $cached = false) : string { @@ -320,7 +320,7 @@ class Repository * * @throws \InvalidArgumentException * - * @since 1.0.0 + * @since 1.0.0 */ private function parseFileList($files) : string { @@ -341,7 +341,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function commit(Commit $commit, $all = true) : string { @@ -357,7 +357,7 @@ class Repository * * @throws PathException in case the target is not a valid directory * - * @since 1.0.0 + * @since 1.0.0 */ public function cloneTo(string $target) : string { @@ -377,7 +377,7 @@ class Repository * * @throws PathException in case the source repository is not valid * - * @since 1.0.0 + * @since 1.0.0 */ public function cloneFrom(string $source) : string { @@ -395,7 +395,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function cloneRemote(string $source) : string { @@ -410,7 +410,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function clean(bool $dirs = false, bool $force = false) : string { @@ -425,7 +425,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function createBranch(Branch $branch, bool $force = false) : string { @@ -437,7 +437,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { @@ -456,7 +456,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDirectoryPath() : string { @@ -468,7 +468,7 @@ class Repository * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getBranchesRemote() : array { @@ -493,7 +493,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function checkout(Branch $branch) : string { @@ -510,7 +510,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function merge(Branch $branch) : string { @@ -522,7 +522,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function fetch() : string { @@ -536,7 +536,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function createTag(Tag $tag) : string { @@ -550,7 +550,7 @@ class Repository * * @return Tag[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getTags(string $pattern = '') : array { @@ -573,7 +573,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function push(string $remote, Branch $branch) : string { @@ -590,7 +590,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function pull(string $remote, Branch $branch) : string { @@ -606,7 +606,7 @@ class Repository * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setDescription(string $description) : void { @@ -618,7 +618,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getDescription() : string { @@ -632,7 +632,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function countFiles() : int { @@ -650,7 +650,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function getLoc(array $extensions = ['*']) : int { @@ -691,7 +691,7 @@ class Repository * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getContributors(\DateTime $start = null, \DateTime $end = null) : array { @@ -731,7 +731,7 @@ class Repository * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getCommitsCount(\DateTime $start = null, \DateTime $end = null) : array { @@ -767,7 +767,7 @@ class Repository * * @return array ['added' => ?, 'removed'=> ?] * - * @since 1.0.0 + * @since 1.0.0 */ public function getAdditionsRemovalsByContributor(Author $author, \DateTime $start = null, \DateTime $end = null) : array { @@ -802,7 +802,7 @@ class Repository * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getRemote() : string { @@ -818,7 +818,7 @@ class Repository * * @return Commit[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getCommitsBy(\DateTime $start = null, \DateTime $end = null, Author $author = null) : array { @@ -865,7 +865,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function getCommit(string $commit) : Commit { @@ -922,7 +922,7 @@ class Repository * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function getNewest(int $limit = 1) : Commit { diff --git a/Utils/Git/Tag.php b/Utils/Git/Tag.php index 1d4be3c18..a3f50d713 100644 --- a/Utils/Git/Tag.php +++ b/Utils/Git/Tag.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Git - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Git + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\Git; /** * Gray encoding class * - * @package phpOMS\Utils\Git - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Git + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Tag { /** * Name. * - * @var string + * @var string * @since 1.0.0 */ private string $name = ''; @@ -35,7 +35,7 @@ class Tag /** * Message. * - * @var string + * @var string * @since 1.0.0 */ private string $message = ''; @@ -45,7 +45,7 @@ class Tag * * @param string $name Tag name/version * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $name = '') { @@ -57,7 +57,7 @@ class Tag * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getMessage() : string { @@ -71,7 +71,7 @@ class Tag * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMessage(string $message) : void { @@ -83,7 +83,7 @@ class Tag * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getName() : string { diff --git a/Utils/IO/Csv/CsvInterface.php b/Utils/IO/Csv/CsvInterface.php index 4b85f95b2..3613cd190 100644 --- a/Utils/IO/Csv/CsvInterface.php +++ b/Utils/IO/Csv/CsvInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/IO/Csv/CsvSettings.php b/Utils/IO/Csv/CsvSettings.php index 7106d65ac..9eb65b468 100644 --- a/Utils/IO/Csv/CsvSettings.php +++ b/Utils/IO/Csv/CsvSettings.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Csv - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Csv + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -31,7 +31,7 @@ class CsvSettings * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getFileDelimiter($file, int $checkLines = 2, array $delimiters = [',', '\t', ';', '|', ':']) : string { diff --git a/Utils/IO/Excel/ExcelDatabaseMapper.php b/Utils/IO/Excel/ExcelDatabaseMapper.php index f33b5de66..580423612 100644 --- a/Utils/IO/Excel/ExcelDatabaseMapper.php +++ b/Utils/IO/Excel/ExcelDatabaseMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/IO/Excel/ExcelInterface.php b/Utils/IO/Excel/ExcelInterface.php index 629f39d5b..ca21ebdb1 100644 --- a/Utils/IO/Excel/ExcelInterface.php +++ b/Utils/IO/Excel/ExcelInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Excel - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Excel + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\IO\Excel; /** * Excel interface. * - * @package phpOMS\Utils\IO\Excel - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Excel + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ExcelInterface { @@ -32,7 +32,7 @@ interface ExcelInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function exportExcel($path) : void; @@ -43,7 +43,7 @@ interface ExcelInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function importExcel($path) : void; } diff --git a/Utils/IO/ExchangeInterface.php b/Utils/IO/ExchangeInterface.php index 5b1a92a0a..ed55969c4 100644 --- a/Utils/IO/ExchangeInterface.php +++ b/Utils/IO/ExchangeInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -22,10 +22,10 @@ use phpOMS\Utils\IO\Pdf\PdfInterface; /** * Exchange interface. * - * @package phpOMS\Utils\IO - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ExchangeInterface extends CsvInterface, JsonInterface, ExcelInterface, PdfInterface { diff --git a/Utils/IO/IODatabaseMapper.php b/Utils/IO/IODatabaseMapper.php index 112e94455..933402fe1 100644 --- a/Utils/IO/IODatabaseMapper.php +++ b/Utils/IO/IODatabaseMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/IO/Json/InvalidJsonException.php b/Utils/IO/Json/InvalidJsonException.php index f69dc56e1..c98d8560a 100644 --- a/Utils/IO/Json/InvalidJsonException.php +++ b/Utils/IO/Json/InvalidJsonException.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Json - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Json + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\IO\Json; /** * Json decoding exception class. * - * @package phpOMS\Utils\IO\Json - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Json + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class InvalidJsonException extends \UnexpectedValueException { @@ -31,7 +31,7 @@ class InvalidJsonException extends \UnexpectedValueException * @param int $code Exception code * @param \Exception $previous Previous exception * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct($message, $code = 0, \Exception $previous = null) { diff --git a/Utils/IO/Json/JsonInterface.php b/Utils/IO/Json/JsonInterface.php index 2fc8c8139..72dd1d4d0 100644 --- a/Utils/IO/Json/JsonInterface.php +++ b/Utils/IO/Json/JsonInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Json - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Json + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\IO\Json; /** * Cvs interface. * - * @package phpOMS\Utils\IO\Json - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Json + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface JsonInterface { @@ -32,7 +32,7 @@ interface JsonInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function exportJson($path) : void; @@ -43,7 +43,7 @@ interface JsonInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function importJson($path) : void; } diff --git a/Utils/IO/Pdf/PdfInterface.php b/Utils/IO/Pdf/PdfInterface.php index c83dd723a..df91e1211 100644 --- a/Utils/IO/Pdf/PdfInterface.php +++ b/Utils/IO/Pdf/PdfInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Pdf - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Pdf + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\IO\Pdf; /** * Pdf interface. * - * @package phpOMS\Utils\IO\Pdf - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Pdf + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface PdfInterface { @@ -32,7 +32,7 @@ interface PdfInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function exportPdf($path) : void; } diff --git a/Utils/IO/Zip/ArchiveInterface.php b/Utils/IO/Zip/ArchiveInterface.php index c1b769646..d34709d61 100644 --- a/Utils/IO/Zip/ArchiveInterface.php +++ b/Utils/IO/Zip/ArchiveInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Zip - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Zip + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\IO\Zip; /** * Archive interface * - * @package phpOMS\Utils\IO\Zip - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Zip + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ArchiveInterface { @@ -33,7 +33,7 @@ interface ArchiveInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function pack($sources, string $destination, bool $overwrite = true) : bool; @@ -45,7 +45,7 @@ interface ArchiveInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function unpack(string $source, string $destination) : bool; } diff --git a/Utils/IO/Zip/Gz.php b/Utils/IO/Zip/Gz.php index 81aca03c8..8a3f0d3ea 100644 --- a/Utils/IO/Zip/Gz.php +++ b/Utils/IO/Zip/Gz.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Zip - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Zip + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Utils\IO\Zip; * * Providing basic zip support * - * @package phpOMS\Utils\IO\Zip - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Zip + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Gz implements ArchiveInterface { diff --git a/Utils/IO/Zip/Tar.php b/Utils/IO/Zip/Tar.php index 4ba4a45dc..61780bfc0 100644 --- a/Utils/IO/Zip/Tar.php +++ b/Utils/IO/Zip/Tar.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Zip - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Zip + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\System\File\FileUtils; * * Providing basic zip support * - * @package phpOMS\Utils\IO\Zip - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Zip + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Tar implements ArchiveInterface { diff --git a/Utils/IO/Zip/TarGz.php b/Utils/IO/Zip/TarGz.php index e63eb728e..81aa140d6 100644 --- a/Utils/IO/Zip/TarGz.php +++ b/Utils/IO/Zip/TarGz.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Zip - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Zip + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\System\File\Local\File; * * Providing basic zip support * - * @package phpOMS\Utils\IO\Zip - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Zip + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TarGz implements ArchiveInterface { diff --git a/Utils/IO/Zip/Zip.php b/Utils/IO/Zip/Zip.php index 5abd93225..5a4627baf 100644 --- a/Utils/IO/Zip/Zip.php +++ b/Utils/IO/Zip/Zip.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\IO\Zip - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\IO\Zip + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\System\File\FileUtils; * * Providing basic zip support * - * @package phpOMS\Utils\IO\Zip - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\IO\Zip + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Zip implements ArchiveInterface { diff --git a/Utils/ImageUtils.php b/Utils/ImageUtils.php index 756692aeb..c0789d743 100644 --- a/Utils/ImageUtils.php +++ b/Utils/ImageUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\Utils; * * This class provides static helper functionalities for images. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class ImageUtils { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -44,7 +44,7 @@ final class ImageUtils * * @return string Decoded image * - * @since 1.0.0 + * @since 1.0.0 */ public static function decodeBase64Image(string $img) : string { diff --git a/Utils/JsonBuilder.php b/Utils/JsonBuilder.php index 48d11b7f6..2b5ce3d24 100644 --- a/Utils/JsonBuilder.php +++ b/Utils/JsonBuilder.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils; /** * Json builder class. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class JsonBuilder implements \Serializable, \JsonSerializable { @@ -28,7 +28,7 @@ final class JsonBuilder implements \Serializable, \JsonSerializable /** * Json data. * - * @var array + * @var array * @since 1.0.0 */ private array $json = []; @@ -38,7 +38,7 @@ final class JsonBuilder implements \Serializable, \JsonSerializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getJson() : array { @@ -54,7 +54,7 @@ final class JsonBuilder implements \Serializable, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $path, $value, bool $overwrite = true) : void { @@ -68,7 +68,7 @@ final class JsonBuilder implements \Serializable, \JsonSerializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function remove(string $path) : void { diff --git a/Utils/NumericUtils.php b/Utils/NumericUtils.php index 7393d1703..40f4ae6bf 100644 --- a/Utils/NumericUtils.php +++ b/Utils/NumericUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils; /** * Array utils. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class NumericUtils { @@ -28,7 +28,7 @@ final class NumericUtils /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() diff --git a/Utils/PDF/Pdf.php b/Utils/PDF/Pdf.php index 9cdd84b2a..6e45a897b 100644 --- a/Utils/PDF/Pdf.php +++ b/Utils/PDF/Pdf.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\PDF - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\PDF + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/Parser/Markdown/Markdown.php b/Utils/Parser/Markdown/Markdown.php index 4a3230593..db83c4a55 100644 --- a/Utils/Parser/Markdown/Markdown.php +++ b/Utils/Parser/Markdown/Markdown.php @@ -31,7 +31,7 @@ class Markdown /** * Blocktypes. * - * @var string[][] + * @var string[][] * @since 1.0.0 */ protected static $blockTypes = [ @@ -62,7 +62,7 @@ class Markdown /** * Blocktypes. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $unmarkedBlockTypes = [ @@ -72,7 +72,7 @@ class Markdown /** * Special reserved characters. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $specialCharacters = [ @@ -82,7 +82,7 @@ class Markdown /** * Regex for strong. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $strongRegex = [ @@ -92,7 +92,7 @@ class Markdown /** * Regex for underline. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $underlineRegex = [ @@ -103,7 +103,7 @@ class Markdown /** * Regex for em. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $emRegex = [ @@ -114,7 +114,7 @@ class Markdown /** * Regex for identifying html attributes. * - * @var string + * @var string * @since 1.0.0 */ protected static $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*(?:\s*=\s*(?:[^"\'=<>`\s]+|"[^"]*"|\'[^\']*\'))?'; @@ -122,7 +122,7 @@ class Markdown /** * Void elements. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $voidElements = [ @@ -132,7 +132,7 @@ class Markdown /** * Text elements. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $textLevelElements = [ @@ -150,7 +150,7 @@ class Markdown /** * Inline identifiers. * - * @var string[][] + * @var string[][] * @since 1.0.0 */ protected static $inlineTypes = [ @@ -171,7 +171,7 @@ class Markdown /** * List of inline start markers. * - * @var string + * @var string * @since 1.0.0 */ protected static $inlineMarkerList = '!"*_&[:<>`~\\'; @@ -179,7 +179,7 @@ class Markdown /** * Continuable elements. * - * @var string[] + * @var string[] * @since 1.0.0 */ private static $continuable = [ @@ -189,7 +189,7 @@ class Markdown /** * Completable elments. * - * @var string[] + * @var string[] * @since 1.0.0 */ private static $completable = [ @@ -199,7 +199,7 @@ class Markdown /** * Safe link types whitelist. * - * @var string[] + * @var string[] * @since 1.0.0 */ protected static $safeLinksWhitelist = [ @@ -213,7 +213,7 @@ class Markdown * * @todo: figure out what it is for * - * @var string[] + * @var string[] * @since 1.0.0 */ private static $definitionData = []; @@ -225,7 +225,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function parse(string $text) : string { @@ -246,7 +246,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function lines(array $lines) : string { @@ -365,7 +365,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockCode(array $lineArray, array $block = null) : ?array { @@ -397,7 +397,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockCodeContinue(array $lineArray, array $block) : ?array { @@ -424,7 +424,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockCodeComplete(?array $block) : ?array { @@ -438,7 +438,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockFencedCode(array $lineArray) : ?array { @@ -475,7 +475,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockFencedCodeContinue(array $lineArray, array $block) : ?array { @@ -508,7 +508,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockFencedCodeComplete(?array $block) : ?array { @@ -522,7 +522,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockHeader(array $lineArray) : ?array { @@ -555,7 +555,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockList(array $lineArray) : ?array { @@ -603,7 +603,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockListContinue(array $lineArray, array $block) : ?array { @@ -658,7 +658,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockQuote(array $lineArray) : ?array { @@ -683,7 +683,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockQuoteContinue(array $lineArray, array $block) : ?array { @@ -715,7 +715,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockRule(array $lineArray) : ?array { @@ -738,7 +738,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockSetextHeader(array $lineArray, array $block = null) : ?array { @@ -762,7 +762,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockReference(array $lineArray) : ?array { @@ -788,7 +788,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockTable($lineArray, array $block = null) : ?array { @@ -885,7 +885,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function blockTableContinue(array $lineArray, array $block) : ?array { @@ -934,7 +934,7 @@ class Markdown * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function paragraph(array $lineArray) : array { @@ -954,7 +954,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function line(string $text) : string { @@ -1005,7 +1005,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineCode(array $excerpt) : ?array { @@ -1031,7 +1031,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineEmailTag(array $excerpt) : ?array { @@ -1064,7 +1064,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineEmphasis(array $excerpt) : ?array { @@ -1101,7 +1101,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineEscapeSequence(array $excerpt) : ?array { @@ -1122,7 +1122,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineImage(array $excerpt) : ?array { @@ -1162,7 +1162,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineLink(array $excerpt) : ?array { @@ -1228,7 +1228,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineSpecialCharacter(array $excerpt) : ?array { @@ -1256,7 +1256,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineStrikethrough(array $excerpt) : ?array { @@ -1285,7 +1285,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineUrl(array $excerpt) : ?array { @@ -1317,7 +1317,7 @@ class Markdown * * @return null|array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function inlineUrlTag(array $excerpt) : ?array { @@ -1344,7 +1344,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function unmarkedText(string $text) : string { @@ -1361,7 +1361,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function element(array $element) : string { @@ -1396,7 +1396,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function elements(array $elements) : string { @@ -1418,7 +1418,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function li(array $lines) : string { @@ -1442,7 +1442,7 @@ class Markdown * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function sanitizeAndBuildElement(array $element) : array { @@ -1476,7 +1476,7 @@ class Markdown * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ protected static function filterUnsafeUrlInAttribute(array $element, string $attribute) : array { @@ -1499,7 +1499,7 @@ class Markdown * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ protected static function escape(string $text, bool $allowQuotes = false) : string { @@ -1514,7 +1514,7 @@ class Markdown * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ protected static function striAtStart(string $string, string $needle) : bool { diff --git a/Utils/Parser/Php/ArrayParser.php b/Utils/Parser/Php/ArrayParser.php index 936353cc1..0cb96896a 100644 --- a/Utils/Parser/Php/ArrayParser.php +++ b/Utils/Parser/Php/ArrayParser.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\Parser\Php - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\Parser\Php + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Utils\Parser\Php; * * Parsing/serializing arrays to and from php file * - * @package phpOMS\Utils\Parser\Php - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\Parser\Php + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ArrayParser { @@ -34,7 +34,7 @@ class ArrayParser * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function serializeArray(array $arr, int $depth = 1) : string { @@ -61,7 +61,7 @@ class ArrayParser * * @throws \UnexpectedValueException Throws this exception if the value cannot be parsed (invalid data type) * - * @since 1.0.0 + * @since 1.0.0 */ public static function parseVariable($value, int $depth = 1) : string { diff --git a/Utils/Permutation.php b/Utils/Permutation.php index a59e8e99a..028e80cda 100644 --- a/Utils/Permutation.php +++ b/Utils/Permutation.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils; /** * String utils. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Permutation { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -43,7 +43,7 @@ final class Permutation * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function permut(array $toPermute, array $result = [], bool $concat = true) : array { @@ -74,7 +74,7 @@ final class Permutation * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isPermutation(string $a, string $b) : bool { @@ -89,7 +89,7 @@ final class Permutation * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isPalindrome(string $a, string $filter = 'a-zA-Z0-9') : bool { @@ -109,7 +109,7 @@ final class Permutation * @throws \InvalidArgumentException This exception is thrown if the $toPermute argument is neither array or string * @throws \OutOfBoundsException This exception is thrown if the permutation key is larger than the data to permute * - * @since 1.0.0 + * @since 1.0.0 */ public static function permutate($toPermute, array $key) { diff --git a/Utils/RnG/Address.php b/Utils/RnG/Address.php index 4d35d074f..8c1c30547 100644 --- a/Utils/RnG/Address.php +++ b/Utils/RnG/Address.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/ArrayRandomize.php b/Utils/RnG/ArrayRandomize.php index 59e5b763f..6a821b6f3 100644 --- a/Utils/RnG/ArrayRandomize.php +++ b/Utils/RnG/ArrayRandomize.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * Array randomizer class * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class ArrayRandomize { @@ -31,7 +31,7 @@ class ArrayRandomize * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function yates(array $arr) : array { @@ -53,7 +53,7 @@ class ArrayRandomize * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function knuth(array $arr) : array { diff --git a/Utils/RnG/City.php b/Utils/RnG/City.php index bd10db6c4..5e1d4e6b7 100644 --- a/Utils/RnG/City.php +++ b/Utils/RnG/City.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/DateTime.php b/Utils/RnG/DateTime.php index c94243317..e7b535b79 100644 --- a/Utils/RnG/DateTime.php +++ b/Utils/RnG/DateTime.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * DateTime generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class DateTime { @@ -33,7 +33,7 @@ class DateTime * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public static function generateDateTime(\DateTime $start, \DateTime $end) : \DateTime { diff --git a/Utils/RnG/DistributionType.php b/Utils/RnG/DistributionType.php index 7c73697cf..154d5356e 100644 --- a/Utils/RnG/DistributionType.php +++ b/Utils/RnG/DistributionType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Distribution type enum. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DistributionType extends Enum { diff --git a/Utils/RnG/Email.php b/Utils/RnG/Email.php index 5296525a6..4dc2c6d67 100644 --- a/Utils/RnG/Email.php +++ b/Utils/RnG/Email.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/File.php b/Utils/RnG/File.php index 42dacb68f..2a9903116 100644 --- a/Utils/RnG/File.php +++ b/Utils/RnG/File.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * File generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class File { @@ -28,7 +28,7 @@ class File /** * Extensions. * - * @var array[] + * @var array[] * @since 1.0.0 */ private static $extensions = [ @@ -52,7 +52,7 @@ class File * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function generateExtension(array $source = null) : string { diff --git a/Utils/RnG/Iban.php b/Utils/RnG/Iban.php index 3f8bbc7dd..1e30a1df4 100644 --- a/Utils/RnG/Iban.php +++ b/Utils/RnG/Iban.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/LinearCongruentialGenerator.php b/Utils/RnG/LinearCongruentialGenerator.php index ccb41e314..6a931c5fc 100644 --- a/Utils/RnG/LinearCongruentialGenerator.php +++ b/Utils/RnG/LinearCongruentialGenerator.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\RnG; /** * Linear congruential generator class * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class LinearCongruentialGenerator { /** * BSD seed value. * - * @var int + * @var int * @since 1.0.0 */ private static $bsdSeed = 0; @@ -35,7 +35,7 @@ class LinearCongruentialGenerator /** * MSVCRT seed value. * - * @var int + * @var int * @since 1.0.0 */ private static $msvcrtSeed = 0; @@ -47,7 +47,7 @@ class LinearCongruentialGenerator * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function bsd(int $seed = 0) : int { @@ -65,7 +65,7 @@ class LinearCongruentialGenerator * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function msvcrt(int $seed = 0) : int { diff --git a/Utils/RnG/Name.php b/Utils/RnG/Name.php index 2c3b5676e..6d90fc32d 100644 --- a/Utils/RnG/Name.php +++ b/Utils/RnG/Name.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * Name generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Name { @@ -489,7 +489,7 @@ class Name * * @return string Returns a random name * - * @since 1.0.0 + * @since 1.0.0 */ public static function generateName(array $type, string $origin = 'western') : string { diff --git a/Utils/RnG/Numeric.php b/Utils/RnG/Numeric.php index 1142f2147..ec7b65cfe 100644 --- a/Utils/RnG/Numeric.php +++ b/Utils/RnG/Numeric.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/Phone.php b/Utils/RnG/Phone.php index 359a5a062..b040e9d27 100644 --- a/Utils/RnG/Phone.php +++ b/Utils/RnG/Phone.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * Phone generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Phone { @@ -35,7 +35,7 @@ class Phone * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function generatePhone( bool $isInt = true, diff --git a/Utils/RnG/PostalZip.php b/Utils/RnG/PostalZip.php index 6d1d92c07..040bea9db 100644 --- a/Utils/RnG/PostalZip.php +++ b/Utils/RnG/PostalZip.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package TBD - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package TBD + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/Utils/RnG/StringUtils.php b/Utils/RnG/StringUtils.php index b4c6b975c..df32cf49c 100644 --- a/Utils/RnG/StringUtils.php +++ b/Utils/RnG/StringUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * String generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class StringUtils { @@ -34,7 +34,7 @@ class StringUtils * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function generateString(int $min = 10, int $max = 10, string $charset = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ' diff --git a/Utils/RnG/Text.php b/Utils/RnG/Text.php index b0f644d55..9453dae00 100644 --- a/Utils/RnG/Text.php +++ b/Utils/RnG/Text.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\RnG - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\RnG + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\RnG; /** * Text generator. * - * @package phpOMS\Utils\RnG - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\RnG + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Text { @@ -28,7 +28,7 @@ class Text /** * Vocabulary. * - * @var string[] + * @var string[] * @since 1.0.0 */ private static $wordsWest = [ @@ -53,7 +53,7 @@ class Text /** * Text has random formatting. * - * @var bool + * @var bool * @since 1.0.0 */ private $hasFormatting = false; @@ -61,7 +61,7 @@ class Text /** * Text has paragraphs. * - * @var bool + * @var bool * @since 1.0.0 */ private $hasParagraphs = false; @@ -69,7 +69,7 @@ class Text /** * Amount of sentences of the last generated text. * - * @var int + * @var int * @since 1.0.0 */ private $sentences = 0; @@ -80,7 +80,7 @@ class Text * @param bool $hasFormatting Text should have formatting * @param bool $hasParagraphs Text should have paragraphs * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(bool $hasFormatting = false, bool $hasParagraphs = false) { @@ -95,7 +95,7 @@ class Text * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setFormatting(bool $hasFormatting) : void { @@ -109,7 +109,7 @@ class Text * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setParagraphs(bool $hasParagraphs) : void { @@ -121,7 +121,7 @@ class Text * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getSentences() : int { @@ -136,7 +136,7 @@ class Text * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function generateText(int $length, array $words = null) : string { @@ -226,7 +226,7 @@ class Text * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function generatePunctuation(int $length) : array { @@ -292,7 +292,7 @@ class Text * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function generateParagraph(int $length) : array { @@ -322,7 +322,7 @@ class Text * * @return string[] * - * @since 1.0.0 + * @since 1.0.0 */ private function generateFormatting(int $length) : array { diff --git a/Utils/StringCompare.php b/Utils/StringCompare.php index 44e2a26c2..cfa7ab85c 100644 --- a/Utils/StringCompare.php +++ b/Utils/StringCompare.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\Utils; * * This class helps to compare two strings * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class StringCompare { /** * Dictionary. * - * @var array + * @var array * @since 1.0.0 */ private array $dictionary = []; @@ -39,7 +39,7 @@ final class StringCompare * * @param array $dictionary Dictionary * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(array $dictionary) { @@ -53,7 +53,7 @@ final class StringCompare * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function add(string $word) : void { @@ -67,7 +67,7 @@ final class StringCompare * * @return string Best match * - * @since 1.0.0 + * @since 1.0.0 */ public function matchDictionary(string $match) : string { @@ -94,7 +94,7 @@ final class StringCompare * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function valueWords(string $s1, string $s2) : int { @@ -135,7 +135,7 @@ final class StringCompare * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function valuePhrase(string $s1, string $s2) : int { @@ -150,7 +150,7 @@ final class StringCompare * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function valueLength(string $s1, string $s2) : int { @@ -170,7 +170,7 @@ final class StringCompare * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function fuzzyMatch( string $s1, string $s2, diff --git a/Utils/StringUtils.php b/Utils/StringUtils.php index 579e22ad2..761b2d514 100644 --- a/Utils/StringUtils.php +++ b/Utils/StringUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -21,10 +21,10 @@ use phpOMS\Contract\RenderableInterface; * * This class provides static helper functionalities for strings. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * * @SuppressWarnings(PHPMD.CamelCaseMethodName) */ @@ -36,7 +36,7 @@ final class StringUtils * * This class is purely static and is preventing any initialization * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -55,7 +55,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is part of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function contains(string $haystack, array $needles) : bool { @@ -80,7 +80,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is part of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_contains(string $haystack, array $needles) : bool { @@ -106,7 +106,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is at the end of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function endsWith(string $haystack, $needles) : bool { @@ -138,7 +138,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is at the beginning of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function startsWith(string $haystack, $needles) : bool { @@ -166,7 +166,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is at the beginning of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_startsWith(string $haystack, $needles) : bool { @@ -198,7 +198,7 @@ final class StringUtils * * @return bool the function returns true if any of the needles is at the end of the haystack, false otherwise * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_endsWith(string $haystack, $needles) : bool { @@ -222,7 +222,7 @@ final class StringUtils * * @return string multi byte string with first character as upper case * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_ucfirst(string $string) : string { @@ -240,7 +240,7 @@ final class StringUtils * * @return string multi byte string with first character as lower case * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_lcfirst(string $string) : string { @@ -259,7 +259,7 @@ final class StringUtils * * @return string trimmed multi byte string * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_trim(string $string, string $charlist = ' ') : string { @@ -280,7 +280,7 @@ final class StringUtils * * @return string trimmed multi byte string * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_rtrim(string $string, string $charlist = ' ') : string { @@ -301,7 +301,7 @@ final class StringUtils * * @return string trimmed multi byte string * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_ltrim(string $string, string $charlist = ' ') : string { @@ -325,7 +325,7 @@ final class StringUtils * * @return int the amount of repeating occurences at the beginning of the string * - * @since 1.0.0 + * @since 1.0.0 */ public static function countCharacterFromStart(string $string, string $character) : int { @@ -350,7 +350,7 @@ final class StringUtils * * @return float * - * @since 1.0.0 + * @since 1.0.0 */ public static function getEntropy(string $value) : float { @@ -373,7 +373,7 @@ final class StringUtils * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public static function mb_count_chars(string $input) : array { @@ -401,7 +401,7 @@ final class StringUtils * * @return null|string * - * @since 1.0.0 + * @since 1.0.0 */ public static function stringify($element, $option = null) : ?string { @@ -437,7 +437,7 @@ final class StringUtils * * @return string Markup using and tags * - * @since 1.0.0 + * @since 1.0.0 */ public static function createDiffMarkup(string $old, string $new, string $delim = '') : string { @@ -517,7 +517,7 @@ final class StringUtils * * @throws \Exception This exception is thrown if one of the parameters is empty * - * @since 1.0.0 + * @since 1.0.0 */ private static function computeLCSDiff(array $from, array $to) : array { diff --git a/Utils/TaskSchedule/Cron.php b/Utils/TaskSchedule/Cron.php index a7fcd3fc1..f20010a29 100644 --- a/Utils/TaskSchedule/Cron.php +++ b/Utils/TaskSchedule/Cron.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * Cron class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class Cron extends SchedulerAbstract diff --git a/Utils/TaskSchedule/CronJob.php b/Utils/TaskSchedule/CronJob.php index d06695e74..e7dcbb618 100644 --- a/Utils/TaskSchedule/CronJob.php +++ b/Utils/TaskSchedule/CronJob.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * CronJob class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class CronJob extends TaskAbstract { diff --git a/Utils/TaskSchedule/Interval.php b/Utils/TaskSchedule/Interval.php index e6cd047cd..827f3d98e 100644 --- a/Utils/TaskSchedule/Interval.php +++ b/Utils/TaskSchedule/Interval.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * Interval class for tasks. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Interval implements \Serializable { @@ -28,7 +28,7 @@ class Interval implements \Serializable /** * Start. * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ private $start; @@ -36,7 +36,7 @@ class Interval implements \Serializable /** * End. * - * @var null|\DateTime + * @var null|\DateTime * @since 1.0.0 */ private $end = null; @@ -44,7 +44,7 @@ class Interval implements \Serializable /** * Minute. * - * @var array + * @var array * @since 1.0.0 */ private $minute = []; @@ -52,7 +52,7 @@ class Interval implements \Serializable /** * Hour. * - * @var array + * @var array * @since 1.0.0 */ private $hour = []; @@ -60,7 +60,7 @@ class Interval implements \Serializable /** * Day of month. * - * @var array + * @var array * @since 1.0.0 */ private $dayOfMonth = []; @@ -68,7 +68,7 @@ class Interval implements \Serializable /** * Month. * - * @var array + * @var array * @since 1.0.0 */ private $month = []; @@ -76,7 +76,7 @@ class Interval implements \Serializable /** * Day of week. * - * @var array + * @var array * @since 1.0.0 */ private $dayOfWeek = []; @@ -84,7 +84,7 @@ class Interval implements \Serializable /** * Year. * - * @var array + * @var array * @since 1.0.0 */ private $year = []; @@ -94,7 +94,7 @@ class Interval implements \Serializable * * @param string $interval Interval to parse * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $interval = null) { @@ -112,7 +112,7 @@ class Interval implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function unserialize($serialized) : void { @@ -133,7 +133,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseMinute(string $minute) : array { @@ -147,7 +147,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseHour(string $hour) : array { @@ -161,7 +161,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseDayOfMonth(string $dayOfMonth) : array { @@ -175,7 +175,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseMonth(string $month) : array { @@ -189,7 +189,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseDayOfWeek(string $dayOfWeek) : array { @@ -203,7 +203,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private function parseYear(string $year) : array { @@ -215,7 +215,7 @@ class Interval implements \Serializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getStart() : \DateTime { @@ -229,7 +229,7 @@ class Interval implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStart(\DateTime $start) : void { @@ -241,7 +241,7 @@ class Interval implements \Serializable * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getEnd() : ?\DateTime { @@ -255,7 +255,7 @@ class Interval implements \Serializable * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setEnd(\DateTime $end) : void { @@ -267,7 +267,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getMinute() : array { @@ -285,7 +285,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setMinute(array $minute, int $step = 0, bool $any = false) : void { @@ -310,7 +310,7 @@ class Interval implements \Serializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function validateTime(array $times, int $step, int $lowest, int $highest) : bool { @@ -332,7 +332,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getHour() : array { @@ -350,7 +350,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setHour(array $hour, int $step = 0, bool $any = false) : void { @@ -370,7 +370,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDayOfMonth() : array { @@ -390,7 +390,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setDayOfMonth(array $dayOfMonth, int $step = 0, bool $any = false, bool $last = false, int $nearest = 0) : void { @@ -415,7 +415,7 @@ class Interval implements \Serializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function validateDayOfMonth(array $array) : bool { @@ -440,7 +440,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getDayOfWeek() : array { @@ -459,7 +459,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setDayOfWeek(array $dayOfWeek, int $step = 0, bool $any = false, bool $last = false) : void { @@ -483,7 +483,7 @@ class Interval implements \Serializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function validateDayOfWeek(array $array) : bool { @@ -505,7 +505,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getMonth() : array { @@ -523,7 +523,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setMonth(array $month, int $step = 0, bool $any = false) : void { @@ -543,7 +543,7 @@ class Interval implements \Serializable * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function getYear() : array { @@ -561,7 +561,7 @@ class Interval implements \Serializable * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public function setYear(array $year, int $step = 0, bool $any = false) : void { @@ -584,7 +584,7 @@ class Interval implements \Serializable * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private function validateYear(array $array) : bool { @@ -596,7 +596,7 @@ class Interval implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -618,7 +618,7 @@ class Interval implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serializeTime($time, $step) : string { @@ -641,7 +641,7 @@ class Interval implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serializeDayOfMonth() : string { @@ -668,7 +668,7 @@ class Interval implements \Serializable * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serializeDayOfWeek() : string { diff --git a/Utils/TaskSchedule/NullCronJob.php b/Utils/TaskSchedule/NullCronJob.php index d1831663a..0ec3789da 100644 --- a/Utils/TaskSchedule/NullCronJob.php +++ b/Utils/TaskSchedule/NullCronJob.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * CronJob class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullCronJob extends CronJob { diff --git a/Utils/TaskSchedule/NullSchedule.php b/Utils/TaskSchedule/NullSchedule.php index 4b9256a96..bbfb212f5 100644 --- a/Utils/TaskSchedule/NullSchedule.php +++ b/Utils/TaskSchedule/NullSchedule.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * CronJob class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class NullSchedule extends Schedule { diff --git a/Utils/TaskSchedule/Schedule.php b/Utils/TaskSchedule/Schedule.php index 99fea9a08..67a46b2fb 100644 --- a/Utils/TaskSchedule/Schedule.php +++ b/Utils/TaskSchedule/Schedule.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\Base\DateTime; /** * Schedule class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Schedule extends TaskAbstract { diff --git a/Utils/TaskSchedule/SchedulerAbstract.php b/Utils/TaskSchedule/SchedulerAbstract.php index 2ceb9e704..3e6ca873a 100644 --- a/Utils/TaskSchedule/SchedulerAbstract.php +++ b/Utils/TaskSchedule/SchedulerAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\System\File\PathException; /** * Scheduler abstract. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ abstract class SchedulerAbstract @@ -31,7 +31,7 @@ abstract class SchedulerAbstract /** * Bin path. * - * @var string + * @var string * @since 1.0.0 */ private static string $bin = ''; @@ -41,7 +41,7 @@ abstract class SchedulerAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getBin() : string { @@ -57,7 +57,7 @@ abstract class SchedulerAbstract * * @throws PathException * - * @since 1.0.0 + * @since 1.0.0 */ public static function setBin(string $path) : void { @@ -73,7 +73,7 @@ abstract class SchedulerAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function guessBin() : bool { @@ -106,7 +106,7 @@ abstract class SchedulerAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public static function test() : bool @@ -137,7 +137,7 @@ abstract class SchedulerAbstract * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ protected function run(string $cmd) : string { @@ -177,7 +177,7 @@ abstract class SchedulerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function create(TaskAbstract $task) : void; @@ -188,7 +188,7 @@ abstract class SchedulerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function update(TaskAbstract $task) : void; @@ -199,7 +199,7 @@ abstract class SchedulerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function deleteByName(string $name) : void; @@ -210,7 +210,7 @@ abstract class SchedulerAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function delete(TaskAbstract $task) : void; @@ -221,7 +221,7 @@ abstract class SchedulerAbstract * * @return string Normalized string for parsing * - * @since 1.0.0 + * @since 1.0.0 */ protected function normalize(string $raw) : string { @@ -236,7 +236,7 @@ abstract class SchedulerAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function getAllByName(string $name, bool $exact = true) : array; } diff --git a/Utils/TaskSchedule/SchedulerFactory.php b/Utils/TaskSchedule/SchedulerFactory.php index 2c4cf2835..de026e8ea 100644 --- a/Utils/TaskSchedule/SchedulerFactory.php +++ b/Utils/TaskSchedule/SchedulerFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\System\SystemType; /** * Scheduler factory. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class SchedulerFactory { @@ -34,7 +34,7 @@ final class SchedulerFactory * * @throws \Exception * - * @since 1.0.0 + * @since 1.0.0 */ public static function create() : SchedulerAbstract { diff --git a/Utils/TaskSchedule/TaskAbstract.php b/Utils/TaskSchedule/TaskAbstract.php index 8fda2244f..0877e28ce 100644 --- a/Utils/TaskSchedule/TaskAbstract.php +++ b/Utils/TaskSchedule/TaskAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,17 +17,17 @@ namespace phpOMS\Utils\TaskSchedule; /** * Abstract task class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class TaskAbstract { /** * Id. * - * @var string + * @var string * @since 1.0.0 */ protected string $id = ''; @@ -35,7 +35,7 @@ abstract class TaskAbstract /** * Command used for creating the task * - * @var string + * @var string * @since 1.0.0 */ protected string $command = ''; @@ -43,7 +43,7 @@ abstract class TaskAbstract /** * Run interval * - * @var string + * @var string * @since 1.0.0 */ protected string $interval = ''; @@ -51,7 +51,7 @@ abstract class TaskAbstract /** * Status of the task * - * @var string + * @var string * @since 1.0.0 */ protected string $status = ''; @@ -59,7 +59,7 @@ abstract class TaskAbstract /** * Next runtime * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ protected \DateTime $nextRunTime; @@ -67,7 +67,7 @@ abstract class TaskAbstract /** * Last runtime * - * @var \DateTime + * @var \DateTime * @since 1.0.0 */ protected \DateTime $lastRunTime; @@ -75,7 +75,7 @@ abstract class TaskAbstract /** * Comment * - * @var string + * @var string * @since 1.0.0 */ protected string $comment = ''; @@ -86,7 +86,7 @@ abstract class TaskAbstract * @param string $name Id/name of the task (on linux the same as the executable script) * @param string $cmd Command to create the task * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(string $name, string $cmd = '', string $interval = '') { @@ -102,7 +102,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getId() : string { @@ -114,7 +114,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ abstract public function __toString() : string; @@ -123,7 +123,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getCommand() : string { @@ -137,7 +137,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setCommand(string $command) : void { @@ -149,7 +149,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getInterval() : string { @@ -163,7 +163,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setInterval(string $interval) : void { @@ -175,7 +175,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getStatus() : string { @@ -189,7 +189,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setStatus(string $status) : void { @@ -201,7 +201,7 @@ abstract class TaskAbstract * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getNextRunTime() : \DateTime { @@ -215,7 +215,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setNextRunTime(\DateTime $nextRunTime) : void { @@ -227,7 +227,7 @@ abstract class TaskAbstract * * @return \DateTime * - * @since 1.0.0 + * @since 1.0.0 */ public function getLastRuntime() : \DateTime { @@ -241,7 +241,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setLastRuntime(\DateTime $lastRunTime) : void { @@ -253,7 +253,7 @@ abstract class TaskAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getComment() : string { @@ -267,7 +267,7 @@ abstract class TaskAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setComment(string $comment) : void { diff --git a/Utils/TaskSchedule/TaskFactory.php b/Utils/TaskSchedule/TaskFactory.php index 68e1b2be0..2a896e4b9 100644 --- a/Utils/TaskSchedule/TaskFactory.php +++ b/Utils/TaskSchedule/TaskFactory.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\System\SystemType; /** * Task factory. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class TaskFactory { @@ -37,7 +37,7 @@ final class TaskFactory * * @throws \Exception This exception is thrown if the operating system is not supported * - * @since 1.0.0 + * @since 1.0.0 */ public static function create(string $id = '', string $cmd = '') : TaskAbstract { diff --git a/Utils/TaskSchedule/TaskScheduler.php b/Utils/TaskSchedule/TaskScheduler.php index 8af94d194..65d799f81 100644 --- a/Utils/TaskSchedule/TaskScheduler.php +++ b/Utils/TaskSchedule/TaskScheduler.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils\TaskSchedule - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils\TaskSchedule + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Utils\TaskSchedule; /** * Task scheduler class. * - * @package phpOMS\Utils\TaskSchedule - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils\TaskSchedule + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 * @codeCoverageIgnore */ class TaskScheduler extends SchedulerAbstract diff --git a/Utils/TestUtils.php b/Utils/TestUtils.php index 220f4ac13..4f15cae83 100644 --- a/Utils/TestUtils.php +++ b/Utils/TestUtils.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Utils - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Utils + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,17 +19,17 @@ namespace phpOMS\Utils; * * Only for testing purposes. MUST NOT be used for other purposes. * - * @package phpOMS\Utils - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Utils + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class TestUtils { /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -46,7 +46,7 @@ final class TestUtils * * @return bool The function returns true after setting the member * - * @since 1.0.0 + * @since 1.0.0 */ public static function setMember(object $obj, string $name, $value) : bool { @@ -79,7 +79,7 @@ final class TestUtils * * @return mixed Returns the member variable value * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMember(object $obj, string $name) { diff --git a/Validation/Base/DateTime.php b/Validation/Base/DateTime.php index f277e6b02..f4d1083e1 100644 --- a/Validation/Base/DateTime.php +++ b/Validation/Base/DateTime.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate date. * - * @package phpOMS\Validation\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class DateTime extends ValidatorAbstract { diff --git a/Validation/Base/Json.php b/Validation/Base/Json.php index 1317a65c2..758aa2fa3 100644 --- a/Validation/Base/Json.php +++ b/Validation/Base/Json.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Base - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Base + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate json. * - * @package phpOMS\Validation\Base - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Base + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class Json extends ValidatorAbstract { @@ -45,7 +45,7 @@ abstract class Json extends ValidatorAbstract * * @return bool Returns true if the template validates the source otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public static function validateTemplate(array $template, array $source, bool $perfect = false) : bool { @@ -80,7 +80,7 @@ abstract class Json extends ValidatorAbstract * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ private static function createAllViablePaths(array $arr, string $path = '') : array { @@ -106,7 +106,7 @@ abstract class Json extends ValidatorAbstract * * @return bool Returns false in case of undefined elements * - * @since 1.0.0 + * @since 1.0.0 */ private static function hasTemplateDefinition(array $template, array $source) : bool { @@ -144,7 +144,7 @@ abstract class Json extends ValidatorAbstract * * @return bool Returns true if the source implements all required elements otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ private static function isCompleteSource(array $template, array $source) : bool { @@ -183,7 +183,7 @@ abstract class Json extends ValidatorAbstract * * @return bool Returns true if the source is correct in relation to the template otherwise false is returned * - * @since 1.0.0 + * @since 1.0.0 */ private static function isValidSource(array $template, array $source) : bool { diff --git a/Validation/Finance/BIC.php b/Validation/Finance/BIC.php index e34f8d648..a4c4dab9f 100644 --- a/Validation/Finance/BIC.php +++ b/Validation/Finance/BIC.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate BIC * - * @package phpOMS\Validation\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class BIC extends ValidatorAbstract { diff --git a/Validation/Finance/CreditCard.php b/Validation/Finance/CreditCard.php index 12b0011b5..e569fbab3 100644 --- a/Validation/Finance/CreditCard.php +++ b/Validation/Finance/CreditCard.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Credit card validation * - * @package phpOMS\Validation\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class CreditCard extends ValidatorAbstract { @@ -69,7 +69,7 @@ final class CreditCard extends ValidatorAbstract * * @return bool returns true if the number is a valid credit card and false if it isn't * - * @since 1.0.0 + * @since 1.0.0 */ public static function luhnTest(string $num) : bool { diff --git a/Validation/Finance/Iban.php b/Validation/Finance/Iban.php index a09199d60..2c153fa2d 100644 --- a/Validation/Finance/Iban.php +++ b/Validation/Finance/Iban.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Iban validation. * - * @package phpOMS\Validation\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Iban extends ValidatorAbstract { @@ -83,7 +83,7 @@ final class Iban extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function validateZeros(string $iban, string $layout) : bool { @@ -111,7 +111,7 @@ final class Iban extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function validateNumeric(string $iban, string $layout) : bool { @@ -138,7 +138,7 @@ final class Iban extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ private static function validateChecksum(string $iban) : bool { diff --git a/Validation/Finance/IbanEnum.php b/Validation/Finance/IbanEnum.php index def400a05..3275936f0 100644 --- a/Validation/Finance/IbanEnum.php +++ b/Validation/Finance/IbanEnum.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Iban layout definition. * - * @package phpOMS\Validation\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class IbanEnum extends Enum { diff --git a/Validation/Finance/IbanErrorType.php b/Validation/Finance/IbanErrorType.php index d5788f300..d64198e6f 100644 --- a/Validation/Finance/IbanErrorType.php +++ b/Validation/Finance/IbanErrorType.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Finance - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Finance + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Stdlib\Base\Enum; /** * Iban error type enum. * - * @package phpOMS\Validation\Finance - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Finance + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class IbanErrorType extends Enum { diff --git a/Validation/Network/Email.php b/Validation/Network/Email.php index 3b2fb5ead..43a7192da 100644 --- a/Validation/Network/Email.php +++ b/Validation/Network/Email.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Network - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Network + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate email. * - * @package phpOMS\Validation\Network - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Network + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class Email extends ValidatorAbstract { @@ -30,7 +30,7 @@ abstract class Email extends ValidatorAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() diff --git a/Validation/Network/Hostname.php b/Validation/Network/Hostname.php index de29b2268..a5308bb27 100644 --- a/Validation/Network/Hostname.php +++ b/Validation/Network/Hostname.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Network - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Network + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate hostname. * - * @package phpOMS\Validation\Network - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Network + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class Hostname extends ValidatorAbstract { @@ -30,7 +30,7 @@ abstract class Hostname extends ValidatorAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() diff --git a/Validation/Network/Ip.php b/Validation/Network/Ip.php index c8d57599b..07d14b9db 100644 --- a/Validation/Network/Ip.php +++ b/Validation/Network/Ip.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation\Network - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation\Network + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Validation\ValidatorAbstract; /** * Validate IP. * - * @package phpOMS\Validation\Network - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation\Network + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class Ip extends ValidatorAbstract { @@ -30,7 +30,7 @@ abstract class Ip extends ValidatorAbstract /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -52,7 +52,7 @@ abstract class Ip extends ValidatorAbstract * * @return bool Returns true if value is valid ip6 otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidIpv6($value) : bool { @@ -66,7 +66,7 @@ abstract class Ip extends ValidatorAbstract * * @return bool eturns true if value is valid ip4 otherwise false * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValidIpv4($value) : bool { diff --git a/Validation/Validator.php b/Validation/Validator.php index 21ee62c08..73db874db 100644 --- a/Validation/Validator.php +++ b/Validation/Validator.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ use phpOMS\Utils\StringUtils; /** * Validator class. * - * @package phpOMS\Validation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Validator extends ValidatorAbstract { @@ -37,7 +37,7 @@ final class Validator extends ValidatorAbstract * * @throws \BadFunctionCallException this exception is thrown if the callback is not callable * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValid($var, array $constraints = null) : bool { @@ -71,7 +71,7 @@ final class Validator extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isType($var, $constraint) : bool { @@ -97,7 +97,7 @@ final class Validator extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasLength(string $var, int $min = 0, int $max = \PHP_INT_MAX) : bool { @@ -118,7 +118,7 @@ final class Validator extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function contains(string $var, $substr) : bool { @@ -133,7 +133,7 @@ final class Validator extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function matches(string $var, string $pattern) : bool { @@ -149,7 +149,7 @@ final class Validator extends ValidatorAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function hasLimit($var, $min = 0, $max = \PHP_INT_MAX) : bool { diff --git a/Validation/ValidatorAbstract.php b/Validation/ValidatorAbstract.php index 010e25441..963c51099 100644 --- a/Validation/ValidatorAbstract.php +++ b/Validation/ValidatorAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Validation; /** * Validator abstract. * - * @package phpOMS\Validation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ValidatorAbstract implements ValidatorInterface { @@ -28,7 +28,7 @@ abstract class ValidatorAbstract implements ValidatorInterface /** * Error code. * - * @var int + * @var int * @since 1.0.0 */ protected static int $error = 0; @@ -36,7 +36,7 @@ abstract class ValidatorAbstract implements ValidatorInterface /** * Message string. * - * @var string + * @var string * @since 1.0.0 */ protected static string $msg = ''; diff --git a/Validation/ValidatorInterface.php b/Validation/ValidatorInterface.php index 0fd8baf75..4976de3e3 100644 --- a/Validation/ValidatorInterface.php +++ b/Validation/ValidatorInterface.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Validation - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Validation + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Validation; /** * Validator interface. * - * @package phpOMS\Validation - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Validation + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ interface ValidatorInterface { @@ -33,7 +33,7 @@ interface ValidatorInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function isValid($value, array $constraints = null); @@ -42,7 +42,7 @@ interface ValidatorInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function getMessage() : string; @@ -51,7 +51,7 @@ interface ValidatorInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public static function getErrorCode() : int; @@ -60,7 +60,7 @@ interface ValidatorInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function resetError() : void; } diff --git a/Version/Version.php b/Version/Version.php index dc46792f9..825850414 100644 --- a/Version/Version.php +++ b/Version/Version.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Version - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Version + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace phpOMS\Version; * * Responsible for handling versions * - * @package phpOMS\Version - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Version + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ final class Version { @@ -30,7 +30,7 @@ final class Version /** * Constructor. * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ private function __construct() @@ -45,7 +45,7 @@ final class Version * * @return int Returns the version comparison (0 = equals; -1 = lower; 1 = higher) * - * @since 1.0.0 + * @since 1.0.0 */ public static function compare(string $ver1, string $ver2) : int { diff --git a/Views/PaginationView.php b/Views/PaginationView.php index 38253464b..35ed994ad 100644 --- a/Views/PaginationView.php +++ b/Views/PaginationView.php @@ -4,21 +4,21 @@ * * PHP Version 7.4 * - * @package phpOMS\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Views + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ namespace phpOMS\Views; /** * Pagination view. * - * @package phpOMS\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class PaginationView extends View { @@ -26,7 +26,7 @@ class PaginationView extends View /** * Maximum amount of pages. * - * @var int + * @var int * @since 1.0.0 */ protected int $maxPages = 7; @@ -34,7 +34,7 @@ class PaginationView extends View /** * Current page id. * - * @var int + * @var int * @since 1.0.0 */ protected int $page = 1; @@ -42,7 +42,7 @@ class PaginationView extends View /** * How many pages exists? * - * @var int + * @var int * @since 1.0.0 */ protected int $pages = 1; @@ -50,7 +50,7 @@ class PaginationView extends View /** * How many results exists? * - * @var int + * @var int * @since 1.0.0 */ protected int $results = 0; @@ -58,7 +58,7 @@ class PaginationView extends View /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getMaxPages() : int { @@ -70,7 +70,7 @@ class PaginationView extends View * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setMaxPages(int $maxPages) : void { @@ -80,7 +80,7 @@ class PaginationView extends View /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPages() : int { @@ -92,7 +92,7 @@ class PaginationView extends View * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPages(int $pages) : void { @@ -102,7 +102,7 @@ class PaginationView extends View /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getPage() : int { @@ -114,7 +114,7 @@ class PaginationView extends View * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setPage(int $page = 1) : void { @@ -124,7 +124,7 @@ class PaginationView extends View /** * @return int * - * @since 1.0.0 + * @since 1.0.0 */ public function getResults() : int { @@ -136,7 +136,7 @@ class PaginationView extends View * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setResults(int $results = 0) : void { diff --git a/Views/TableView.php b/Views/TableView.php index ef481eb3e..8df49bc83 100644 --- a/Views/TableView.php +++ b/Views/TableView.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Views + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -17,10 +17,10 @@ namespace phpOMS\Views; /** * Basic table view which can be used as basis for specific implementations. * - * @package phpOMS\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class TableView extends View { diff --git a/Views/View.php b/Views/View.php index 1a94e682b..85289c542 100644 --- a/Views/View.php +++ b/Views/View.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Views + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -24,17 +24,17 @@ use phpOMS\Module\Exception\InvalidThemeException; /** * Basic view which can be used as basis for specific implementations. * - * @package phpOMS\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class View extends ViewAbstract { /** * View data. * - * @var array + * @var array * @since 1.0.0 */ protected array $data = []; @@ -42,7 +42,7 @@ class View extends ViewAbstract /** * View Localization. * - * @var null|Localization + * @var null|Localization * @since 1.0.0 */ protected ?Localization $l11n = null; @@ -50,7 +50,7 @@ class View extends ViewAbstract /** * Application. * - * @var null|ApplicationAbstract + * @var null|ApplicationAbstract * @since 1.0.0 */ protected ?ApplicationAbstract $app = null; @@ -58,7 +58,7 @@ class View extends ViewAbstract /** * Request. * - * @var null|RequestAbstract + * @var null|RequestAbstract * @since 1.0.0 */ protected ?RequestAbstract $request = null; @@ -66,7 +66,7 @@ class View extends ViewAbstract /** * Request. * - * @var null|ResponseAbstract + * @var null|ResponseAbstract * @since 1.0.0 */ protected ?ResponseAbstract $response = null; @@ -74,7 +74,7 @@ class View extends ViewAbstract /** * Theme name. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $theme = null; @@ -82,7 +82,7 @@ class View extends ViewAbstract /** * Module name. * - * @var null|string + * @var null|string * @since 1.0.0 */ protected ?string $module = null; @@ -94,7 +94,7 @@ class View extends ViewAbstract * @param RequestAbstract $request Request * @param ResponseAbstract $response Request * - * @since 1.0.0 + * @since 1.0.0 */ public function __construct(ApplicationAbstract $app = null, RequestAbstract $request = null, ResponseAbstract $response = null) { @@ -111,7 +111,7 @@ class View extends ViewAbstract * * @return mixed * - * @since 1.0.0 + * @since 1.0.0 */ public function getData(string $id) { @@ -126,7 +126,7 @@ class View extends ViewAbstract * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setData(string $id, $data) : void { @@ -140,7 +140,7 @@ class View extends ViewAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeData(string $id) : bool { @@ -161,7 +161,7 @@ class View extends ViewAbstract * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function addData(string $id, $data) : bool { @@ -183,7 +183,7 @@ class View extends ViewAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getText($translation, string $module = null, string $theme = null) : string { @@ -212,7 +212,7 @@ class View extends ViewAbstract * * @throws InvalidModuleException throws this exception if no data for the defined module could be found * - * @since 1.0.0 + * @since 1.0.0 */ private function setModuleDynamically() : void { @@ -240,7 +240,7 @@ class View extends ViewAbstract * * @throws InvalidThemeException throws this exception if no data for the defined theme could be found * - * @since 1.0.0 + * @since 1.0.0 */ private function setThemeDynamically() : void { @@ -268,7 +268,7 @@ class View extends ViewAbstract * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getHtml($translation, string $module = null, string $theme = null) : string { @@ -280,7 +280,7 @@ class View extends ViewAbstract * * @return null|RequestAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getRequest() : ?RequestAbstract { @@ -292,7 +292,7 @@ class View extends ViewAbstract * * @return null|ResponseAbstract * - * @since 1.0.0 + * @since 1.0.0 */ public function getResponse() : ?ResponseAbstract { diff --git a/Views/ViewAbstract.php b/Views/ViewAbstract.php index c2ae44cac..1c6dcb7f7 100644 --- a/Views/ViewAbstract.php +++ b/Views/ViewAbstract.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package phpOMS\Views - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package phpOMS\Views + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -20,10 +20,10 @@ use phpOMS\System\File\PathException; /** * View Abstract. * - * @package phpOMS\Views - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package phpOMS\Views + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ abstract class ViewAbstract implements RenderableInterface { @@ -31,7 +31,7 @@ abstract class ViewAbstract implements RenderableInterface /** * Template. * - * @var string + * @var string * @since 1.0.0 */ protected string $template = ''; @@ -39,7 +39,7 @@ abstract class ViewAbstract implements RenderableInterface /** * Views. * - * @var \phpOMS\Views\View[] + * @var \phpOMS\Views\View[] * @since 1.0.0 */ protected array $views = []; @@ -52,7 +52,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return int * - * @since 1.0.0 + * @since 1.0.0 */ private static function viewSort(array $a, array $b) : int { @@ -68,7 +68,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function getTemplate() : string { @@ -82,7 +82,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public function setTemplate(string $template) : void { @@ -96,7 +96,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function printHtml($text) : string { @@ -110,7 +110,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public static function html($text) : string { @@ -122,7 +122,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return View[] * - * @since 1.0.0 + * @since 1.0.0 */ public function getViews() : array { @@ -136,7 +136,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return false|View * - * @since 1.0.0 + * @since 1.0.0 */ public function getView(string $id) { @@ -154,7 +154,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function removeView(string $id) : bool { @@ -177,7 +177,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public function addView(string $id, View $view, int $order = 0, bool $overwrite = false) : bool { @@ -199,7 +199,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function serialize() : string { @@ -215,7 +215,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return array * - * @since 1.0.0 + * @since 1.0.0 */ public function toArray() : array { @@ -239,7 +239,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return string * - * @since 1.0.0 + * @since 1.0.0 */ public function render(...$data) : string { @@ -274,7 +274,7 @@ abstract class ViewAbstract implements RenderableInterface * * @return void * - * @since 1.0.0 + * @since 1.0.0 * @codeCoverageIgnore */ public function unserialize($raw) : void diff --git a/tests/Account/AccountManagerTest.php b/tests/Account/AccountManagerTest.php index 049f707a2..87ccd947d 100644 --- a/tests/Account/AccountManagerTest.php +++ b/tests/Account/AccountManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/AccountStatusTest.php b/tests/Account/AccountStatusTest.php index 0d36d2693..c28b611ed 100644 --- a/tests/Account/AccountStatusTest.php +++ b/tests/Account/AccountStatusTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/AccountTest.php b/tests/Account/AccountTest.php index 8c584bf73..1153b3d68 100644 --- a/tests/Account/AccountTest.php +++ b/tests/Account/AccountTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/AccountTypeTest.php b/tests/Account/AccountTypeTest.php index 5bb0c9563..bd50cb243 100644 --- a/tests/Account/AccountTypeTest.php +++ b/tests/Account/AccountTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/GroupStatusTest.php b/tests/Account/GroupStatusTest.php index 1d0f6c99a..4f5eef27c 100644 --- a/tests/Account/GroupStatusTest.php +++ b/tests/Account/GroupStatusTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/GroupTest.php b/tests/Account/GroupTest.php index e21851613..61d508b2f 100644 --- a/tests/Account/GroupTest.php +++ b/tests/Account/GroupTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/NullAccountTest.php b/tests/Account/NullAccountTest.php index 4139f9cb4..0aac326a5 100644 --- a/tests/Account/NullAccountTest.php +++ b/tests/Account/NullAccountTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/PermissionAbstractTest.php b/tests/Account/PermissionAbstractTest.php index 7c316b449..49b205c18 100644 --- a/tests/Account/PermissionAbstractTest.php +++ b/tests/Account/PermissionAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Account/PermissionTypeTest.php b/tests/Account/PermissionTypeTest.php index 3938b0641..18f48efd0 100644 --- a/tests/Account/PermissionTypeTest.php +++ b/tests/Account/PermissionTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/CoinMatching/MinimumCoinProblemTest.php b/tests/Algorithm/CoinMatching/MinimumCoinProblemTest.php index b6e3a5b39..376caf4dd 100644 --- a/tests/Algorithm/CoinMatching/MinimumCoinProblemTest.php +++ b/tests/Algorithm/CoinMatching/MinimumCoinProblemTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/PathFinding/JumpPointSearchTest.php b/tests/Algorithm/PathFinding/JumpPointSearchTest.php index 93d9b44dc..c844c1967 100644 --- a/tests/Algorithm/PathFinding/JumpPointSearchTest.php +++ b/tests/Algorithm/PathFinding/JumpPointSearchTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/BitonicSortTest.php b/tests/Algorithm/Sort/BitonicSortTest.php index b6bf27425..4c2dac541 100644 --- a/tests/Algorithm/Sort/BitonicSortTest.php +++ b/tests/Algorithm/Sort/BitonicSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/BubbleSortTest.php b/tests/Algorithm/Sort/BubbleSortTest.php index 0e53dd12b..f9c84044d 100644 --- a/tests/Algorithm/Sort/BubbleSortTest.php +++ b/tests/Algorithm/Sort/BubbleSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/BucketSortTest.php b/tests/Algorithm/Sort/BucketSortTest.php index 2ac3c5d93..a5e843116 100644 --- a/tests/Algorithm/Sort/BucketSortTest.php +++ b/tests/Algorithm/Sort/BucketSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/CocktailShakerSortTest.php b/tests/Algorithm/Sort/CocktailShakerSortTest.php index 5e44980ca..050770118 100644 --- a/tests/Algorithm/Sort/CocktailShakerSortTest.php +++ b/tests/Algorithm/Sort/CocktailShakerSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/CombSortTest.php b/tests/Algorithm/Sort/CombSortTest.php index eaeea32eb..1bc590181 100644 --- a/tests/Algorithm/Sort/CombSortTest.php +++ b/tests/Algorithm/Sort/CombSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/CycleSortTest.php b/tests/Algorithm/Sort/CycleSortTest.php index 65072acdc..5b3f6f0f2 100644 --- a/tests/Algorithm/Sort/CycleSortTest.php +++ b/tests/Algorithm/Sort/CycleSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/GnomeSortTest.php b/tests/Algorithm/Sort/GnomeSortTest.php index ff7537f0e..b0959fc68 100644 --- a/tests/Algorithm/Sort/GnomeSortTest.php +++ b/tests/Algorithm/Sort/GnomeSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/NumericElement.php b/tests/Algorithm/Sort/NumericElement.php index c70d6f561..757ea091b 100644 --- a/tests/Algorithm/Sort/NumericElement.php +++ b/tests/Algorithm/Sort/NumericElement.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/OddEvenSortTest.php b/tests/Algorithm/Sort/OddEvenSortTest.php index b3fd3d48e..d070bd6e9 100644 --- a/tests/Algorithm/Sort/OddEvenSortTest.php +++ b/tests/Algorithm/Sort/OddEvenSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/QuickSortTest.php b/tests/Algorithm/Sort/QuickSortTest.php index cf7c6274a..bbdc9285d 100644 --- a/tests/Algorithm/Sort/QuickSortTest.php +++ b/tests/Algorithm/Sort/QuickSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Algorithm/Sort/SelectionSortTest.php b/tests/Algorithm/Sort/SelectionSortTest.php index 5c2f983c8..19164bb59 100644 --- a/tests/Algorithm/Sort/SelectionSortTest.php +++ b/tests/Algorithm/Sort/SelectionSortTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/ApplicationAbstractTest.php b/tests/ApplicationAbstractTest.php index 0c1a86489..fd1c24a4a 100644 --- a/tests/ApplicationAbstractTest.php +++ b/tests/ApplicationAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Asset/AssetManagerTest.php b/tests/Asset/AssetManagerTest.php index 4907cd1a9..1d379051b 100644 --- a/tests/Asset/AssetManagerTest.php +++ b/tests/Asset/AssetManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Asset/AssetTypeTest.php b/tests/Asset/AssetTypeTest.php index f61d5ca9f..0864d8c63 100644 --- a/tests/Asset/AssetTypeTest.php +++ b/tests/Asset/AssetTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Auth/AuthTest.php b/tests/Auth/AuthTest.php index a532185ed..a56dd51ba 100644 --- a/tests/Auth/AuthTest.php +++ b/tests/Auth/AuthTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Auth/LoginReturnTypeTest.php b/tests/Auth/LoginReturnTypeTest.php index 2ac6428e7..6cfdb88f5 100644 --- a/tests/Auth/LoginReturnTypeTest.php +++ b/tests/Auth/LoginReturnTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/AutoloadExceptionTest.php b/tests/AutoloadExceptionTest.php index 2a65c6b80..62b0ca7b2 100644 --- a/tests/AutoloadExceptionTest.php +++ b/tests/AutoloadExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Autoloader.php b/tests/Autoloader.php index cb7afe8e0..b703b54c3 100644 --- a/tests/Autoloader.php +++ b/tests/Autoloader.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package Tests\PHPUnit - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package Tests\PHPUnit + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); @@ -19,10 +19,10 @@ namespace Tests\PHPUnit; /** * Autoloader class. * - * @package Tests\PHPUnit - * @license OMS License 1.0 - * @link https://orange-management.org - * @since 1.0.0 + * @package Tests\PHPUnit + * @license OMS License 1.0 + * @link https://orange-management.org + * @since 1.0.0 */ class Autoloader { @@ -36,7 +36,7 @@ class Autoloader * * @return void * - * @since 1.0.0 + * @since 1.0.0 */ public static function defaultAutoloader(string $class) : void { @@ -60,7 +60,7 @@ class Autoloader * * @return bool * - * @since 1.0.0 + * @since 1.0.0 */ public static function exists(string $class) : bool { diff --git a/tests/AutoloaderTest.php b/tests/AutoloaderTest.php index 1c0f7610e..669b307ce 100644 --- a/tests/AutoloaderTest.php +++ b/tests/AutoloaderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Finance/DepreciationTest.php b/tests/Business/Finance/DepreciationTest.php index 85f082895..f2869797b 100644 --- a/tests/Business/Finance/DepreciationTest.php +++ b/tests/Business/Finance/DepreciationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Finance/FinanceFormulasTest.php b/tests/Business/Finance/FinanceFormulasTest.php index a503d8b81..6657797c5 100644 --- a/tests/Business/Finance/FinanceFormulasTest.php +++ b/tests/Business/Finance/FinanceFormulasTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Finance/LoanTest.php b/tests/Business/Finance/LoanTest.php index a17f76e5d..e7d3a3e01 100644 --- a/tests/Business/Finance/LoanTest.php +++ b/tests/Business/Finance/LoanTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Finance/LorenzkurveTest.php b/tests/Business/Finance/LorenzkurveTest.php index 96f802f1b..b6192b6b7 100644 --- a/tests/Business/Finance/LorenzkurveTest.php +++ b/tests/Business/Finance/LorenzkurveTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Finance/StockBondsTest.php b/tests/Business/Finance/StockBondsTest.php index 7987566c4..5ca39e209 100644 --- a/tests/Business/Finance/StockBondsTest.php +++ b/tests/Business/Finance/StockBondsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Marketing/MetricsTest.php b/tests/Business/Marketing/MetricsTest.php index 0cca4be74..450c6f31d 100644 --- a/tests/Business/Marketing/MetricsTest.php +++ b/tests/Business/Marketing/MetricsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Marketing/NetPromoterScoreTest.php b/tests/Business/Marketing/NetPromoterScoreTest.php index 924b4bbd1..399d08794 100644 --- a/tests/Business/Marketing/NetPromoterScoreTest.php +++ b/tests/Business/Marketing/NetPromoterScoreTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Programming/MetricsTest.php b/tests/Business/Programming/MetricsTest.php index e5f770262..48064017a 100644 --- a/tests/Business/Programming/MetricsTest.php +++ b/tests/Business/Programming/MetricsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Business/Sales/MarketShareEstimationTest.php b/tests/Business/Sales/MarketShareEstimationTest.php index 2beba7aff..864482a8e 100644 --- a/tests/Business/Sales/MarketShareEstimationTest.php +++ b/tests/Business/Sales/MarketShareEstimationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\Business\Sales; diff --git a/tests/Config/OptionsTraitTest.php b/tests/Config/OptionsTraitTest.php index 34b4cadb8..2b6a4ad82 100644 --- a/tests/Config/OptionsTraitTest.php +++ b/tests/Config/OptionsTraitTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/CachePoolTest.php b/tests/DataStorage/Cache/CachePoolTest.php index e91c196b4..faadb943f 100644 --- a/tests/DataStorage/Cache/CachePoolTest.php +++ b/tests/DataStorage/Cache/CachePoolTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/CacheStatusTest.php b/tests/DataStorage/Cache/CacheStatusTest.php index 5701a58a2..8c5fe139d 100644 --- a/tests/DataStorage/Cache/CacheStatusTest.php +++ b/tests/DataStorage/Cache/CacheStatusTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/CacheTypeTest.php b/tests/DataStorage/Cache/CacheTypeTest.php index 0623c9bf0..3135fad4a 100644 --- a/tests/DataStorage/Cache/CacheTypeTest.php +++ b/tests/DataStorage/Cache/CacheTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/CacheValueTypeTest.php b/tests/DataStorage/Cache/Connection/CacheValueTypeTest.php index c157865fe..19eaeb142 100644 --- a/tests/DataStorage/Cache/Connection/CacheValueTypeTest.php +++ b/tests/DataStorage/Cache/Connection/CacheValueTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/ConnectionFactoryTest.php b/tests/DataStorage/Cache/Connection/ConnectionFactoryTest.php index de5ed526d..f7585da13 100644 --- a/tests/DataStorage/Cache/Connection/ConnectionFactoryTest.php +++ b/tests/DataStorage/Cache/Connection/ConnectionFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/FileCacheJsonSerializable.php b/tests/DataStorage/Cache/Connection/FileCacheJsonSerializable.php index 6fb184e33..d70076ca8 100644 --- a/tests/DataStorage/Cache/Connection/FileCacheJsonSerializable.php +++ b/tests/DataStorage/Cache/Connection/FileCacheJsonSerializable.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/FileCacheSerializable.php b/tests/DataStorage/Cache/Connection/FileCacheSerializable.php index 4218d2a77..750c3034e 100644 --- a/tests/DataStorage/Cache/Connection/FileCacheSerializable.php +++ b/tests/DataStorage/Cache/Connection/FileCacheSerializable.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/FileCacheTest.php b/tests/DataStorage/Cache/Connection/FileCacheTest.php index c3e275c18..92a57484d 100644 --- a/tests/DataStorage/Cache/Connection/FileCacheTest.php +++ b/tests/DataStorage/Cache/Connection/FileCacheTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/MemCachedTest.php b/tests/DataStorage/Cache/Connection/MemCachedTest.php index dfdce31e6..b6184e873 100644 --- a/tests/DataStorage/Cache/Connection/MemCachedTest.php +++ b/tests/DataStorage/Cache/Connection/MemCachedTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/NullCacheTest.php b/tests/DataStorage/Cache/Connection/NullCacheTest.php index 7056666ad..b50be756f 100644 --- a/tests/DataStorage/Cache/Connection/NullCacheTest.php +++ b/tests/DataStorage/Cache/Connection/NullCacheTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Connection/RedisCacheTest.php b/tests/DataStorage/Cache/Connection/RedisCacheTest.php index 6d620fab4..1240946e0 100644 --- a/tests/DataStorage/Cache/Connection/RedisCacheTest.php +++ b/tests/DataStorage/Cache/Connection/RedisCacheTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cache/Exception/InvalidConnectionConfigExceptionTest.php b/tests/DataStorage/Cache/Exception/InvalidConnectionConfigExceptionTest.php index 0b856c6ce..002923741 100644 --- a/tests/DataStorage/Cache/Exception/InvalidConnectionConfigExceptionTest.php +++ b/tests/DataStorage/Cache/Exception/InvalidConnectionConfigExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Cookie/CookieJarTest.php b/tests/DataStorage/Cookie/CookieJarTest.php index 43b523b89..f909d3b74 100644 --- a/tests/DataStorage/Cookie/CookieJarTest.php +++ b/tests/DataStorage/Cookie/CookieJarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Connection/ConnectionFactoryTest.php b/tests/DataStorage/Database/Connection/ConnectionFactoryTest.php index e2308e2ab..c7826a7b6 100644 --- a/tests/DataStorage/Database/Connection/ConnectionFactoryTest.php +++ b/tests/DataStorage/Database/Connection/ConnectionFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Connection/MysqlConnectionTest.php b/tests/DataStorage/Database/Connection/MysqlConnectionTest.php index 30e833073..5acb688f8 100644 --- a/tests/DataStorage/Database/Connection/MysqlConnectionTest.php +++ b/tests/DataStorage/Database/Connection/MysqlConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Connection/NullConnectionTest.php b/tests/DataStorage/Database/Connection/NullConnectionTest.php index 13d8cdc7e..804a8de77 100644 --- a/tests/DataStorage/Database/Connection/NullConnectionTest.php +++ b/tests/DataStorage/Database/Connection/NullConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Connection/PostgresConnectionTest.php b/tests/DataStorage/Database/Connection/PostgresConnectionTest.php index ab71a73f8..164ce7388 100644 --- a/tests/DataStorage/Database/Connection/PostgresConnectionTest.php +++ b/tests/DataStorage/Database/Connection/PostgresConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\Connection; diff --git a/tests/DataStorage/Database/Connection/SQLiteConnectionTest.php b/tests/DataStorage/Database/Connection/SQLiteConnectionTest.php index b081e1481..375541647 100644 --- a/tests/DataStorage/Database/Connection/SQLiteConnectionTest.php +++ b/tests/DataStorage/Database/Connection/SQLiteConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\Connection; diff --git a/tests/DataStorage/Database/Connection/SqlServerConnectionTest.php b/tests/DataStorage/Database/Connection/SqlServerConnectionTest.php index e0584d850..025b0a44a 100644 --- a/tests/DataStorage/Database/Connection/SqlServerConnectionTest.php +++ b/tests/DataStorage/Database/Connection/SqlServerConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/DataMapperAbstractTest.php b/tests/DataStorage/Database/DataMapperAbstractTest.php index 5b6d259e1..ec94d705d 100644 --- a/tests/DataStorage/Database/DataMapperAbstractTest.php +++ b/tests/DataStorage/Database/DataMapperAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database; diff --git a/tests/DataStorage/Database/DatabaseExceptionFactoryTest.php b/tests/DataStorage/Database/DatabaseExceptionFactoryTest.php index 42f97244a..ae1dbb097 100644 --- a/tests/DataStorage/Database/DatabaseExceptionFactoryTest.php +++ b/tests/DataStorage/Database/DatabaseExceptionFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/DatabasePoolTest.php b/tests/DataStorage/Database/DatabasePoolTest.php index bff458fca..243501106 100644 --- a/tests/DataStorage/Database/DatabasePoolTest.php +++ b/tests/DataStorage/Database/DatabasePoolTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/DatabaseStatusTest.php b/tests/DataStorage/Database/DatabaseStatusTest.php index eaeac4685..d77465d3c 100644 --- a/tests/DataStorage/Database/DatabaseStatusTest.php +++ b/tests/DataStorage/Database/DatabaseStatusTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/DatabaseTypeTest.php b/tests/DataStorage/Database/DatabaseTypeTest.php index fdbd77ddd..fcca953c3 100644 --- a/tests/DataStorage/Database/DatabaseTypeTest.php +++ b/tests/DataStorage/Database/DatabaseTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Exception/InvalidConnectionConfigExceptionTest.php b/tests/DataStorage/Database/Exception/InvalidConnectionConfigExceptionTest.php index ac5975667..da44749d8 100644 --- a/tests/DataStorage/Database/Exception/InvalidConnectionConfigExceptionTest.php +++ b/tests/DataStorage/Database/Exception/InvalidConnectionConfigExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Exception/InvalidDatabaseTypeExceptionTest.php b/tests/DataStorage/Database/Exception/InvalidDatabaseTypeExceptionTest.php index faddfec38..cefc0b2f3 100644 --- a/tests/DataStorage/Database/Exception/InvalidDatabaseTypeExceptionTest.php +++ b/tests/DataStorage/Database/Exception/InvalidDatabaseTypeExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Exception/InvalidMapperExceptionTest.php b/tests/DataStorage/Database/Exception/InvalidMapperExceptionTest.php index 8cae3949b..c5affaa60 100644 --- a/tests/DataStorage/Database/Exception/InvalidMapperExceptionTest.php +++ b/tests/DataStorage/Database/Exception/InvalidMapperExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/BuilderTest.php b/tests/DataStorage/Database/Query/BuilderTest.php index 1b2fbca28..add1e872e 100644 --- a/tests/DataStorage/Database/Query/BuilderTest.php +++ b/tests/DataStorage/Database/Query/BuilderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/ColumnTest.php b/tests/DataStorage/Database/Query/ColumnTest.php index af5afe697..dc3f64255 100644 --- a/tests/DataStorage/Database/Query/ColumnTest.php +++ b/tests/DataStorage/Database/Query/ColumnTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/CountTest.php b/tests/DataStorage/Database/Query/CountTest.php index b703d40e0..68958ed81 100644 --- a/tests/DataStorage/Database/Query/CountTest.php +++ b/tests/DataStorage/Database/Query/CountTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/ExpressionTest.php b/tests/DataStorage/Database/Query/ExpressionTest.php index e97e48ad0..e01c8280c 100644 --- a/tests/DataStorage/Database/Query/ExpressionTest.php +++ b/tests/DataStorage/Database/Query/ExpressionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/FromTest.php b/tests/DataStorage/Database/Query/FromTest.php index dc73fc72c..06d0ad2f3 100644 --- a/tests/DataStorage/Database/Query/FromTest.php +++ b/tests/DataStorage/Database/Query/FromTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/GrammarTest.php b/tests/DataStorage/Database/Query/Grammar/GrammarTest.php index 98c4d0e2a..52f9c9a8e 100644 --- a/tests/DataStorage/Database/Query/Grammar/GrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/GrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/MicrosoftGrammarTest.php b/tests/DataStorage/Database/Query/Grammar/MicrosoftGrammarTest.php index 28d317a33..09d99b5af 100644 --- a/tests/DataStorage/Database/Query/Grammar/MicrosoftGrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/MicrosoftGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/MysqlGrammarTest.php b/tests/DataStorage/Database/Query/Grammar/MysqlGrammarTest.php index d3dacd1c9..6fcc271c3 100644 --- a/tests/DataStorage/Database/Query/Grammar/MysqlGrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/MysqlGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/OracleGrammarTest.php b/tests/DataStorage/Database/Query/Grammar/OracleGrammarTest.php index b58461d21..93ea4ac7b 100644 --- a/tests/DataStorage/Database/Query/Grammar/OracleGrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/OracleGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/PostgresGrammarTest.php b/tests/DataStorage/Database/Query/Grammar/PostgresGrammarTest.php index 47ccc9a8e..f7533f717 100644 --- a/tests/DataStorage/Database/Query/Grammar/PostgresGrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/PostgresGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/Grammar/SQLiteGrammarTest.php b/tests/DataStorage/Database/Query/Grammar/SQLiteGrammarTest.php index ede78bdd7..80fb7e934 100644 --- a/tests/DataStorage/Database/Query/Grammar/SQLiteGrammarTest.php +++ b/tests/DataStorage/Database/Query/Grammar/SQLiteGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/IntoTest.php b/tests/DataStorage/Database/Query/IntoTest.php index b88098eeb..9d8549c27 100644 --- a/tests/DataStorage/Database/Query/IntoTest.php +++ b/tests/DataStorage/Database/Query/IntoTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/JoinTypeTest.php b/tests/DataStorage/Database/Query/JoinTypeTest.php index fd99e635a..0c2a9fb45 100644 --- a/tests/DataStorage/Database/Query/JoinTypeTest.php +++ b/tests/DataStorage/Database/Query/JoinTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/QueryTypeTest.php b/tests/DataStorage/Database/Query/QueryTypeTest.php index fe10ac07a..d6a972a58 100644 --- a/tests/DataStorage/Database/Query/QueryTypeTest.php +++ b/tests/DataStorage/Database/Query/QueryTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/SelectTest.php b/tests/DataStorage/Database/Query/SelectTest.php index 81f5df30b..91fe0cc7d 100644 --- a/tests/DataStorage/Database/Query/SelectTest.php +++ b/tests/DataStorage/Database/Query/SelectTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Query/WhereTest.php b/tests/DataStorage/Database/Query/WhereTest.php index e1c29e75d..1b7cb353e 100644 --- a/tests/DataStorage/Database/Query/WhereTest.php +++ b/tests/DataStorage/Database/Query/WhereTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/RelationTypeTest.php b/tests/DataStorage/Database/RelationTypeTest.php index fbc5a8ba5..59a1e329b 100644 --- a/tests/DataStorage/Database/RelationTypeTest.php +++ b/tests/DataStorage/Database/RelationTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/BuilderTest.php b/tests/DataStorage/Database/Schema/BuilderTest.php index e0ab23aa4..ec5cab34e 100644 --- a/tests/DataStorage/Database/Schema/BuilderTest.php +++ b/tests/DataStorage/Database/Schema/BuilderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Exception/TableExceptionTest.php b/tests/DataStorage/Database/Schema/Exception/TableExceptionTest.php index e3339ed89..815d11218 100644 --- a/tests/DataStorage/Database/Schema/Exception/TableExceptionTest.php +++ b/tests/DataStorage/Database/Schema/Exception/TableExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Grammar/GrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/GrammarTest.php index 79c15734c..7d3a1b57d 100644 --- a/tests/DataStorage/Database/Schema/Grammar/GrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/GrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Grammar/MysqlGrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/MysqlGrammarTest.php index c6742d08a..21adfd5fd 100644 --- a/tests/DataStorage/Database/Schema/Grammar/MysqlGrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/MysqlGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Grammar/OracleGrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/OracleGrammarTest.php index 35d2b207c..cb3f64876 100644 --- a/tests/DataStorage/Database/Schema/Grammar/OracleGrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/OracleGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Grammar/PostgresGrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/PostgresGrammarTest.php index fc63fe546..794670140 100644 --- a/tests/DataStorage/Database/Schema/Grammar/PostgresGrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/PostgresGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/Grammar/SQLiteGrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/SQLiteGrammarTest.php index e7ac2ade3..d11e473f8 100644 --- a/tests/DataStorage/Database/Schema/Grammar/SQLiteGrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/SQLiteGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\Schema\Grammar; diff --git a/tests/DataStorage/Database/Schema/Grammar/SqlServerGrammarTest.php b/tests/DataStorage/Database/Schema/Grammar/SqlServerGrammarTest.php index 7c9ee075f..6079c2d16 100644 --- a/tests/DataStorage/Database/Schema/Grammar/SqlServerGrammarTest.php +++ b/tests/DataStorage/Database/Schema/Grammar/SqlServerGrammarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/Schema/QueryTypeTest.php b/tests/DataStorage/Database/Schema/QueryTypeTest.php index a3293d895..19708a9e4 100644 --- a/tests/DataStorage/Database/Schema/QueryTypeTest.php +++ b/tests/DataStorage/Database/Schema/QueryTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/BaseModel.php b/tests/DataStorage/Database/TestModel/BaseModel.php index 9602ff405..0b8b7e940 100644 --- a/tests/DataStorage/Database/TestModel/BaseModel.php +++ b/tests/DataStorage/Database/TestModel/BaseModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/BaseModelMapper.php b/tests/DataStorage/Database/TestModel/BaseModelMapper.php index 43398a3ea..a8219cbd2 100644 --- a/tests/DataStorage/Database/TestModel/BaseModelMapper.php +++ b/tests/DataStorage/Database/TestModel/BaseModelMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\TestModel; @@ -21,7 +21,7 @@ class BaseModelMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ @@ -42,7 +42,7 @@ class BaseModelMapper extends DataMapperAbstract /** * Belongs to. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $belongsTo = [ @@ -62,7 +62,7 @@ class BaseModelMapper extends DataMapperAbstract /** * Has many relation. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $hasMany = [ diff --git a/tests/DataStorage/Database/TestModel/BelongsToModel.php b/tests/DataStorage/Database/TestModel/BelongsToModel.php index 6fb3247e1..be63a9a6a 100644 --- a/tests/DataStorage/Database/TestModel/BelongsToModel.php +++ b/tests/DataStorage/Database/TestModel/BelongsToModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/BelongsToModelMapper.php b/tests/DataStorage/Database/TestModel/BelongsToModelMapper.php index 7005009ae..363c7cfb7 100644 --- a/tests/DataStorage/Database/TestModel/BelongsToModelMapper.php +++ b/tests/DataStorage/Database/TestModel/BelongsToModelMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\TestModel; @@ -21,7 +21,7 @@ class BelongsToModelMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ diff --git a/tests/DataStorage/Database/TestModel/ManyToManyDirectModel.php b/tests/DataStorage/Database/TestModel/ManyToManyDirectModel.php index 207dc28bf..840d5c7a3 100644 --- a/tests/DataStorage/Database/TestModel/ManyToManyDirectModel.php +++ b/tests/DataStorage/Database/TestModel/ManyToManyDirectModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/ManyToManyDirectModelMapper.php b/tests/DataStorage/Database/TestModel/ManyToManyDirectModelMapper.php index 2a1d6d249..04ffd4040 100644 --- a/tests/DataStorage/Database/TestModel/ManyToManyDirectModelMapper.php +++ b/tests/DataStorage/Database/TestModel/ManyToManyDirectModelMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\TestModel; @@ -21,7 +21,7 @@ class ManyToManyDirectModelMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ diff --git a/tests/DataStorage/Database/TestModel/ManyToManyRelModel.php b/tests/DataStorage/Database/TestModel/ManyToManyRelModel.php index e1e8b751f..8face8824 100644 --- a/tests/DataStorage/Database/TestModel/ManyToManyRelModel.php +++ b/tests/DataStorage/Database/TestModel/ManyToManyRelModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/ManyToManyRelModelMapper.php b/tests/DataStorage/Database/TestModel/ManyToManyRelModelMapper.php index 664892c1c..c66e7a013 100644 --- a/tests/DataStorage/Database/TestModel/ManyToManyRelModelMapper.php +++ b/tests/DataStorage/Database/TestModel/ManyToManyRelModelMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\TestModel; @@ -21,7 +21,7 @@ class ManyToManyRelModelMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ diff --git a/tests/DataStorage/Database/TestModel/NullBaseModel.php b/tests/DataStorage/Database/TestModel/NullBaseModel.php index 40203d499..c1f66ba00 100644 --- a/tests/DataStorage/Database/TestModel/NullBaseModel.php +++ b/tests/DataStorage/Database/TestModel/NullBaseModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/NullBelongsToModel.php b/tests/DataStorage/Database/TestModel/NullBelongsToModel.php index a154d7246..ea77fff5e 100644 --- a/tests/DataStorage/Database/TestModel/NullBelongsToModel.php +++ b/tests/DataStorage/Database/TestModel/NullBelongsToModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/NullManyToManyDirectModel.php b/tests/DataStorage/Database/TestModel/NullManyToManyDirectModel.php index f1a50dcbc..191372cf5 100644 --- a/tests/DataStorage/Database/TestModel/NullManyToManyDirectModel.php +++ b/tests/DataStorage/Database/TestModel/NullManyToManyDirectModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/NullManyToManyRelModel.php b/tests/DataStorage/Database/TestModel/NullManyToManyRelModel.php index 45c34eaca..cd9aec262 100644 --- a/tests/DataStorage/Database/TestModel/NullManyToManyRelModel.php +++ b/tests/DataStorage/Database/TestModel/NullManyToManyRelModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/NullOwnsOneModel.php b/tests/DataStorage/Database/TestModel/NullOwnsOneModel.php index 1490caf96..d4066c25b 100644 --- a/tests/DataStorage/Database/TestModel/NullOwnsOneModel.php +++ b/tests/DataStorage/Database/TestModel/NullOwnsOneModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/OwnsOneModel.php b/tests/DataStorage/Database/TestModel/OwnsOneModel.php index 9511f4c26..a02119dc9 100644 --- a/tests/DataStorage/Database/TestModel/OwnsOneModel.php +++ b/tests/DataStorage/Database/TestModel/OwnsOneModel.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Database/TestModel/OwnsOneModelMapper.php b/tests/DataStorage/Database/TestModel/OwnsOneModelMapper.php index 5b6cbf673..a7ee60289 100644 --- a/tests/DataStorage/Database/TestModel/OwnsOneModelMapper.php +++ b/tests/DataStorage/Database/TestModel/OwnsOneModelMapper.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\DataStorage\Database\TestModel; @@ -21,7 +21,7 @@ class OwnsOneModelMapper extends DataMapperAbstract /** * Columns. * - * @var array> + * @var array> * @since 1.0.0 */ protected static array $columns = [ diff --git a/tests/DataStorage/File/JsonBuilderTest.php b/tests/DataStorage/File/JsonBuilderTest.php index 52c7e05e6..a2de75890 100644 --- a/tests/DataStorage/File/JsonBuilderTest.php +++ b/tests/DataStorage/File/JsonBuilderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/LockExceptionTest.php b/tests/DataStorage/LockExceptionTest.php index f7fbf0686..0fabd1e27 100644 --- a/tests/DataStorage/LockExceptionTest.php +++ b/tests/DataStorage/LockExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/DataStorage/Session/HttpSessionTest.php b/tests/DataStorage/Session/HttpSessionTest.php index 863ece69b..2e94ebd93 100644 --- a/tests/DataStorage/Session/HttpSessionTest.php +++ b/tests/DataStorage/Session/HttpSessionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Dispatcher/DispatcherTest.php b/tests/Dispatcher/DispatcherTest.php index f83e306a8..6ca8660b5 100644 --- a/tests/Dispatcher/DispatcherTest.php +++ b/tests/Dispatcher/DispatcherTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Dispatcher/TestController.php b/tests/Dispatcher/TestController.php index 0a04e4c06..3d42a9141 100644 --- a/tests/Dispatcher/TestController.php +++ b/tests/Dispatcher/TestController.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); namespace phpOMS\tests\Dispatcher; diff --git a/tests/Event/EventManagerTest.php b/tests/Event/EventManagerTest.php index d423b63fb..3faa6b683 100644 --- a/tests/Event/EventManagerTest.php +++ b/tests/Event/EventManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/ExtensionTest.php b/tests/ExtensionTest.php index 80132f257..14cca5a27 100644 --- a/tests/ExtensionTest.php +++ b/tests/ExtensionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CityMapperTest.php b/tests/Localization/Defaults/CityMapperTest.php index d5fb02268..ad2c45a33 100644 --- a/tests/Localization/Defaults/CityMapperTest.php +++ b/tests/Localization/Defaults/CityMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CityTest.php b/tests/Localization/Defaults/CityTest.php index 04d882077..07e7149bd 100644 --- a/tests/Localization/Defaults/CityTest.php +++ b/tests/Localization/Defaults/CityTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CountryMapperTest.php b/tests/Localization/Defaults/CountryMapperTest.php index 82e8fc909..88f04fb10 100644 --- a/tests/Localization/Defaults/CountryMapperTest.php +++ b/tests/Localization/Defaults/CountryMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CountryTest.php b/tests/Localization/Defaults/CountryTest.php index c3fdb15d0..819d1689f 100644 --- a/tests/Localization/Defaults/CountryTest.php +++ b/tests/Localization/Defaults/CountryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CurrencyMapperTest.php b/tests/Localization/Defaults/CurrencyMapperTest.php index 07b03f50e..8287ea0e8 100644 --- a/tests/Localization/Defaults/CurrencyMapperTest.php +++ b/tests/Localization/Defaults/CurrencyMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/CurrencyTest.php b/tests/Localization/Defaults/CurrencyTest.php index 787bf1abf..08974161d 100644 --- a/tests/Localization/Defaults/CurrencyTest.php +++ b/tests/Localization/Defaults/CurrencyTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/IbanMapperTest.php b/tests/Localization/Defaults/IbanMapperTest.php index 82b1148f1..9ee784ede 100644 --- a/tests/Localization/Defaults/IbanMapperTest.php +++ b/tests/Localization/Defaults/IbanMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/IbanTest.php b/tests/Localization/Defaults/IbanTest.php index 824c6ecd3..aff202eb1 100644 --- a/tests/Localization/Defaults/IbanTest.php +++ b/tests/Localization/Defaults/IbanTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/LanguageMapperTest.php b/tests/Localization/Defaults/LanguageMapperTest.php index 9c44c73ac..ae712f147 100644 --- a/tests/Localization/Defaults/LanguageMapperTest.php +++ b/tests/Localization/Defaults/LanguageMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/Defaults/LanguageTest.php b/tests/Localization/Defaults/LanguageTest.php index 093fdad26..10bf72e08 100644 --- a/tests/Localization/Defaults/LanguageTest.php +++ b/tests/Localization/Defaults/LanguageTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO3166CharEnumTest.php b/tests/Localization/ISO3166CharEnumTest.php index bdf13010d..8991f115e 100644 --- a/tests/Localization/ISO3166CharEnumTest.php +++ b/tests/Localization/ISO3166CharEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO3166NameEnumTest.php b/tests/Localization/ISO3166NameEnumTest.php index 0b55e7581..9b85e92f6 100644 --- a/tests/Localization/ISO3166NameEnumTest.php +++ b/tests/Localization/ISO3166NameEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO3166NumEnumTest.php b/tests/Localization/ISO3166NumEnumTest.php index 9ba5eca9a..096a20381 100644 --- a/tests/Localization/ISO3166NumEnumTest.php +++ b/tests/Localization/ISO3166NumEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO3166TwoEnumTest.php b/tests/Localization/ISO3166TwoEnumTest.php index 7abc9b148..e7f7ae75c 100644 --- a/tests/Localization/ISO3166TwoEnumTest.php +++ b/tests/Localization/ISO3166TwoEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217CharEnumTest.php b/tests/Localization/ISO4217CharEnumTest.php index c59a727a2..f1ba8bec3 100644 --- a/tests/Localization/ISO4217CharEnumTest.php +++ b/tests/Localization/ISO4217CharEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217DecimalEnumTest.php b/tests/Localization/ISO4217DecimalEnumTest.php index 2ebd6d481..48aa3267c 100644 --- a/tests/Localization/ISO4217DecimalEnumTest.php +++ b/tests/Localization/ISO4217DecimalEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217EnumTest.php b/tests/Localization/ISO4217EnumTest.php index 855bdc89e..ffd4f5b5e 100644 --- a/tests/Localization/ISO4217EnumTest.php +++ b/tests/Localization/ISO4217EnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217NumEnumTest.php b/tests/Localization/ISO4217NumEnumTest.php index 9d26a059e..7f7cfd751 100644 --- a/tests/Localization/ISO4217NumEnumTest.php +++ b/tests/Localization/ISO4217NumEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217SubUnitEnumTest.php b/tests/Localization/ISO4217SubUnitEnumTest.php index c254bb304..03398d340 100644 --- a/tests/Localization/ISO4217SubUnitEnumTest.php +++ b/tests/Localization/ISO4217SubUnitEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO4217SymbolEnumTest.php b/tests/Localization/ISO4217SymbolEnumTest.php index 4f254e403..219cf5672 100644 --- a/tests/Localization/ISO4217SymbolEnumTest.php +++ b/tests/Localization/ISO4217SymbolEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO639EnumTest.php b/tests/Localization/ISO639EnumTest.php index babf8ebea..92a8eac0b 100644 --- a/tests/Localization/ISO639EnumTest.php +++ b/tests/Localization/ISO639EnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO639x1EnumTest.php b/tests/Localization/ISO639x1EnumTest.php index ccc0ea278..2488393c1 100644 --- a/tests/Localization/ISO639x1EnumTest.php +++ b/tests/Localization/ISO639x1EnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO639x2EnumTest.php b/tests/Localization/ISO639x2EnumTest.php index 1f7277deb..60c42c1ed 100644 --- a/tests/Localization/ISO639x2EnumTest.php +++ b/tests/Localization/ISO639x2EnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/ISO8601EnumArrayTest.php b/tests/Localization/ISO8601EnumArrayTest.php index 334fc2494..8aec1f960 100644 --- a/tests/Localization/ISO8601EnumArrayTest.php +++ b/tests/Localization/ISO8601EnumArrayTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/L11nManagerTest.php b/tests/Localization/L11nManagerTest.php index 28520e336..e83f12af0 100644 --- a/tests/Localization/L11nManagerTest.php +++ b/tests/Localization/L11nManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/LocalizationTest.php b/tests/Localization/LocalizationTest.php index 46c2d1d86..4cb32d6be 100644 --- a/tests/Localization/LocalizationTest.php +++ b/tests/Localization/LocalizationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/MoneyTest.php b/tests/Localization/MoneyTest.php index 278c2f4fb..aedc27209 100644 --- a/tests/Localization/MoneyTest.php +++ b/tests/Localization/MoneyTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/PhoneEnumTest.php b/tests/Localization/PhoneEnumTest.php index 4438059f7..8505ea2ed 100644 --- a/tests/Localization/PhoneEnumTest.php +++ b/tests/Localization/PhoneEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Localization/TimeZoneEnumArrayTest.php b/tests/Localization/TimeZoneEnumArrayTest.php index 3f8db88a4..9d69ed996 100644 --- a/tests/Localization/TimeZoneEnumArrayTest.php +++ b/tests/Localization/TimeZoneEnumArrayTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Log/FileLoggerTest.php b/tests/Log/FileLoggerTest.php index 3b0c79193..5161f05b8 100644 --- a/tests/Log/FileLoggerTest.php +++ b/tests/Log/FileLoggerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Log/LogLevelTest.php b/tests/Log/LogLevelTest.php index 8edcd85ab..fc07fb0e2 100644 --- a/tests/Log/LogLevelTest.php +++ b/tests/Log/LogLevelTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Exception/ZeroDevisionExceptionTest.php b/tests/Math/Exception/ZeroDevisionExceptionTest.php index 7821e9385..8753e57d6 100644 --- a/tests/Math/Exception/ZeroDevisionExceptionTest.php +++ b/tests/Math/Exception/ZeroDevisionExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Functions/FibunacciTest.php b/tests/Math/Functions/FibunacciTest.php index 1f8aff390..3ae8b9bdb 100644 --- a/tests/Math/Functions/FibunacciTest.php +++ b/tests/Math/Functions/FibunacciTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Functions/FunctionsTest.php b/tests/Math/Functions/FunctionsTest.php index c21520123..e811f9307 100644 --- a/tests/Math/Functions/FunctionsTest.php +++ b/tests/Math/Functions/FunctionsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Functions/GammaTest.php b/tests/Math/Functions/GammaTest.php index 8da35c953..bb1bc9a84 100644 --- a/tests/Math/Functions/GammaTest.php +++ b/tests/Math/Functions/GammaTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/ConvexHull/MonotoneChainTest.php b/tests/Math/Geometry/ConvexHull/MonotoneChainTest.php index cefeeeb70..1426ceac5 100644 --- a/tests/Math/Geometry/ConvexHull/MonotoneChainTest.php +++ b/tests/Math/Geometry/ConvexHull/MonotoneChainTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/CircleTest.php b/tests/Math/Geometry/Shape/D2/CircleTest.php index 8f3cc4ff8..5a28566c0 100644 --- a/tests/Math/Geometry/Shape/D2/CircleTest.php +++ b/tests/Math/Geometry/Shape/D2/CircleTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/EllipseTest.php b/tests/Math/Geometry/Shape/D2/EllipseTest.php index 7823cd602..4fda98fa7 100644 --- a/tests/Math/Geometry/Shape/D2/EllipseTest.php +++ b/tests/Math/Geometry/Shape/D2/EllipseTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/PolygonTest.php b/tests/Math/Geometry/Shape/D2/PolygonTest.php index 770512dd5..1b4dd3469 100644 --- a/tests/Math/Geometry/Shape/D2/PolygonTest.php +++ b/tests/Math/Geometry/Shape/D2/PolygonTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/QuadrilateralTest.php b/tests/Math/Geometry/Shape/D2/QuadrilateralTest.php index 4fc4e255f..595d90764 100644 --- a/tests/Math/Geometry/Shape/D2/QuadrilateralTest.php +++ b/tests/Math/Geometry/Shape/D2/QuadrilateralTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/RectangleTest.php b/tests/Math/Geometry/Shape/D2/RectangleTest.php index b65b2dca2..34898dff6 100644 --- a/tests/Math/Geometry/Shape/D2/RectangleTest.php +++ b/tests/Math/Geometry/Shape/D2/RectangleTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/TrapezoidTest.php b/tests/Math/Geometry/Shape/D2/TrapezoidTest.php index 275703c1c..5d43021d5 100644 --- a/tests/Math/Geometry/Shape/D2/TrapezoidTest.php +++ b/tests/Math/Geometry/Shape/D2/TrapezoidTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D2/TriangleTest.php b/tests/Math/Geometry/Shape/D2/TriangleTest.php index cf3c24b85..c8962d26f 100644 --- a/tests/Math/Geometry/Shape/D2/TriangleTest.php +++ b/tests/Math/Geometry/Shape/D2/TriangleTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/ConeTest.php b/tests/Math/Geometry/Shape/D3/ConeTest.php index a50385f7d..9baf5b81a 100644 --- a/tests/Math/Geometry/Shape/D3/ConeTest.php +++ b/tests/Math/Geometry/Shape/D3/ConeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/CuboidTest.php b/tests/Math/Geometry/Shape/D3/CuboidTest.php index 3a8b75f0e..1beb1bd1d 100644 --- a/tests/Math/Geometry/Shape/D3/CuboidTest.php +++ b/tests/Math/Geometry/Shape/D3/CuboidTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/CylinderTest.php b/tests/Math/Geometry/Shape/D3/CylinderTest.php index cbf8936b9..c917c080a 100644 --- a/tests/Math/Geometry/Shape/D3/CylinderTest.php +++ b/tests/Math/Geometry/Shape/D3/CylinderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/PrismTest.php b/tests/Math/Geometry/Shape/D3/PrismTest.php index 45269d571..c9880ee64 100644 --- a/tests/Math/Geometry/Shape/D3/PrismTest.php +++ b/tests/Math/Geometry/Shape/D3/PrismTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/RectangularPyramidTest.php b/tests/Math/Geometry/Shape/D3/RectangularPyramidTest.php index 9fbad67de..2299acb22 100644 --- a/tests/Math/Geometry/Shape/D3/RectangularPyramidTest.php +++ b/tests/Math/Geometry/Shape/D3/RectangularPyramidTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/SphereTest.php b/tests/Math/Geometry/Shape/D3/SphereTest.php index 06a8c849f..ee6a5a571 100644 --- a/tests/Math/Geometry/Shape/D3/SphereTest.php +++ b/tests/Math/Geometry/Shape/D3/SphereTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Geometry/Shape/D3/TetrahedronTest.php b/tests/Math/Geometry/Shape/D3/TetrahedronTest.php index c9ea097c0..98f60b436 100644 --- a/tests/Math/Geometry/Shape/D3/TetrahedronTest.php +++ b/tests/Math/Geometry/Shape/D3/TetrahedronTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Integral/GaussTest.php b/tests/Math/Integral/GaussTest.php index d56f206be..01ca444c5 100644 --- a/tests/Math/Integral/GaussTest.php +++ b/tests/Math/Integral/GaussTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/CholeskyDecompositionTest.php b/tests/Math/Matrix/CholeskyDecompositionTest.php index 9468d2e7f..f946897fe 100644 --- a/tests/Math/Matrix/CholeskyDecompositionTest.php +++ b/tests/Math/Matrix/CholeskyDecompositionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/EigenvalueDecompositionTest.php b/tests/Math/Matrix/EigenvalueDecompositionTest.php index 06eea0f83..91a233ced 100644 --- a/tests/Math/Matrix/EigenvalueDecompositionTest.php +++ b/tests/Math/Matrix/EigenvalueDecompositionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/Exception/InvalidDimensionExceptionTest.php b/tests/Math/Matrix/Exception/InvalidDimensionExceptionTest.php index 147d658fb..cc9495b22 100644 --- a/tests/Math/Matrix/Exception/InvalidDimensionExceptionTest.php +++ b/tests/Math/Matrix/Exception/InvalidDimensionExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/IdentityMatrixTest.php b/tests/Math/Matrix/IdentityMatrixTest.php index e38d05276..3e5690d4c 100644 --- a/tests/Math/Matrix/IdentityMatrixTest.php +++ b/tests/Math/Matrix/IdentityMatrixTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/LUDecompositionTest.php b/tests/Math/Matrix/LUDecompositionTest.php index d77e1c60a..30498dff9 100644 --- a/tests/Math/Matrix/LUDecompositionTest.php +++ b/tests/Math/Matrix/LUDecompositionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/MatrixTest.php b/tests/Math/Matrix/MatrixTest.php index b98c148ea..fcf54cf5b 100644 --- a/tests/Math/Matrix/MatrixTest.php +++ b/tests/Math/Matrix/MatrixTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/QRDecompositionTest.php b/tests/Math/Matrix/QRDecompositionTest.php index b96f72eec..b0215aeb2 100644 --- a/tests/Math/Matrix/QRDecompositionTest.php +++ b/tests/Math/Matrix/QRDecompositionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/SingularValueDecompositionTest.php b/tests/Math/Matrix/SingularValueDecompositionTest.php index 0a6747581..6a9001e1e 100644 --- a/tests/Math/Matrix/SingularValueDecompositionTest.php +++ b/tests/Math/Matrix/SingularValueDecompositionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Matrix/VectorTest.php b/tests/Math/Matrix/VectorTest.php index ceacaff5a..eb2b436d1 100644 --- a/tests/Math/Matrix/VectorTest.php +++ b/tests/Math/Matrix/VectorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/ComplexTest.php b/tests/Math/Number/ComplexTest.php index 2140abe6e..f742e9f80 100644 --- a/tests/Math/Number/ComplexTest.php +++ b/tests/Math/Number/ComplexTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/IntegerTest.php b/tests/Math/Number/IntegerTest.php index 9982af2fc..1977eef98 100644 --- a/tests/Math/Number/IntegerTest.php +++ b/tests/Math/Number/IntegerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/NaturalTest.php b/tests/Math/Number/NaturalTest.php index dc542b1b3..8657789eb 100644 --- a/tests/Math/Number/NaturalTest.php +++ b/tests/Math/Number/NaturalTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/NumberTypeTest.php b/tests/Math/Number/NumberTypeTest.php index 08e6ae70e..3bab44c3b 100644 --- a/tests/Math/Number/NumberTypeTest.php +++ b/tests/Math/Number/NumberTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/NumbersTest.php b/tests/Math/Number/NumbersTest.php index 83156ae68..021728ff5 100644 --- a/tests/Math/Number/NumbersTest.php +++ b/tests/Math/Number/NumbersTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Number/PrimeTest.php b/tests/Math/Number/PrimeTest.php index 145853231..0a4efdfe8 100644 --- a/tests/Math/Number/PrimeTest.php +++ b/tests/Math/Number/PrimeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Numerics/Interpolation/CubicSplineInterpolationTest.php b/tests/Math/Numerics/Interpolation/CubicSplineInterpolationTest.php index bb6fdb3f7..7590fb77c 100644 --- a/tests/Math/Numerics/Interpolation/CubicSplineInterpolationTest.php +++ b/tests/Math/Numerics/Interpolation/CubicSplineInterpolationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Numerics/Interpolation/LinearInterpolationTest.php b/tests/Math/Numerics/Interpolation/LinearInterpolationTest.php index 42799c472..285c79cd1 100644 --- a/tests/Math/Numerics/Interpolation/LinearInterpolationTest.php +++ b/tests/Math/Numerics/Interpolation/LinearInterpolationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Numerics/Interpolation/PolynomialInterpolationTest.php b/tests/Math/Numerics/Interpolation/PolynomialInterpolationTest.php index 550f80be6..02fa045e0 100644 --- a/tests/Math/Numerics/Interpolation/PolynomialInterpolationTest.php +++ b/tests/Math/Numerics/Interpolation/PolynomialInterpolationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Parser/EvaluatorTest.php b/tests/Math/Parser/EvaluatorTest.php index 315751773..266f8b367 100644 --- a/tests/Math/Parser/EvaluatorTest.php +++ b/tests/Math/Parser/EvaluatorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/AverageTest.php b/tests/Math/Statistic/AverageTest.php index 55fcf599c..fd6a240fb 100644 --- a/tests/Math/Statistic/AverageTest.php +++ b/tests/Math/Statistic/AverageTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/BasicTest.php b/tests/Math/Statistic/BasicTest.php index cd49c3cd2..dbc95319d 100644 --- a/tests/Math/Statistic/BasicTest.php +++ b/tests/Math/Statistic/BasicTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/CorrelationTest.php b/tests/Math/Statistic/CorrelationTest.php index 19936deb2..f658f593e 100644 --- a/tests/Math/Statistic/CorrelationTest.php +++ b/tests/Math/Statistic/CorrelationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/Forecast/ErrorTest.php b/tests/Math/Statistic/Forecast/ErrorTest.php index 0493c6335..5e31c89b5 100644 --- a/tests/Math/Statistic/Forecast/ErrorTest.php +++ b/tests/Math/Statistic/Forecast/ErrorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/Forecast/Regression/LevelLevelRegressionTest.php b/tests/Math/Statistic/Forecast/Regression/LevelLevelRegressionTest.php index c46937952..80dda9a8f 100644 --- a/tests/Math/Statistic/Forecast/Regression/LevelLevelRegressionTest.php +++ b/tests/Math/Statistic/Forecast/Regression/LevelLevelRegressionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/Forecast/Regression/LevelLogRegressionTest.php b/tests/Math/Statistic/Forecast/Regression/LevelLogRegressionTest.php index 689a3a9a6..873794653 100644 --- a/tests/Math/Statistic/Forecast/Regression/LevelLogRegressionTest.php +++ b/tests/Math/Statistic/Forecast/Regression/LevelLogRegressionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/Forecast/Regression/LogLevelRegressionTest.php b/tests/Math/Statistic/Forecast/Regression/LogLevelRegressionTest.php index a851df04a..0c732a9b8 100644 --- a/tests/Math/Statistic/Forecast/Regression/LogLevelRegressionTest.php +++ b/tests/Math/Statistic/Forecast/Regression/LogLevelRegressionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/Forecast/Regression/LogLogRegressionTest.php b/tests/Math/Statistic/Forecast/Regression/LogLogRegressionTest.php index 5b94e1177..aeb71d631 100644 --- a/tests/Math/Statistic/Forecast/Regression/LogLogRegressionTest.php +++ b/tests/Math/Statistic/Forecast/Regression/LogLogRegressionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Statistic/MeasureOfDispersionTest.php b/tests/Math/Statistic/MeasureOfDispersionTest.php index a5a5abb39..79fc86a1b 100644 --- a/tests/Math/Statistic/MeasureOfDispersionTest.php +++ b/tests/Math/Statistic/MeasureOfDispersionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/BernoulliDistributionTest.php b/tests/Math/Stochastic/Distribution/BernoulliDistributionTest.php index d8d8f4e0b..4b20fd401 100644 --- a/tests/Math/Stochastic/Distribution/BernoulliDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/BernoulliDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/BetaDistributionTest.php b/tests/Math/Stochastic/Distribution/BetaDistributionTest.php index d6d231d2d..190c19f81 100644 --- a/tests/Math/Stochastic/Distribution/BetaDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/BetaDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/BinomialDistributionTest.php b/tests/Math/Stochastic/Distribution/BinomialDistributionTest.php index 19cb36ce1..ae5ebe293 100644 --- a/tests/Math/Stochastic/Distribution/BinomialDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/BinomialDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/CauchyDistributionTest.php b/tests/Math/Stochastic/Distribution/CauchyDistributionTest.php index b5e49a469..fcfa358ac 100644 --- a/tests/Math/Stochastic/Distribution/CauchyDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/CauchyDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/ChiSquaredDistributionTest.php b/tests/Math/Stochastic/Distribution/ChiSquaredDistributionTest.php index 7503abe43..b7e202995 100644 --- a/tests/Math/Stochastic/Distribution/ChiSquaredDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/ChiSquaredDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/ExponentialDistributionTest.php b/tests/Math/Stochastic/Distribution/ExponentialDistributionTest.php index af8cb27cd..6d2325bed 100644 --- a/tests/Math/Stochastic/Distribution/ExponentialDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/ExponentialDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/FDistributionTest.php b/tests/Math/Stochastic/Distribution/FDistributionTest.php index 75b5b2386..dc6785cdc 100644 --- a/tests/Math/Stochastic/Distribution/FDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/FDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/GammaDistributionTest.php b/tests/Math/Stochastic/Distribution/GammaDistributionTest.php index 73e568fcf..3189ef8eb 100644 --- a/tests/Math/Stochastic/Distribution/GammaDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/GammaDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/GeometricDistributionTest.php b/tests/Math/Stochastic/Distribution/GeometricDistributionTest.php index c9a5a7b68..6019cc600 100644 --- a/tests/Math/Stochastic/Distribution/GeometricDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/GeometricDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/HypergeometricDistributionTest.php b/tests/Math/Stochastic/Distribution/HypergeometricDistributionTest.php index 41fda1825..f076631da 100644 --- a/tests/Math/Stochastic/Distribution/HypergeometricDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/HypergeometricDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/LaplaceDistributionTest.php b/tests/Math/Stochastic/Distribution/LaplaceDistributionTest.php index 1da1de674..7fcdae738 100644 --- a/tests/Math/Stochastic/Distribution/LaplaceDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/LaplaceDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/LogDistributionTest.php b/tests/Math/Stochastic/Distribution/LogDistributionTest.php index 2849346b7..42ed16500 100644 --- a/tests/Math/Stochastic/Distribution/LogDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/LogDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/LogNormalDistributionTest.php b/tests/Math/Stochastic/Distribution/LogNormalDistributionTest.php index fc534764c..dc93ccdb9 100644 --- a/tests/Math/Stochastic/Distribution/LogNormalDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/LogNormalDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/LogisticDistributionTest.php b/tests/Math/Stochastic/Distribution/LogisticDistributionTest.php index 8d62d57bb..9fd05d6c3 100644 --- a/tests/Math/Stochastic/Distribution/LogisticDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/LogisticDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/NormalDistributionTest.php b/tests/Math/Stochastic/Distribution/NormalDistributionTest.php index d86fc1163..acb6f5d08 100644 --- a/tests/Math/Stochastic/Distribution/NormalDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/NormalDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/ParetoDistributionTest.php b/tests/Math/Stochastic/Distribution/ParetoDistributionTest.php index 01304ff92..6d556d22b 100644 --- a/tests/Math/Stochastic/Distribution/ParetoDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/ParetoDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/PoissonDistributionTest.php b/tests/Math/Stochastic/Distribution/PoissonDistributionTest.php index 4539938cb..f3bd290cc 100644 --- a/tests/Math/Stochastic/Distribution/PoissonDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/PoissonDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/TDistributionTest.php b/tests/Math/Stochastic/Distribution/TDistributionTest.php index 74bb29ad7..2bd66a34e 100644 --- a/tests/Math/Stochastic/Distribution/TDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/TDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/UniformDistributionContinuousTest.php b/tests/Math/Stochastic/Distribution/UniformDistributionContinuousTest.php index f7cbd9fcd..55b7bb602 100644 --- a/tests/Math/Stochastic/Distribution/UniformDistributionContinuousTest.php +++ b/tests/Math/Stochastic/Distribution/UniformDistributionContinuousTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/UniformDistributionDiscreteTest.php b/tests/Math/Stochastic/Distribution/UniformDistributionDiscreteTest.php index a541ba4d6..5102e579a 100644 --- a/tests/Math/Stochastic/Distribution/UniformDistributionDiscreteTest.php +++ b/tests/Math/Stochastic/Distribution/UniformDistributionDiscreteTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/WeibullDistributionTest.php b/tests/Math/Stochastic/Distribution/WeibullDistributionTest.php index bae002636..54f3317fe 100644 --- a/tests/Math/Stochastic/Distribution/WeibullDistributionTest.php +++ b/tests/Math/Stochastic/Distribution/WeibullDistributionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/Distribution/ZTestTest.php b/tests/Math/Stochastic/Distribution/ZTestTest.php index d7508cd91..f45e0f399 100644 --- a/tests/Math/Stochastic/Distribution/ZTestTest.php +++ b/tests/Math/Stochastic/Distribution/ZTestTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Stochastic/NaiveBayesFilterTest.php b/tests/Math/Stochastic/NaiveBayesFilterTest.php index d847fc6af..2a8c6eeac 100644 --- a/tests/Math/Stochastic/NaiveBayesFilterTest.php +++ b/tests/Math/Stochastic/NaiveBayesFilterTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Math/Topology/Metrics2DTest.php b/tests/Math/Topology/Metrics2DTest.php index 655a82cbe..89044b661 100644 --- a/tests/Math/Topology/Metrics2DTest.php +++ b/tests/Math/Topology/Metrics2DTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Console/HeaderTest.php b/tests/Message/Console/HeaderTest.php index bcfbd5af7..61f35b749 100644 --- a/tests/Message/Console/HeaderTest.php +++ b/tests/Message/Console/HeaderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Console/RequestTest.php b/tests/Message/Console/RequestTest.php index b531eb3f3..213362b8e 100644 --- a/tests/Message/Console/RequestTest.php +++ b/tests/Message/Console/RequestTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Console/ResponseTest.php b/tests/Message/Console/ResponseTest.php index efd43de57..98cf6237e 100644 --- a/tests/Message/Console/ResponseTest.php +++ b/tests/Message/Console/ResponseTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/HeaderAbstractTest.php b/tests/Message/HeaderAbstractTest.php index 448368915..a0718841f 100644 --- a/tests/Message/HeaderAbstractTest.php +++ b/tests/Message/HeaderAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/BrowserTypeTest.php b/tests/Message/Http/BrowserTypeTest.php index e75c07096..8c837aea9 100644 --- a/tests/Message/Http/BrowserTypeTest.php +++ b/tests/Message/Http/BrowserTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/HeaderTest.php b/tests/Message/Http/HeaderTest.php index 961204324..0c299695f 100644 --- a/tests/Message/Http/HeaderTest.php +++ b/tests/Message/Http/HeaderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/OSTypeTest.php b/tests/Message/Http/OSTypeTest.php index 7f39c6f53..dd607c289 100644 --- a/tests/Message/Http/OSTypeTest.php +++ b/tests/Message/Http/OSTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/RequestMethodTest.php b/tests/Message/Http/RequestMethodTest.php index 2a5cf449c..1512462fe 100644 --- a/tests/Message/Http/RequestMethodTest.php +++ b/tests/Message/Http/RequestMethodTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/RequestStatusCodeTest.php b/tests/Message/Http/RequestStatusCodeTest.php index 4548c0964..60ce1d4b2 100644 --- a/tests/Message/Http/RequestStatusCodeTest.php +++ b/tests/Message/Http/RequestStatusCodeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/RequestStatusTest.php b/tests/Message/Http/RequestStatusTest.php index c0681efdb..e99d07355 100644 --- a/tests/Message/Http/RequestStatusTest.php +++ b/tests/Message/Http/RequestStatusTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/RequestTest.php b/tests/Message/Http/RequestTest.php index 5ceeb8dfc..151b3958f 100644 --- a/tests/Message/Http/RequestTest.php +++ b/tests/Message/Http/RequestTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/ResponseTest.php b/tests/Message/Http/ResponseTest.php index b25353893..0fb04287f 100644 --- a/tests/Message/Http/ResponseTest.php +++ b/tests/Message/Http/ResponseTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Http/RestTest.php b/tests/Message/Http/RestTest.php index 5c20958ea..1672005ce 100644 --- a/tests/Message/Http/RestTest.php +++ b/tests/Message/Http/RestTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Mail/ImapTest.php b/tests/Message/Mail/ImapTest.php index c19c70867..ab859956c 100644 --- a/tests/Message/Mail/ImapTest.php +++ b/tests/Message/Mail/ImapTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Mail/MailTest.php b/tests/Message/Mail/MailTest.php index 699475e4c..436570d56 100644 --- a/tests/Message/Mail/MailTest.php +++ b/tests/Message/Mail/MailTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Mail/NntpTest.php b/tests/Message/Mail/NntpTest.php index 54a32bdf3..40b6153e3 100644 --- a/tests/Message/Mail/NntpTest.php +++ b/tests/Message/Mail/NntpTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Mail/Pop3Test.php b/tests/Message/Mail/Pop3Test.php index 7303a3d26..d6bf6ed62 100644 --- a/tests/Message/Mail/Pop3Test.php +++ b/tests/Message/Mail/Pop3Test.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/RequestSourceTest.php b/tests/Message/RequestSourceTest.php index 304fd8dfb..ac42d56eb 100644 --- a/tests/Message/RequestSourceTest.php +++ b/tests/Message/RequestSourceTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/ResponseAbstractTest.php b/tests/Message/ResponseAbstractTest.php index e0b1a0d2b..3698b00fc 100644 --- a/tests/Message/ResponseAbstractTest.php +++ b/tests/Message/ResponseAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/ResponseTypeTest.php b/tests/Message/ResponseTypeTest.php index 31377ed32..fb750666a 100644 --- a/tests/Message/ResponseTypeTest.php +++ b/tests/Message/ResponseTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Socket/RequestTest.php b/tests/Message/Socket/RequestTest.php index 5b88b5d27..b9077c7e9 100644 --- a/tests/Message/Socket/RequestTest.php +++ b/tests/Message/Socket/RequestTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Message/Socket/ResponseTest.php b/tests/Message/Socket/ResponseTest.php index 9f3a58c05..13dc12ffc 100644 --- a/tests/Message/Socket/ResponseTest.php +++ b/tests/Message/Socket/ResponseTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Model/Html/HeadTest.php b/tests/Model/Html/HeadTest.php index 03429ab11..2438d5adb 100644 --- a/tests/Model/Html/HeadTest.php +++ b/tests/Model/Html/HeadTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Model/Html/MetaTest.php b/tests/Model/Html/MetaTest.php index fc21c37f2..f3a6eecf2 100644 --- a/tests/Model/Html/MetaTest.php +++ b/tests/Model/Html/MetaTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Model/Message/DomActionTest.php b/tests/Model/Message/DomActionTest.php index 383690238..25b36207c 100644 --- a/tests/Model/Message/DomActionTest.php +++ b/tests/Model/Message/DomActionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Model/Message/NotifyTypeTest.php b/tests/Model/Message/NotifyTypeTest.php index 67c244814..cd845d786 100644 --- a/tests/Model/Message/NotifyTypeTest.php +++ b/tests/Model/Message/NotifyTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/Exception/InvalidModuleExceptionTest.php b/tests/Module/Exception/InvalidModuleExceptionTest.php index 659bff861..859d0616a 100644 --- a/tests/Module/Exception/InvalidModuleExceptionTest.php +++ b/tests/Module/Exception/InvalidModuleExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/Exception/InvalidThemeExceptionTest.php b/tests/Module/Exception/InvalidThemeExceptionTest.php index 6c4eaaf74..5208b8069 100644 --- a/tests/Module/Exception/InvalidThemeExceptionTest.php +++ b/tests/Module/Exception/InvalidThemeExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/InfoManagerTest.php b/tests/Module/InfoManagerTest.php index 4c24e2d72..7d0e641aa 100644 --- a/tests/Module/InfoManagerTest.php +++ b/tests/Module/InfoManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/ModuleAbstractTest.php b/tests/Module/ModuleAbstractTest.php index 3720b6024..c4bfb7cd5 100644 --- a/tests/Module/ModuleAbstractTest.php +++ b/tests/Module/ModuleAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/ModuleManagerTest.php b/tests/Module/ModuleManagerTest.php index a3993f6b4..08aabe7ae 100644 --- a/tests/Module/ModuleManagerTest.php +++ b/tests/Module/ModuleManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/NullModuleTest.php b/tests/Module/NullModuleTest.php index bf7240237..07d031e3b 100644 --- a/tests/Module/NullModuleTest.php +++ b/tests/Module/NullModuleTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Module/PackageManagerTest.php b/tests/Module/PackageManagerTest.php index 5e555e36b..962b4304a 100644 --- a/tests/Module/PackageManagerTest.php +++ b/tests/Module/PackageManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Router/RouteVerbTest.php b/tests/Router/RouteVerbTest.php index f0f07ac15..5413cd441 100644 --- a/tests/Router/RouteVerbTest.php +++ b/tests/Router/RouteVerbTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Router/RouterTest.php b/tests/Router/RouterTest.php index b9b2049c1..7e65ece1e 100644 --- a/tests/Router/RouterTest.php +++ b/tests/Router/RouterTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Security/PhpCodeTest.php b/tests/Security/PhpCodeTest.php index dc81f75e7..d6ba220ec 100644 --- a/tests/Security/PhpCodeTest.php +++ b/tests/Security/PhpCodeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Client/ClientConnectionTest.php b/tests/Socket/Client/ClientConnectionTest.php index 00ff395ca..2f3ddd41b 100644 --- a/tests/Socket/Client/ClientConnectionTest.php +++ b/tests/Socket/Client/ClientConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Client/ClientTest.php b/tests/Socket/Client/ClientTest.php index 52bf61bed..8dc5cf8cd 100644 --- a/tests/Socket/Client/ClientTest.php +++ b/tests/Socket/Client/ClientTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Client/NullClientConnectionTest.php b/tests/Socket/Client/NullClientConnectionTest.php index 763d00fb2..0a592ac72 100644 --- a/tests/Socket/Client/NullClientConnectionTest.php +++ b/tests/Socket/Client/NullClientConnectionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/CommandManagerTest.php b/tests/Socket/CommandManagerTest.php index ef1207c99..9c3a24e55 100644 --- a/tests/Socket/CommandManagerTest.php +++ b/tests/Socket/CommandManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Packets/HeaderTest.php b/tests/Socket/Packets/HeaderTest.php index 7a207eb10..be255bd65 100644 --- a/tests/Socket/Packets/HeaderTest.php +++ b/tests/Socket/Packets/HeaderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Packets/PacketManagerTest.php b/tests/Socket/Packets/PacketManagerTest.php index debaabc84..eac0fa109 100644 --- a/tests/Socket/Packets/PacketManagerTest.php +++ b/tests/Socket/Packets/PacketManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Packets/PacketTypeTest.php b/tests/Socket/Packets/PacketTypeTest.php index 985432226..253b9a28e 100644 --- a/tests/Socket/Packets/PacketTypeTest.php +++ b/tests/Socket/Packets/PacketTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Server/ClientManagerTest.php b/tests/Socket/Server/ClientManagerTest.php index 6e6253f2e..4556ca92e 100644 --- a/tests/Socket/Server/ClientManagerTest.php +++ b/tests/Socket/Server/ClientManagerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/Server/ServerTest.php b/tests/Socket/Server/ServerTest.php index 7b70a39be..6120dbfba 100644 --- a/tests/Socket/Server/ServerTest.php +++ b/tests/Socket/Server/ServerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Socket/SocketTypeTest.php b/tests/Socket/SocketTypeTest.php index 2131fae87..a306639da 100644 --- a/tests/Socket/SocketTypeTest.php +++ b/tests/Socket/SocketTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/AddressTest.php b/tests/Stdlib/Base/AddressTest.php index 4ddfa7d2d..dac124834 100644 --- a/tests/Stdlib/Base/AddressTest.php +++ b/tests/Stdlib/Base/AddressTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/AddressTypeTest.php b/tests/Stdlib/Base/AddressTypeTest.php index 4a67c9429..7df171831 100644 --- a/tests/Stdlib/Base/AddressTypeTest.php +++ b/tests/Stdlib/Base/AddressTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/EnumArrayDemo.php b/tests/Stdlib/Base/EnumArrayDemo.php index 25524d0cd..cb021a86c 100644 --- a/tests/Stdlib/Base/EnumArrayDemo.php +++ b/tests/Stdlib/Base/EnumArrayDemo.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/EnumArrayTest.php b/tests/Stdlib/Base/EnumArrayTest.php index 419f2724f..b9d5bbba5 100644 --- a/tests/Stdlib/Base/EnumArrayTest.php +++ b/tests/Stdlib/Base/EnumArrayTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/EnumDemo.php b/tests/Stdlib/Base/EnumDemo.php index 0ed36aabd..b832eac06 100644 --- a/tests/Stdlib/Base/EnumDemo.php +++ b/tests/Stdlib/Base/EnumDemo.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/EnumTest.php b/tests/Stdlib/Base/EnumTest.php index 876236bf0..dd9f685c0 100644 --- a/tests/Stdlib/Base/EnumTest.php +++ b/tests/Stdlib/Base/EnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/Exception/InvalidEnumNameTest.php b/tests/Stdlib/Base/Exception/InvalidEnumNameTest.php index c82e84908..f2399c814 100644 --- a/tests/Stdlib/Base/Exception/InvalidEnumNameTest.php +++ b/tests/Stdlib/Base/Exception/InvalidEnumNameTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/Exception/InvalidEnumValueTest.php b/tests/Stdlib/Base/Exception/InvalidEnumValueTest.php index d514a3f35..ced78e62a 100644 --- a/tests/Stdlib/Base/Exception/InvalidEnumValueTest.php +++ b/tests/Stdlib/Base/Exception/InvalidEnumValueTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/HeapTest.php b/tests/Stdlib/Base/HeapTest.php index a6672e2f0..2d67c1c4d 100644 --- a/tests/Stdlib/Base/HeapTest.php +++ b/tests/Stdlib/Base/HeapTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/IbanTest.php b/tests/Stdlib/Base/IbanTest.php index e098759e2..81ee044a6 100644 --- a/tests/Stdlib/Base/IbanTest.php +++ b/tests/Stdlib/Base/IbanTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/LocationTest.php b/tests/Stdlib/Base/LocationTest.php index afa8aead8..22cad36dc 100644 --- a/tests/Stdlib/Base/LocationTest.php +++ b/tests/Stdlib/Base/LocationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/NullLocationTest.php b/tests/Stdlib/Base/NullLocationTest.php index 6c41fb172..b227a7b38 100644 --- a/tests/Stdlib/Base/NullLocationTest.php +++ b/tests/Stdlib/Base/NullLocationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/PhoneTypeTest.php b/tests/Stdlib/Base/PhoneTypeTest.php index 41b68855c..6a69adc12 100644 --- a/tests/Stdlib/Base/PhoneTypeTest.php +++ b/tests/Stdlib/Base/PhoneTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Base/SmartDateTimeTest.php b/tests/Stdlib/Base/SmartDateTimeTest.php index a0ec75580..ff0eea6d6 100644 --- a/tests/Stdlib/Base/SmartDateTimeTest.php +++ b/tests/Stdlib/Base/SmartDateTimeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Graph/BinaryTreeTest.php b/tests/Stdlib/Graph/BinaryTreeTest.php index 06dc88152..078c39487 100644 --- a/tests/Stdlib/Graph/BinaryTreeTest.php +++ b/tests/Stdlib/Graph/BinaryTreeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Graph/EdgeTest.php b/tests/Stdlib/Graph/EdgeTest.php index a78fd3c5d..318be8881 100644 --- a/tests/Stdlib/Graph/EdgeTest.php +++ b/tests/Stdlib/Graph/EdgeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Graph/GraphTest.php b/tests/Stdlib/Graph/GraphTest.php index 7753a59b6..c9c7fdcbd 100644 --- a/tests/Stdlib/Graph/GraphTest.php +++ b/tests/Stdlib/Graph/GraphTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Graph/NodeTest.php b/tests/Stdlib/Graph/NodeTest.php index 5073ee12b..9ed6ac3ae 100644 --- a/tests/Stdlib/Graph/NodeTest.php +++ b/tests/Stdlib/Graph/NodeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Graph/TreeTest.php b/tests/Stdlib/Graph/TreeTest.php index 7fc64b624..e6336e2b7 100644 --- a/tests/Stdlib/Graph/TreeTest.php +++ b/tests/Stdlib/Graph/TreeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Map/KeyTypeTest.php b/tests/Stdlib/Map/KeyTypeTest.php index 9277c0e38..8db29f03b 100644 --- a/tests/Stdlib/Map/KeyTypeTest.php +++ b/tests/Stdlib/Map/KeyTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Map/MultiMapTest.php b/tests/Stdlib/Map/MultiMapTest.php index 93159b327..bf3c40fed 100644 --- a/tests/Stdlib/Map/MultiMapTest.php +++ b/tests/Stdlib/Map/MultiMapTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Map/OrderTypeTest.php b/tests/Stdlib/Map/OrderTypeTest.php index 86c2728b5..0ac75592d 100644 --- a/tests/Stdlib/Map/OrderTypeTest.php +++ b/tests/Stdlib/Map/OrderTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Queue/PriorityModeTest.php b/tests/Stdlib/Queue/PriorityModeTest.php index 0a809e1cb..0ea52a152 100644 --- a/tests/Stdlib/Queue/PriorityModeTest.php +++ b/tests/Stdlib/Queue/PriorityModeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Stdlib/Queue/PriorityQueueTest.php b/tests/Stdlib/Queue/PriorityQueueTest.php index 91ec28af7..1ff0c1e82 100644 --- a/tests/Stdlib/Queue/PriorityQueueTest.php +++ b/tests/Stdlib/Queue/PriorityQueueTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/ContentPutModeTest.php b/tests/System/File/ContentPutModeTest.php index 94715f603..05622d839 100644 --- a/tests/System/File/ContentPutModeTest.php +++ b/tests/System/File/ContentPutModeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/ExtensionTypeTest.php b/tests/System/File/ExtensionTypeTest.php index aca3b7436..9125c3483 100644 --- a/tests/System/File/ExtensionTypeTest.php +++ b/tests/System/File/ExtensionTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/FileUtilsTest.php b/tests/System/File/FileUtilsTest.php index 6d64a0082..a8401d04a 100644 --- a/tests/System/File/FileUtilsTest.php +++ b/tests/System/File/FileUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/Ftp/DirectoryTest.php b/tests/System/File/Ftp/DirectoryTest.php index f4a68fa50..ac3815565 100644 --- a/tests/System/File/Ftp/DirectoryTest.php +++ b/tests/System/File/Ftp/DirectoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/Ftp/FileTest.php b/tests/System/File/Ftp/FileTest.php index 5e8a0b946..5904219e0 100644 --- a/tests/System/File/Ftp/FileTest.php +++ b/tests/System/File/Ftp/FileTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/Local/DirectoryTest.php b/tests/System/File/Local/DirectoryTest.php index c9f0ecba8..cc397eba6 100644 --- a/tests/System/File/Local/DirectoryTest.php +++ b/tests/System/File/Local/DirectoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/Local/FileTest.php b/tests/System/File/Local/FileTest.php index 3c835d72d..6ad1186ae 100644 --- a/tests/System/File/Local/FileTest.php +++ b/tests/System/File/Local/FileTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/Local/LocalStorageTest.php b/tests/System/File/Local/LocalStorageTest.php index 336294ffe..8591a6328 100644 --- a/tests/System/File/Local/LocalStorageTest.php +++ b/tests/System/File/Local/LocalStorageTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/PathExceptionTest.php b/tests/System/File/PathExceptionTest.php index 9d82e5a31..efac648ae 100644 --- a/tests/System/File/PathExceptionTest.php +++ b/tests/System/File/PathExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/PermissionExceptionTest.php b/tests/System/File/PermissionExceptionTest.php index 086dbc6e1..951271f8e 100644 --- a/tests/System/File/PermissionExceptionTest.php +++ b/tests/System/File/PermissionExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/File/StorageTest.php b/tests/System/File/StorageTest.php index 713e0e47d..4d664b326 100644 --- a/tests/System/File/StorageTest.php +++ b/tests/System/File/StorageTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/MimeTypeTest.php b/tests/System/MimeTypeTest.php index a248f4a4f..7f4df376f 100644 --- a/tests/System/MimeTypeTest.php +++ b/tests/System/MimeTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/OperatingSystemTest.php b/tests/System/OperatingSystemTest.php index bd8f04593..dc122c80d 100644 --- a/tests/System/OperatingSystemTest.php +++ b/tests/System/OperatingSystemTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/SystemTypeTest.php b/tests/System/SystemTypeTest.php index 2f6cb1f5e..b0d4462d2 100644 --- a/tests/System/SystemTypeTest.php +++ b/tests/System/SystemTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/System/SystemUtilsTest.php b/tests/System/SystemUtilsTest.php index c4c67828f..12d7f3d28 100644 --- a/tests/System/SystemUtilsTest.php +++ b/tests/System/SystemUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/UnhandledHandlerTest.php b/tests/UnhandledHandlerTest.php index 6c1973ec9..dcdb055fe 100644 --- a/tests/UnhandledHandlerTest.php +++ b/tests/UnhandledHandlerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Uri/ArgumentTest.php b/tests/Uri/ArgumentTest.php index 600987312..629e58126 100644 --- a/tests/Uri/ArgumentTest.php +++ b/tests/Uri/ArgumentTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Uri/HttpTest.php b/tests/Uri/HttpTest.php index a6aef08a3..610cc0791 100644 --- a/tests/Uri/HttpTest.php +++ b/tests/Uri/HttpTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Uri/InvalidUriExceptionTest.php b/tests/Uri/InvalidUriExceptionTest.php index da6799b22..9cecfbe4c 100644 --- a/tests/Uri/InvalidUriExceptionTest.php +++ b/tests/Uri/InvalidUriExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Uri/UriFactoryTest.php b/tests/Uri/UriFactoryTest.php index a99f26fad..65f9ac8fd 100644 --- a/tests/Uri/UriFactoryTest.php +++ b/tests/Uri/UriFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Uri/UriSchemeTest.php b/tests/Uri/UriSchemeTest.php index d834ad759..ee57eee85 100644 --- a/tests/Uri/UriSchemeTest.php +++ b/tests/Uri/UriSchemeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/ArrayUtilsTest.php b/tests/Utils/ArrayUtilsTest.php index 9bde02c02..12d40cbf7 100644 --- a/tests/Utils/ArrayUtilsTest.php +++ b/tests/Utils/ArrayUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/AztecTest.php b/tests/Utils/Barcode/AztecTest.php index 2e1955fef..7598ad297 100644 --- a/tests/Utils/Barcode/AztecTest.php +++ b/tests/Utils/Barcode/AztecTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C128AbstractTest.php b/tests/Utils/Barcode/C128AbstractTest.php index dd2b89200..9be667df0 100644 --- a/tests/Utils/Barcode/C128AbstractTest.php +++ b/tests/Utils/Barcode/C128AbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C128aTest.php b/tests/Utils/Barcode/C128aTest.php index d92c21072..22bc9ed65 100644 --- a/tests/Utils/Barcode/C128aTest.php +++ b/tests/Utils/Barcode/C128aTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C128bTest.php b/tests/Utils/Barcode/C128bTest.php index 53888cbc5..462786dcc 100644 --- a/tests/Utils/Barcode/C128bTest.php +++ b/tests/Utils/Barcode/C128bTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C128cTest.php b/tests/Utils/Barcode/C128cTest.php index 5f3479213..c6113ee52 100644 --- a/tests/Utils/Barcode/C128cTest.php +++ b/tests/Utils/Barcode/C128cTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C25Test.php b/tests/Utils/Barcode/C25Test.php index 1e546ea22..787ffac94 100644 --- a/tests/Utils/Barcode/C25Test.php +++ b/tests/Utils/Barcode/C25Test.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/C39Test.php b/tests/Utils/Barcode/C39Test.php index 6c033e022..7ebde16c4 100644 --- a/tests/Utils/Barcode/C39Test.php +++ b/tests/Utils/Barcode/C39Test.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/CodebarTest.php b/tests/Utils/Barcode/CodebarTest.php index c7c1ed104..d0bcb60ef 100644 --- a/tests/Utils/Barcode/CodebarTest.php +++ b/tests/Utils/Barcode/CodebarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/DatamatrixTest.php b/tests/Utils/Barcode/DatamatrixTest.php index afe3fee14..a661b936d 100644 --- a/tests/Utils/Barcode/DatamatrixTest.php +++ b/tests/Utils/Barcode/DatamatrixTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/HIBCCTest.php b/tests/Utils/Barcode/HIBCCTest.php index 98a06f401..c7917fbc6 100644 --- a/tests/Utils/Barcode/HIBCCTest.php +++ b/tests/Utils/Barcode/HIBCCTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/OrientationTypeTest.php b/tests/Utils/Barcode/OrientationTypeTest.php index 1ee5b6276..723e47c57 100644 --- a/tests/Utils/Barcode/OrientationTypeTest.php +++ b/tests/Utils/Barcode/OrientationTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Barcode/QRTest.php b/tests/Utils/Barcode/QRTest.php index 073c9b34a..0f7baa90e 100644 --- a/tests/Utils/Barcode/QRTest.php +++ b/tests/Utils/Barcode/QRTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/ColorUtilsTest.php b/tests/Utils/ColorUtilsTest.php index a62503ce2..b526b339f 100644 --- a/tests/Utils/ColorUtilsTest.php +++ b/tests/Utils/ColorUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Compression/LZWTest.php b/tests/Utils/Compression/LZWTest.php index 29f19a027..5c9e188cb 100644 --- a/tests/Utils/Compression/LZWTest.php +++ b/tests/Utils/Compression/LZWTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/AngleTypeTest.php b/tests/Utils/Converter/AngleTypeTest.php index 5d1747135..c415ec792 100644 --- a/tests/Utils/Converter/AngleTypeTest.php +++ b/tests/Utils/Converter/AngleTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/AreaTypeTest.php b/tests/Utils/Converter/AreaTypeTest.php index fad1d898a..41130dbd4 100644 --- a/tests/Utils/Converter/AreaTypeTest.php +++ b/tests/Utils/Converter/AreaTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/CurrencyTest.php b/tests/Utils/Converter/CurrencyTest.php index 7b9f33c9d..d6fc37829 100644 --- a/tests/Utils/Converter/CurrencyTest.php +++ b/tests/Utils/Converter/CurrencyTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/EnergyPowerTypeTest.php b/tests/Utils/Converter/EnergyPowerTypeTest.php index ac88f9eba..b7e5576a1 100644 --- a/tests/Utils/Converter/EnergyPowerTypeTest.php +++ b/tests/Utils/Converter/EnergyPowerTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/FileSizeTypeTest.php b/tests/Utils/Converter/FileSizeTypeTest.php index fafb4d151..cb2d26984 100644 --- a/tests/Utils/Converter/FileSizeTypeTest.php +++ b/tests/Utils/Converter/FileSizeTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/FileTest.php b/tests/Utils/Converter/FileTest.php index 9a23dd8d1..bf38bcc11 100644 --- a/tests/Utils/Converter/FileTest.php +++ b/tests/Utils/Converter/FileTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/IpTest.php b/tests/Utils/Converter/IpTest.php index e614dc9ae..7c1ff74f7 100644 --- a/tests/Utils/Converter/IpTest.php +++ b/tests/Utils/Converter/IpTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/LengthTypeTest.php b/tests/Utils/Converter/LengthTypeTest.php index 2de78b742..a91a60933 100644 --- a/tests/Utils/Converter/LengthTypeTest.php +++ b/tests/Utils/Converter/LengthTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/MeasurementTest.php b/tests/Utils/Converter/MeasurementTest.php index 42642fc4d..06e8806e9 100644 --- a/tests/Utils/Converter/MeasurementTest.php +++ b/tests/Utils/Converter/MeasurementTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/NumericTest.php b/tests/Utils/Converter/NumericTest.php index 11aa3a54e..b0d4b922c 100644 --- a/tests/Utils/Converter/NumericTest.php +++ b/tests/Utils/Converter/NumericTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/PressureTypeTest.php b/tests/Utils/Converter/PressureTypeTest.php index dd5cb144d..455f982f3 100644 --- a/tests/Utils/Converter/PressureTypeTest.php +++ b/tests/Utils/Converter/PressureTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/SpeedTypeTest.php b/tests/Utils/Converter/SpeedTypeTest.php index 27079ebfb..1b1454de7 100644 --- a/tests/Utils/Converter/SpeedTypeTest.php +++ b/tests/Utils/Converter/SpeedTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/TemperatureTypeTest.php b/tests/Utils/Converter/TemperatureTypeTest.php index ce035d5db..ec05e52cd 100644 --- a/tests/Utils/Converter/TemperatureTypeTest.php +++ b/tests/Utils/Converter/TemperatureTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/TimeTypeTest.php b/tests/Utils/Converter/TimeTypeTest.php index a81726e66..7f9a6739b 100644 --- a/tests/Utils/Converter/TimeTypeTest.php +++ b/tests/Utils/Converter/TimeTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/VolumeTypeTest.php b/tests/Utils/Converter/VolumeTypeTest.php index aab2b9858..f3bd0e2f1 100644 --- a/tests/Utils/Converter/VolumeTypeTest.php +++ b/tests/Utils/Converter/VolumeTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Converter/WeightTypeTest.php b/tests/Utils/Converter/WeightTypeTest.php index 827c4710c..011c84d1d 100644 --- a/tests/Utils/Converter/WeightTypeTest.php +++ b/tests/Utils/Converter/WeightTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Encoding/CaesarTest.php b/tests/Utils/Encoding/CaesarTest.php index 939cd8857..6a7646ecb 100644 --- a/tests/Utils/Encoding/CaesarTest.php +++ b/tests/Utils/Encoding/CaesarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Encoding/GrayTest.php b/tests/Utils/Encoding/GrayTest.php index 3b6cd3365..90d7e9faa 100644 --- a/tests/Utils/Encoding/GrayTest.php +++ b/tests/Utils/Encoding/GrayTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Encoding/Huffman/DictionaryTest.php b/tests/Utils/Encoding/Huffman/DictionaryTest.php index d5288d039..d8879c1cc 100644 --- a/tests/Utils/Encoding/Huffman/DictionaryTest.php +++ b/tests/Utils/Encoding/Huffman/DictionaryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Encoding/Huffman/HuffmanTest.php b/tests/Utils/Encoding/Huffman/HuffmanTest.php index 1f7efd3e7..462c81d78 100644 --- a/tests/Utils/Encoding/Huffman/HuffmanTest.php +++ b/tests/Utils/Encoding/Huffman/HuffmanTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Encoding/XorEncodingTest.php b/tests/Utils/Encoding/XorEncodingTest.php index 541896f7e..79f863d44 100644 --- a/tests/Utils/Encoding/XorEncodingTest.php +++ b/tests/Utils/Encoding/XorEncodingTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Excel/ExcelTest.php b/tests/Utils/Excel/ExcelTest.php index 451ebee9a..f028c454f 100644 --- a/tests/Utils/Excel/ExcelTest.php +++ b/tests/Utils/Excel/ExcelTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/AuthorTest.php b/tests/Utils/Git/AuthorTest.php index c8feacc99..5e5b5adf9 100644 --- a/tests/Utils/Git/AuthorTest.php +++ b/tests/Utils/Git/AuthorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/BranchTest.php b/tests/Utils/Git/BranchTest.php index 1de9cf33c..42155d302 100644 --- a/tests/Utils/Git/BranchTest.php +++ b/tests/Utils/Git/BranchTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/CommitTest.php b/tests/Utils/Git/CommitTest.php index 2cc2dd5c1..6545d70de 100644 --- a/tests/Utils/Git/CommitTest.php +++ b/tests/Utils/Git/CommitTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/GitTest.php b/tests/Utils/Git/GitTest.php index 242eee61d..6cee1679e 100644 --- a/tests/Utils/Git/GitTest.php +++ b/tests/Utils/Git/GitTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/RepositoryTest.php b/tests/Utils/Git/RepositoryTest.php index 87ab052cb..22e99f61e 100644 --- a/tests/Utils/Git/RepositoryTest.php +++ b/tests/Utils/Git/RepositoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Git/TagTest.php b/tests/Utils/Git/TagTest.php index 7d5b977ef..abbfeaf94 100644 --- a/tests/Utils/Git/TagTest.php +++ b/tests/Utils/Git/TagTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Csv/CsvSettingsTest.php b/tests/Utils/IO/Csv/CsvSettingsTest.php index ca3bbe120..dfa0615ae 100644 --- a/tests/Utils/IO/Csv/CsvSettingsTest.php +++ b/tests/Utils/IO/Csv/CsvSettingsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Excel/ExcelDatabaseMapperTest.php b/tests/Utils/IO/Excel/ExcelDatabaseMapperTest.php index 55d97a2df..2249ad2d0 100644 --- a/tests/Utils/IO/Excel/ExcelDatabaseMapperTest.php +++ b/tests/Utils/IO/Excel/ExcelDatabaseMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/IODatabaseMapperTest.php b/tests/Utils/IO/IODatabaseMapperTest.php index de2b257d6..4a40e6e50 100644 --- a/tests/Utils/IO/IODatabaseMapperTest.php +++ b/tests/Utils/IO/IODatabaseMapperTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Json/InvalidJsonExceptionTest.php b/tests/Utils/IO/Json/InvalidJsonExceptionTest.php index cff9b036d..ce3d1db39 100644 --- a/tests/Utils/IO/Json/InvalidJsonExceptionTest.php +++ b/tests/Utils/IO/Json/InvalidJsonExceptionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Zip/GzTest.php b/tests/Utils/IO/Zip/GzTest.php index 44886cb19..a949a09db 100644 --- a/tests/Utils/IO/Zip/GzTest.php +++ b/tests/Utils/IO/Zip/GzTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Zip/TarGzTest.php b/tests/Utils/IO/Zip/TarGzTest.php index 6e3e86581..15c9d55c5 100644 --- a/tests/Utils/IO/Zip/TarGzTest.php +++ b/tests/Utils/IO/Zip/TarGzTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Zip/TarTest.php b/tests/Utils/IO/Zip/TarTest.php index d3157bf2c..b208bee82 100644 --- a/tests/Utils/IO/Zip/TarTest.php +++ b/tests/Utils/IO/Zip/TarTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/IO/Zip/ZipTest.php b/tests/Utils/IO/Zip/ZipTest.php index e3ff90fb8..e1fa95f20 100644 --- a/tests/Utils/IO/Zip/ZipTest.php +++ b/tests/Utils/IO/Zip/ZipTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/ImageUtilsTest.php b/tests/Utils/ImageUtilsTest.php index f20102708..4fef2c922 100644 --- a/tests/Utils/ImageUtilsTest.php +++ b/tests/Utils/ImageUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/JsonBuilderTest.php b/tests/Utils/JsonBuilderTest.php index 04d369346..57c0f7b42 100644 --- a/tests/Utils/JsonBuilderTest.php +++ b/tests/Utils/JsonBuilderTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/PDF/PdfTest.php b/tests/Utils/PDF/PdfTest.php index 9277ae3e6..bfec5c47b 100644 --- a/tests/Utils/PDF/PdfTest.php +++ b/tests/Utils/PDF/PdfTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Parser/Markdown/MarkdownTest.php b/tests/Utils/Parser/Markdown/MarkdownTest.php index da580aaf5..fc9473390 100644 --- a/tests/Utils/Parser/Markdown/MarkdownTest.php +++ b/tests/Utils/Parser/Markdown/MarkdownTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/Parser/Php/ArrayParserTest.php b/tests/Utils/Parser/Php/ArrayParserTest.php index 7a3899407..1f0dc3a25 100644 --- a/tests/Utils/Parser/Php/ArrayParserTest.php +++ b/tests/Utils/Parser/Php/ArrayParserTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/PermutationTest.php b/tests/Utils/PermutationTest.php index 937832c16..d48127b23 100644 --- a/tests/Utils/PermutationTest.php +++ b/tests/Utils/PermutationTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/AddressTest.php b/tests/Utils/RnG/AddressTest.php index d4c543556..f1cd3cf9e 100644 --- a/tests/Utils/RnG/AddressTest.php +++ b/tests/Utils/RnG/AddressTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/ArrayRandomizeTest.php b/tests/Utils/RnG/ArrayRandomizeTest.php index eefa5aa4d..cab812f3b 100644 --- a/tests/Utils/RnG/ArrayRandomizeTest.php +++ b/tests/Utils/RnG/ArrayRandomizeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/CityTest.php b/tests/Utils/RnG/CityTest.php index cd962c8e5..87799f63f 100644 --- a/tests/Utils/RnG/CityTest.php +++ b/tests/Utils/RnG/CityTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/DateTimeTest.php b/tests/Utils/RnG/DateTimeTest.php index f7693be0a..09afb1e13 100644 --- a/tests/Utils/RnG/DateTimeTest.php +++ b/tests/Utils/RnG/DateTimeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/DistributionTypeTest.php b/tests/Utils/RnG/DistributionTypeTest.php index 4b2cd6a94..e4c9b9756 100644 --- a/tests/Utils/RnG/DistributionTypeTest.php +++ b/tests/Utils/RnG/DistributionTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/EmailTest.php b/tests/Utils/RnG/EmailTest.php index 593433d57..2acfd797f 100644 --- a/tests/Utils/RnG/EmailTest.php +++ b/tests/Utils/RnG/EmailTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/FileTest.php b/tests/Utils/RnG/FileTest.php index b1eb060ae..d02448c88 100644 --- a/tests/Utils/RnG/FileTest.php +++ b/tests/Utils/RnG/FileTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/IBANTest.php b/tests/Utils/RnG/IBANTest.php index 83182e2fc..17af6e791 100644 --- a/tests/Utils/RnG/IBANTest.php +++ b/tests/Utils/RnG/IBANTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/LinearCongruentialGeneratorTest.php b/tests/Utils/RnG/LinearCongruentialGeneratorTest.php index 1808c3a38..d14bbe497 100644 --- a/tests/Utils/RnG/LinearCongruentialGeneratorTest.php +++ b/tests/Utils/RnG/LinearCongruentialGeneratorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/NameTest.php b/tests/Utils/RnG/NameTest.php index ba649afde..05a35a5e8 100644 --- a/tests/Utils/RnG/NameTest.php +++ b/tests/Utils/RnG/NameTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/NumericTest.php b/tests/Utils/RnG/NumericTest.php index 99c3a876d..97826aaf5 100644 --- a/tests/Utils/RnG/NumericTest.php +++ b/tests/Utils/RnG/NumericTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/PhoneTest.php b/tests/Utils/RnG/PhoneTest.php index 149d4e364..52a11ff76 100644 --- a/tests/Utils/RnG/PhoneTest.php +++ b/tests/Utils/RnG/PhoneTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/PostalZipTest.php b/tests/Utils/RnG/PostalZipTest.php index 80c52acb2..df3d54496 100644 --- a/tests/Utils/RnG/PostalZipTest.php +++ b/tests/Utils/RnG/PostalZipTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/StringUtilsTest.php b/tests/Utils/RnG/StringUtilsTest.php index eb0baf60a..2a88bb9c5 100644 --- a/tests/Utils/RnG/StringUtilsTest.php +++ b/tests/Utils/RnG/StringUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/RnG/TextTest.php b/tests/Utils/RnG/TextTest.php index a41bc3513..8b55481b7 100644 --- a/tests/Utils/RnG/TextTest.php +++ b/tests/Utils/RnG/TextTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/StringCompareTest.php b/tests/Utils/StringCompareTest.php index 57caf8863..bcc0aefdd 100644 --- a/tests/Utils/StringCompareTest.php +++ b/tests/Utils/StringCompareTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/StringUtilsTest.php b/tests/Utils/StringUtilsTest.php index 44239b995..efd3f2861 100644 --- a/tests/Utils/StringUtilsTest.php +++ b/tests/Utils/StringUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/CronJobTest.php b/tests/Utils/TaskSchedule/CronJobTest.php index 943912887..4421219fe 100644 --- a/tests/Utils/TaskSchedule/CronJobTest.php +++ b/tests/Utils/TaskSchedule/CronJobTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/CronTest.php b/tests/Utils/TaskSchedule/CronTest.php index 7372d22ef..42080f4c4 100644 --- a/tests/Utils/TaskSchedule/CronTest.php +++ b/tests/Utils/TaskSchedule/CronTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/IntervalTest.php b/tests/Utils/TaskSchedule/IntervalTest.php index 4d6c99b10..f2937f763 100644 --- a/tests/Utils/TaskSchedule/IntervalTest.php +++ b/tests/Utils/TaskSchedule/IntervalTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/ScheduleTest.php b/tests/Utils/TaskSchedule/ScheduleTest.php index 72c64ed53..9694ead75 100644 --- a/tests/Utils/TaskSchedule/ScheduleTest.php +++ b/tests/Utils/TaskSchedule/ScheduleTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/SchedulerAbstractTest.php b/tests/Utils/TaskSchedule/SchedulerAbstractTest.php index e33d56bf3..b954a7d3f 100644 --- a/tests/Utils/TaskSchedule/SchedulerAbstractTest.php +++ b/tests/Utils/TaskSchedule/SchedulerAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/SchedulerFactoryTest.php b/tests/Utils/TaskSchedule/SchedulerFactoryTest.php index 300dd4f19..0d6318081 100644 --- a/tests/Utils/TaskSchedule/SchedulerFactoryTest.php +++ b/tests/Utils/TaskSchedule/SchedulerFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/TaskAbstractTest.php b/tests/Utils/TaskSchedule/TaskAbstractTest.php index 5dbfe2e67..5f54381c6 100644 --- a/tests/Utils/TaskSchedule/TaskAbstractTest.php +++ b/tests/Utils/TaskSchedule/TaskAbstractTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/TaskFactoryTest.php b/tests/Utils/TaskSchedule/TaskFactoryTest.php index 74fc2117b..7de00f5a9 100644 --- a/tests/Utils/TaskSchedule/TaskFactoryTest.php +++ b/tests/Utils/TaskSchedule/TaskFactoryTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TaskSchedule/TaskSchedulerTest.php b/tests/Utils/TaskSchedule/TaskSchedulerTest.php index e6c9d40a1..fd2862107 100644 --- a/tests/Utils/TaskSchedule/TaskSchedulerTest.php +++ b/tests/Utils/TaskSchedule/TaskSchedulerTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TestUtilsClass.php b/tests/Utils/TestUtilsClass.php index d1ba8e7fd..ef4299544 100644 --- a/tests/Utils/TestUtilsClass.php +++ b/tests/Utils/TestUtilsClass.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Utils/TestUtilsTest.php b/tests/Utils/TestUtilsTest.php index f344ea9b2..3cf687cd7 100644 --- a/tests/Utils/TestUtilsTest.php +++ b/tests/Utils/TestUtilsTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Base/DateTimeTest.php b/tests/Validation/Base/DateTimeTest.php index 728f4096f..c48ae3cff 100644 --- a/tests/Validation/Base/DateTimeTest.php +++ b/tests/Validation/Base/DateTimeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Base/JsonTest.php b/tests/Validation/Base/JsonTest.php index 6a6954f99..969bfd756 100644 --- a/tests/Validation/Base/JsonTest.php +++ b/tests/Validation/Base/JsonTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Finance/BICTest.php b/tests/Validation/Finance/BICTest.php index f0b376a27..e2e0d0602 100644 --- a/tests/Validation/Finance/BICTest.php +++ b/tests/Validation/Finance/BICTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Finance/CreditCardTest.php b/tests/Validation/Finance/CreditCardTest.php index 839d83099..4045e1ef6 100644 --- a/tests/Validation/Finance/CreditCardTest.php +++ b/tests/Validation/Finance/CreditCardTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Finance/IbanEnumTest.php b/tests/Validation/Finance/IbanEnumTest.php index 2c5a9c721..936cc5fc3 100644 --- a/tests/Validation/Finance/IbanEnumTest.php +++ b/tests/Validation/Finance/IbanEnumTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Finance/IbanErrorTypeTest.php b/tests/Validation/Finance/IbanErrorTypeTest.php index b8d7d767e..7c2360e40 100644 --- a/tests/Validation/Finance/IbanErrorTypeTest.php +++ b/tests/Validation/Finance/IbanErrorTypeTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Finance/IbanTest.php b/tests/Validation/Finance/IbanTest.php index d6f00554f..e6a96231a 100644 --- a/tests/Validation/Finance/IbanTest.php +++ b/tests/Validation/Finance/IbanTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Network/EmailTest.php b/tests/Validation/Network/EmailTest.php index 4a1f2416c..5e6b28237 100644 --- a/tests/Validation/Network/EmailTest.php +++ b/tests/Validation/Network/EmailTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Network/HostnameTest.php b/tests/Validation/Network/HostnameTest.php index 65b5633b3..e4bc97388 100644 --- a/tests/Validation/Network/HostnameTest.php +++ b/tests/Validation/Network/HostnameTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/Network/IpTest.php b/tests/Validation/Network/IpTest.php index 1ad9a2687..4e6106859 100644 --- a/tests/Validation/Network/IpTest.php +++ b/tests/Validation/Network/IpTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Validation/ValidatorTest.php b/tests/Validation/ValidatorTest.php index 681ad3985..69693b3cd 100644 --- a/tests/Validation/ValidatorTest.php +++ b/tests/Validation/ValidatorTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Version/VersionTest.php b/tests/Version/VersionTest.php index bfabb2c91..4adaa80ec 100644 --- a/tests/Version/VersionTest.php +++ b/tests/Version/VersionTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Views/PaginationViewTest.php b/tests/Views/PaginationViewTest.php index 2f670f886..4380151d3 100644 --- a/tests/Views/PaginationViewTest.php +++ b/tests/Views/PaginationViewTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1); diff --git a/tests/Views/ViewTest.php b/tests/Views/ViewTest.php index ca4eb528b..0f746eb56 100644 --- a/tests/Views/ViewTest.php +++ b/tests/Views/ViewTest.php @@ -4,11 +4,11 @@ * * PHP Version 7.4 * - * @package tests - * @copyright Dennis Eichhorn - * @license OMS License 1.0 - * @version 1.0.0 - * @link https://orange-management.org + * @package tests + * @copyright Dennis Eichhorn + * @license OMS License 1.0 + * @version 1.0.0 + * @link https://orange-management.org */ declare(strict_types=1);