From 94de6fa0d526378836e0fd76fc233d1898ff6d0b Mon Sep 17 00:00:00 2001 From: SebastianKrupinski Date: Wed, 17 Jun 2026 11:22:31 -0400 Subject: [PATCH] chore: version clean up Signed-off-by: SebastianKrupinski --- appinfo/info.xml | 2 +- lib/Service/ConfigurationService.php | 46 +---------- lib/Service/CoreService.php | 14 ---- lib/Service/HarmonizationService.php | 4 - lib/Service/Local/LocalFactory.php | 8 -- lib/Service/Remote/RemoteContactsService.php | 2 - lib/Service/Remote/RemoteEventsService.php | 2 - lib/Service/Remote/RemoteFactory.php | 8 -- lib/Service/ServicesTemplateService.php | 8 -- lib/Store/Common/Range/IRange.php | 3 +- lib/Store/Common/Range/IRangeDate.php | 12 +-- lib/Store/Common/Sort/ISort.php | 11 +-- lib/Store/Common/Sort/SortBase.php | 19 ----- lib/Store/Local/BaseStore.php | 82 +------------------- lib/Store/Local/EventStore.php | 2 - lib/Store/Local/ServicesStore.php | 12 --- lib/Store/Local/ServicesTemplateStore.php | 12 --- lib/Utile/Sanitizer.php | 4 - lib/Utile/UUID.php | 8 -- 19 files changed, 14 insertions(+), 245 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 2e7029f..0a8db36 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -4,7 +4,7 @@ DAV Connector Connect Nextcloud to a DAV service - 0.1.0-dev + 1.0.0 AGPL-3.0-or-later Sebastian Krupinski DAVC diff --git a/lib/Service/ConfigurationService.php b/lib/Service/ConfigurationService.php index b9f045b..3b110cf 100644 --- a/lib/Service/ConfigurationService.php +++ b/lib/Service/ConfigurationService.php @@ -61,8 +61,6 @@ public function __construct( /** * Retrieves collection of system configuration parameters * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param array $keys collection of configuration parameter keys * @@ -113,8 +111,6 @@ public function retrieveUser(string $uid, ?array $keys = null): array { /** * Deposit collection of system configuration parameters * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param array $parameters collection of key/value pairs, of parameters * @@ -132,8 +128,6 @@ public function depositUser($uid, array $parameters): void { /** * Destroy collection of system configuration parameters * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param array $keys collection of configuration parameter keys * @@ -155,8 +149,6 @@ public function destroyUser(string $uid, ?array $keys = null): void { /** * Retrieves single system configuration parameter * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param string $key configuration parameter key * @@ -184,8 +176,6 @@ public function retrieveUserValue(string $uid, string $key): string { /** * Deposit single system configuration parameter * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param string $key configuration parameter key * @param string $value configuration parameter value @@ -208,8 +198,6 @@ public function depositUserValue(string $uid, string $key, string $value): void /** * Destroy single user configuration parameter * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param string $key configuration parameter keys * @@ -225,8 +213,6 @@ public function destroyUserValue(string $uid, string $key): void { /** * Retrieves collection of system configuration parameters * - * @since Release 1.0.0 - * * @param array $keys collection of configuration parameter keys * * @return array of key/value pairs, of configuration parameter @@ -249,8 +235,6 @@ public function retrieveSystem(?array $keys = null): array { /** * Deposit collection of system configuration parameters * - * @since Release 1.0.0 - * * @param array $parameters collection of key/value pairs, of parameters * * @return void @@ -271,8 +255,6 @@ public function depositSystem(array $parameters): void { /** * Destroy collection of system configuration parameters * - * @since Release 1.0.0 - * * @param array $keys collection of configuration parameter keys * * @return void @@ -293,8 +275,6 @@ public function destroySystem(?array $keys = null): void { /** * Retrieves single system configuration parameter * - * @since Release 1.0.0 - * * @param string $key configuration parameter key * * @return string configuration parameter value @@ -320,8 +300,6 @@ public function retrieveSystemValue(string $key): string { /** * Deposit single system configuration parameter * - * @since Release 1.0.0 - * * @param string $key configuration parameter key * @param string $value configuration parameter value * @@ -342,9 +320,7 @@ public function depositSystemValue(string $key, string $value): void { /** * Destroy single system configuration parameter - * - * @since Release 1.0.0 - * + * * @return void */ public function destroySystemValue(string $key): void { @@ -359,8 +335,6 @@ public function destroySystemValue(string $key): void { * * Interval, in seconds, between background harmonization runs. * - * @since Release 1.0.0 - * * @return int harmonization interval in seconds (default 900) */ public function getHarmonizationInterval(): int { @@ -379,8 +353,6 @@ public function getHarmonizationInterval(): int { /** * Sets harmonization interval * - * @since Release 1.0.0 - * * @param int $interval harmonization interval in seconds * * @return void @@ -395,8 +367,6 @@ public function setHarmonizationInterval(int $interval): void { /** * Gets administrator transport security policy: force certificate verification * - * @since Release 1.0.0 - * * @return bool true if certificate verification is enforced for all connections */ public function getForceCertificateVerification(): bool { @@ -407,8 +377,6 @@ public function getForceCertificateVerification(): bool { /** * Sets administrator transport security policy: force certificate verification * - * @since Release 1.0.0 - * * @param bool $enabled * * @return void @@ -422,8 +390,6 @@ public function setForceCertificateVerification(bool $enabled): void { /** * Gets administrator transport security policy: forbid insecure (http) connections * - * @since Release 1.0.0 - * * @return bool true if insecure (http) connections are forbidden */ public function getForbidInsecureHttp(): bool { @@ -434,8 +400,6 @@ public function getForbidInsecureHttp(): bool { /** * Sets administrator transport security policy: forbid insecure (http) connections * - * @since Release 1.0.0 - * * @param bool $enabled * * @return void @@ -449,8 +413,6 @@ public function setForbidInsecureHttp(bool $enabled): void { /** * retrieve contacts app status * - * @since Release 1.0.0 - * * @return bool */ public function isContactsAppAvailable(): bool { @@ -469,8 +431,6 @@ public function isContactsAppAvailable(): bool { /** * retrieve calendar app status * - * @since Release 1.0.0 - * * @return bool */ public function isCalendarAppAvailable(): bool { @@ -489,8 +449,6 @@ public function isCalendarAppAvailable(): bool { /** * encrypt string * - * @since Release 1.0.0 - * * @return string */ public function encrypt(string $value): string { @@ -501,8 +459,6 @@ public function encrypt(string $value): string { /** * decrypt string * - * @since Release 1.0.0 - * * @return string */ public function decrypt(string $value): string { diff --git a/lib/Service/CoreService.php b/lib/Service/CoreService.php index 5baa20c..3450173 100644 --- a/lib/Service/CoreService.php +++ b/lib/Service/CoreService.php @@ -40,8 +40,6 @@ public function __construct( /** * locates connection point using users login details * - * @since Release 1.0.0 - * * @param string $uid user id * @param string $account_bauth_id account username * @param string $account_bauth_secret account secret @@ -104,8 +102,6 @@ public function locateAccount(array $configuration): ?array { /** * connects to account, verifies details, then create service * - * @since Release 1.0.0 - * * @param string $uid user id * @param array $configuration service connection data * @param array $options @@ -229,8 +225,6 @@ public function connectAccount(string $uid, array $configuration, array $options /** * Removes all users settings, etc for specific user * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @@ -266,8 +260,6 @@ public function disconnectAccount(string $uid, int $sid): void { /** * retrieves remote collections for all modules * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @@ -334,8 +326,6 @@ public function remoteCollectionsFetch(string $uid, int $sid): array { /** * retrieves local collections for all modules * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @@ -367,8 +357,6 @@ public function localCollectionsFetch(string $uid, int $sid): array { /** * Deposit collection correlations for all modules * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @param array $cc contacts collection(s) correlations @@ -496,8 +484,6 @@ public function localCollectionsDeposit(string $uid, int $sid, array $cc, array /** * publish user notification * - * @since Release 1.0.0 - * * @param string $uid nextcloud user id * @param string $subject notification type * @param array $params notification parameters to pass diff --git a/lib/Service/HarmonizationService.php b/lib/Service/HarmonizationService.php index 6143de7..6bbcfcd 100644 --- a/lib/Service/HarmonizationService.php +++ b/lib/Service/HarmonizationService.php @@ -27,8 +27,6 @@ public function __construct( /** * perform harmonization for all or specific services of a user * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @@ -52,8 +50,6 @@ public function performHarmonization(string $uid, ?int $sid = null): void { /** * perform harmonization for all modules of a specific service - * - * @since Release 1.0.0 */ public function performHarmonizationForService(ServiceEntity $service): void { diff --git a/lib/Service/Local/LocalFactory.php b/lib/Service/Local/LocalFactory.php index 0cbd3bf..615d2fd 100644 --- a/lib/Service/Local/LocalFactory.php +++ b/lib/Service/Local/LocalFactory.php @@ -16,8 +16,6 @@ class LocalFactory { /** * instance of the local contact service - * - * @since Release 1.0.0 */ public function contactsService(): LocalContactsService { $service = new LocalContactsService(); @@ -27,8 +25,6 @@ public function contactsService(): LocalContactsService { /** * instance of the local event service - * - * @since Release 1.0.0 */ public function eventsService(): LocalEventsService { $service = new LocalEventsService(); @@ -39,8 +35,6 @@ public function eventsService(): LocalEventsService { /** * instance of the local contact store * - * @since Release 1.0.0 - * * @return ContactStore */ public function contactsStore(): ContactStore { @@ -50,8 +44,6 @@ public function contactsStore(): ContactStore { /** * instance of the local event store * - * @since Release 1.0.0 - * * @return EventStore */ public function eventsStore(): EventStore { diff --git a/lib/Service/Remote/RemoteContactsService.php b/lib/Service/Remote/RemoteContactsService.php index b2f554c..3b61f26 100644 --- a/lib/Service/Remote/RemoteContactsService.php +++ b/lib/Service/Remote/RemoteContactsService.php @@ -92,8 +92,6 @@ public function collectionList(string $granularity = 'basic'): array { /** * retrieve properties for specific collection - * - * @since Release 1.0.0 */ public function collectionFetch(string $identifier): ?Collection { $data = $this->dataStore->propFind($identifier, 0, $this->collectionPropertiesDefault); diff --git a/lib/Service/Remote/RemoteEventsService.php b/lib/Service/Remote/RemoteEventsService.php index d350123..25dd3b4 100644 --- a/lib/Service/Remote/RemoteEventsService.php +++ b/lib/Service/Remote/RemoteEventsService.php @@ -93,8 +93,6 @@ public function collectionList(string $granularity = 'basic'): array { /** * retrieve properties for specific collection - * - * @since Release 1.0.0 */ public function collectionFetch(string $identifier): ?Collection { $data = $this->dataStore->propFind($identifier, 0, $this->collectionPropertiesDefault); diff --git a/lib/Service/Remote/RemoteFactory.php b/lib/Service/Remote/RemoteFactory.php index 2a14ee8..ad8355a 100644 --- a/lib/Service/Remote/RemoteFactory.php +++ b/lib/Service/Remote/RemoteFactory.php @@ -29,8 +29,6 @@ public function __construct( /** * Initialize remote data store client - * - * @since Release 1.0.0 */ public function freshClient(ServiceEntity $service): RemoteClient { $client = new RemoteClient($this->clientService); @@ -80,8 +78,6 @@ private function logger(ServiceEntity $service): LoggerInterface { /** * Appropriate Core Service for Connection - * - * @since Release 1.0.0 */ public function coreService(RemoteClient $client): RemoteCoreService { $service = new RemoteCoreService(); @@ -92,8 +88,6 @@ public function coreService(RemoteClient $client): RemoteCoreService { /** * Appropriate Contacts Service for Connection - * - * @since Release 1.0.0 */ public function contactsService(RemoteClient $client): RemoteContactsService { $service = new RemoteContactsService(); @@ -104,8 +98,6 @@ public function contactsService(RemoteClient $client): RemoteContactsService { /** * Appropriate Events Service for Connection - * - * @since Release 1.0.0 */ public function eventsService(RemoteClient $client): RemoteEventsService { $service = new RemoteEventsService(); diff --git a/lib/Service/ServicesTemplateService.php b/lib/Service/ServicesTemplateService.php index bc5b56b..5e25561 100644 --- a/lib/Service/ServicesTemplateService.php +++ b/lib/Service/ServicesTemplateService.php @@ -29,8 +29,6 @@ public function findByDomain(string $domain): array { /** * list all service templates with decoded connection settings * - * @since Release 1.0.0 - * * @return array */ public function list(): array { @@ -44,8 +42,6 @@ public function list(): array { /** * create a new service template * - * @since Release 1.0.0 - * * @param string $domain service domain * @param array $connection connection settings * @@ -59,8 +55,6 @@ public function create(string $domain, array $connection): bool { /** * modify an existing service template * - * @since Release 1.0.0 - * * @param string $id service template id * @param string $domain service domain * @param array $connection connection settings @@ -75,8 +69,6 @@ public function modify(string $id, string $domain, array $connection): bool { /** * delete a service template * - * @since Release 1.0.0 - * * @param string $id service template id * * @return bool diff --git a/lib/Store/Common/Range/IRange.php b/lib/Store/Common/Range/IRange.php index 9f0e407..8b6dadc 100644 --- a/lib/Store/Common/Range/IRange.php +++ b/lib/Store/Common/Range/IRange.php @@ -12,8 +12,7 @@ interface IRange { /** - * - * @since 1.0.0 + * range type */ public function type(): string; diff --git a/lib/Store/Common/Range/IRangeDate.php b/lib/Store/Common/Range/IRangeDate.php index 11908ad..cb8cc97 100644 --- a/lib/Store/Common/Range/IRangeDate.php +++ b/lib/Store/Common/Range/IRangeDate.php @@ -14,26 +14,22 @@ interface IRangeDate extends IRange { /** - * - * @since 1.0.0 + * get start date of the range */ public function getStart(): DateTimeInterface; /** - * - * @since 1.0.0 + * set start date of the range */ public function setStart(DateTimeInterface $value): void; /** - * - * @since 1.0.0 + * get end date of the range */ public function getEnd(): DateTimeInterface; /** - * - * @since 1.0.0 + * set end date of the range */ public function setEnd(DateTimeInterface $value): void; diff --git a/lib/Store/Common/Sort/ISort.php b/lib/Store/Common/Sort/ISort.php index c06c4e6..7e540c0 100644 --- a/lib/Store/Common/Sort/ISort.php +++ b/lib/Store/Common/Sort/ISort.php @@ -12,25 +12,22 @@ interface ISort { /** - * - * @since 1.0.0 + * List of attributes that can be used for sorting * * @return array */ public function attributes(): array; /** - * - * @since 1.0.0 - * + * add a sorting condition + * * @param string $attribute attribute name * @param bool $direction true for ascending, false for descending */ public function condition(string $property, bool $direction): void; /** - * - * @since 1.0.0 + * retrieve sorting conditions * * @return array */ diff --git a/lib/Store/Common/Sort/SortBase.php b/lib/Store/Common/Sort/SortBase.php index 1a425a5..bcc6410 100644 --- a/lib/Store/Common/Sort/SortBase.php +++ b/lib/Store/Common/Sort/SortBase.php @@ -14,23 +14,10 @@ class SortBase implements ISort { protected array $attributes = []; protected array $conditions = []; - /** - * - * @since 1.0.0 - * - * @return array - */ public function attributes(): array { return $this->attributes; } - /** - * - * @since 1.0.0 - * - * @param string $attribute attribute name - * @param bool $direction true for ascending, false for descending - */ public function condition(string $attribute, bool $direction): void { if (isset($this->attributes[$attribute])) { $this->conditions[$attribute] = [ @@ -40,12 +27,6 @@ public function condition(string $attribute, bool $direction): void { } } - /** - * - * @since 1.0.0 - * - * @return array - */ public function conditions(): array { return $this->conditions; } diff --git a/lib/Store/Local/BaseStore.php b/lib/Store/Local/BaseStore.php index 291203b..4864a52 100644 --- a/lib/Store/Local/BaseStore.php +++ b/lib/Store/Local/BaseStore.php @@ -82,8 +82,6 @@ protected function fromSort(IQueryBuilder $cmd, ISort $sort): void { /** * retrieve collections from data store * - * @since Release 1.0.0 - * * @param IFilter $filter filter options * @param ISort $sort sort options * @@ -119,8 +117,6 @@ public function collectionList(?IFilter $filter = null, ?ISort $sort = null): ar /** * retrieve instance of collection filter * - * @since 1.0.0 - * * @return CollectionFilter */ public function collectionListFilter(): IFilter { @@ -129,9 +125,7 @@ public function collectionListFilter(): IFilter { /** * retrieve instance of collection sort - * - * @since 1.0.0 - * + * * @return CollectionSort */ public function collectionListSort(): ISort { @@ -140,9 +134,7 @@ public function collectionListSort(): ISort { /** * retrieve collections for specific user from data store - * - * @since Release 1.0.0 - * + * * @param string $uid user id * * @return array @@ -157,9 +149,7 @@ public function collectionListByUser(string $uid): array { /** * retrieve collections for specific user from data store - * - * @since Release 1.0.0 - * + * * @param int $sid service id * * @return array @@ -175,8 +165,6 @@ public function collectionListByService(int $sid): array { /** * retrieve collection from data store * - * @since Release 1.0.0 - * * @param int $id collection id * * @return CollectionEntity @@ -197,8 +185,6 @@ public function collectionFetch(int $id): ?CollectionEntity { /** * fresh instance of a collection entity * - * @since Release 1.0.0 - * * @return CollectionEntity */ public function collectionFresh(): CollectionEntity { @@ -208,8 +194,6 @@ public function collectionFresh(): CollectionEntity { /** * create a collection entry in the data store * - * @since Release 1.0.0 - * * @param CollectionEntity $entity * * @return CollectionEntity @@ -243,8 +227,6 @@ public function collectionCreate(CollectionEntity $entity): CollectionEntity { /** * modify a collection entry in the data store * - * @since Release 1.0.0 - * * @param CollectionEntity $entity * * @return CollectionEntity @@ -281,8 +263,6 @@ public function collectionModify(CollectionEntity $entity): CollectionEntity { /** * delete a collection entry from the data store * - * @since Release 1.0.0 - * * @param CollectionEntity $entity * * @return CollectionEntity @@ -306,8 +286,6 @@ public function collectionDelete(CollectionEntity $entity): CollectionEntity { /** * delete collections for a specific user from data store * - * @since Release 1.0.0 - * * @param int $id collection id * * @return mixed @@ -329,8 +307,6 @@ public function collectionDeleteById(int $id): mixed { /** * delete collections for a specific user from data store * - * @since Release 1.0.0 - * * @param string $id user id * * @return mixed @@ -353,8 +329,6 @@ public function collectionDeleteByUser(string $id): mixed { /** * delete collections for a specific user from data store * - * @since Release 1.0.0 - * * @param int $id service id * * @return mixed @@ -377,8 +351,6 @@ public function collectionDeleteByService(int $id): mixed { /** * retrieve entities from data store * - * @since Release 1.0.0 - * * @param array $elements data fields * @param IFilter $filter filter options * @param IRange $range range options @@ -419,8 +391,6 @@ public function entityList(?IFilter $filter = null, ?ISort $sort = null, ?IRange /** * retrieve instance of entity filter * - * @since Release 1.0.0 - * * @return IFilter */ public function entityListFilter(): IFilter { @@ -430,8 +400,6 @@ public function entityListFilter(): IFilter { /** * retrieve instance of entity sort * - * @since Release 1.0.0 - * * @return ISort */ public function entityListSort(): ISort { @@ -441,8 +409,6 @@ public function entityListSort(): ISort { /** * retrieve instance of entity range * - * @since Release 1.0.0 - * * @param RangeType $type range type * @param RangeAnchorType $anchor range anchor type * @@ -463,8 +429,6 @@ public function entityListRange(?RangeType $type = null, ?RangeAnchorType $ancho /** * retrieve entities for specific user from data store * - * @since Release 1.0.0 - * * @param string $uid user id * * @return array of entities @@ -480,8 +444,6 @@ public function entityListByUser(string $uid): array { /** * retrieve entities for specific user and collection from data store * - * @since Release 1.0.0 - * * @param int $cid collection id * * @return array of entities @@ -497,8 +459,6 @@ public function entityListByCollection(int $cid): array { /** * confirm entity exists in data store * - * @since Release 1.0.0 - * * @param int $id entity id * * @return int|bool entry id on success / false on failure @@ -525,8 +485,6 @@ public function entityConfirm(int $id): int|bool { /** * check if entity exists in data store * - * @since Release 1.0.0 - * * @param int $cid collection id * @param string $uuid entity uuid * @@ -555,8 +513,6 @@ public function entityConfirmByUUID(int $cid, string $uuid): int|bool { /** * retrieve entity from data store * - * @since Release 1.0.0 - * * @param int $id entity id * * @return Entity|null @@ -586,8 +542,6 @@ public function entityFetch(int $id): ?Entity { /** * retrieve entity from data store * - * @since Release 1.0.0 - * * @param int $cid collection id * @param string $uuid entity uuid * @@ -619,8 +573,6 @@ public function entityFetchByUUID(int $cid, string $uuid): ?Entity { /** * retrieve entity from data store * - * @since Release 1.0.0 - * * @param int $cid collection id * @param string $ccid correlation collection id * @param string $ceid correlation entity id @@ -654,8 +606,6 @@ public function entityFetchByCorrelation(int $cid, string $ccid, string $ceid): /** * fresh instance of a entity * - * @since Release 1.0.0 - * * @return Entity */ public function entityFresh(): Entity { @@ -666,8 +616,6 @@ public function entityFresh(): Entity { /** * create a entity entry in the data store * - * @since Release 1.0.0 - * * @param Entity $entity * * @return Entity @@ -701,8 +649,6 @@ public function entityCreate(Entity $entity): Entity { /** * modify a entity entry in the data store * - * @since Release 1.0.0 - * * @param Entity $entity * * @return Entity @@ -739,8 +685,6 @@ public function entityModify(Entity $entity): Entity { /** * delete a entity from the data store * - * @since Release 1.0.0 - * * @param Entity $entity * * @return Entity @@ -762,8 +706,6 @@ public function entityDelete(Entity $entity): Entity { /** * delete entity by id * - * @since Release 1.0.0 - * * @param string $id entity id * * @return mixed @@ -781,8 +723,6 @@ public function entityDeleteById(int $id): mixed { /** * delete entities for a specific user from data store * - * @since Release 1.0.0 - * * @param string $uid user id * * @return mixed @@ -800,8 +740,6 @@ public function entityDeleteByUser(string $uid): mixed { /** * delete entities for a specific service from data store * - * @since Release 1.0.0 - * * @param int $sid service id * * @return mixed @@ -819,8 +757,6 @@ public function entityDeleteByService(int $sid): mixed { /** * delete entities for a specific collection from data store * - * @since Release 1.0.0 - * * @param int $cid collection id * * @return mixed @@ -838,8 +774,6 @@ public function entityDeleteByCollection(int $cid): mixed { /** * chronicle a operation to an entity to the data store * - * @since Release 1.0.0 - * * @param string $uid user id * @param int $sid service id * @param string $cid collection id @@ -873,8 +807,6 @@ public function chronicleDocument(string $uid, int $sid, int $cid, int $eid, str /** * reminisce operations to entities in data store * - * @since Release 1.0.0 - * * @param int $cid collection id * @param int $encode weather to encode the result * @@ -901,8 +833,6 @@ public function chronicleApex(int $cid, bool $encode = true): int|float|string { /** * reminisce operations to entities in data store * - * @since Release 1.0.0 - * * @param int $cid collection id * @param string $stamp time stamp * @param int $limit results limit @@ -973,8 +903,6 @@ public function chronicleReminisce(int $cid, string $stamp, ?int $limit = null, /** * delete chronicle entries for a specific user from data store * - * @since Release 1.0.0 - * * @param int $id user id * * @return mixed @@ -991,8 +919,6 @@ public function chronicleExpungeByUser(string $id) { /** * delete chronicle entries for a specific service from data store * - * @since Release 1.0.0 - * * @param int $id service id * * @return mixed @@ -1009,8 +935,6 @@ public function chronicleExpungeByService(int $id) { /** * delete chronicle entries for a specific collection from data store * - * @since Release 1.0.0 - * * @param int $id collection id * * @return mixed diff --git a/lib/Store/Local/EventStore.php b/lib/Store/Local/EventStore.php index baf78b9..2e64060 100644 --- a/lib/Store/Local/EventStore.php +++ b/lib/Store/Local/EventStore.php @@ -33,8 +33,6 @@ public function __construct(IDBConnection $store) { /** * retrieve entities from data store * - * @since Release 1.0.0 - * * @param array $elements data fields * @param IFilter $filter filter options * @param IRange $range range options diff --git a/lib/Store/Local/ServicesStore.php b/lib/Store/Local/ServicesStore.php index f1f42e3..a59a212 100644 --- a/lib/Store/Local/ServicesStore.php +++ b/lib/Store/Local/ServicesStore.php @@ -66,8 +66,6 @@ protected function fromSort(IQueryBuilder $cmd, ISort $sort): void { /** * retrieve services for specific user from data store * - * @since Release 1.0.0 - * * @param IFilter $filter filter options * @param ISort $sort sort options * @@ -110,8 +108,6 @@ public function listSort(): ISort { /** * retrieve entity from data store * - * @since Release 1.0.0 - * * @param int $id entity id * * @return ServiceEntity|null @@ -141,8 +137,6 @@ public function fetch(int $id): ?ServiceEntity { /** * create a entity entry in the data store * - * @since Release 1.0.0 - * * @param ServiceEntity $entity * * @return ServiceEntity @@ -174,8 +168,6 @@ public function create(ServiceEntity $entity): ServiceEntity { /** * modify a entity entry in the data store * - * @since Release 1.0.0 - * * @param string $uid user id * @param ServiceEntity $entity * @@ -212,8 +204,6 @@ public function modify(string $uid, ServiceEntity $entity): ServiceEntity { /** * delete a entity from the data store * - * @since Release 1.0.0 - * * @param string $uid user id * @param ServiceEntity $entity * @@ -236,8 +226,6 @@ public function delete(string $uid, ServiceEntity $entity): ServiceEntity { /** * delete services for a specific user from data store * - * @since Release 1.0.0 - * * @param string $uid user id * * @return mixed diff --git a/lib/Store/Local/ServicesTemplateStore.php b/lib/Store/Local/ServicesTemplateStore.php index 8d93140..d68c023 100644 --- a/lib/Store/Local/ServicesTemplateStore.php +++ b/lib/Store/Local/ServicesTemplateStore.php @@ -41,8 +41,6 @@ private function decodeRows(array $rows): array { /** * retrieve service templates - * - * @since Release 1.0.0 */ public function fetchById(string $id): array { // construct data store command @@ -64,8 +62,6 @@ public function fetchById(string $id): array { /** * retrieve all service templates from data store * - * @since Release 1.0.0 - * * @return array */ public function list(): array { @@ -84,8 +80,6 @@ public function list(): array { /** * retrieve service templates for specific domain from data store * - * @since Release 1.0.0 - * * @param string $domain configured service domain * * @return array @@ -110,8 +104,6 @@ public function fetchByDomain(string $domain): array { /** * create service templates for a specific domain in the data store * - * @since Release 1.0.0 - * * @param string $id configured service template ID * @param string $domain configured service domain * @param array $data service template data @@ -138,8 +130,6 @@ public function create(string $id, string $domain, array $data): bool { /** * modify service templates for a specific domain in the data store * - * @since Release 1.0.0 - * * @param string $id configured service template ID * @param string $domain configured service domain * @param array $data service template data @@ -164,8 +154,6 @@ public function modify(string $id, string $domain, array $data): bool { /** * delete service template for a specific ID from the data store * - * @since Release 1.0.0 - * * @param string $id configured service template ID * * @return bool diff --git a/lib/Utile/Sanitizer.php b/lib/Utile/Sanitizer.php index cb76641..e740c16 100644 --- a/lib/Utile/Sanitizer.php +++ b/lib/Utile/Sanitizer.php @@ -14,8 +14,6 @@ class Sanitizer { /** * sanitize string for use in folder name * - * @since Release 1.0.0 - * * @param string $name - String to be sanitized * @param bool $lp - Stip leading special characters * @param bool $tp - Stip trailing special characters @@ -49,8 +47,6 @@ public static function folder(string $name, bool $lsc = false, bool $tsc = false /** * sanitize string for use in user name * - * @since Release 1.0.0 - * * @param string $name - String to be sanitized * * @return string sanitized version of the string diff --git a/lib/Utile/UUID.php b/lib/Utile/UUID.php index 46b5b57..f963f14 100644 --- a/lib/Utile/UUID.php +++ b/lib/Utile/UUID.php @@ -25,8 +25,6 @@ class UUID { * * Version 3 are named based. They require a namespace (another valid UUID) and a value (the name). * - * @since Release 1.0.0 - * * @param string $namespace another valid UUID * @param string $name random value * @@ -75,8 +73,6 @@ public static function v3($namespace, $name) { /** * Generates version 4 UUID * - * @since Release 1.0.0 - * * @return string a version 4 UUID */ public static function v4() { @@ -106,8 +102,6 @@ public static function v4() { * * Version 5 are named based. They require a namespace (another valid UUID) and a value (the name). * - * @since Release 1.0.0 - * * @param string $namespace another valid UUID * @param string $name random value * @@ -156,8 +150,6 @@ public static function v5($namespace, $name) { /** * Validates UUID * - * @since Release 1.0.0 - * * @param string $uuid a valid or invalied uuid * * @return bool