diff --git a/appinfo/routes.php b/appinfo/routes.php index 7e9aadc5d2..8597092191 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -70,7 +70,6 @@ ['name' => 'attachment#delete', 'url' => '/cards/{cardId}/attachment/{attachmentId}', 'verb' => 'DELETE'], ['name' => 'attachment#restore', 'url' => '/cards/{cardId}/attachment/{attachmentId}/restore', 'verb' => 'GET'], - // labels ['name' => 'label#create', 'url' => '/labels', 'verb' => 'POST'], ['name' => 'label#update', 'url' => '/labels/{labelId}', 'verb' => 'PUT'], @@ -91,7 +90,6 @@ ['name' => 'board_import_api#getConfigSchema', 'url' => '/api/v{apiVersion}/boards/import/config/schema/{name}','verb' => 'GET'], ['name' => 'board_import_api#import', 'url' => '/api/v{apiVersion}/boards/import','verb' => 'POST'], - ['name' => 'stack_api#index', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks', 'verb' => 'GET'], ['name' => 'stack_api#getArchived', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks/archived', 'verb' => 'GET'], ['name' => 'stack_api#get', 'url' => '/api/v{apiVersion}/boards/{boardId}/stacks/{stackId}', 'verb' => 'GET'], diff --git a/lib/Cache/AttachmentCacheHelper.php b/lib/Cache/AttachmentCacheHelper.php index 4ba8c995a8..ff72817fa6 100644 --- a/lib/Cache/AttachmentCacheHelper.php +++ b/lib/Cache/AttachmentCacheHelper.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Cache; use OCP\ICache; diff --git a/lib/Capabilities.php b/lib/Capabilities.php index f33028a9cb..4f70229e25 100644 --- a/lib/Capabilities.php +++ b/lib/Capabilities.php @@ -15,7 +15,6 @@ class Capabilities implements ICapability { private IAppManager $appManager; private PermissionService $permissionService; - public function __construct(IAppManager $appManager, PermissionService $permissionService) { $this->appManager = $appManager; $this->permissionService = $permissionService; diff --git a/lib/Command/CalendarToggle.php b/lib/Command/CalendarToggle.php index 2381cff941..56452dc8b2 100644 --- a/lib/Command/CalendarToggle.php +++ b/lib/Command/CalendarToggle.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Command; use OCP\IConfig; diff --git a/lib/Command/TransferOwnership.php b/lib/Command/TransferOwnership.php index dfa9a01c4b..45fb703494 100644 --- a/lib/Command/TransferOwnership.php +++ b/lib/Command/TransferOwnership.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Command; use OCA\Deck\Db\BoardMapper; diff --git a/lib/Controller/AttachmentApiController.php b/lib/Controller/AttachmentApiController.php index 00879fc9b4..7ece834331 100644 --- a/lib/Controller/AttachmentApiController.php +++ b/lib/Controller/AttachmentApiController.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Attachment; diff --git a/lib/Controller/AttachmentApiV11Controller.php b/lib/Controller/AttachmentApiV11Controller.php index 987baaece6..45a6b9d67f 100644 --- a/lib/Controller/AttachmentApiV11Controller.php +++ b/lib/Controller/AttachmentApiV11Controller.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Controller; class AttachmentApiV11Controller extends AttachmentApiController { diff --git a/lib/Controller/AttachmentOcsController.php b/lib/Controller/AttachmentOcsController.php index 2ef725216f..734daef49b 100644 --- a/lib/Controller/AttachmentOcsController.php +++ b/lib/Controller/AttachmentOcsController.php @@ -6,6 +6,7 @@ * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Controller; use OCA\Deck\NotImplementedException; diff --git a/lib/Controller/BoardApiController.php b/lib/Controller/BoardApiController.php index f6c948a227..1dd2d3ca90 100644 --- a/lib/Controller/BoardApiController.php +++ b/lib/Controller/BoardApiController.php @@ -17,7 +17,6 @@ use OCP\AppFramework\Http\Attribute\NoCSRFRequired; use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; - use function Sabre\HTTP\parseDate; /** diff --git a/lib/Controller/CardOcsController.php b/lib/Controller/CardOcsController.php index 2ea2a98256..7ca27a0ef6 100644 --- a/lib/Controller/CardOcsController.php +++ b/lib/Controller/CardOcsController.php @@ -61,7 +61,6 @@ public function create(string $title, int $stackId, ?int $boardId = null, ?strin return new DataResponse($card); } - #[NoAdminRequired] #[PublicPage] public function assignLabel(?int $boardId, int $cardId, int $labelId): DataResponse { diff --git a/lib/Controller/CommentsApiController.php b/lib/Controller/CommentsApiController.php index eddc224d31..1794db5eae 100644 --- a/lib/Controller/CommentsApiController.php +++ b/lib/Controller/CommentsApiController.php @@ -11,7 +11,6 @@ use OCA\Deck\StatusException; use OCP\AppFramework\Http\Attribute\NoAdminRequired; use OCP\AppFramework\Http\DataResponse; - use OCP\AppFramework\OCSController; use OCP\IRequest; diff --git a/lib/Controller/SearchController.php b/lib/Controller/SearchController.php index d3989e78a2..f3ca0ec3d0 100644 --- a/lib/Controller/SearchController.php +++ b/lib/Controller/SearchController.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Controller; use OCA\Deck\Db\Card; diff --git a/lib/Controller/StackController.php b/lib/Controller/StackController.php index 330cc4abaa..7977dade52 100644 --- a/lib/Controller/StackController.php +++ b/lib/Controller/StackController.php @@ -9,9 +9,7 @@ use OCA\Deck\Db\Stack; use OCA\Deck\Service\StackService; - use OCP\AppFramework\Controller; - use OCP\AppFramework\Http\Attribute\NoAdminRequired; use OCP\IRequest; diff --git a/lib/Controller/StackOcsController.php b/lib/Controller/StackOcsController.php index 1a4fca254e..cada24f8e5 100644 --- a/lib/Controller/StackOcsController.php +++ b/lib/Controller/StackOcsController.php @@ -77,7 +77,6 @@ public function delete(int $stackId, ?int $boardId = null):DataResponse { return new DataResponse($result); } - #[NoAdminRequired] #[PublicPage] public function reorder(int $stackId, int $order, ?int $boardId):DataResponse { diff --git a/lib/Cron/CardDescriptionActivity.php b/lib/Cron/CardDescriptionActivity.php index 60bb5c88bf..e9e18af816 100644 --- a/lib/Cron/CardDescriptionActivity.php +++ b/lib/Cron/CardDescriptionActivity.php @@ -5,7 +5,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ - namespace OCA\Deck\Cron; use OCA\Deck\Activity\ActivityManager; diff --git a/lib/Cron/DeleteCron.php b/lib/Cron/DeleteCron.php index eff098caea..95ad042646 100644 --- a/lib/Cron/DeleteCron.php +++ b/lib/Cron/DeleteCron.php @@ -5,7 +5,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ - namespace OCA\Deck\Cron; use OCA\Deck\Db\AttachmentMapper; diff --git a/lib/Cron/SessionsCleanup.php b/lib/Cron/SessionsCleanup.php index 4c83313b52..ea16f1096d 100644 --- a/lib/Cron/SessionsCleanup.php +++ b/lib/Cron/SessionsCleanup.php @@ -7,8 +7,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ - - namespace OCA\Deck\Cron; use OCA\Deck\Service\SessionService; @@ -20,7 +18,6 @@ class SessionsCleanup extends TimedJob { private $documentService; private $imageService; - public function __construct( ITimeFactory $time, private SessionService $sessionService, diff --git a/lib/DAV/Calendar.php b/lib/DAV/Calendar.php index dbc90f9fae..2a8ae7fbc0 100644 --- a/lib/DAV/Calendar.php +++ b/lib/DAV/Calendar.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\DAV; use OCA\DAV\CalDAV\Integration\ExternalCalendar; @@ -150,7 +151,6 @@ function ($card) use (&$name) { )) > 0; } - public function delete() { throw new Forbidden('Deleting an entry is not implemented'); } diff --git a/lib/DAV/CalendarObject.php b/lib/DAV/CalendarObject.php index 4b8f6476cd..93dd94abaf 100644 --- a/lib/DAV/CalendarObject.php +++ b/lib/DAV/CalendarObject.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\DAV; use OCA\Deck\Db\Card; diff --git a/lib/DAV/DeckCalendarBackend.php b/lib/DAV/DeckCalendarBackend.php index 73146b0dda..ddb6c024f4 100644 --- a/lib/DAV/DeckCalendarBackend.php +++ b/lib/DAV/DeckCalendarBackend.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\DAV; use OCA\Deck\Db\Board; diff --git a/lib/Db/AssignmentMapper.php b/lib/Db/AssignmentMapper.php index 8cbb43c61f..c57d3f0357 100644 --- a/lib/Db/AssignmentMapper.php +++ b/lib/Db/AssignmentMapper.php @@ -111,7 +111,6 @@ public function deleteByParticipantOnBoard(string $participant, int $boardId, $t } } - public function isOwner(string $userId, int $id): bool { return $this->cardMapper->isOwner($userId, $id); } diff --git a/lib/Db/AttachmentMapper.php b/lib/Db/AttachmentMapper.php index 37bebb1ded..0895453a1d 100644 --- a/lib/Db/AttachmentMapper.php +++ b/lib/Db/AttachmentMapper.php @@ -5,7 +5,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ - namespace OCA\Deck\Db; use OCP\AppFramework\Db\DoesNotExistException; @@ -103,7 +102,6 @@ public function findAll(int $cardId): array { ->where($qb->expr()->eq('card_id', $qb->createNamedParameter($cardId, IQueryBuilder::PARAM_INT))) ->andWhere($qb->expr()->eq('deleted_at', $qb->createNamedParameter(0, IQueryBuilder::PARAM_INT))); - return $this->findEntities($qb); } @@ -129,7 +127,6 @@ public function findToDelete(?int $cardId = null, bool $withOffset = true): arra return $this->findEntities($qb); } - /** * Check if $userId is owner of Entity with $id */ diff --git a/lib/Db/BoardMapper.php b/lib/Db/BoardMapper.php index 2583a117cd..5c8baa5ce4 100644 --- a/lib/Db/BoardMapper.php +++ b/lib/Db/BoardMapper.php @@ -42,7 +42,6 @@ public function __construct( $this->boardCache = new CappedMemoryCache(); } - /** * @param $id * @param bool $withLabels diff --git a/lib/Db/CardMapper.php b/lib/Db/CardMapper.php index 67db013b57..162dd59e92 100644 --- a/lib/Db/CardMapper.php +++ b/lib/Db/CardMapper.php @@ -587,8 +587,6 @@ private function dateTimeParameter(IQueryBuilder $qb, DateTime $dateTime) { return $qb->createNamedParameter($dateTime, IQueryBuilder::PARAM_DATE); } - - public function searchRaw($boardIds, $term, $limit = null, $offset = null) { $qb = $this->queryCardsByBoards($boardIds) ->select('s.board_id', 'board_id') diff --git a/lib/Db/IPermissionMapper.php b/lib/Db/IPermissionMapper.php index caab974732..e40c1d7099 100644 --- a/lib/Db/IPermissionMapper.php +++ b/lib/Db/IPermissionMapper.php @@ -5,7 +5,6 @@ * SPDX-License-Identifier: AGPL-3.0-or-later */ - namespace OCA\Deck\Db; /** diff --git a/lib/Db/StackMapper.php b/lib/Db/StackMapper.php index 302828e218..baa8d6186d 100644 --- a/lib/Db/StackMapper.php +++ b/lib/Db/StackMapper.php @@ -33,7 +33,6 @@ public function __construct( $this->cache = $cacheFactory->createDistributed('deck-stackMapper'); } - /** * @throws DoesNotExistException * @throws MultipleObjectsReturnedException diff --git a/lib/Event/AAclEvent.php b/lib/Event/AAclEvent.php index 004d0038da..c649463f87 100644 --- a/lib/Event/AAclEvent.php +++ b/lib/Event/AAclEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCA\Deck\Db\Acl; diff --git a/lib/Event/ABoardImportGetAllowedEvent.php b/lib/Event/ABoardImportGetAllowedEvent.php index 06111787b8..0958926443 100644 --- a/lib/Event/ABoardImportGetAllowedEvent.php +++ b/lib/Event/ABoardImportGetAllowedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCA\Deck\Service\Importer\BoardImportService; diff --git a/lib/Event/ACardEvent.php b/lib/Event/ACardEvent.php index 797665b9c4..475560fbfb 100644 --- a/lib/Event/ACardEvent.php +++ b/lib/Event/ACardEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCA\Deck\Db\Card; diff --git a/lib/Event/AclDeletedEvent.php b/lib/Event/AclDeletedEvent.php index e47a49a4cb..6d00a20d0f 100644 --- a/lib/Event/AclDeletedEvent.php +++ b/lib/Event/AclDeletedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; class AclDeletedEvent extends AAclEvent { diff --git a/lib/Event/AclUpdatedEvent.php b/lib/Event/AclUpdatedEvent.php index 521d428b97..bac62b6adf 100644 --- a/lib/Event/AclUpdatedEvent.php +++ b/lib/Event/AclUpdatedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; class AclUpdatedEvent extends AAclEvent { diff --git a/lib/Event/BoardUpdatedEvent.php b/lib/Event/BoardUpdatedEvent.php index 9b37c7e8dd..a3330a9810 100644 --- a/lib/Event/BoardUpdatedEvent.php +++ b/lib/Event/BoardUpdatedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCP\EventDispatcher\Event; diff --git a/lib/Event/CardCreatedEvent.php b/lib/Event/CardCreatedEvent.php index 04606de15d..a85bdac0d0 100644 --- a/lib/Event/CardCreatedEvent.php +++ b/lib/Event/CardCreatedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; class CardCreatedEvent extends ACardEvent { diff --git a/lib/Event/CardDeletedEvent.php b/lib/Event/CardDeletedEvent.php index 3c3d78f510..63ed7424b4 100644 --- a/lib/Event/CardDeletedEvent.php +++ b/lib/Event/CardDeletedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; class CardDeletedEvent extends ACardEvent { diff --git a/lib/Event/CardUpdatedEvent.php b/lib/Event/CardUpdatedEvent.php index ce3aa91b34..cfbf2019f5 100644 --- a/lib/Event/CardUpdatedEvent.php +++ b/lib/Event/CardUpdatedEvent.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCA\Deck\Db\Card; diff --git a/lib/Event/SessionClosedEvent.php b/lib/Event/SessionClosedEvent.php index eaea7b5261..a0ab6d764a 100644 --- a/lib/Event/SessionClosedEvent.php +++ b/lib/Event/SessionClosedEvent.php @@ -8,7 +8,6 @@ */ declare(strict_types=1); - namespace OCA\Deck\Event; use OCP\EventDispatcher\Event; diff --git a/lib/Event/SessionCreatedEvent.php b/lib/Event/SessionCreatedEvent.php index 15dd01afcf..6d06db8968 100644 --- a/lib/Event/SessionCreatedEvent.php +++ b/lib/Event/SessionCreatedEvent.php @@ -9,7 +9,6 @@ declare(strict_types=1); - namespace OCA\Deck\Event; use OCP\EventDispatcher\Event; diff --git a/lib/Listeners/AclCreatedRemovedListener.php b/lib/Listeners/AclCreatedRemovedListener.php index 763214f06c..9330934e3b 100644 --- a/lib/Listeners/AclCreatedRemovedListener.php +++ b/lib/Listeners/AclCreatedRemovedListener.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Listeners; use OCA\Circles\Model\Member; diff --git a/lib/Listeners/BeforeTemplateRenderedListener.php b/lib/Listeners/BeforeTemplateRenderedListener.php index 531d8c37fb..4d438aba41 100644 --- a/lib/Listeners/BeforeTemplateRenderedListener.php +++ b/lib/Listeners/BeforeTemplateRenderedListener.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Listeners; use OCP\AppFramework\Http\Events\BeforeTemplateRenderedEvent; diff --git a/lib/Listeners/FullTextSearchEventListener.php b/lib/Listeners/FullTextSearchEventListener.php index 45263f1d5d..588c4f22aa 100644 --- a/lib/Listeners/FullTextSearchEventListener.php +++ b/lib/Listeners/FullTextSearchEventListener.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Listeners; use OCA\Deck\Db\Card; diff --git a/lib/Listeners/LiveUpdateListener.php b/lib/Listeners/LiveUpdateListener.php index 2cdd624502..e2c8a12cef 100644 --- a/lib/Listeners/LiveUpdateListener.php +++ b/lib/Listeners/LiveUpdateListener.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Listeners; use OCA\Deck\Db\StackMapper; diff --git a/lib/Listeners/ParticipantCleanupListener.php b/lib/Listeners/ParticipantCleanupListener.php index 3ba4e27c78..ebf35eab6b 100644 --- a/lib/Listeners/ParticipantCleanupListener.php +++ b/lib/Listeners/ParticipantCleanupListener.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Listeners; use OCA\Circles\Events\CircleDestroyedEvent; diff --git a/lib/Listeners/ResourceAdditionalScriptsListener.php b/lib/Listeners/ResourceAdditionalScriptsListener.php index 1cbde9a837..7eb5998303 100644 --- a/lib/Listeners/ResourceAdditionalScriptsListener.php +++ b/lib/Listeners/ResourceAdditionalScriptsListener.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Listeners; use OCP\Collaboration\Resources\LoadAdditionalScriptsEvent; diff --git a/lib/Listeners/ResourceListener.php b/lib/Listeners/ResourceListener.php index c1497c330d..bfec714837 100644 --- a/lib/Listeners/ResourceListener.php +++ b/lib/Listeners/ResourceListener.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Listeners; use OCA\Deck\Collaboration\Resources\ResourceProvider; diff --git a/lib/Migration/DeletedCircleCleanup.php b/lib/Migration/DeletedCircleCleanup.php index dcf422e71e..7fd52d56fc 100644 --- a/lib/Migration/DeletedCircleCleanup.php +++ b/lib/Migration/DeletedCircleCleanup.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Migration; use OCA\Deck\Db\Acl; diff --git a/lib/Migration/LabelMismatchCleanup.php b/lib/Migration/LabelMismatchCleanup.php index bc1da01e88..75f8a21937 100644 --- a/lib/Migration/LabelMismatchCleanup.php +++ b/lib/Migration/LabelMismatchCleanup.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2025 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Migration; use OCP\IDBConnection; diff --git a/lib/Migration/Version1000Date20200306161713.php b/lib/Migration/Version1000Date20200306161713.php index a4ed0ebce5..b09847dc30 100644 --- a/lib/Migration/Version1000Date20200306161713.php +++ b/lib/Migration/Version1000Date20200306161713.php @@ -5,6 +5,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version1000Date20200308073933.php b/lib/Migration/Version1000Date20200308073933.php index 1e5c3e084f..d88a95cece 100644 --- a/lib/Migration/Version1000Date20200308073933.php +++ b/lib/Migration/Version1000Date20200308073933.php @@ -5,6 +5,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version10200Date20201111150114.php b/lib/Migration/Version10200Date20201111150114.php index a8d264daba..c116ecb85b 100644 --- a/lib/Migration/Version10200Date20201111150114.php +++ b/lib/Migration/Version10200Date20201111150114.php @@ -5,6 +5,7 @@ * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version10900Date202206151724222.php b/lib/Migration/Version10900Date202206151724222.php index 1a34060e2d..3dd12c45e8 100644 --- a/lib/Migration/Version10900Date202206151724222.php +++ b/lib/Migration/Version10900Date202206151724222.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11000Date20240222115515.php b/lib/Migration/Version11000Date20240222115515.php index 8b4c124e04..591ece5d15 100644 --- a/lib/Migration/Version11000Date20240222115515.php +++ b/lib/Migration/Version11000Date20240222115515.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11001Date20251009165313.php b/lib/Migration/Version11001Date20251009165313.php index c77747c197..81823890b7 100644 --- a/lib/Migration/Version11001Date20251009165313.php +++ b/lib/Migration/Version11001Date20251009165313.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11001Date20251020122010.php b/lib/Migration/Version11001Date20251020122010.php index 2b8fc47c6f..bda355353e 100644 --- a/lib/Migration/Version11001Date20251020122010.php +++ b/lib/Migration/Version11001Date20251020122010.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11002Date20260228000000.php b/lib/Migration/Version11002Date20260228000000.php index d7662254a8..1dcce53429 100644 --- a/lib/Migration/Version11002Date20260228000000.php +++ b/lib/Migration/Version11002Date20260228000000.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11002Date20260312000000.php b/lib/Migration/Version11002Date20260312000000.php index f7eb4070bc..b0eb9e9915 100644 --- a/lib/Migration/Version11002Date20260312000000.php +++ b/lib/Migration/Version11002Date20260312000000.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11002Date20260317170905.php b/lib/Migration/Version11002Date20260317170905.php index cbc0930d2f..a360c2031d 100644 --- a/lib/Migration/Version11002Date20260317170905.php +++ b/lib/Migration/Version11002Date20260317170905.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Migration/Version11002Date20260410000000.php b/lib/Migration/Version11002Date20260410000000.php index befe95202c..f765bf9b94 100644 --- a/lib/Migration/Version11002Date20260410000000.php +++ b/lib/Migration/Version11002Date20260410000000.php @@ -6,6 +6,7 @@ */ declare(strict_types=1); + namespace OCA\Deck\Migration; use Closure; diff --git a/lib/Model/BoardSummary.php b/lib/Model/BoardSummary.php index 8d14f274ee..adf33dabeb 100644 --- a/lib/Model/BoardSummary.php +++ b/lib/Model/BoardSummary.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Model; use OCA\Deck\Db\Board; diff --git a/lib/Model/CardDetails.php b/lib/Model/CardDetails.php index d0eb842f43..28b89f7c31 100644 --- a/lib/Model/CardDetails.php +++ b/lib/Model/CardDetails.php @@ -4,6 +4,7 @@ * SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Model; use OCA\Deck\Db\Board; diff --git a/lib/Provider/DeckProvider.php b/lib/Provider/DeckProvider.php index 9601b27dd3..2f9a2136a2 100644 --- a/lib/Provider/DeckProvider.php +++ b/lib/Provider/DeckProvider.php @@ -5,6 +5,7 @@ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Provider; use OC\FullTextSearch\Model\IndexDocument; @@ -38,7 +39,6 @@ class DeckProvider implements IFullTextSearchProvider { private ?IRunner $runner = null; private ?IIndexOptions $indexOptions = null; - /** * DeckProvider constructor. * @@ -54,7 +54,6 @@ public function __construct( $this->fullTextSearchService = $fullTextSearchService; } - /** * return unique id of the provider */ @@ -62,7 +61,6 @@ public function getId(): string { return self::DECK_PROVIDER_ID; } - /** * return name of the provider */ @@ -70,7 +68,6 @@ public function getName(): string { return 'Deck'; } - /** * @return array */ @@ -78,7 +75,6 @@ public function getConfiguration(): array { return []; } - /** * @param IRunner $runner */ @@ -86,7 +82,6 @@ public function setRunner(IRunner $runner) { $this->runner = $runner; } - /** * @param IIndexOptions $options */ @@ -94,7 +89,6 @@ public function setIndexOptions(IIndexOptions $options) { $this->indexOptions = $options; } - public function getSearchTemplate(): ISearchTemplate { /** @psalm-var ISearchTemplate */ $template = new SearchTemplate('icon-deck', 'icons'); @@ -102,15 +96,12 @@ public function getSearchTemplate(): ISearchTemplate { return $template; } - /** * */ public function loadProvider() { } - - /** * @param string $userId * @@ -120,7 +111,6 @@ public function generateChunks(string $userId): array { return []; } - /** * @param string $userId * @param string $chunk @@ -138,7 +128,6 @@ public function generateIndexableDocuments(string $userId, string $chunk): array return $documents; } - /** * @param IIndexDocument $document * @@ -150,7 +139,6 @@ public function fillIndexDocument(IIndexDocument $document) { $this->updateRunnerInfo('info', $document->getTitle()); } - /** * @param IIndexDocument $document * @@ -160,7 +148,6 @@ public function isDocumentUpToDate(IIndexDocument $document): bool { return false; } - /** * @param IIndex $index * @@ -178,28 +165,24 @@ public function updateDocument(IIndex $index): IIndexDocument { return $document; } - /** * @param IFullTextSearchPlatform $platform */ public function onInitializingIndex(IFullTextSearchPlatform $platform) { } - /** * @param IFullTextSearchPlatform $platform */ public function onResettingIndex(IFullTextSearchPlatform $platform) { } - /** * not used yet */ public function unloadProvider() { } - /** * before a search, improve the request * @@ -208,7 +191,6 @@ public function unloadProvider() { public function improveSearchRequest(ISearchRequest $searchRequest) { } - /** * after a search, improve results * @@ -227,7 +209,6 @@ public function improveSearchResult(ISearchResult $searchResult) { } } - /** * @param string $info * @param string $value diff --git a/lib/Reference/CreateCardReferenceProvider.php b/lib/Reference/CreateCardReferenceProvider.php index a4b0e6f8d6..6ddb17e703 100644 --- a/lib/Reference/CreateCardReferenceProvider.php +++ b/lib/Reference/CreateCardReferenceProvider.php @@ -4,13 +4,13 @@ * SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Reference; use OCA\Deck\AppInfo\Application; use OCP\Collaboration\Reference\ADiscoverableReferenceProvider; use OCP\Collaboration\Reference\IReference; use OCP\IL10N; - use OCP\IURLGenerator; class CreateCardReferenceProvider extends ADiscoverableReferenceProvider { diff --git a/lib/Search/BoardSearchResultEntry.php b/lib/Search/BoardSearchResultEntry.php index d2ed4b4e00..e7b9b639f3 100644 --- a/lib/Search/BoardSearchResultEntry.php +++ b/lib/Search/BoardSearchResultEntry.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\AppInfo\Application; diff --git a/lib/Search/CardCommentProvider.php b/lib/Search/CardCommentProvider.php index b2eff20c6d..3f02948f2e 100644 --- a/lib/Search/CardCommentProvider.php +++ b/lib/Search/CardCommentProvider.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\Service\SearchService; diff --git a/lib/Search/CardSearchResultEntry.php b/lib/Search/CardSearchResultEntry.php index d1043eb0e2..9aa3e900b7 100644 --- a/lib/Search/CardSearchResultEntry.php +++ b/lib/Search/CardSearchResultEntry.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\AppInfo\Application; diff --git a/lib/Search/CommentSearchResultEntry.php b/lib/Search/CommentSearchResultEntry.php index 305bcc6b7b..b5f76243fe 100644 --- a/lib/Search/CommentSearchResultEntry.php +++ b/lib/Search/CommentSearchResultEntry.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\Db\Card; diff --git a/lib/Search/DeckProvider.php b/lib/Search/DeckProvider.php index 1d36612a3b..b9c16e35a9 100644 --- a/lib/Search/DeckProvider.php +++ b/lib/Search/DeckProvider.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\Db\Board; diff --git a/lib/Search/FilterStringParser.php b/lib/Search/FilterStringParser.php index abca69cc96..0cd623f58f 100644 --- a/lib/Search/FilterStringParser.php +++ b/lib/Search/FilterStringParser.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search; use OCA\Deck\Search\Query\DateQueryParameter; diff --git a/lib/Search/Query/AQueryParameter.php b/lib/Search/Query/AQueryParameter.php index 0688008652..6b8fbfc287 100644 --- a/lib/Search/Query/AQueryParameter.php +++ b/lib/Search/Query/AQueryParameter.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search\Query; class AQueryParameter { diff --git a/lib/Search/Query/DateQueryParameter.php b/lib/Search/Query/DateQueryParameter.php index daede87f5f..a8eddda953 100644 --- a/lib/Search/Query/DateQueryParameter.php +++ b/lib/Search/Query/DateQueryParameter.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search\Query; class DateQueryParameter extends AQueryParameter { diff --git a/lib/Search/Query/SearchQuery.php b/lib/Search/Query/SearchQuery.php index be62cd77cb..8ecc5b5f1c 100644 --- a/lib/Search/Query/SearchQuery.php +++ b/lib/Search/Query/SearchQuery.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search\Query; class SearchQuery { @@ -34,7 +33,6 @@ class SearchQuery { /** @var DateQueryParameter[] */ private $duedate = []; - public function addTextToken(string $textToken): void { $this->textTokens[] = $textToken; } diff --git a/lib/Search/Query/StringQueryParameter.php b/lib/Search/Query/StringQueryParameter.php index 271b90a800..8361bc4225 100644 --- a/lib/Search/Query/StringQueryParameter.php +++ b/lib/Search/Query/StringQueryParameter.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Search\Query; class StringQueryParameter extends AQueryParameter { diff --git a/lib/Service/AssignmentService.php b/lib/Service/AssignmentService.php index dd8d8f17a0..6f5dc85113 100644 --- a/lib/Service/AssignmentService.php +++ b/lib/Service/AssignmentService.php @@ -74,7 +74,6 @@ public function assignUser(int $cardId, string $userId, int $type = Assignment:: throw new BadRequestException('The user is not part of the board'); } - if ($type === Assignment::TYPE_USER && $userId !== $this->userId) { $this->notificationHelper->sendCardAssigned($card, $userId); } @@ -114,7 +113,6 @@ public function unassignUser(int $cardId, string $userId, int $type = 0): Assign } $this->changeHelper->cardChanged($cardId); - $this->eventDispatcher->dispatchTyped(new CardUpdatedEvent($card)); return $assignment; diff --git a/lib/Service/BoardService.php b/lib/Service/BoardService.php index e08b34b8c9..44bc4e29ba 100644 --- a/lib/Service/BoardService.php +++ b/lib/Service/BoardService.php @@ -181,7 +181,6 @@ public function isDeleted($mapper, int $id): bool { return $board->getDeletedAt() > 0; } - /** * @throws BadRequestException */ @@ -585,7 +584,6 @@ public function clone( $acl->getPermissionManage()); } - $labels = $this->labelMapper->findAll($id); foreach ($labels as $label) { $newLabel = new Label(); @@ -749,7 +747,6 @@ private function cloneCards(Board $board, Board $newBoard, bool $withAssignments // Persist the cloned card. $newCard = $this->cardMapper->insert($newCard); - // Copy labels. if ($withLabels) { $labels = $this->labelMapper->findAssignedLabelsForCard($card->getId()); @@ -767,7 +764,6 @@ private function cloneCards(Board $board, Board $newBoard, bool $withAssignments } } - // Copy assignments. if ($withAssignments) { $assignments = $this->assignedUsersMapper->findAll($card->getId()); diff --git a/lib/Service/CardService.php b/lib/Service/CardService.php index 3b12d2a891..5d30ccaafc 100644 --- a/lib/Service/CardService.php +++ b/lib/Service/CardService.php @@ -311,7 +311,6 @@ public function update(int $id, string $title, int $stackId, string $type, strin $card->setDone(null); } - // Trigger update events before setting description as it is handled separately $changes->setAfter($card); $this->activityManager->triggerUpdateEvents(ActivityManager::DECK_OBJECT_CARD, $changes, ActivityManager::SUBJECT_CARD_UPDATE); @@ -530,7 +529,6 @@ public function archive(int $id): Card { public function unarchive(int $id): Card { $this->cardServiceValidator->check(compact('id')); - $this->permissionService->checkPermission($this->cardMapper, $id, Acl::PERMISSION_EDIT); if ($this->boardService->isArchived($this->cardMapper, $id)) { throw new StatusException('Operation not allowed. This board is archived.'); @@ -648,7 +646,6 @@ public function assignLabel(int $cardId, int $labelId): Card { public function removeLabel(int $cardId, int $labelId): Card { $this->cardServiceValidator->check(compact('cardId', 'labelId')); - $this->permissionService->checkPermission($this->cardMapper, $cardId, Acl::PERMISSION_EDIT); $this->permissionService->checkPermission($this->labelMapper, $labelId, Acl::PERMISSION_READ); diff --git a/lib/Service/CirclesService.php b/lib/Service/CirclesService.php index 96af9c155c..b003fd6550 100644 --- a/lib/Service/CirclesService.php +++ b/lib/Service/CirclesService.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Service; use OCA\Circles\CirclesManager; diff --git a/lib/Service/ConfigService.php b/lib/Service/ConfigService.php index 6503e76967..b4afb8fc45 100644 --- a/lib/Service/ConfigService.php +++ b/lib/Service/ConfigService.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Service; use OCA\Deck\AppInfo\Application; diff --git a/lib/Service/FullTextSearchService.php b/lib/Service/FullTextSearchService.php index 2f1c6c0520..82bdda76fb 100644 --- a/lib/Service/FullTextSearchService.php +++ b/lib/Service/FullTextSearchService.php @@ -5,6 +5,7 @@ * SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: AGPL-3.0-or-later */ + namespace OCA\Deck\Service; use OC\FullTextSearch\Model\DocumentAccess; @@ -28,7 +29,6 @@ */ class FullTextSearchService { - /** @var BoardMapper */ private $boardMapper; @@ -58,7 +58,6 @@ public function generateIndexDocumentFromCard(Card $card): IIndexDocument { return $document; } - /** * @param IIndexDocument $document * @@ -72,7 +71,6 @@ public function fillIndexDocument(IIndexDocument $document) { $document->setAccess($this->generateDocumentAccessFromCardId((int)$card->getId())); } - /** * @param int $cardId * @@ -87,7 +85,6 @@ public function generateDocumentAccessFromCardId(int $cardId): IDocumentAccess { return new DocumentAccess($board->getOwner()); } - /** * @param string $userId * @@ -106,7 +103,6 @@ public function getCardsFromUser(string $userId): array { return $cards; } - /** * @param int $boardId * @@ -122,7 +118,6 @@ public function getCardsFromBoard(int $boardId): array { return $cards; } - /** * @throws DoesNotExistException * @throws MultipleObjectsReturnedException @@ -135,7 +130,6 @@ public function getBoardFromCardId(int $cardId): Board { return $this->boardMapper->find($boardId); } - /** * @param int $stackId * @@ -145,7 +139,6 @@ private function getCardsFromStack(int $stackId): array { return $this->cardMapper->findAll($stackId); } - /** * @param int $boardId * @@ -155,7 +148,6 @@ private function getStacksFromBoard(int $boardId): array { return $this->stackMapper->findAll($boardId); } - /** * @param string $userId * diff --git a/lib/Service/ICustomAttachmentService.php b/lib/Service/ICustomAttachmentService.php index 316018c960..0599f2e8aa 100644 --- a/lib/Service/ICustomAttachmentService.php +++ b/lib/Service/ICustomAttachmentService.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Service; /** diff --git a/lib/Service/PermissionService.php b/lib/Service/PermissionService.php index 4de5327367..628e610e7e 100644 --- a/lib/Service/PermissionService.php +++ b/lib/Service/PermissionService.php @@ -93,7 +93,6 @@ public function getPermissions(int $boardId, ?string $userId = null, bool $allow return $permissions; } - try { $owner = $this->userIsBoardOwner($boardId, $userId, $allowDeleted); $acls = $board->getDeletedAt() === 0 ? $this->aclMapper->findAll($boardId) : []; @@ -203,7 +202,6 @@ private function getBoard(int $boardId, bool $allowDeleted = false): Board { return $this->boardCache[(string)$boardId]; } - public function externalUserCan(array $acls, int $permission, string $shareToken):bool { $this->configService->ensureFederationEnabled(); foreach ($acls as $acl) { diff --git a/lib/Service/SearchService.php b/lib/Service/SearchService.php index 383402abc9..a01a6cfb0d 100644 --- a/lib/Service/SearchService.php +++ b/lib/Service/SearchService.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Service; use OCA\Deck\Db\Board; diff --git a/lib/Service/StackService.php b/lib/Service/StackService.php index 9effcd3885..980de9b8e8 100644 --- a/lib/Service/StackService.php +++ b/lib/Service/StackService.php @@ -55,7 +55,6 @@ private function enrichStacksWithCards(array $stacks, int $since = -1): void { continue; } - foreach ($stacks as $stack) { if ($stack->getId() === $stackId) { $stack->setCards($this->cardService->enrichCards($cards)); diff --git a/lib/Sharing/DeckShareProvider.php b/lib/Sharing/DeckShareProvider.php index 84c121c0a1..408f39d4da 100644 --- a/lib/Sharing/DeckShareProvider.php +++ b/lib/Sharing/DeckShareProvider.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Sharing; use OC\Files\Cache\Cache; diff --git a/lib/Sharing/Listener.php b/lib/Sharing/Listener.php index b2200424c6..be58e4a145 100644 --- a/lib/Sharing/Listener.php +++ b/lib/Sharing/Listener.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Sharing; use OC\Files\Filesystem; diff --git a/lib/Sharing/ShareAPIHelper.php b/lib/Sharing/ShareAPIHelper.php index 6ed1f04a3b..11b501490c 100644 --- a/lib/Sharing/ShareAPIHelper.php +++ b/lib/Sharing/ShareAPIHelper.php @@ -7,7 +7,6 @@ declare(strict_types=1); - namespace OCA\Deck\Sharing; use OCA\Deck\Db\Acl; diff --git a/lib/Teams/DeckTeamResourceProvider.php b/lib/Teams/DeckTeamResourceProvider.php index b8cece026a..40cef2343c 100644 --- a/lib/Teams/DeckTeamResourceProvider.php +++ b/lib/Teams/DeckTeamResourceProvider.php @@ -23,7 +23,6 @@ public function __construct( ) { } - public function getId(): string { return Application::APP_ID; } diff --git a/tests/integration/composer.json b/tests/integration/composer.json index 51b6118543..274179a28a 100644 --- a/tests/integration/composer.json +++ b/tests/integration/composer.json @@ -1,6 +1,6 @@ { "require-dev": { - "phpunit/phpunit": "~13", + "phpunit/phpunit": "~9", "behat/behat": "~3.31.0", "guzzlehttp/guzzle": "7.10.1", "jarnaiz/behat-junit-formatter": "^1.3", diff --git a/tests/integration/composer.lock b/tests/integration/composer.lock index 422da300c2..a54c08d775 100644 --- a/tests/integration/composer.lock +++ b/tests/integration/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5b1985bb27b9467c3dada359151c9318", + "content-hash": "45ebf3683bd84b022a019f7019c239ef", "packages": [], "packages-dev": [ { @@ -339,6 +339,76 @@ ], "time": "2024-05-06T16:37:16+00:00" }, + { + "name": "doctrine/instantiator", + "version": "2.0.0", + "source": { + "type": "git", + "url": "https://github.com/doctrine/instantiator.git", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/doctrine/instantiator/zipball/c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "reference": "c6222283fa3f4ac679f8b9ced9a4e23f163e80d0", + "shasum": "" + }, + "require": { + "php": "^8.1" + }, + "require-dev": { + "doctrine/coding-standard": "^11", + "ext-pdo": "*", + "ext-phar": "*", + "phpbench/phpbench": "^1.2", + "phpstan/phpstan": "^1.9.4", + "phpstan/phpstan-phpunit": "^1.3", + "phpunit/phpunit": "^9.5.27", + "vimeo/psalm": "^5.4" + }, + "type": "library", + "autoload": { + "psr-4": { + "Doctrine\\Instantiator\\": "src/Doctrine/Instantiator/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marco Pivetta", + "email": "ocramius@gmail.com", + "homepage": "https://ocramius.github.io/" + } + ], + "description": "A small, lightweight utility to instantiate objects in PHP without invoking their constructors", + "homepage": "https://www.doctrine-project.org/projects/instantiator.html", + "keywords": [ + "constructor", + "instantiate" + ], + "support": { + "issues": "https://github.com/doctrine/instantiator/issues", + "source": "https://github.com/doctrine/instantiator/tree/2.0.0" + }, + "funding": [ + { + "url": "https://www.doctrine-project.org/sponsorship.html", + "type": "custom" + }, + { + "url": "https://www.patreon.com/phpdoctrine", + "type": "patreon" + }, + { + "url": "https://tidelift.com/funding/github/packagist/doctrine%2Finstantiator", + "type": "tidelift" + } + ], + "time": "2022-12-30T00:23:10+00:00" + }, { "name": "guzzlehttp/guzzle", "version": "7.10.1", @@ -947,35 +1017,35 @@ }, { "name": "phpunit/php-code-coverage", - "version": "14.1.9", + "version": "9.2.32", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git", - "reference": "655533a65696bbc4231cd8027af150dadc40ec88" + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/655533a65696bbc4231cd8027af150dadc40ec88", - "reference": "655533a65696bbc4231cd8027af150dadc40ec88", + "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/85402a822d1ecf1db1096959413d35e1c37cf1a5", + "reference": "85402a822d1ecf1db1096959413d35e1c37cf1a5", "shasum": "" }, "require": { "ext-dom": "*", "ext-libxml": "*", - "ext-mbstring": "*", "ext-xmlwriter": "*", - "nikic/php-parser": "^5.7.0", - "php": ">=8.4", - "phpunit/php-text-template": "^6.0", - "sebastian/complexity": "^6.0", - "sebastian/environment": "^9.2", - "sebastian/git-state": "^1.0", - "sebastian/lines-of-code": "^5.0", - "sebastian/version": "^7.0", - "theseer/tokenizer": "^2.0.1" + "nikic/php-parser": "^4.19.1 || ^5.1.0", + "php": ">=7.3", + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-text-template": "^2.0.4", + "sebastian/code-unit-reverse-lookup": "^2.0.3", + "sebastian/complexity": "^2.0.3", + "sebastian/environment": "^5.1.5", + "sebastian/lines-of-code": "^1.0.4", + "sebastian/version": "^3.0.2", + "theseer/tokenizer": "^1.2.3" }, "require-dev": { - "phpunit/phpunit": "^13.1" + "phpunit/phpunit": "^9.6" }, "suggest": { "ext-pcov": "PHP extension that provides line coverage", @@ -984,7 +1054,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "14.1.x-dev" + "dev-main": "9.2.x-dev" } }, "autoload": { @@ -1013,52 +1083,40 @@ "support": { "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", "security": "https://github.com/sebastianbergmann/php-code-coverage/security/policy", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/14.1.9" + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.32" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/php-code-coverage", - "type": "tidelift" } ], - "time": "2026-05-16T05:16:14+00:00" + "time": "2024-08-22T04:23:01+00:00" }, { "name": "phpunit/php-file-iterator", - "version": "7.0.0", + "version": "3.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-file-iterator.git", - "reference": "6e5aa1fb0a95b1703d83e721299ee18bb4e2de50" + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/6e5aa1fb0a95b1703d83e721299ee18bb4e2de50", - "reference": "6e5aa1fb0a95b1703d83e721299ee18bb4e2de50", + "url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", + "reference": "cf1c2e7c203ac650e352f4cc675a7021e7d1b3cf", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "7.0-dev" + "dev-master": "3.0-dev" } }, "autoload": { @@ -1085,49 +1143,36 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "security": "https://github.com/sebastianbergmann/php-file-iterator/security/policy", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/7.0.0" + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/php-file-iterator", - "type": "tidelift" } ], - "time": "2026-02-06T04:33:26+00:00" + "time": "2021-12-02T12:48:52+00:00" }, { "name": "phpunit/php-invoker", - "version": "7.0.0", + "version": "3.1.1", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-invoker.git", - "reference": "42e5c5cae0c65df12d1b1a3ab52bf3f50f244d88" + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/42e5c5cae0c65df12d1b1a3ab52bf3f50f244d88", - "reference": "42e5c5cae0c65df12d1b1a3ab52bf3f50f244d88", + "url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5a10147d0aaf65b58940a0b72f71c9ac0423cc67", + "reference": "5a10147d0aaf65b58940a0b72f71c9ac0423cc67", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { "ext-pcntl": "*", - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-pcntl": "*" @@ -1135,7 +1180,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "7.0-dev" + "dev-master": "3.1-dev" } }, "autoload": { @@ -1161,53 +1206,40 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "security": "https://github.com/sebastianbergmann/php-invoker/security/policy", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/7.0.0" + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/php-invoker", - "type": "tidelift" } ], - "time": "2026-02-06T04:34:47+00:00" + "time": "2020-09-28T05:58:55+00:00" }, { "name": "phpunit/php-text-template", - "version": "6.0.0", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-text-template.git", - "reference": "a47af19f93f76aa3368303d752aa5272ca3299f4" + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/a47af19f93f76aa3368303d752aa5272ca3299f4", - "reference": "a47af19f93f76aa3368303d752aa5272ca3299f4", + "url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", + "reference": "5da5f67fc95621df9ff4c4e5a84d6a8a2acf7c28", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -1233,53 +1265,40 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "security": "https://github.com/sebastianbergmann/php-text-template/security/policy", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/php-text-template", - "type": "tidelift" } ], - "time": "2026-02-06T04:36:37+00:00" + "time": "2020-10-26T05:33:50+00:00" }, { "name": "phpunit/php-timer", - "version": "9.0.0", + "version": "5.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/php-timer.git", - "reference": "a0e12065831f6ab0d83120dc61513eb8d9a966f6" + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/a0e12065831f6ab0d83120dc61513eb8d9a966f6", - "reference": "a0e12065831f6ab0d83120dc61513eb8d9a966f6", + "url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", + "reference": "5a63ce20ed1b5bf577850e2c4e87f4aa902afbd2", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "9.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -1305,44 +1324,32 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "security": "https://github.com/sebastianbergmann/php-timer/security/policy", - "source": "https://github.com/sebastianbergmann/php-timer/tree/9.0.0" + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/phpunit/php-timer", - "type": "tidelift" } ], - "time": "2026-02-06T04:37:53+00:00" + "time": "2020-10-26T13:16:10+00:00" }, { "name": "phpunit/phpunit", - "version": "13.1.10", + "version": "9.6.34", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/phpunit.git", - "reference": "38959098d3c10660a189afaa35a94290c1de67bb" + "reference": "b36f02317466907a230d3aa1d34467041271ef4a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/38959098d3c10660a189afaa35a94290c1de67bb", - "reference": "38959098d3c10660a189afaa35a94290c1de67bb", + "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/b36f02317466907a230d3aa1d34467041271ef4a", + "reference": "b36f02317466907a230d3aa1d34467041271ef4a", "shasum": "" }, "require": { + "doctrine/instantiator": "^1.5.0 || ^2", "ext-dom": "*", "ext-json": "*", "ext-libxml": "*", @@ -1352,24 +1359,27 @@ "myclabs/deep-copy": "^1.13.4", "phar-io/manifest": "^2.0.4", "phar-io/version": "^3.2.1", - "php": ">=8.4.1", - "phpunit/php-code-coverage": "^14.1.8", - "phpunit/php-file-iterator": "^7.0.0", - "phpunit/php-invoker": "^7.0.0", - "phpunit/php-text-template": "^6.0.0", - "phpunit/php-timer": "^9.0.0", - "sebastian/cli-parser": "^5.0.0", - "sebastian/comparator": "^8.1.3", - "sebastian/diff": "^8.3.0", - "sebastian/environment": "^9.3.0", - "sebastian/exporter": "^8.0.2", - "sebastian/git-state": "^1.0", - "sebastian/global-state": "^9.0.0", - "sebastian/object-enumerator": "^8.0.0", - "sebastian/recursion-context": "^8.0.0", - "sebastian/type": "^7.0.0", - "sebastian/version": "^7.0.0", - "staabm/side-effects-detector": "^1.0.5" + "php": ">=7.3", + "phpunit/php-code-coverage": "^9.2.32", + "phpunit/php-file-iterator": "^3.0.6", + "phpunit/php-invoker": "^3.1.1", + "phpunit/php-text-template": "^2.0.4", + "phpunit/php-timer": "^5.0.3", + "sebastian/cli-parser": "^1.0.2", + "sebastian/code-unit": "^1.0.8", + "sebastian/comparator": "^4.0.10", + "sebastian/diff": "^4.0.6", + "sebastian/environment": "^5.1.5", + "sebastian/exporter": "^4.0.8", + "sebastian/global-state": "^5.0.8", + "sebastian/object-enumerator": "^4.0.4", + "sebastian/resource-operations": "^3.0.4", + "sebastian/type": "^3.2.1", + "sebastian/version": "^3.0.2" + }, + "suggest": { + "ext-soap": "To be able to generate mocks based on WSDL files", + "ext-xdebug": "PHP extension that provides line coverage as well as branch and path coverage" }, "bin": [ "phpunit" @@ -1377,7 +1387,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "13.1-dev" + "dev-master": "9.6-dev" } }, "autoload": { @@ -1409,15 +1419,31 @@ "support": { "issues": "https://github.com/sebastianbergmann/phpunit/issues", "security": "https://github.com/sebastianbergmann/phpunit/security/policy", - "source": "https://github.com/sebastianbergmann/phpunit/tree/13.1.10" + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.6.34" }, "funding": [ { - "url": "https://phpunit.de/sponsoring.html", - "type": "other" + "url": "https://phpunit.de/sponsors.html", + "type": "custom" + }, + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + }, + { + "url": "https://liberapay.com/sebastianbergmann", + "type": "liberapay" + }, + { + "url": "https://thanks.dev/u/gh/sebastianbergmann", + "type": "thanks_dev" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpunit/phpunit", + "type": "tidelift" } ], - "time": "2026-05-15T08:03:56+00:00" + "time": "2026-01-27T05:45:00+00:00" }, { "name": "psr/container", @@ -2223,28 +2249,28 @@ }, { "name": "sebastian/cli-parser", - "version": "5.0.0", + "version": "1.0.2", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/cli-parser.git", - "reference": "48a4654fa5e48c1c81214e9930048a572d4b23ca" + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/48a4654fa5e48c1c81214e9930048a572d4b23ca", - "reference": "48a4654fa5e48c1c81214e9930048a572d4b23ca", + "url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/2b56bea83a09de3ac06bb18b92f068e60cc6f50b", + "reference": "2b56bea83a09de3ac06bb18b92f068e60cc6f50b", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2267,60 +2293,153 @@ "homepage": "https://github.com/sebastianbergmann/cli-parser", "support": { "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "security": "https://github.com/sebastianbergmann/cli-parser/security/policy", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/5.0.0" + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.2" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, + } + ], + "time": "2024-03-02T06:27:43+00:00" + }, + { + "name": "sebastian/code-unit", + "version": "1.0.8", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit.git", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit/zipball/1fc9f64c0927627ef78ba436c9b17d967e68e120", + "reference": "1fc9f64c0927627ef78ba436c9b17d967e68e120", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } + ], + "description": "Collection of value objects that represent the PHP code units", + "homepage": "https://github.com/sebastianbergmann/code-unit", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit/issues", + "source": "https://github.com/sebastianbergmann/code-unit/tree/1.0.8" + }, + "funding": [ { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-10-26T13:08:54+00:00" + }, + { + "name": "sebastian/code-unit-reverse-lookup", + "version": "2.0.3", + "source": { + "type": "git", + "url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "reference": "ac91f01ccec49fb77bdc6fd1e548bc70f7faa3e5", + "shasum": "" + }, + "require": { + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.3" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "2.0-dev" + } + }, + "autoload": { + "classmap": [ + "src/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "authors": [ { - "url": "https://tidelift.com/funding/github/packagist/sebastian/cli-parser", - "type": "tidelift" + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de" } ], - "time": "2026-02-06T04:39:44+00:00" + "description": "Looks up which function or method a line of code belongs to", + "homepage": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/", + "support": { + "issues": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/issues", + "source": "https://github.com/sebastianbergmann/code-unit-reverse-lookup/tree/2.0.3" + }, + "funding": [ + { + "url": "https://github.com/sebastianbergmann", + "type": "github" + } + ], + "time": "2020-09-28T05:30:19+00:00" }, { "name": "sebastian/comparator", - "version": "8.2.1", + "version": "4.0.10", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/comparator.git", - "reference": "ce999bf08b2c387a5423fe56961c32eed3f88089" + "reference": "e4df00b9b3571187db2831ae9aada2c6efbd715d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/ce999bf08b2c387a5423fe56961c32eed3f88089", - "reference": "ce999bf08b2c387a5423fe56961c32eed3f88089", + "url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/e4df00b9b3571187db2831ae9aada2c6efbd715d", + "reference": "e4df00b9b3571187db2831ae9aada2c6efbd715d", "shasum": "" }, "require": { - "ext-dom": "*", - "ext-mbstring": "*", - "php": ">=8.4", - "sebastian/diff": "^8.3", - "sebastian/exporter": "^8.0.3" + "php": ">=7.3", + "sebastian/diff": "^4.0", + "sebastian/exporter": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^13.1.10" - }, - "suggest": { - "ext-bcmath": "For comparing BcMath\\Number objects" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "8.2-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2359,8 +2478,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/comparator/issues", - "security": "https://github.com/sebastianbergmann/comparator/security/policy", - "source": "https://github.com/sebastianbergmann/comparator/tree/8.2.1" + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.10" }, "funding": [ { @@ -2380,33 +2498,33 @@ "type": "tidelift" } ], - "time": "2026-05-21T04:46:40+00:00" + "time": "2026-01-24T09:22:56+00:00" }, { "name": "sebastian/complexity", - "version": "6.0.0", + "version": "2.0.3", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/complexity.git", - "reference": "c5651c795c98093480df79350cb050813fc7a2f3" + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/c5651c795c98093480df79350cb050813fc7a2f3", - "reference": "c5651c795c98093480df79350cb050813fc7a2f3", + "url": "https://api.github.com/repos/sebastianbergmann/complexity/zipball/25f207c40d62b8b7aa32f5ab026c53561964053a", + "reference": "25f207c40d62b8b7aa32f5ab026c53561964053a", "shasum": "" }, "require": { - "nikic/php-parser": "^5.0", - "php": ">=8.4" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -2429,54 +2547,41 @@ "homepage": "https://github.com/sebastianbergmann/complexity", "support": { "issues": "https://github.com/sebastianbergmann/complexity/issues", - "security": "https://github.com/sebastianbergmann/complexity/security/policy", - "source": "https://github.com/sebastianbergmann/complexity/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.3" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/complexity", - "type": "tidelift" } ], - "time": "2026-02-06T04:41:32+00:00" + "time": "2023-12-22T06:19:30+00:00" }, { "name": "sebastian/diff", - "version": "8.3.0", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/diff.git", - "reference": "b36d33b6e796513de7cb7df053afb3f55eefcd47" + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/b36d33b6e796513de7cb7df053afb3f55eefcd47", - "reference": "b36d33b6e796513de7cb7df053afb3f55eefcd47", + "url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/ba01945089c3a293b01ba9badc29ad55b106b0bc", + "reference": "ba01945089c3a293b01ba9badc29ad55b106b0bc", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0", - "symfony/process": "^7.2" + "phpunit/phpunit": "^9.3", + "symfony/process": "^4.2 || ^5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "8.3-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2508,48 +2613,35 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/diff/issues", - "security": "https://github.com/sebastianbergmann/diff/security/policy", - "source": "https://github.com/sebastianbergmann/diff/tree/8.3.0" + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.6" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/diff", - "type": "tidelift" } ], - "time": "2026-05-15T04:58:09+00:00" + "time": "2024-03-02T06:30:58+00:00" }, { "name": "sebastian/environment", - "version": "9.3.2", + "version": "5.1.5", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/environment.git", - "reference": "6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e" + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e", - "reference": "6c9e487c9eb706a8d258102a1c0b0a3e53e86c2e", + "url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", + "reference": "830c43a844f1f8d5b7a1f6d6076b784454d8b7ed", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.1.11" + "phpunit/phpunit": "^9.3" }, "suggest": { "ext-posix": "*" @@ -2557,7 +2649,7 @@ "type": "library", "extra": { "branch-alias": { - "dev-main": "9.3-dev" + "dev-master": "5.1-dev" } }, "autoload": { @@ -2576,7 +2668,7 @@ } ], "description": "Provides functionality to handle HHVM/PHP environments", - "homepage": "https://github.com/sebastianbergmann/environment", + "homepage": "http://www.github.com/sebastianbergmann/environment", "keywords": [ "Xdebug", "environment", @@ -2584,55 +2676,42 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/environment/issues", - "security": "https://github.com/sebastianbergmann/environment/security/policy", - "source": "https://github.com/sebastianbergmann/environment/tree/9.3.2" + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/environment", - "type": "tidelift" } ], - "time": "2026-05-25T13:41:38+00:00" + "time": "2023-02-03T06:03:51+00:00" }, { "name": "sebastian/exporter", - "version": "8.1.0", + "version": "4.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/exporter.git", - "reference": "c0d29a945f8cf82f300a05e69874508e307ca4c6" + "reference": "14c6ba52f95a36c3d27c835d65efc7123c446e8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c0d29a945f8cf82f300a05e69874508e307ca4c6", - "reference": "c0d29a945f8cf82f300a05e69874508e307ca4c6", + "url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/14c6ba52f95a36c3d27c835d65efc7123c446e8c", + "reference": "14c6ba52f95a36c3d27c835d65efc7123c446e8c", "shasum": "" }, "require": { - "ext-mbstring": "*", - "php": ">=8.4", - "sebastian/recursion-context": "^8.0" + "php": ">=7.3", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^13.1.10" + "ext-mbstring": "*", + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "8.1-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2674,8 +2753,7 @@ ], "support": { "issues": "https://github.com/sebastianbergmann/exporter/issues", - "security": "https://github.com/sebastianbergmann/exporter/security/policy", - "source": "https://github.com/sebastianbergmann/exporter/tree/8.1.0" + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.8" }, "funding": [ { @@ -2695,104 +2773,38 @@ "type": "tidelift" } ], - "time": "2026-05-21T11:50:56+00:00" - }, - { - "name": "sebastian/git-state", - "version": "1.0.0", - "source": { - "type": "git", - "url": "https://github.com/sebastianbergmann/git-state.git", - "reference": "792a952e0eba55b6960a48aeceb9f371aad1f76b" - }, - "dist": { - "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/git-state/zipball/792a952e0eba55b6960a48aeceb9f371aad1f76b", - "reference": "792a952e0eba55b6960a48aeceb9f371aad1f76b", - "shasum": "" - }, - "require": { - "php": ">=8.4" - }, - "require-dev": { - "phpunit/phpunit": "^13.0" - }, - "type": "library", - "extra": { - "branch-alias": { - "dev-main": "1.0-dev" - } - }, - "autoload": { - "classmap": [ - "src/" - ] - }, - "notification-url": "https://packagist.org/downloads/", - "license": [ - "BSD-3-Clause" - ], - "authors": [ - { - "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" - } - ], - "description": "Library for describing the state of a Git checkout", - "homepage": "https://github.com/sebastianbergmann/git-state", - "support": { - "issues": "https://github.com/sebastianbergmann/git-state/issues", - "security": "https://github.com/sebastianbergmann/git-state/security/policy", - "source": "https://github.com/sebastianbergmann/git-state/tree/1.0.0" - }, - "funding": [ - { - "url": "https://github.com/sebastianbergmann", - "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/git-state", - "type": "tidelift" - } - ], - "time": "2026-03-21T12:54:28+00:00" + "time": "2025-09-24T06:03:27+00:00" }, { "name": "sebastian/global-state", - "version": "9.0.0", + "version": "5.0.8", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/global-state.git", - "reference": "e52e3dc22441e6218c710afe72c3042f8fc41ea7" + "reference": "b6781316bdcd28260904e7cc18ec983d0d2ef4f6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/e52e3dc22441e6218c710afe72c3042f8fc41ea7", - "reference": "e52e3dc22441e6218c710afe72c3042f8fc41ea7", + "url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/b6781316bdcd28260904e7cc18ec983d0d2ef4f6", + "reference": "b6781316bdcd28260904e7cc18ec983d0d2ef4f6", "shasum": "" }, "require": { - "php": ">=8.4", - "sebastian/object-reflector": "^6.0", - "sebastian/recursion-context": "^8.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { "ext-dom": "*", - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" + }, + "suggest": { + "ext-uopz": "*" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "9.0-dev" + "dev-master": "5.0-dev" } }, "autoload": { @@ -2811,14 +2823,13 @@ } ], "description": "Snapshotting of global state", - "homepage": "https://www.github.com/sebastianbergmann/global-state", + "homepage": "http://www.github.com/sebastianbergmann/global-state", "keywords": [ "global state" ], "support": { "issues": "https://github.com/sebastianbergmann/global-state/issues", - "security": "https://github.com/sebastianbergmann/global-state/security/policy", - "source": "https://github.com/sebastianbergmann/global-state/tree/9.0.0" + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.8" }, "funding": [ { @@ -2838,33 +2849,33 @@ "type": "tidelift" } ], - "time": "2026-02-06T04:45:13+00:00" + "time": "2025-08-10T07:10:35+00:00" }, { "name": "sebastian/lines-of-code", - "version": "5.0.1", + "version": "1.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/lines-of-code.git", - "reference": "d2cff273a90c79b0eb590baa682d4b5c318bdbb7" + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/d2cff273a90c79b0eb590baa682d4b5c318bdbb7", - "reference": "d2cff273a90c79b0eb590baa682d4b5c318bdbb7", + "url": "https://api.github.com/repos/sebastianbergmann/lines-of-code/zipball/e1e4a170560925c26d424b6a03aed157e7dcc5c5", + "reference": "e1e4a170560925c26d424b6a03aed157e7dcc5c5", "shasum": "" }, "require": { - "nikic/php-parser": "^5.7.0", - "php": ">=8.4" + "nikic/php-parser": "^4.18 || ^5.0", + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.1.10" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "5.0-dev" + "dev-master": "1.0-dev" } }, "autoload": { @@ -2887,55 +2898,42 @@ "homepage": "https://github.com/sebastianbergmann/lines-of-code", "support": { "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "security": "https://github.com/sebastianbergmann/lines-of-code/security/policy", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/5.0.1" + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/lines-of-code", - "type": "tidelift" } ], - "time": "2026-05-19T16:23:37+00:00" + "time": "2023-12-22T06:20:34+00:00" }, { "name": "sebastian/object-enumerator", - "version": "8.0.0", + "version": "4.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-enumerator.git", - "reference": "b39ab125fd9a7434b0ecbc4202eebce11a98cfc5" + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/b39ab125fd9a7434b0ecbc4202eebce11a98cfc5", - "reference": "b39ab125fd9a7434b0ecbc4202eebce11a98cfc5", + "url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/5c9eeac41b290a3712d88851518825ad78f45c71", + "reference": "5c9eeac41b290a3712d88851518825ad78f45c71", "shasum": "" }, "require": { - "php": ">=8.4", - "sebastian/object-reflector": "^6.0", - "sebastian/recursion-context": "^8.0" + "php": ">=7.3", + "sebastian/object-reflector": "^2.0", + "sebastian/recursion-context": "^4.0" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "8.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -2957,53 +2955,40 @@ "homepage": "https://github.com/sebastianbergmann/object-enumerator/", "support": { "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "security": "https://github.com/sebastianbergmann/object-enumerator/security/policy", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/8.0.0" + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/object-enumerator", - "type": "tidelift" } ], - "time": "2026-02-06T04:46:36+00:00" + "time": "2020-10-26T13:12:34+00:00" }, { "name": "sebastian/object-reflector", - "version": "6.0.0", + "version": "2.0.4", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/object-reflector.git", - "reference": "3ca042c2c60b0eab094f8a1b6a7093f4d4c72200" + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/3ca042c2c60b0eab094f8a1b6a7093f4d4c72200", - "reference": "3ca042c2c60b0eab094f8a1b6a7093f4d4c72200", + "url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", + "reference": "b4f479ebdbf63ac605d183ece17d8d7fe49c15c7", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "6.0-dev" + "dev-master": "2.0-dev" } }, "autoload": { @@ -3025,53 +3010,40 @@ "homepage": "https://github.com/sebastianbergmann/object-reflector/", "support": { "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "security": "https://github.com/sebastianbergmann/object-reflector/security/policy", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/6.0.0" + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/object-reflector", - "type": "tidelift" } ], - "time": "2026-02-06T04:47:13+00:00" + "time": "2020-10-26T13:14:26+00:00" }, { "name": "sebastian/recursion-context", - "version": "8.0.0", + "version": "4.0.6", "source": { "type": "git", "url": "https://github.com/sebastianbergmann/recursion-context.git", - "reference": "74c5af21f6a5833e91767ca068c4d3dfec15317e" + "reference": "539c6691e0623af6dc6f9c20384c120f963465a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/74c5af21f6a5833e91767ca068c4d3dfec15317e", - "reference": "74c5af21f6a5833e91767ca068c4d3dfec15317e", + "url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/539c6691e0623af6dc6f9c20384c120f963465a0", + "reference": "539c6691e0623af6dc6f9c20384c120f963465a0", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.0" + "phpunit/phpunit": "^9.3" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "8.0-dev" + "dev-master": "4.0-dev" } }, "autoload": { @@ -3101,8 +3073,7 @@ "homepage": "https://github.com/sebastianbergmann/recursion-context", "support": { "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "security": "https://github.com/sebastianbergmann/recursion-context/security/policy", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/8.0.0" + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.6" }, "funding": [ { @@ -3122,32 +3093,32 @@ "type": "tidelift" } ], - "time": "2026-02-06T04:51:28+00:00" + "time": "2025-08-10T06:57:39+00:00" }, { - "name": "sebastian/type", - "version": "7.0.1", + "name": "sebastian/resource-operations", + "version": "3.0.4", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/type.git", - "reference": "fee0309275847fefd7636167085e379c1dbf6990" + "url": "https://github.com/sebastianbergmann/resource-operations.git", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/fee0309275847fefd7636167085e379c1dbf6990", - "reference": "fee0309275847fefd7636167085e379c1dbf6990", + "url": "https://api.github.com/repos/sebastianbergmann/resource-operations/zipball/05d5692a7993ecccd56a03e40cd7e5b09b1d404e", + "reference": "05d5692a7993ecccd56a03e40cd7e5b09b1d404e", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" }, "require-dev": { - "phpunit/phpunit": "^13.1.10" + "phpunit/phpunit": "^9.0" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "7.0-dev" + "dev-main": "3.0-dev" } }, "autoload": { @@ -3162,58 +3133,46 @@ "authors": [ { "name": "Sebastian Bergmann", - "email": "sebastian@phpunit.de", - "role": "lead" + "email": "sebastian@phpunit.de" } ], - "description": "Collection of value objects that represent the types of the PHP type system", - "homepage": "https://github.com/sebastianbergmann/type", + "description": "Provides a list of PHP built-in functions that operate on resources", + "homepage": "https://www.github.com/sebastianbergmann/resource-operations", "support": { - "issues": "https://github.com/sebastianbergmann/type/issues", - "security": "https://github.com/sebastianbergmann/type/security/policy", - "source": "https://github.com/sebastianbergmann/type/tree/7.0.1" + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.4" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/type", - "type": "tidelift" } ], - "time": "2026-05-20T06:49:11+00:00" + "time": "2024-03-14T16:00:52+00:00" }, { - "name": "sebastian/version", - "version": "7.0.0", + "name": "sebastian/type", + "version": "3.2.1", "source": { "type": "git", - "url": "https://github.com/sebastianbergmann/version.git", - "reference": "ad37a5552c8e2b88572249fdc19b6da7792e021b" + "url": "https://github.com/sebastianbergmann/type.git", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/ad37a5552c8e2b88572249fdc19b6da7792e021b", - "reference": "ad37a5552c8e2b88572249fdc19b6da7792e021b", + "url": "https://api.github.com/repos/sebastianbergmann/type/zipball/75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", + "reference": "75e2c2a32f5e0b3aef905b9ed0b179b953b3d7c7", "shasum": "" }, "require": { - "php": ">=8.4" + "php": ">=7.3" + }, + "require-dev": { + "phpunit/phpunit": "^9.5" }, "type": "library", "extra": { "branch-alias": { - "dev-main": "7.0-dev" + "dev-master": "3.2-dev" } }, "autoload": { @@ -3232,84 +3191,72 @@ "role": "lead" } ], - "description": "Library that helps with managing the version number of Git-hosted PHP projects", - "homepage": "https://github.com/sebastianbergmann/version", + "description": "Collection of value objects that represent the types of the PHP type system", + "homepage": "https://github.com/sebastianbergmann/type", "support": { - "issues": "https://github.com/sebastianbergmann/version/issues", - "security": "https://github.com/sebastianbergmann/version/security/policy", - "source": "https://github.com/sebastianbergmann/version/tree/7.0.0" + "issues": "https://github.com/sebastianbergmann/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" }, "funding": [ { "url": "https://github.com/sebastianbergmann", "type": "github" - }, - { - "url": "https://liberapay.com/sebastianbergmann", - "type": "liberapay" - }, - { - "url": "https://thanks.dev/u/gh/sebastianbergmann", - "type": "thanks_dev" - }, - { - "url": "https://tidelift.com/funding/github/packagist/sebastian/version", - "type": "tidelift" } ], - "time": "2026-02-06T04:52:52+00:00" + "time": "2023-02-03T06:13:03+00:00" }, { - "name": "staabm/side-effects-detector", - "version": "1.0.5", + "name": "sebastian/version", + "version": "3.0.2", "source": { "type": "git", - "url": "https://github.com/staabm/side-effects-detector.git", - "reference": "d8334211a140ce329c13726d4a715adbddd0a163" + "url": "https://github.com/sebastianbergmann/version.git", + "reference": "c6c1022351a901512170118436c764e473f6de8c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/staabm/side-effects-detector/zipball/d8334211a140ce329c13726d4a715adbddd0a163", - "reference": "d8334211a140ce329c13726d4a715adbddd0a163", + "url": "https://api.github.com/repos/sebastianbergmann/version/zipball/c6c1022351a901512170118436c764e473f6de8c", + "reference": "c6c1022351a901512170118436c764e473f6de8c", "shasum": "" }, "require": { - "ext-tokenizer": "*", - "php": "^7.4 || ^8.0" - }, - "require-dev": { - "phpstan/extension-installer": "^1.4.3", - "phpstan/phpstan": "^1.12.6", - "phpunit/phpunit": "^9.6.21", - "symfony/var-dumper": "^5.4.43", - "tomasvotruba/type-coverage": "1.0.0", - "tomasvotruba/unused-public": "1.0.0" + "php": ">=7.3" }, "type": "library", + "extra": { + "branch-alias": { + "dev-master": "3.0-dev" + } + }, "autoload": { "classmap": [ - "lib/" + "src/" ] }, "notification-url": "https://packagist.org/downloads/", "license": [ - "MIT" + "BSD-3-Clause" ], - "description": "A static analysis tool to detect side effects in PHP code", - "keywords": [ - "static analysis" + "authors": [ + { + "name": "Sebastian Bergmann", + "email": "sebastian@phpunit.de", + "role": "lead" + } ], + "description": "Library that helps with managing the version number of Git-hosted PHP projects", + "homepage": "https://github.com/sebastianbergmann/version", "support": { - "issues": "https://github.com/staabm/side-effects-detector/issues", - "source": "https://github.com/staabm/side-effects-detector/tree/1.0.5" + "issues": "https://github.com/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" }, "funding": [ { - "url": "https://github.com/staabm", + "url": "https://github.com/sebastianbergmann", "type": "github" } ], - "time": "2024-10-20T05:08:20+00:00" + "time": "2020-09-28T06:39:44+00:00" }, { "name": "symfony/config", @@ -4816,23 +4763,23 @@ }, { "name": "theseer/tokenizer", - "version": "2.0.1", + "version": "1.3.1", "source": { "type": "git", "url": "https://github.com/theseer/tokenizer.git", - "reference": "7989e43bf381af0eac72e4f0ca5bcbfa81658be4" + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/theseer/tokenizer/zipball/7989e43bf381af0eac72e4f0ca5bcbfa81658be4", - "reference": "7989e43bf381af0eac72e4f0ca5bcbfa81658be4", + "url": "https://api.github.com/repos/theseer/tokenizer/zipball/b7489ce515e168639d17feec34b8847c326b0b3c", + "reference": "b7489ce515e168639d17feec34b8847c326b0b3c", "shasum": "" }, "require": { "ext-dom": "*", "ext-tokenizer": "*", "ext-xmlwriter": "*", - "php": "^8.1" + "php": "^7.2 || ^8.0" }, "type": "library", "autoload": { @@ -4854,7 +4801,7 @@ "description": "A small library for converting tokenized PHP source code into XML and potentially other formats", "support": { "issues": "https://github.com/theseer/tokenizer/issues", - "source": "https://github.com/theseer/tokenizer/tree/2.0.1" + "source": "https://github.com/theseer/tokenizer/tree/1.3.1" }, "funding": [ { @@ -4862,7 +4809,7 @@ "type": "github" } ], - "time": "2025-12-08T11:19:18+00:00" + "time": "2025-11-17T20:03:58+00:00" } ], "aliases": [], diff --git a/tests/integration/features/bootstrap/BoardContext.php b/tests/integration/features/bootstrap/BoardContext.php index 0a43b1dacb..885bfda5e7 100644 --- a/tests/integration/features/bootstrap/BoardContext.php +++ b/tests/integration/features/bootstrap/BoardContext.php @@ -121,7 +121,6 @@ public function sharesTheBoardWithGroup($group, ?TableNode $permissions = null) ]); } - /** * @When /^fetching the board list$/ */ @@ -305,7 +304,6 @@ public function deleteTheBoard() { $this->requestContext->sendJSONrequest('DELETE', '/index.php/apps/deck/boards/' . $this->board['id']); } - /** * @Given /^get the activities for the last card$/ */ diff --git a/tests/integration/features/bootstrap/FederationContext.php b/tests/integration/features/bootstrap/FederationContext.php index 88ba599364..90c970598f 100644 --- a/tests/integration/features/bootstrap/FederationContext.php +++ b/tests/integration/features/bootstrap/FederationContext.php @@ -286,8 +286,6 @@ public function userOnShouldSeeAssigned(string $user, string $server, string $as Assert::assertTrue($cardFound, "Assigned user '{$assignedUser}' not found on card '{$cardTitle}' on board '{$boardTitle}' found '" . json_encode($assignedUsers) . "'"); } - - /** * @When /^user "([^"]*)" on "([^"]*)" creates a stack "([^"]*)" on the federated board$/ */ diff --git a/tests/integration/features/bootstrap/RequestContext.php b/tests/integration/features/bootstrap/RequestContext.php index e60ff60578..eca6b6a5e5 100644 --- a/tests/integration/features/bootstrap/RequestContext.php +++ b/tests/integration/features/bootstrap/RequestContext.php @@ -157,7 +157,6 @@ public function sendPlainRequest(string $method, $uri = '', array $options = []) } } - public function getResponse(): ResponseInterface { return $this->response; } diff --git a/tests/integration/features/bootstrap/RequestTrait.php b/tests/integration/features/bootstrap/RequestTrait.php index d9668af223..7dfd0c6191 100644 --- a/tests/integration/features/bootstrap/RequestTrait.php +++ b/tests/integration/features/bootstrap/RequestTrait.php @@ -24,12 +24,10 @@ declare(strict_types=1); - use Behat\Behat\Hook\Scope\BeforeScenarioScope; require_once __DIR__ . '/../../vendor/autoload.php'; - trait RequestTrait { /** @var RequestContext */ diff --git a/tests/integration/features/bootstrap/ServerContext.php b/tests/integration/features/bootstrap/ServerContext.php index 5e38727209..d2828cff63 100644 --- a/tests/integration/features/bootstrap/ServerContext.php +++ b/tests/integration/features/bootstrap/ServerContext.php @@ -25,7 +25,6 @@ public function __construct($baseUrl) { $this->__tConstruct($this->rawBaseUrl . '/ocs/', ['admin', 'admin'], '123456'); } - /** * @BeforeSuite */ diff --git a/tests/integration/import/ImportExportTest.php b/tests/integration/import/ImportExportTest.php index 261a01756c..a9e00e0cbe 100644 --- a/tests/integration/import/ImportExportTest.php +++ b/tests/integration/import/ImportExportTest.php @@ -297,7 +297,6 @@ public function assertDatabase(string $owner = 'admin') { 'color' => '31CC7C', ]), $fullBoard->getLabels(), true); - $stacks = $stackMapper->findAll($board->getId()); self::assertCount(3, $stacks); self::assertEntity(Stack::fromRow([ diff --git a/tests/unit/Activity/ActivityManagerTest.php b/tests/unit/Activity/ActivityManagerTest.php index 915f7b2b90..8703815bff 100644 --- a/tests/unit/Activity/ActivityManagerTest.php +++ b/tests/unit/Activity/ActivityManagerTest.php @@ -427,7 +427,6 @@ public function testFindDetailsForStack() { ], $this->invokePrivate($this->activityManager, 'findDetailsForStack', [123])); } - public function testFindDetailsForCard() { $card = new Card(); $card->setId(555); diff --git a/tests/unit/Db/AclMapperTest.php b/tests/unit/Db/AclMapperTest.php index ad374abf90..af3f031968 100644 --- a/tests/unit/Db/AclMapperTest.php +++ b/tests/unit/Db/AclMapperTest.php @@ -120,7 +120,6 @@ public function testFindBoardIdDatabase() { $this->assertEquals($this->boards[0]->getId(), $this->aclMapper->findBoardId($this->acls[1]->getId())); } - public function tearDown(): void { parent::tearDown(); foreach ($this->acls as $acl) { diff --git a/tests/unit/Db/AclTest.php b/tests/unit/Db/AclTest.php index 06953b9838..e1538215ef 100644 --- a/tests/unit/Db/AclTest.php +++ b/tests/unit/Db/AclTest.php @@ -89,7 +89,6 @@ public function testSetOwner() { ], $acl->jsonSerialize()); } - public function testGetPermission() { $acl = $this->createAclUser(); $this->assertEquals(true, $acl->getPermission(Acl::PERMISSION_READ)); diff --git a/tests/unit/Db/AttachmentTest.php b/tests/unit/Db/AttachmentTest.php index 9fa1c67953..38a763075e 100644 --- a/tests/unit/Db/AttachmentTest.php +++ b/tests/unit/Db/AttachmentTest.php @@ -46,7 +46,6 @@ public function testJsonSerialize() { 'createdBy' => 'admin', 'deletedAt' => 0, 'extendedData' => [] - ], $board->jsonSerialize()); } } diff --git a/tests/unit/Middleware/ExceptionMiddlewareTest.php b/tests/unit/Middleware/ExceptionMiddlewareTest.php index 22de572c13..c33abec343 100644 --- a/tests/unit/Middleware/ExceptionMiddlewareTest.php +++ b/tests/unit/Middleware/ExceptionMiddlewareTest.php @@ -59,7 +59,6 @@ public function setUp(): void { ); } - public static function dataAfterException() { return [ [new NoPermissionException('No permission'), 403, 'No permission'], diff --git a/tests/unit/Notification/NotificationHelperTest.php b/tests/unit/Notification/NotificationHelperTest.php index a45c414913..7d581a6254 100644 --- a/tests/unit/Notification/NotificationHelperTest.php +++ b/tests/unit/Notification/NotificationHelperTest.php @@ -153,14 +153,12 @@ public function testSendCardDuedate() { $this->createUserMock('foo'), $this->createUserMock('bar'), $this->createUserMock('asd') - ]; $this->permissionService->expects($this->once()) ->method('findUsers') ->with(234) ->willReturn($users); - $n1 = $this->createMock(INotification::class); $n2 = $this->createMock(INotification::class); $n3 = $this->createMock(INotification::class); @@ -238,7 +236,6 @@ public function testSendCardDuedateAssigned() { ->with(234) ->willReturn($board); - $this->permissionService->expects($this->once()) ->method('findUsers') ->with(234) @@ -248,7 +245,6 @@ public function testSendCardDuedateAssigned() { ->method('isUserAssigned') ->willReturn(true); - $n1 = $this->createMock(INotification::class); $n2 = $this->createMock(INotification::class); $n3 = $this->createMock(INotification::class); @@ -285,7 +281,6 @@ public function testSendCardDuedateAssigned() { $this->notificationHelper->sendCardDuedate($card); } - public function testSendCardDuedateNever() { $param1 = ['foo', 'bar', 'asd']; $param2 = 'deck'; @@ -328,7 +323,6 @@ public function testSendCardDuedateNever() { ->with(234) ->willReturn($board); - $this->permissionService->expects($this->once()) ->method('findUsers') ->with(234) @@ -338,7 +332,6 @@ public function testSendCardDuedateNever() { ->method('isUserAssigned') ->willReturn(true); - $n1 = $this->createMock(INotification::class); $n2 = $this->createMock(INotification::class); diff --git a/tests/unit/Notification/NotifierTest.php b/tests/unit/Notification/NotifierTest.php index 491f78d6ed..ae0a1a6c9c 100644 --- a/tests/unit/Notification/NotifierTest.php +++ b/tests/unit/Notification/NotifierTest.php @@ -123,7 +123,6 @@ public function testPrepareCardOverdue() { ->method('setParsedSubject') ->with($expectedMessage); - $this->url->expects($this->once()) ->method('imagePath') ->with('deck', 'deck-dark.svg') @@ -169,7 +168,6 @@ public function testPrepareCardCommentMentioned() { ->method('setRichSubject') ->with('{user} has mentioned you in a comment on {deck-card}.'); - $this->url->expects($this->once()) ->method('imagePath') ->with('deck', 'deck-dark.svg') diff --git a/tests/unit/Service/AssignmentServiceTest.php b/tests/unit/Service/AssignmentServiceTest.php index bef8fa60d8..01254380d3 100644 --- a/tests/unit/Service/AssignmentServiceTest.php +++ b/tests/unit/Service/AssignmentServiceTest.php @@ -41,7 +41,6 @@ class AssignmentServiceTest extends TestCase { - /** * @var MockObject|PermissionService */ @@ -83,7 +82,6 @@ class AssignmentServiceTest extends TestCase { */ private $assignmentServiceValidator; - public function setUp(): void { parent::setUp(); $this->aclMapper = $this->createMock(AclMapper::class); diff --git a/tests/unit/Service/Importer/BoardImportServiceTest.php b/tests/unit/Service/Importer/BoardImportServiceTest.php index 4cbaeb9fce..6d13d59f59 100644 --- a/tests/unit/Service/Importer/BoardImportServiceTest.php +++ b/tests/unit/Service/Importer/BoardImportServiceTest.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Service\Importer; use OC\Comments\Comment; diff --git a/tests/unit/Service/Importer/Systems/DeckJsonServiceTest.php b/tests/unit/Service/Importer/Systems/DeckJsonServiceTest.php index 035bea0947..23a3231159 100644 --- a/tests/unit/Service/Importer/Systems/DeckJsonServiceTest.php +++ b/tests/unit/Service/Importer/Systems/DeckJsonServiceTest.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Service\Importer\Systems; use OCA\Deck\Service\Importer\BoardImportService; diff --git a/tests/unit/Service/Importer/Systems/TrelloJsonServiceTest.php b/tests/unit/Service/Importer/Systems/TrelloJsonServiceTest.php index a7303c10a0..6dedd880f4 100644 --- a/tests/unit/Service/Importer/Systems/TrelloJsonServiceTest.php +++ b/tests/unit/Service/Importer/Systems/TrelloJsonServiceTest.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Service\Importer\Systems; use OCA\Deck\Service\Importer\BoardImportService; diff --git a/tests/unit/Service/LabelServiceTest.php b/tests/unit/Service/LabelServiceTest.php index c563bc1369..038f4b8a8d 100644 --- a/tests/unit/Service/LabelServiceTest.php +++ b/tests/unit/Service/LabelServiceTest.php @@ -88,7 +88,6 @@ public function testCreate() { $this->assertEquals($b->getColor(), '00ff00'); } - public function testUpdate() { $label = new Label(); $label->setTitle('Title'); diff --git a/tests/unit/Validators/BoardServiceValidatorTest.php b/tests/unit/Validators/BoardServiceValidatorTest.php index d52318ff2c..d003e8ee24 100644 --- a/tests/unit/Validators/BoardServiceValidatorTest.php +++ b/tests/unit/Validators/BoardServiceValidatorTest.php @@ -20,7 +20,6 @@ * along with this program. If not, see . */ - namespace OCA\Deck\Validators; use OCA\Deck\Tests\unit\Validators\ValidatorTestBase; diff --git a/tests/unit/Validators/StackServiceValidatorTest.php b/tests/unit/Validators/StackServiceValidatorTest.php index 052f797246..3dd16fdf75 100644 --- a/tests/unit/Validators/StackServiceValidatorTest.php +++ b/tests/unit/Validators/StackServiceValidatorTest.php @@ -23,7 +23,6 @@ * along with this program. If not, see . */ - namespace OCA\Deck\Validators; use OCA\Deck\Tests\unit\Validators\ValidatorTestBase; diff --git a/tests/unit/Validators/ValidatorTestBase.php b/tests/unit/Validators/ValidatorTestBase.php index cce03f6ed2..40dcee06a2 100644 --- a/tests/unit/Validators/ValidatorTestBase.php +++ b/tests/unit/Validators/ValidatorTestBase.php @@ -23,7 +23,6 @@ * along with this program. If not, see . */ - namespace OCA\Deck\Tests\unit\Validators; use OCA\Deck\BadRequestException; diff --git a/tests/unit/controller/BoardApiControllerTest.php b/tests/unit/controller/BoardApiControllerTest.php index 9d0b2bffb9..0e57d1a081 100644 --- a/tests/unit/controller/BoardApiControllerTest.php +++ b/tests/unit/controller/BoardApiControllerTest.php @@ -21,12 +21,12 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Board; use OCA\Deck\Service\BoardService; use OCP\AppFramework\Http; - use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; diff --git a/tests/unit/controller/BoardControllerTest.php b/tests/unit/controller/BoardControllerTest.php index 617fcb58d1..dbb967e14a 100644 --- a/tests/unit/controller/BoardControllerTest.php +++ b/tests/unit/controller/BoardControllerTest.php @@ -92,7 +92,6 @@ public function setUp(): void { ); } - public function testIndex() { $this->boardService->expects($this->once()) ->method('findAll') diff --git a/tests/unit/controller/BoardImportApiControllerTest.php b/tests/unit/controller/BoardImportApiControllerTest.php index da61d6005c..c5fcb9721d 100644 --- a/tests/unit/controller/BoardImportApiControllerTest.php +++ b/tests/unit/controller/BoardImportApiControllerTest.php @@ -21,6 +21,7 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Board; diff --git a/tests/unit/controller/CardApiControllerTest.php b/tests/unit/controller/CardApiControllerTest.php index c466b9614f..1b643222f8 100644 --- a/tests/unit/controller/CardApiControllerTest.php +++ b/tests/unit/controller/CardApiControllerTest.php @@ -23,13 +23,13 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Card; use OCA\Deck\Service\AssignmentService; use OCA\Deck\Service\CardService; use OCP\AppFramework\Http; - use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; use PHPUnit\Framework\MockObject\MockObject; diff --git a/tests/unit/controller/LabelApiControllerTest.php b/tests/unit/controller/LabelApiControllerTest.php index 66507fd9dc..97f86eae68 100644 --- a/tests/unit/controller/LabelApiControllerTest.php +++ b/tests/unit/controller/LabelApiControllerTest.php @@ -21,12 +21,12 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Label; use OCA\Deck\Service\LabelService; use OCP\AppFramework\Http; - use OCP\AppFramework\Http\DataResponse; use OCP\IRequest; diff --git a/tests/unit/controller/LabelControllerTest.php b/tests/unit/controller/LabelControllerTest.php index 5b2d12a161..104ac509f7 100644 --- a/tests/unit/controller/LabelControllerTest.php +++ b/tests/unit/controller/LabelControllerTest.php @@ -56,7 +56,6 @@ public function setUp(): void { ); } - public function testCreate(): void { $label = $this->createMock(Label::class); $this->labelService->expects($this->once()) diff --git a/tests/unit/controller/StackApiControllerTest.php b/tests/unit/controller/StackApiControllerTest.php index 226b691f85..37a5bcef09 100644 --- a/tests/unit/controller/StackApiControllerTest.php +++ b/tests/unit/controller/StackApiControllerTest.php @@ -21,12 +21,12 @@ * along with this program. If not, see . * */ + namespace OCA\Deck\Controller; use OCA\Deck\Db\Stack; use OCA\Deck\Service\BoardService; use OCA\Deck\Service\StackService; - use OCP\AppFramework\Http; use OCP\AppFramework\Http\DataResponse; use OCP\IRequest;