From 37e89877455df7afdfae79f7aa261f93048a185e Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Thu, 30 Mar 2023 22:15:16 -0300 Subject: [PATCH 1/7] PHPStan --- phpstan.neon.dist | 3 ++- src/Controller/Adminhtml/Index/Index.php | 7 +++++-- src/Controller/Adminhtml/Message/Download.php | 4 ++-- src/Controller/Adminhtml/Message/MassDelete.php | 12 ++++++++---- src/Controller/Adminhtml/Message/MassRequeue.php | 12 ++++++++---- src/Controller/Adminhtml/Message/Requeue.php | 6 +++--- src/Mapper/MessageToRawResponseMapper.php | 2 +- src/Model/Config/Backend/QueuesConfig.php | 3 ++- src/Queue/Publisher.php | 5 ++++- src/Repository/Query/FindMessageByIdQuery.php | 4 ++-- src/Service/HandleQueueFailureService.php | 9 +++++---- src/System/Config/MessageQueueRetryConfig.php | 4 +++- src/Ui/Component/Listing/Columns/Actions.php | 4 ++++ src/Ui/Component/Listing/Columns/MessageBody.php | 4 ++++ src/Validator/QueueConfigurationValidator.php | 2 ++ 15 files changed, 55 insertions(+), 26 deletions(-) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index a56b1e2..30ba6b7 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -1,7 +1,8 @@ parameters: - level: 5 + level: 8 paths: - src excludePaths: analyseAndScan: - src/Test + - src/Queue/Consumer.php diff --git a/src/Controller/Adminhtml/Index/Index.php b/src/Controller/Adminhtml/Index/Index.php index dec7e54..a0692d4 100644 --- a/src/Controller/Adminhtml/Index/Index.php +++ b/src/Controller/Adminhtml/Index/Index.php @@ -6,6 +6,7 @@ use Magento\Backend\App\Action; use Magento\Backend\App\Action\Context; +use Magento\Backend\Model\View\Result\Page as BackendResultPage; use Magento\Framework\View\Result\Page; use Magento\Framework\View\Result\PageFactory; @@ -23,8 +24,10 @@ public function __construct( public function execute(): Page { $resultPage = $this->resultPageFactory->create(); - $resultPage->getConfig()->getTitle()->prepend(__('Messages')); - $resultPage->setActiveMenu(self::ADMIN_RESOURCE); + $resultPage->getConfig()->getTitle()->prepend(__('Messages')->render()); + if ($resultPage instanceof BackendResultPage) { + $resultPage->setActiveMenu(self::ADMIN_RESOURCE); + } return $resultPage; } } diff --git a/src/Controller/Adminhtml/Message/Download.php b/src/Controller/Adminhtml/Message/Download.php index 24d2941..ac46dfd 100644 --- a/src/Controller/Adminhtml/Message/Download.php +++ b/src/Controller/Adminhtml/Message/Download.php @@ -20,7 +20,7 @@ class Download extends Action public function __construct( Context $context, private MessageRepository $messageRepository, - private RawFactory $rawFactory, + private RawFactory $rawFactory, // @phpstan-ignore-line private MessageToRawResponseMapper $messageToRawResponseMapper ) { parent::__construct($context); @@ -34,7 +34,7 @@ public function execute(): RawResponse { $messageId = (int)$this->getRequest()->getParam('message_id'); $message = $this->messageRepository->findById($messageId); - $rawResponse = $this->rawFactory->create(); + $rawResponse = $this->rawFactory->create(); // @phpstan-ignore-line $this->messageToRawResponseMapper->map($message, $rawResponse); return $rawResponse; diff --git a/src/Controller/Adminhtml/Message/MassDelete.php b/src/Controller/Adminhtml/Message/MassDelete.php index 9b4731f..147aebf 100644 --- a/src/Controller/Adminhtml/Message/MassDelete.php +++ b/src/Controller/Adminhtml/Message/MassDelete.php @@ -9,6 +9,7 @@ use Magento\Framework\Controller\Result\Redirect; use Magento\Framework\Controller\Result\RedirectFactory; use Magento\Ui\Component\MassAction\Filter; +use RunAsRoot\MessageQueueRetry\Model\Message; use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; use RunAsRoot\MessageQueueRetry\Repository\MessageRepository; @@ -20,7 +21,7 @@ public function __construct( Context $context, private MessageRepository $messageRepository, private RedirectFactory $redirectFactory, - private CollectionFactory $collectionFactory, + private CollectionFactory $collectionFactory, // @phpstan-ignore-line private Filter $filter ) { parent::__construct($context); @@ -31,16 +32,19 @@ public function execute(): Redirect $redirect = $this->redirectFactory->create(); try { - $collection = $this->filter->getCollection($this->collectionFactory->create()); + $collection = $this->filter->getCollection($this->collectionFactory->create()); // @phpstan-ignore-line foreach ($collection->getItems() as $message) { + if (!$message instanceof Message) { + continue; + } $this->messageRepository->delete($message); } - $this->messageManager->addSuccessMessage(__('The messages have been successfully deleted')); + $this->messageManager->addSuccessMessage(__('The messages have been successfully deleted')->render()); } catch (\Exception $e) { $this->messageManager->addErrorMessage( - __('An error occurred while trying to delete the messages: %1', $e->getMessage()) + __('An error occurred while trying to delete the messages: %1', $e->getMessage())->render() ); } diff --git a/src/Controller/Adminhtml/Message/MassRequeue.php b/src/Controller/Adminhtml/Message/MassRequeue.php index 404e191..8baa542 100644 --- a/src/Controller/Adminhtml/Message/MassRequeue.php +++ b/src/Controller/Adminhtml/Message/MassRequeue.php @@ -9,6 +9,7 @@ use Magento\Framework\Controller\Result\Redirect; use Magento\Framework\Controller\Result\RedirectFactory; use Magento\Ui\Component\MassAction\Filter; +use RunAsRoot\MessageQueueRetry\Model\Message; use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; use RunAsRoot\MessageQueueRetry\Service\PublishMessageToQueueService; @@ -20,7 +21,7 @@ public function __construct( Context $context, private PublishMessageToQueueService $publishMessageToQueueService, private RedirectFactory $redirectFactory, - private CollectionFactory $collectionFactory, + private CollectionFactory $collectionFactory, // @phpstan-ignore-line private Filter $filter ) { parent::__construct($context); @@ -31,16 +32,19 @@ public function execute(): Redirect $redirect = $this->redirectFactory->create(); try { - $collection = $this->filter->getCollection($this->collectionFactory->create()); + $collection = $this->filter->getCollection($this->collectionFactory->create()); // @phpstan-ignore-line foreach ($collection->getItems() as $message) { + if (!$message instanceof Message) { + continue; + } $this->publishMessageToQueueService->executeByMessage($message); } - $this->messageManager->addSuccessMessage(__('Messages queued successfully')); + $this->messageManager->addSuccessMessage(__('Messages queued successfully')->render()); } catch (\Exception $e) { $this->messageManager->addErrorMessage( - __('An error occurred while trying to requeue the message: %1', $e->getMessage()) + __('An error occurred while trying to requeue the message: %1', $e->getMessage())->render() ); } diff --git a/src/Controller/Adminhtml/Message/Requeue.php b/src/Controller/Adminhtml/Message/Requeue.php index 38ef7c4..329a7c4 100644 --- a/src/Controller/Adminhtml/Message/Requeue.php +++ b/src/Controller/Adminhtml/Message/Requeue.php @@ -29,16 +29,16 @@ public function execute(): Redirect $redirect->setPath('message_queue_retry/index/index'); if (!$messageId) { - $this->messageManager->addErrorMessage(__('Invalid message id provided in the request params')); + $this->messageManager->addErrorMessage(__('Invalid message id provided in the request params')->render()); return $redirect; } try { $this->publishMessageToQueueService->executeById($messageId); - $this->messageManager->addSuccessMessage(__('Message queued successfully')); + $this->messageManager->addSuccessMessage(__('Message queued successfully')->render()); } catch (\Exception $e) { $this->messageManager->addErrorMessage( - __('An error occurred while trying to requeue the message: %1', $e->getMessage()) + __('An error occurred while trying to requeue the message: %1', $e->getMessage())->render() ); } diff --git a/src/Mapper/MessageToRawResponseMapper.php b/src/Mapper/MessageToRawResponseMapper.php index 34cf43a..a9508b2 100644 --- a/src/Mapper/MessageToRawResponseMapper.php +++ b/src/Mapper/MessageToRawResponseMapper.php @@ -34,7 +34,7 @@ public function map(Message $message, RawResponse $rawResponse): RawResponse $rawResponse->setHeader('Pragma', 'public', true); $rawResponse->setHeader('Cache-Control', 'must-revalidate, post-check=0, pre-check=0', true); $rawResponse->setHeader('Content-type', 'application/json', true); - $rawResponse->setHeader('Content-Length', $contentLength, true); + $rawResponse->setHeader('Content-Length', (string)$contentLength, true); $rawResponse->setHeader('Content-Disposition', 'attachment; filename="' . $fileName . '"', true); $rawResponse->setContents($messageBody); diff --git a/src/Model/Config/Backend/QueuesConfig.php b/src/Model/Config/Backend/QueuesConfig.php index 4d2544d..923988f 100644 --- a/src/Model/Config/Backend/QueuesConfig.php +++ b/src/Model/Config/Backend/QueuesConfig.php @@ -17,7 +17,7 @@ class QueuesConfig extends ArraySerialized { - public function __construct( + public function __construct( // @phpstan-ignore-line Context $context, Registry $registry, ScopeConfigInterface $config, @@ -45,6 +45,7 @@ public function __construct( */ public function beforeSave(): self { + /** @var string|array $value */ $value = $this->getValue(); if (!is_array($value)) { diff --git a/src/Queue/Publisher.php b/src/Queue/Publisher.php index 174728a..eb2688a 100644 --- a/src/Queue/Publisher.php +++ b/src/Queue/Publisher.php @@ -32,7 +32,7 @@ public function publish(string $topicName, string $data): void try { $connectionName = $this->publisherConfig->getPublisher($topicName)->getConnection()->getName(); } catch (\Exception $e) { - $exceptionMessage = $e->getMessage() instanceof Phrase ? $e->getMessage() : new Phrase($e->getMessage()); + $exceptionMessage = new Phrase($e->getMessage()); throw new InvalidPublisherConfigurationException($exceptionMessage, $e, $e->getCode()); } @@ -45,6 +45,9 @@ public function publish(string $topicName, string $data): void $exchange->enqueue($topicName, $envelope); } + /** + * @return array + */ private function getEnvelopeData(string $topicName, string $data): array { return [ diff --git a/src/Repository/Query/FindMessageByIdQuery.php b/src/Repository/Query/FindMessageByIdQuery.php index 8469248..2440fc8 100644 --- a/src/Repository/Query/FindMessageByIdQuery.php +++ b/src/Repository/Query/FindMessageByIdQuery.php @@ -13,7 +13,7 @@ class FindMessageByIdQuery { public function __construct( private ResourceModel $resourceModel, - private ModelFactory $modelFactory + private ModelFactory $modelFactory // @phpstan-ignore-line ) { } @@ -22,7 +22,7 @@ public function __construct( */ public function execute(int $entityId): Message { - $model = $this->modelFactory->create(); + $model = $this->modelFactory->create(); // @phpstan-ignore-line $this->resourceModel->load($model, $entityId); if (!$model->getId()) { diff --git a/src/Service/HandleQueueFailureService.php b/src/Service/HandleQueueFailureService.php index 1a5ab0b..4c85b01 100644 --- a/src/Service/HandleQueueFailureService.php +++ b/src/Service/HandleQueueFailureService.php @@ -7,7 +7,7 @@ use Exception; use JsonException; use Magento\Framework\MessageQueue\ConnectionLostException; -use Magento\Framework\MessageQueue\Envelope; +use Magento\Framework\MessageQueue\EnvelopeInterface; use Magento\Framework\MessageQueue\QueueInterface; use PhpAmqpLib\Wire\AMQPTable; use RunAsRoot\MessageQueueRetry\Exception\MessageCouldNotBeCreatedException; @@ -19,7 +19,7 @@ class HandleQueueFailureService { public function __construct( private MessageQueueRetryConfig $messageQueueRetryConfig, - private MessageFactory $messageFactory, + private MessageFactory $messageFactory, // @phpstan-ignore-line private MessageRepository $messageRepository ) { } @@ -29,7 +29,7 @@ public function __construct( * @throws ConnectionLostException * @throws MessageCouldNotBeCreatedException */ - public function execute(QueueInterface $queue, Envelope $message, Exception $exception): void + public function execute(QueueInterface $queue, EnvelopeInterface $message, Exception $exception): void { if (!$this->messageQueueRetryConfig->isDelayQueueEnabled()) { $queue->reject($message, false, $exception->getMessage()); @@ -65,7 +65,7 @@ public function execute(QueueInterface $queue, Envelope $message, Exception $exc if ($totalRetries >= $retryLimit) { // If message reaches the retry limit, then it is moved to the run_as_root_message table - $messageModel = $this->messageFactory->create(); + $messageModel = $this->messageFactory->create(); // @phpstan-ignore-line $messageModel->setTopicName($topicName); $messageModel->setMessageBody($message->getBody()); $messageModel->setFailureDescription($exception->getMessage()); @@ -94,6 +94,7 @@ private function getTotalRetries(AMQPTable $applicationHeaders): int /** * @throws JsonException + * @return array|null */ private function getQueueConfiguration(string $topicName): ?array { diff --git a/src/System/Config/MessageQueueRetryConfig.php b/src/System/Config/MessageQueueRetryConfig.php index d33842c..9d9bff6 100644 --- a/src/System/Config/MessageQueueRetryConfig.php +++ b/src/System/Config/MessageQueueRetryConfig.php @@ -25,6 +25,7 @@ public function isDelayQueueEnabled(): bool } /** + * @return array> * @throws JsonException */ public function getDelayQueues(): array @@ -41,10 +42,11 @@ public function getDelayQueues(): array foreach ($configValues as $configValue) { $mainTopicName = $configValue[self::MAIN_TOPIC_NAME] ?? null; + $retryLimit = isset($configValue[self::RETRY_LIMIT]) ? (int)$configValue[self::RETRY_LIMIT] : null; $result[$mainTopicName] = [ self::MAIN_TOPIC_NAME => $mainTopicName, self::DELAY_TOPIC_NAME => $configValue[self::DELAY_TOPIC_NAME] ?? null, - self::RETRY_LIMIT => (int)$configValue[self::RETRY_LIMIT] ?? null, + self::RETRY_LIMIT => $retryLimit, ]; } diff --git a/src/Ui/Component/Listing/Columns/Actions.php b/src/Ui/Component/Listing/Columns/Actions.php index 3562fc2..a4361f3 100644 --- a/src/Ui/Component/Listing/Columns/Actions.php +++ b/src/Ui/Component/Listing/Columns/Actions.php @@ -8,6 +8,10 @@ class Actions extends Column { + /** + * @param array $dataSource + * @return array + */ public function prepareDataSource(array $dataSource): array { $dataSource = parent::prepareDataSource($dataSource); diff --git a/src/Ui/Component/Listing/Columns/MessageBody.php b/src/Ui/Component/Listing/Columns/MessageBody.php index 7a44dd4..3d7242a 100644 --- a/src/Ui/Component/Listing/Columns/MessageBody.php +++ b/src/Ui/Component/Listing/Columns/MessageBody.php @@ -8,6 +8,10 @@ class MessageBody extends Column { + /** + * @param array $dataSource + * @return array + */ public function prepareDataSource(array $dataSource): array { if (isset($dataSource['data']['items'])) { diff --git a/src/Validator/QueueConfigurationValidator.php b/src/Validator/QueueConfigurationValidator.php index abe5f53..d543bd7 100644 --- a/src/Validator/QueueConfigurationValidator.php +++ b/src/Validator/QueueConfigurationValidator.php @@ -11,6 +11,7 @@ class QueueConfigurationValidator { /** + * @param array $configValues * @throws InvalidQueueConfigurationException */ public function validate(array $configValues): bool @@ -40,6 +41,7 @@ public function validate(array $configValues): bool } /** + * @param array $configValues * @throws InvalidQueueConfigurationException */ private function performUniqueValidation(array $configValues, string $field, string $name): void From e45fea1742376ae17029ccdb670f0f7b85b8ce0c Mon Sep 17 00:00:00 2001 From: Matthias Walter Date: Fri, 31 Mar 2023 14:01:27 +0200 Subject: [PATCH 2/7] updated PHPStan and included bitexpert/phpstan-magento --- composer.json | 5 +- composer.lock | 620 ++++++++---------- phpstan.neon.dist | 5 + src/Controller/Adminhtml/Message/Download.php | 4 +- .../Adminhtml/Message/MassDelete.php | 6 +- .../Adminhtml/Message/MassRequeue.php | 6 +- src/Model/Config/Backend/QueuesConfig.php | 2 +- src/Repository/Query/FindMessageByIdQuery.php | 4 +- src/Service/HandleQueueFailureService.php | 4 +- 9 files changed, 304 insertions(+), 352 deletions(-) diff --git a/composer.json b/composer.json index c474bd5..3aaa4e2 100644 --- a/composer.json +++ b/composer.json @@ -22,13 +22,14 @@ "require-dev": { "phpunit/phpunit": "~9.5.20", "phpmd/phpmd": "^2.13", - "phpstan/phpstan": "^1.6.8", + "phpstan/phpstan": "^1.10", "squizlabs/php_codesniffer": "~3.7.0", "magento/magento-coding-standard": "*", "phpcompatibility/php-compatibility": "^9.3", "slevomat/coding-standard": "^8.8", "sebastian/phpcpd": "^6.0", - "pdepend/pdepend": "^2.13" + "pdepend/pdepend": "^2.13", + "bitexpert/phpstan-magento": "^0.29.0" }, "repositories": [ { diff --git a/composer.lock b/composer.lock index e68e6cb..64ebdea 100644 --- a/composer.lock +++ b/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": "9d78691ad78f31608f0b6c41d8d9416a", + "content-hash": "9e3b0053939f6607c5999f9e95a97981", "packages": [ { "name": "brick/math", @@ -67,12 +67,12 @@ "version": "v1.14.0", "source": { "type": "git", - "url": "https://github.com/colinmollenhour/credis.git", + "url": "https://github.com/brick/math.git", "reference": "dccc8a46586475075fbb012d8bd523b8a938c2dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/colinmollenhour/credis/zipball/dccc8a46586475075fbb012d8bd523b8a938c2dc", + "url": "https://api.github.com/repos/brick/math/zipball/dccc8a46586475075fbb012d8bd523b8a938c2dc", "reference": "dccc8a46586475075fbb012d8bd523b8a938c2dc", "shasum": "" }, @@ -114,12 +114,12 @@ "version": "v1.5.1", "source": { "type": "git", - "url": "https://github.com/colinmollenhour/php-redis-session-abstract.git", + "url": "https://github.com/brick/math.git", "reference": "3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/colinmollenhour/php-redis-session-abstract/zipball/3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", + "url": "https://api.github.com/repos/brick/math/zipball/3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", "reference": "3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", "shasum": "" }, @@ -158,12 +158,12 @@ "version": "1.3.5", "source": { "type": "git", - "url": "https://github.com/composer/ca-bundle.git", + "url": "https://github.com/brick/math.git", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "url": "https://api.github.com/repos/brick/math/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "shasum": "" }, @@ -234,12 +234,12 @@ "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/composer/class-map-generator.git", + "url": "https://github.com/brick/math.git", "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", + "url": "https://api.github.com/repos/brick/math/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513", "shasum": "" }, @@ -307,12 +307,12 @@ "version": "2.5.5", "source": { "type": "git", - "url": "https://github.com/composer/composer.git", + "url": "https://github.com/brick/math.git", "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/composer/zipball/c7cffaad16a60636a776017eac5bd8cd0095c32f", + "url": "https://api.github.com/repos/brick/math/zipball/c7cffaad16a60636a776017eac5bd8cd0095c32f", "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f", "shasum": "" }, @@ -420,12 +420,12 @@ "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/composer/metadata-minifier.git", + "url": "https://github.com/brick/math.git", "reference": "c549d23829536f0d0e984aaabbf02af91f443207" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", + "url": "https://api.github.com/repos/brick/math/zipball/c549d23829536f0d0e984aaabbf02af91f443207", "reference": "c549d23829536f0d0e984aaabbf02af91f443207", "shasum": "" }, @@ -489,12 +489,12 @@ "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/composer/pcre.git", + "url": "https://github.com/brick/math.git", "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "url": "https://api.github.com/repos/brick/math/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, @@ -560,12 +560,12 @@ "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/composer/semver.git", + "url": "https://github.com/brick/math.git", "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/brick/math/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, @@ -641,12 +641,12 @@ "version": "1.5.7", "source": { "type": "git", - "url": "https://github.com/composer/spdx-licenses.git", + "url": "https://github.com/brick/math.git", "reference": "c848241796da2abf65837d51dce1fae55a960149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/c848241796da2abf65837d51dce1fae55a960149", + "url": "https://api.github.com/repos/brick/math/zipball/c848241796da2abf65837d51dce1fae55a960149", "reference": "c848241796da2abf65837d51dce1fae55a960149", "shasum": "" }, @@ -721,12 +721,12 @@ "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/composer/xdebug-handler.git", + "url": "https://github.com/brick/math.git", "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/brick/math/zipball/ced299686f41dce890debac69273b47ffe98a40c", "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, @@ -787,12 +787,12 @@ "version": "v4.16.0", "source": { "type": "git", - "url": "https://github.com/ezyang/htmlpurifier.git", + "url": "https://github.com/brick/math.git", "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "url": "https://api.github.com/repos/brick/math/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", "shasum": "" }, @@ -848,12 +848,12 @@ "version": "7.5.0", "source": { "type": "git", - "url": "https://github.com/guzzle/guzzle.git", + "url": "https://github.com/brick/math.git", "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/brick/math/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, @@ -976,12 +976,12 @@ "version": "1.5.2", "source": { "type": "git", - "url": "https://github.com/guzzle/promises.git", + "url": "https://github.com/brick/math.git", "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/brick/math/zipball/b94b2807d85443f9719887892882d0329d1e2598", "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, @@ -1060,12 +1060,12 @@ "version": "2.4.4", "source": { "type": "git", - "url": "https://github.com/guzzle/psr7.git", + "url": "https://github.com/brick/math.git", "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "url": "https://api.github.com/repos/brick/math/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "shasum": "" }, @@ -1179,12 +1179,12 @@ "version": "5.2.12", "source": { "type": "git", - "url": "https://github.com/justinrainbow/json-schema.git", + "url": "https://github.com/brick/math.git", "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "url": "https://api.github.com/repos/brick/math/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "shasum": "" }, @@ -1249,12 +1249,12 @@ "version": "2.16.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-captcha.git", + "url": "https://github.com/brick/math.git", "reference": "8623619b1b634ba3672f91a9fb610deffec9c932" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-captcha/zipball/8623619b1b634ba3672f91a9fb610deffec9c932", + "url": "https://api.github.com/repos/brick/math/zipball/8623619b1b634ba3672f91a9fb610deffec9c932", "reference": "8623619b1b634ba3672f91a9fb610deffec9c932", "shasum": "" }, @@ -1316,12 +1316,12 @@ "version": "4.10.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-code.git", + "url": "https://github.com/brick/math.git", "reference": "ad8b36073f9ac792716478befadca0798cc15635" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-code/zipball/ad8b36073f9ac792716478befadca0798cc15635", + "url": "https://api.github.com/repos/brick/math/zipball/ad8b36073f9ac792716478befadca0798cc15635", "reference": "ad8b36073f9ac792716478befadca0798cc15635", "shasum": "" }, @@ -1379,12 +1379,12 @@ "version": "3.8.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-config.git", + "url": "https://github.com/brick/math.git", "reference": "46baad58d0b12cf98539e04334eff40a1fdfb9a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-config/zipball/46baad58d0b12cf98539e04334eff40a1fdfb9a0", + "url": "https://api.github.com/repos/brick/math/zipball/46baad58d0b12cf98539e04334eff40a1fdfb9a0", "reference": "46baad58d0b12cf98539e04334eff40a1fdfb9a0", "shasum": "" }, @@ -1447,12 +1447,12 @@ "version": "3.10.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-crypt.git", + "url": "https://github.com/brick/math.git", "reference": "588375caf4d505fee90d1449e9714c912ceb5051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/588375caf4d505fee90d1449e9714c912ceb5051", + "url": "https://api.github.com/repos/brick/math/zipball/588375caf4d505fee90d1449e9714c912ceb5051", "reference": "588375caf4d505fee90d1449e9714c912ceb5051", "shasum": "" }, @@ -1511,12 +1511,12 @@ "version": "2.17.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-db.git", + "url": "https://github.com/brick/math.git", "reference": "9020ba27ffa4966c03cac743144bfd6716fdab60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-db/zipball/9020ba27ffa4966c03cac743144bfd6716fdab60", + "url": "https://api.github.com/repos/brick/math/zipball/9020ba27ffa4966c03cac743144bfd6716fdab60", "reference": "9020ba27ffa4966c03cac743144bfd6716fdab60", "shasum": "" }, @@ -1582,12 +1582,12 @@ "version": "2.12.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-escaper.git", + "url": "https://github.com/brick/math.git", "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", + "url": "https://api.github.com/repos/brick/math/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "shasum": "" }, @@ -1644,12 +1644,12 @@ "version": "3.10.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-eventmanager.git", + "url": "https://github.com/brick/math.git", "reference": "5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", + "url": "https://api.github.com/repos/brick/math/zipball/5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", "reference": "5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", "shasum": "" }, @@ -1712,12 +1712,12 @@ "version": "2.12.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-file.git", + "url": "https://github.com/brick/math.git", "reference": "9e8ff3a6d7ccaad0865581ef672a7c48260b65d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-file/zipball/9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", + "url": "https://api.github.com/repos/brick/math/zipball/9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", "reference": "9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", "shasum": "" }, @@ -1780,12 +1780,12 @@ "version": "2.31.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-filter.git", + "url": "https://github.com/brick/math.git", "reference": "548a6597d357b0b0b139cc7bffea4dfbc50eb5a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-filter/zipball/548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", + "url": "https://api.github.com/repos/brick/math/zipball/548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", "reference": "548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", "shasum": "" }, @@ -1858,12 +1858,12 @@ "version": "2.18.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-http.git", + "url": "https://github.com/brick/math.git", "reference": "76de9008f889bc7088f85a41d0d2b06c2b59c53d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-http/zipball/76de9008f889bc7088f85a41d0d2b06c2b59c53d", + "url": "https://api.github.com/repos/brick/math/zipball/76de9008f889bc7088f85a41d0d2b06c2b59c53d", "reference": "76de9008f889bc7088f85a41d0d2b06c2b59c53d", "shasum": "" }, @@ -1923,12 +1923,12 @@ "version": "2.22.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-i18n.git", + "url": "https://github.com/brick/math.git", "reference": "fc13d1314941bd9acda3861883cd9139d747f98f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/fc13d1314941bd9acda3861883cd9139d747f98f", + "url": "https://api.github.com/repos/brick/math/zipball/fc13d1314941bd9acda3861883cd9139d747f98f", "reference": "fc13d1314941bd9acda3861883cd9139d747f98f", "shasum": "" }, @@ -2009,12 +2009,12 @@ "version": "2.9.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-loader.git", + "url": "https://github.com/brick/math.git", "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/51ed9c3fa42d1098a9997571730c0cbf42d078d3", + "url": "https://api.github.com/repos/brick/math/zipball/51ed9c3fa42d1098a9997571730c0cbf42d078d3", "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3", "shasum": "" }, @@ -2065,12 +2065,12 @@ "version": "2.22.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-mail.git", + "url": "https://github.com/brick/math.git", "reference": "1d307ff65328c00117c6d90ba0084fdd0fc2bd5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mail/zipball/1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", + "url": "https://api.github.com/repos/brick/math/zipball/1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", "reference": "1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", "shasum": "" }, @@ -2142,12 +2142,12 @@ "version": "3.6.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-math.git", + "url": "https://github.com/brick/math.git", "reference": "5770fc632a3614f5526632a8b70f41b65130460e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-math/zipball/5770fc632a3614f5526632a8b70f41b65130460e", + "url": "https://api.github.com/repos/brick/math/zipball/5770fc632a3614f5526632a8b70f41b65130460e", "reference": "5770fc632a3614f5526632a8b70f41b65130460e", "shasum": "" }, @@ -2209,12 +2209,12 @@ "version": "2.11.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-mime.git", + "url": "https://github.com/brick/math.git", "reference": "60ec04b755821c79c1987ce291b44e69f2c0831f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-mime/zipball/60ec04b755821c79c1987ce291b44e69f2c0831f", + "url": "https://api.github.com/repos/brick/math/zipball/60ec04b755821c79c1987ce291b44e69f2c0831f", "reference": "60ec04b755821c79c1987ce291b44e69f2c0831f", "shasum": "" }, @@ -2270,12 +2270,12 @@ "version": "2.5.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-oauth.git", + "url": "https://github.com/brick/math.git", "reference": "882daa922f3d4f3c1a4282d5c0afeddabefaadb9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-oauth/zipball/882daa922f3d4f3c1a4282d5c0afeddabefaadb9", + "url": "https://api.github.com/repos/brick/math/zipball/882daa922f3d4f3c1a4282d5c0afeddabefaadb9", "reference": "882daa922f3d4f3c1a4282d5c0afeddabefaadb9", "shasum": "" }, @@ -2332,12 +2332,12 @@ "version": "2.14.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-permissions-acl.git", + "url": "https://github.com/brick/math.git", "reference": "86cecb540cf8f2e088d70d8acef1fc9203ed5023" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-permissions-acl/zipball/86cecb540cf8f2e088d70d8acef1fc9203ed5023", + "url": "https://api.github.com/repos/brick/math/zipball/86cecb540cf8f2e088d70d8acef1fc9203ed5023", "reference": "86cecb540cf8f2e088d70d8acef1fc9203ed5023", "shasum": "" }, @@ -2396,12 +2396,12 @@ "version": "3.6.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-recaptcha.git", + "url": "https://github.com/brick/math.git", "reference": "ead14136a0ded44d1a72f4885df0f3333065d919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-recaptcha/zipball/ead14136a0ded44d1a72f4885df0f3333065d919", + "url": "https://api.github.com/repos/brick/math/zipball/ead14136a0ded44d1a72f4885df0f3333065d919", "reference": "ead14136a0ded44d1a72f4885df0f3333065d919", "shasum": "" }, @@ -2462,12 +2462,12 @@ "version": "3.20.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-servicemanager.git", + "url": "https://github.com/brick/math.git", "reference": "bc2c2cbe2dd90db8b9d16b0618f542692b76ab59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", + "url": "https://api.github.com/repos/brick/math/zipball/bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", "reference": "bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", "shasum": "" }, @@ -2552,12 +2552,12 @@ "version": "2.16.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-session.git", + "url": "https://github.com/brick/math.git", "reference": "9c845a0361625d5775cad6f043716196201ad41f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-session/zipball/9c845a0361625d5775cad6f043716196201ad41f", + "url": "https://api.github.com/repos/brick/math/zipball/9c845a0361625d5775cad6f043716196201ad41f", "reference": "9c845a0361625d5775cad6f043716196201ad41f", "shasum": "" }, @@ -2633,12 +2633,12 @@ "version": "3.17.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-stdlib.git", + "url": "https://github.com/brick/math.git", "reference": "dd35c868075bad80b6718959740913e178eb4274" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/dd35c868075bad80b6718959740913e178eb4274", + "url": "https://api.github.com/repos/brick/math/zipball/dd35c868075bad80b6718959740913e178eb4274", "reference": "dd35c868075bad80b6718959740913e178eb4274", "shasum": "" }, @@ -2692,12 +2692,12 @@ "version": "2.10.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-text.git", + "url": "https://github.com/brick/math.git", "reference": "40f7acdb284d41553d32db811e704d6e15e415b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-text/zipball/40f7acdb284d41553d32db811e704d6e15e415b4", + "url": "https://api.github.com/repos/brick/math/zipball/40f7acdb284d41553d32db811e704d6e15e415b4", "reference": "40f7acdb284d41553d32db811e704d6e15e415b4", "shasum": "" }, @@ -2752,12 +2752,12 @@ "version": "2.10.0", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-uri.git", + "url": "https://github.com/brick/math.git", "reference": "663b050294945c7345cc3a61f3ca661d5f9e1f80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-uri/zipball/663b050294945c7345cc3a61f3ca661d5f9e1f80", + "url": "https://api.github.com/repos/brick/math/zipball/663b050294945c7345cc3a61f3ca661d5f9e1f80", "reference": "663b050294945c7345cc3a61f3ca661d5f9e1f80", "shasum": "" }, @@ -2810,12 +2810,12 @@ "version": "2.30.1", "source": { "type": "git", - "url": "https://github.com/laminas/laminas-validator.git", + "url": "https://github.com/brick/math.git", "reference": "b7d217b5e4951955fda9a3a5ada91b717b5c8d5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/laminas/laminas-validator/zipball/b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", + "url": "https://api.github.com/repos/brick/math/zipball/b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", "reference": "b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", "shasum": "" }, @@ -2893,10 +2893,16 @@ { "name": "magento/composer-dependency-version-audit-plugin", "version": "0.1.4", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" + }, "dist": { "type": "zip", - "url": "https://mirror.mage-os.org/packages/magento/composer-dependency-version-audit-plugin-0.1.4.zip", - "shasum": "e74426113ab655c48027ceefd83b6c3446c7ec6d" + "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", + "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", + "shasum": "" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", @@ -2927,10 +2933,16 @@ { "name": "magento/framework", "version": "103.0.6", + "source": { + "type": "git", + "url": "https://github.com/Seldaek/phar-utils.git", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" + }, "dist": { "type": "zip", - "url": "https://mirror.mage-os.org/packages/magento/framework-103.0.6.zip", - "shasum": "37a015261ee926dedf991c4bf0082deb6d702a63" + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "shasum": "" }, "require": { "colinmollenhour/php-redis-session-abstract": "^1.5", @@ -3004,10 +3016,16 @@ { "name": "magento/framework-amqp", "version": "100.4.4", + "source": { + "type": "git", + "url": "https://github.com/brick/math.git", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" + }, "dist": { "type": "zip", - "url": "https://mirror.mage-os.org/packages/magento/framework-amqp-100.4.4.zip", - "shasum": "d15c58ab854fe353a8d346fc311df51a5eea1f42" + "url": "https://api.github.com/repos/brick/math/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", + "shasum": "" }, "require": { "magento/framework": "103.0.*", @@ -3032,10 +3050,16 @@ { "name": "magento/framework-bulk", "version": "101.0.2", + "source": { + "type": "git", + "url": "https://github.com/symfony/polyfill-mbstring.git", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" + }, "dist": { "type": "zip", - "url": "https://mirror.mage-os.org/packages/magento/framework-bulk-101.0.2.zip", - "shasum": "256156fb10285922673c4a1cc8463a47d4233047" + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "shasum": "" }, "require": { "magento/framework": "103.0.*", @@ -3059,10 +3083,16 @@ { "name": "magento/framework-message-queue", "version": "100.4.6", + "source": { + "type": "git", + "url": "https://github.com/tedious/JShrink.git", + "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a" + }, "dist": { "type": "zip", - "url": "https://mirror.mage-os.org/packages/magento/framework-message-queue-100.4.6.zip", - "shasum": "86a0a03b7af9d7b24ecf2ddac770a60aba1ceebc" + "url": "https://api.github.com/repos/tedious/JShrink/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", + "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a", + "shasum": "" }, "require": { "magento/framework": "103.0.*", @@ -3435,8 +3465,7 @@ "OSL-3.0", "AFL-3.0" ], - "description": "N/A", - "abandoned": "magento/inventory-metapackage" + "description": "N/A" }, { "name": "magento/module-catalog-rule", @@ -3777,7 +3806,8 @@ "OSL-3.0", "AFL-3.0" ], - "description": "N/A" + "description": "N/A", + "abandoned": "magento/inventory-composer-metapackage" }, { "name": "magento/module-deploy", @@ -5177,12 +5207,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-cache.git", + "url": "https://github.com/brick/math.git", "reference": "75e6a43f198b17ea4b0c3f46b700b7a757eba84d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-cache/zipball/75e6a43f198b17ea4b0c3f46b700b7a757eba84d", + "url": "https://api.github.com/repos/brick/math/zipball/75e6a43f198b17ea4b0c3f46b700b7a757eba84d", "reference": "75e6a43f198b17ea4b0c3f46b700b7a757eba84d", "shasum": "" }, @@ -5229,12 +5259,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-db.git", + "url": "https://github.com/brick/math.git", "reference": "def36bc00e49cf0056a59192e52f2e83077b933c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-db/zipball/def36bc00e49cf0056a59192e52f2e83077b933c", + "url": "https://api.github.com/repos/brick/math/zipball/def36bc00e49cf0056a59192e52f2e83077b933c", "reference": "def36bc00e49cf0056a59192e52f2e83077b933c", "shasum": "" }, @@ -5281,12 +5311,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-exception.git", + "url": "https://github.com/brick/math.git", "reference": "5219ba961e36dc1a713da3ad4f1594a87c71f758" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-exception/zipball/5219ba961e36dc1a713da3ad4f1594a87c71f758", + "url": "https://api.github.com/repos/brick/math/zipball/5219ba961e36dc1a713da3ad4f1594a87c71f758", "reference": "5219ba961e36dc1a713da3ad4f1594a87c71f758", "shasum": "" }, @@ -5331,12 +5361,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-loader.git", + "url": "https://github.com/brick/math.git", "reference": "200786c8009d668917a42250ed72ebf8c4c958d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-loader/zipball/200786c8009d668917a42250ed72ebf8c4c958d2", + "url": "https://api.github.com/repos/brick/math/zipball/200786c8009d668917a42250ed72ebf8c4c958d2", "reference": "200786c8009d668917a42250ed72ebf8c4c958d2", "shasum": "" }, @@ -5382,12 +5412,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-log.git", + "url": "https://github.com/brick/math.git", "reference": "c03b9febe92c501288cf441d41b49cd01f1e8a50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-log/zipball/c03b9febe92c501288cf441d41b49cd01f1e8a50", + "url": "https://api.github.com/repos/brick/math/zipball/c03b9febe92c501288cf441d41b49cd01f1e8a50", "reference": "c03b9febe92c501288cf441d41b49cd01f1e8a50", "shasum": "" }, @@ -5433,12 +5463,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-memory.git", + "url": "https://github.com/brick/math.git", "reference": "0d48804c6718cc9f15e5c356e6192fd6fff8932b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-memory/zipball/0d48804c6718cc9f15e5c356e6192fd6fff8932b", + "url": "https://api.github.com/repos/brick/math/zipball/0d48804c6718cc9f15e5c356e6192fd6fff8932b", "reference": "0d48804c6718cc9f15e5c356e6192fd6fff8932b", "shasum": "" }, @@ -5485,12 +5515,12 @@ "version": "1.16.2", "source": { "type": "git", - "url": "https://github.com/magento/magento-zend-pdf.git", + "url": "https://github.com/brick/math.git", "reference": "120ad9e854231431e3a5837f00158a91885b3fbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/magento/magento-zend-pdf/zipball/120ad9e854231431e3a5837f00158a91885b3fbe", + "url": "https://api.github.com/repos/brick/math/zipball/120ad9e854231431e3a5837f00158a91885b3fbe", "reference": "120ad9e854231431e3a5837f00158a91885b3fbe", "shasum": "" }, @@ -5542,12 +5572,12 @@ "version": "2.9.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", + "url": "https://github.com/brick/math.git", "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", + "url": "https://api.github.com/repos/brick/math/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "shasum": "" }, @@ -5644,12 +5674,12 @@ "version": "v2.6.3", "source": { "type": "git", - "url": "https://github.com/paragonie/constant_time_encoding.git", + "url": "https://github.com/brick/math.git", "reference": "58c3f47f650c94ec05a151692652a868995d2938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", + "url": "https://api.github.com/repos/brick/math/zipball/58c3f47f650c94ec05a151692652a868995d2938", "reference": "58c3f47f650c94ec05a151692652a868995d2938", "shasum": "" }, @@ -5711,12 +5741,12 @@ "version": "v9.99.100", "source": { "type": "git", - "url": "https://github.com/paragonie/random_compat.git", + "url": "https://github.com/brick/math.git", "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "url": "https://api.github.com/repos/brick/math/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", "shasum": "" }, @@ -5761,12 +5791,12 @@ "version": "v3.2.0", "source": { "type": "git", - "url": "https://github.com/php-amqplib/php-amqplib.git", + "url": "https://github.com/brick/math.git", "reference": "0bec5b392428e0ac3b3f34fbc4e02d706995833e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/0bec5b392428e0ac3b3f34fbc4e02d706995833e", + "url": "https://api.github.com/repos/brick/math/zipball/0bec5b392428e0ac3b3f34fbc4e02d706995833e", "reference": "0bec5b392428e0ac3b3f34fbc4e02d706995833e", "shasum": "" }, @@ -5831,10 +5861,6 @@ "queue", "rabbitmq" ], - "support": { - "issues": "https://github.com/php-amqplib/php-amqplib/issues", - "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.2.0" - }, "time": "2022-03-10T19:16:00+00:00" }, { @@ -5842,12 +5868,12 @@ "version": "3.0.19", "source": { "type": "git", - "url": "https://github.com/phpseclib/phpseclib.git", + "url": "https://github.com/brick/math.git", "reference": "cc181005cf548bfd8a4896383bb825d859259f95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cc181005cf548bfd8a4896383bb825d859259f95", + "url": "https://api.github.com/repos/brick/math/zipball/cc181005cf548bfd8a4896383bb825d859259f95", "reference": "cc181005cf548bfd8a4896383bb825d859259f95", "shasum": "" }, @@ -5952,12 +5978,12 @@ "version": "1.1.2", "source": { "type": "git", - "url": "https://github.com/php-fig/container.git", + "url": "https://github.com/brick/math.git", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/brick/math/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, @@ -6000,12 +6026,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/http-client.git", + "url": "https://github.com/brick/math.git", "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/brick/math/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "shasum": "" }, @@ -6052,12 +6078,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/http-factory.git", + "url": "https://github.com/brick/math.git", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/brick/math/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "shasum": "" }, @@ -6107,12 +6133,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/php-fig/http-message.git", + "url": "https://github.com/brick/math.git", "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/brick/math/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, @@ -6160,12 +6186,12 @@ "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", + "url": "https://github.com/brick/math.git", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "url": "https://api.github.com/repos/brick/math/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "shasum": "" }, @@ -6210,12 +6236,12 @@ "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/ralouphie/getallheaders.git", + "url": "https://github.com/brick/math.git", "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", + "url": "https://api.github.com/repos/brick/math/zipball/120b605dfeb996808c31b6477290a714d356e822", "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, @@ -6254,12 +6280,12 @@ "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/ramsey/collection.git", + "url": "https://github.com/brick/math.git", "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "url": "https://api.github.com/repos/brick/math/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "shasum": "" }, @@ -6343,12 +6369,12 @@ "version": "4.7.3", "source": { "type": "git", - "url": "https://github.com/ramsey/uuid.git", + "url": "https://github.com/brick/math.git", "reference": "433b2014e3979047db08a17a205f410ba3869cf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2", + "url": "https://api.github.com/repos/brick/math/zipball/433b2014e3979047db08a17a205f410ba3869cf2", "reference": "433b2014e3979047db08a17a205f410ba3869cf2", "shasum": "" }, @@ -6435,12 +6461,12 @@ "version": "v2.9.0", "source": { "type": "git", - "url": "https://github.com/reactphp/promise.git", + "url": "https://github.com/brick/math.git", "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", + "url": "https://api.github.com/repos/brick/math/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910", "shasum": "" }, @@ -6511,12 +6537,12 @@ "version": "1.9.0", "source": { "type": "git", - "url": "https://github.com/Seldaek/jsonlint.git", + "url": "https://github.com/brick/math.git", "reference": "4211420d25eba80712bff236a98960ef68b866b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/4211420d25eba80712bff236a98960ef68b866b7", + "url": "https://api.github.com/repos/brick/math/zipball/4211420d25eba80712bff236a98960ef68b866b7", "reference": "4211420d25eba80712bff236a98960ef68b866b7", "shasum": "" }, @@ -6575,12 +6601,12 @@ "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", + "url": "https://github.com/brick/math.git", "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "url": "https://api.github.com/repos/brick/math/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "shasum": "" }, @@ -6623,12 +6649,12 @@ "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/signal-handler.git", + "url": "https://github.com/brick/math.git", "reference": "f69d119511dc0360440cdbdaa71829c149b7be75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", + "url": "https://api.github.com/repos/brick/math/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", "reference": "f69d119511dc0360440cdbdaa71829c149b7be75", "shasum": "" }, @@ -6684,12 +6710,12 @@ "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/console.git", + "url": "https://github.com/brick/math.git", "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/console/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9", + "url": "https://api.github.com/repos/brick/math/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9", "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9", "shasum": "" }, @@ -6783,12 +6809,12 @@ "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/symfony/deprecation-contracts.git", + "url": "https://github.com/brick/math.git", "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "url": "https://api.github.com/repos/brick/math/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, @@ -6850,12 +6876,12 @@ "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/symfony/filesystem.git", + "url": "https://github.com/brick/math.git", "reference": "82b6c62b959f642d000456f08c6d219d749215b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", + "url": "https://api.github.com/repos/brick/math/zipball/82b6c62b959f642d000456f08c6d219d749215b3", "reference": "82b6c62b959f642d000456f08c6d219d749215b3", "shasum": "" }, @@ -6913,12 +6939,12 @@ "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/symfony/finder.git", + "url": "https://github.com/brick/math.git", "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/finder/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", + "url": "https://api.github.com/repos/brick/math/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb", "shasum": "" }, @@ -6977,12 +7003,12 @@ "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/intl.git", + "url": "https://github.com/brick/math.git", "reference": "32c2d958b88f5c7f0b080774d7d15d4c87769bc8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/intl/zipball/32c2d958b88f5c7f0b080774d7d15d4c87769bc8", + "url": "https://api.github.com/repos/brick/math/zipball/32c2d958b88f5c7f0b080774d7d15d4c87769bc8", "reference": "32c2d958b88f5c7f0b080774d7d15d4c87769bc8", "shasum": "" }, @@ -7065,12 +7091,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-ctype.git", + "url": "https://github.com/brick/math.git", "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/brick/math/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, @@ -7147,12 +7173,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-grapheme.git", + "url": "https://github.com/brick/math.git", "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/brick/math/zipball/511a08c03c1960e08a883f4cffcacd219b758354", "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, @@ -7228,12 +7254,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-idn.git", + "url": "https://github.com/brick/math.git", "reference": "639084e360537a19f9ee352433b84ce831f3d2da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", + "url": "https://api.github.com/repos/brick/math/zipball/639084e360537a19f9ee352433b84ce831f3d2da", "reference": "639084e360537a19f9ee352433b84ce831f3d2da", "shasum": "" }, @@ -7315,12 +7341,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-intl-normalizer.git", + "url": "https://github.com/brick/math.git", "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/brick/math/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, @@ -7399,12 +7425,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", + "url": "https://github.com/brick/math.git", "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/brick/math/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, @@ -7482,12 +7508,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php72.git", + "url": "https://github.com/brick/math.git", "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", + "url": "https://api.github.com/repos/brick/math/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", "shasum": "" }, @@ -7558,12 +7584,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php73.git", + "url": "https://github.com/brick/math.git", "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "url": "https://api.github.com/repos/brick/math/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "shasum": "" }, @@ -7637,12 +7663,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php80.git", + "url": "https://github.com/brick/math.git", "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/brick/math/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, @@ -7720,12 +7746,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/symfony/polyfill-php81.git", + "url": "https://github.com/brick/math.git", "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "url": "https://api.github.com/repos/brick/math/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, @@ -7799,12 +7825,12 @@ "version": "v5.4.21", "source": { "type": "git", - "url": "https://github.com/symfony/process.git", + "url": "https://github.com/brick/math.git", "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/process/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", + "url": "https://api.github.com/repos/brick/math/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", "shasum": "" }, @@ -7861,12 +7887,12 @@ "version": "v2.5.2", "source": { "type": "git", - "url": "https://github.com/symfony/service-contracts.git", + "url": "https://github.com/brick/math.git", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/brick/math/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "" }, @@ -7944,12 +7970,12 @@ "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/symfony/string.git", + "url": "https://github.com/brick/math.git", "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/string/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", + "url": "https://api.github.com/repos/brick/math/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", "shasum": "" }, @@ -8030,12 +8056,12 @@ "version": "v1.6.5", "source": { "type": "git", - "url": "https://github.com/tedious/JShrink.git", + "url": "https://github.com/brick/math.git", "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tedious/JShrink/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", + "url": "https://api.github.com/repos/brick/math/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a", "shasum": "" }, @@ -8090,12 +8116,12 @@ "version": "1.11.0", "source": { "type": "git", - "url": "https://github.com/webmozarts/assert.git", + "url": "https://github.com/brick/math.git", "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "url": "https://api.github.com/repos/brick/math/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, @@ -8148,12 +8174,12 @@ "version": "v15.2.4", "source": { "type": "git", - "url": "https://github.com/webonyx/graphql-php.git", + "url": "https://github.com/brick/math.git", "reference": "ac27a8692622ac13e72a6fe354027cc81ef31a6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/ac27a8692622ac13e72a6fe354027cc81ef31a6e", + "url": "https://api.github.com/repos/brick/math/zipball/ac27a8692622ac13e72a6fe354027cc81ef31a6e", "reference": "ac27a8692622ac13e72a6fe354027cc81ef31a6e", "shasum": "" }, @@ -8221,12 +8247,12 @@ "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/wikimedia/less.php.git", + "url": "https://github.com/brick/math.git", "reference": "0d5b30ba792bdbf8991a646fc9c30561b38a5559" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/wikimedia/less.php/zipball/0d5b30ba792bdbf8991a646fc9c30561b38a5559", + "url": "https://api.github.com/repos/brick/math/zipball/0d5b30ba792bdbf8991a646fc9c30561b38a5559", "reference": "0d5b30ba792bdbf8991a646fc9c30561b38a5559", "shasum": "" }, @@ -8293,6 +8319,76 @@ } ], "packages-dev": [ + { + "name": "bitexpert/phpstan-magento", + "version": "v0.29.0", + "source": { + "type": "git", + "url": "https://github.com/bitExpert/phpstan-magento.git", + "reference": "61a22ddc30e6149957315dceb3a13396f76e1612" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/bitExpert/phpstan-magento/zipball/61a22ddc30e6149957315dceb3a13396f76e1612", + "reference": "61a22ddc30e6149957315dceb3a13396f76e1612", + "shasum": "" + }, + "require": { + "ext-dom": "*", + "laminas/laminas-code": "~3.3.0 || ~3.4.1 || ~3.5.1 || ^4.5", + "php": "^7.2.0 || ^8.1.0", + "phpstan/phpstan": "~1.10.3", + "symfony/finder": "^3.0 || ^4.0 || ^5.0 || ^6.0" + }, + "conflict": { + "magento/framework": "<102.0.0" + }, + "require-dev": { + "captainhook/captainhook": "^5.10.9", + "captainhook/plugin-composer": "^5.3.3", + "league/commonmark": "^2.3.1", + "madewithlove/license-checker": "^0.10.0 || ^1.4", + "magento/framework": ">=102.0.0", + "mikey179/vfsstream": "^1.6.10", + "nette/neon": "^3.3.3", + "nikic/php-parser": "^4.13.2", + "phpstan/extension-installer": "^1.1.0", + "phpstan/phpstan-phpunit": "^1.1.1", + "phpstan/phpstan-strict-rules": "^1.2.3", + "phpunit/phpunit": "^9.5.20", + "squizlabs/php_codesniffer": "^3.6.2" + }, + "type": "phpstan-extension", + "extra": { + "phpstan": { + "includes": [ + "extension.neon" + ] + } + }, + "autoload": { + "psr-4": { + "bitExpert\\PHPStan\\": "src/bitExpert/PHPStan" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Stephan Hochdörfer", + "email": "S.Hochdoerfer@bitExpert.de", + "homepage": "http://www.bitExpert.de" + } + ], + "description": "PHPStan Magento Extension", + "support": { + "issues": "https://github.com/bitExpert/phpstan-magento/issues", + "source": "https://github.com/bitExpert/phpstan-magento/tree/v0.29.0" + }, + "time": "2023-02-28T07:41:16+00:00" + }, { "name": "dealerdirect/phpcodesniffer-composer-installer", "version": "v1.0.0", @@ -8365,10 +8461,6 @@ "stylecheck", "tests" ], - "support": { - "issues": "https://github.com/PHPCSStandards/composer-installer/issues", - "source": "https://github.com/PHPCSStandards/composer-installer" - }, "time": "2023-01-05T11:28:13+00:00" }, { @@ -8421,10 +8513,6 @@ "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", @@ -8483,10 +8571,6 @@ "AFL-3.0" ], "description": "A set of Magento specific PHP CodeSniffer rules.", - "support": { - "issues": "https://github.com/magento/magento-coding-standard/issues", - "source": "https://github.com/magento/magento-coding-standard/tree/v31" - }, "time": "2023-02-01T15:38:47+00:00" }, { @@ -8649,10 +8733,6 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", - "support": { - "issues": "https://github.com/pdepend/pdepend/issues", - "source": "https://github.com/pdepend/pdepend/tree/2.13.0" - }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", @@ -8828,10 +8908,6 @@ "phpcs", "standards" ], - "support": { - "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", - "source": "https://github.com/PHPCompatibility/PHPCompatibility" - }, "time": "2019-12-27T09:44:58+00:00" }, { @@ -8904,11 +8980,6 @@ "phpmd", "pmd" ], - "support": { - "irc": "irc://irc.freenode.org/phpmd", - "issues": "https://github.com/phpmd/phpmd/issues", - "source": "https://github.com/phpmd/phpmd/tree/2.13.0" - }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", @@ -8956,10 +9027,6 @@ "MIT" ], "description": "PHPDoc parser with support for nullable, intersection and generic types", - "support": { - "issues": "https://github.com/phpstan/phpdoc-parser/issues", - "source": "https://github.com/phpstan/phpdoc-parser/tree/1.16.1" - }, "time": "2023-02-07T18:11:17+00:00" }, { @@ -9001,13 +9068,6 @@ "dev", "static analysis" ], - "support": { - "docs": "https://phpstan.org/user-guide/getting-started", - "forum": "https://github.com/phpstan/phpstan/discussions", - "issues": "https://github.com/phpstan/phpstan/issues", - "security": "https://github.com/phpstan/phpstan/security/policy", - "source": "https://github.com/phpstan/phpstan-src" - }, "funding": [ { "url": "https://github.com/ondrejmirtes", @@ -9089,10 +9149,6 @@ "testing", "xunit" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", - "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9149,10 +9205,6 @@ "filesystem", "iterator" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", - "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9212,10 +9264,6 @@ "keywords": [ "process" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-invoker/issues", - "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9271,10 +9319,6 @@ "keywords": [ "template" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-text-template/issues", - "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9330,10 +9374,6 @@ "keywords": [ "timer" ], - "support": { - "issues": "https://github.com/sebastianbergmann/php-timer/issues", - "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9424,10 +9464,6 @@ "testing", "xunit" ], - "support": { - "issues": "https://github.com/sebastianbergmann/phpunit/issues", - "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.28" - }, "funding": [ { "url": "https://phpunit.de/sponsors.html", @@ -9493,10 +9529,6 @@ "migration", "refactoring" ], - "support": { - "issues": "https://github.com/rectorphp/rector/issues", - "source": "https://github.com/rectorphp/rector/tree/0.15.23" - }, "funding": [ { "url": "https://github.com/tomasvotruba", @@ -9549,10 +9581,6 @@ ], "description": "Library for parsing CLI options", "homepage": "https://github.com/sebastianbergmann/cli-parser", - "support": { - "issues": "https://github.com/sebastianbergmann/cli-parser/issues", - "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9605,10 +9633,6 @@ ], "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://github.com/sebastianbergmann", @@ -9660,10 +9684,6 @@ ], "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", @@ -9734,10 +9754,6 @@ "compare", "equality" ], - "support": { - "issues": "https://github.com/sebastianbergmann/comparator/issues", - "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9791,10 +9807,6 @@ ], "description": "Library for calculating the complexity of PHP code units", "homepage": "https://github.com/sebastianbergmann/complexity", - "support": { - "issues": "https://github.com/sebastianbergmann/complexity/issues", - "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9857,10 +9869,6 @@ "unidiff", "unified diff" ], - "support": { - "issues": "https://github.com/sebastianbergmann/diff/issues", - "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9920,10 +9928,6 @@ "environment", "hhvm" ], - "support": { - "issues": "https://github.com/sebastianbergmann/environment/issues", - "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9997,10 +10001,6 @@ "export", "exporter" ], - "support": { - "issues": "https://github.com/sebastianbergmann/exporter/issues", - "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10061,10 +10061,6 @@ "keywords": [ "global state" ], - "support": { - "issues": "https://github.com/sebastianbergmann/global-state/issues", - "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10118,10 +10114,6 @@ ], "description": "Library for counting the lines of code in PHP source code", "homepage": "https://github.com/sebastianbergmann/lines-of-code", - "support": { - "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", - "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10175,10 +10167,6 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", - "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10230,10 +10218,6 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", - "support": { - "issues": "https://github.com/sebastianbergmann/object-reflector/issues", - "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10291,10 +10275,6 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", - "support": { - "issues": "https://github.com/sebastianbergmann/phpcpd/issues", - "source": "https://github.com/sebastianbergmann/phpcpd/tree/6.0.3" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10355,10 +10335,6 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "https://github.com/sebastianbergmann/recursion-context", - "support": { - "issues": "https://github.com/sebastianbergmann/recursion-context/issues", - "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10410,10 +10386,6 @@ ], "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/resource-operations/issues", - "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10466,10 +10438,6 @@ ], "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/type/issues", - "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10519,10 +10487,6 @@ ], "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/sebastianbergmann/version/issues", - "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" - }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10580,10 +10544,6 @@ "dev", "phpcs" ], - "support": { - "issues": "https://github.com/slevomat/coding-standard/issues", - "source": "https://github.com/slevomat/coding-standard/tree/8.9.1" - }, "funding": [ { "url": "https://github.com/kukulich", @@ -10646,11 +10606,6 @@ "standards", "static analysis" ], - "support": { - "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", - "source": "https://github.com/squizlabs/PHP_CodeSniffer", - "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" - }, "time": "2023-02-22T23:07:41+00:00" }, { @@ -10711,9 +10666,6 @@ ], "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/config/tree/v6.2.7" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10798,9 +10750,6 @@ ], "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", - "support": { - "source": "https://github.com/symfony/dependency-injection/tree/v6.2.7" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10872,9 +10821,6 @@ "proxy", "serialize" ], - "support": { - "source": "https://github.com/symfony/var-exporter/tree/v6.2.7" - }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10951,5 +10897,5 @@ "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.2.0" } diff --git a/phpstan.neon.dist b/phpstan.neon.dist index 30ba6b7..efd7f43 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -6,3 +6,8 @@ parameters: analyseAndScan: - src/Test - src/Queue/Consumer.php + ignoreErrors: + - '#Method .*construct\(\) has parameter \$data with no value type specified in iterable type array#' + +includes: + - vendor/bitexpert/phpstan-magento/extension.neon diff --git a/src/Controller/Adminhtml/Message/Download.php b/src/Controller/Adminhtml/Message/Download.php index ac46dfd..6199635 100644 --- a/src/Controller/Adminhtml/Message/Download.php +++ b/src/Controller/Adminhtml/Message/Download.php @@ -20,7 +20,7 @@ class Download extends Action public function __construct( Context $context, private MessageRepository $messageRepository, - private RawFactory $rawFactory, // @phpstan-ignore-line + private RawFactory $rawFactory, private MessageToRawResponseMapper $messageToRawResponseMapper ) { parent::__construct($context); @@ -34,7 +34,7 @@ public function execute(): RawResponse { $messageId = (int)$this->getRequest()->getParam('message_id'); $message = $this->messageRepository->findById($messageId); - $rawResponse = $this->rawFactory->create(); // @phpstan-ignore-line + $rawResponse = $this->rawFactory->create(); $this->messageToRawResponseMapper->map($message, $rawResponse); return $rawResponse; diff --git a/src/Controller/Adminhtml/Message/MassDelete.php b/src/Controller/Adminhtml/Message/MassDelete.php index 147aebf..008e0f1 100644 --- a/src/Controller/Adminhtml/Message/MassDelete.php +++ b/src/Controller/Adminhtml/Message/MassDelete.php @@ -10,7 +10,7 @@ use Magento\Framework\Controller\Result\RedirectFactory; use Magento\Ui\Component\MassAction\Filter; use RunAsRoot\MessageQueueRetry\Model\Message; -use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; +use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollectionFactory; use RunAsRoot\MessageQueueRetry\Repository\MessageRepository; class MassDelete extends Action @@ -21,7 +21,7 @@ public function __construct( Context $context, private MessageRepository $messageRepository, private RedirectFactory $redirectFactory, - private CollectionFactory $collectionFactory, // @phpstan-ignore-line + private MessageCollectionFactory $collectionFactory, private Filter $filter ) { parent::__construct($context); @@ -32,7 +32,7 @@ public function execute(): Redirect $redirect = $this->redirectFactory->create(); try { - $collection = $this->filter->getCollection($this->collectionFactory->create()); // @phpstan-ignore-line + $collection = $this->filter->getCollection($this->collectionFactory->create()); foreach ($collection->getItems() as $message) { if (!$message instanceof Message) { diff --git a/src/Controller/Adminhtml/Message/MassRequeue.php b/src/Controller/Adminhtml/Message/MassRequeue.php index 8baa542..e27e58e 100644 --- a/src/Controller/Adminhtml/Message/MassRequeue.php +++ b/src/Controller/Adminhtml/Message/MassRequeue.php @@ -10,7 +10,7 @@ use Magento\Framework\Controller\Result\RedirectFactory; use Magento\Ui\Component\MassAction\Filter; use RunAsRoot\MessageQueueRetry\Model\Message; -use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; +use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollectionFactory; use RunAsRoot\MessageQueueRetry\Service\PublishMessageToQueueService; class MassRequeue extends Action @@ -21,7 +21,7 @@ public function __construct( Context $context, private PublishMessageToQueueService $publishMessageToQueueService, private RedirectFactory $redirectFactory, - private CollectionFactory $collectionFactory, // @phpstan-ignore-line + private MessageCollectionFactory $collectionFactory, private Filter $filter ) { parent::__construct($context); @@ -32,7 +32,7 @@ public function execute(): Redirect $redirect = $this->redirectFactory->create(); try { - $collection = $this->filter->getCollection($this->collectionFactory->create()); // @phpstan-ignore-line + $collection = $this->filter->getCollection($this->collectionFactory->create()); foreach ($collection->getItems() as $message) { if (!$message instanceof Message) { diff --git a/src/Model/Config/Backend/QueuesConfig.php b/src/Model/Config/Backend/QueuesConfig.php index 923988f..223df22 100644 --- a/src/Model/Config/Backend/QueuesConfig.php +++ b/src/Model/Config/Backend/QueuesConfig.php @@ -17,7 +17,7 @@ class QueuesConfig extends ArraySerialized { - public function __construct( // @phpstan-ignore-line + public function __construct( Context $context, Registry $registry, ScopeConfigInterface $config, diff --git a/src/Repository/Query/FindMessageByIdQuery.php b/src/Repository/Query/FindMessageByIdQuery.php index 2440fc8..4ed3cec 100644 --- a/src/Repository/Query/FindMessageByIdQuery.php +++ b/src/Repository/Query/FindMessageByIdQuery.php @@ -13,7 +13,7 @@ class FindMessageByIdQuery { public function __construct( private ResourceModel $resourceModel, - private ModelFactory $modelFactory // @phpstan-ignore-line + private ModelFactory $modelFactory ) { } @@ -22,7 +22,7 @@ public function __construct( */ public function execute(int $entityId): Message { - $model = $this->modelFactory->create(); // @phpstan-ignore-line + $model = $this->modelFactory->create(); $this->resourceModel->load($model, $entityId); if (!$model->getId()) { diff --git a/src/Service/HandleQueueFailureService.php b/src/Service/HandleQueueFailureService.php index 4c85b01..ab66c24 100644 --- a/src/Service/HandleQueueFailureService.php +++ b/src/Service/HandleQueueFailureService.php @@ -19,7 +19,7 @@ class HandleQueueFailureService { public function __construct( private MessageQueueRetryConfig $messageQueueRetryConfig, - private MessageFactory $messageFactory, // @phpstan-ignore-line + private MessageFactory $messageFactory, private MessageRepository $messageRepository ) { } @@ -65,7 +65,7 @@ public function execute(QueueInterface $queue, EnvelopeInterface $message, Excep if ($totalRetries >= $retryLimit) { // If message reaches the retry limit, then it is moved to the run_as_root_message table - $messageModel = $this->messageFactory->create(); // @phpstan-ignore-line + $messageModel = $this->messageFactory->create(); $messageModel->setTopicName($topicName); $messageModel->setMessageBody($message->getBody()); $messageModel->setFailureDescription($exception->getMessage()); From 3b046c92b0fa5fc64410975d2c7b38a71b855b6c Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Fri, 31 Mar 2023 09:48:44 -0300 Subject: [PATCH 3/7] Composer lock file changes --- composer.lock | 620 ++++++++++++++++++++++++++++++-------------------- 1 file changed, 372 insertions(+), 248 deletions(-) diff --git a/composer.lock b/composer.lock index 64ebdea..c119f77 100644 --- a/composer.lock +++ b/composer.lock @@ -67,12 +67,12 @@ "version": "v1.14.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/colinmollenhour/credis.git", "reference": "dccc8a46586475075fbb012d8bd523b8a938c2dc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/dccc8a46586475075fbb012d8bd523b8a938c2dc", + "url": "https://api.github.com/repos/colinmollenhour/credis/zipball/dccc8a46586475075fbb012d8bd523b8a938c2dc", "reference": "dccc8a46586475075fbb012d8bd523b8a938c2dc", "shasum": "" }, @@ -114,12 +114,12 @@ "version": "v1.5.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/colinmollenhour/php-redis-session-abstract.git", "reference": "3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", + "url": "https://api.github.com/repos/colinmollenhour/php-redis-session-abstract/zipball/3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", "reference": "3df52a7247a97fb4ec5bddfb731d1a6cddb5ef99", "shasum": "" }, @@ -158,12 +158,12 @@ "version": "1.3.5", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/ca-bundle.git", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", + "url": "https://api.github.com/repos/composer/ca-bundle/zipball/74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "reference": "74780ccf8c19d6acb8d65c5f39cd72110e132bbd", "shasum": "" }, @@ -234,12 +234,12 @@ "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/class-map-generator.git", "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", + "url": "https://api.github.com/repos/composer/class-map-generator/zipball/1e1cb2b791facb2dfe32932a7718cf2571187513", "reference": "1e1cb2b791facb2dfe32932a7718cf2571187513", "shasum": "" }, @@ -307,12 +307,12 @@ "version": "2.5.5", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/composer.git", "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/c7cffaad16a60636a776017eac5bd8cd0095c32f", + "url": "https://api.github.com/repos/composer/composer/zipball/c7cffaad16a60636a776017eac5bd8cd0095c32f", "reference": "c7cffaad16a60636a776017eac5bd8cd0095c32f", "shasum": "" }, @@ -420,12 +420,12 @@ "version": "1.0.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/metadata-minifier.git", "reference": "c549d23829536f0d0e984aaabbf02af91f443207" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/c549d23829536f0d0e984aaabbf02af91f443207", + "url": "https://api.github.com/repos/composer/metadata-minifier/zipball/c549d23829536f0d0e984aaabbf02af91f443207", "reference": "c549d23829536f0d0e984aaabbf02af91f443207", "shasum": "" }, @@ -489,12 +489,12 @@ "version": "3.1.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/pcre.git", "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", + "url": "https://api.github.com/repos/composer/pcre/zipball/4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "reference": "4bff79ddd77851fe3cdd11616ed3f92841ba5bd2", "shasum": "" }, @@ -560,12 +560,12 @@ "version": "3.3.2", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/semver.git", "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", + "url": "https://api.github.com/repos/composer/semver/zipball/3953f23262f2bff1919fc82183ad9acb13ff62c9", "reference": "3953f23262f2bff1919fc82183ad9acb13ff62c9", "shasum": "" }, @@ -641,12 +641,12 @@ "version": "1.5.7", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/spdx-licenses.git", "reference": "c848241796da2abf65837d51dce1fae55a960149" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/c848241796da2abf65837d51dce1fae55a960149", + "url": "https://api.github.com/repos/composer/spdx-licenses/zipball/c848241796da2abf65837d51dce1fae55a960149", "reference": "c848241796da2abf65837d51dce1fae55a960149", "shasum": "" }, @@ -721,12 +721,12 @@ "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/composer/xdebug-handler.git", "reference": "ced299686f41dce890debac69273b47ffe98a40c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ced299686f41dce890debac69273b47ffe98a40c", + "url": "https://api.github.com/repos/composer/xdebug-handler/zipball/ced299686f41dce890debac69273b47ffe98a40c", "reference": "ced299686f41dce890debac69273b47ffe98a40c", "shasum": "" }, @@ -787,12 +787,12 @@ "version": "v4.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/ezyang/htmlpurifier.git", "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", + "url": "https://api.github.com/repos/ezyang/htmlpurifier/zipball/523407fb06eb9e5f3d59889b3978d5bfe94299c8", "reference": "523407fb06eb9e5f3d59889b3978d5bfe94299c8", "shasum": "" }, @@ -848,12 +848,12 @@ "version": "7.5.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/guzzle/guzzle.git", "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", + "url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", "reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "shasum": "" }, @@ -976,12 +976,12 @@ "version": "1.5.2", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/guzzle/promises.git", "reference": "b94b2807d85443f9719887892882d0329d1e2598" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/b94b2807d85443f9719887892882d0329d1e2598", + "url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", "reference": "b94b2807d85443f9719887892882d0329d1e2598", "shasum": "" }, @@ -1060,12 +1060,12 @@ "version": "2.4.4", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/guzzle/psr7.git", "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", + "url": "https://api.github.com/repos/guzzle/psr7/zipball/3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "reference": "3cf1b6d4f0c820a2cf8bcaec39fc698f3443b5cf", "shasum": "" }, @@ -1179,12 +1179,12 @@ "version": "5.2.12", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/justinrainbow/json-schema.git", "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", + "url": "https://api.github.com/repos/justinrainbow/json-schema/zipball/ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "reference": "ad87d5a5ca981228e0e205c2bc7dfb8e24559b60", "shasum": "" }, @@ -1249,12 +1249,12 @@ "version": "2.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-captcha.git", "reference": "8623619b1b634ba3672f91a9fb610deffec9c932" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/8623619b1b634ba3672f91a9fb610deffec9c932", + "url": "https://api.github.com/repos/laminas/laminas-captcha/zipball/8623619b1b634ba3672f91a9fb610deffec9c932", "reference": "8623619b1b634ba3672f91a9fb610deffec9c932", "shasum": "" }, @@ -1316,12 +1316,12 @@ "version": "4.10.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-code.git", "reference": "ad8b36073f9ac792716478befadca0798cc15635" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ad8b36073f9ac792716478befadca0798cc15635", + "url": "https://api.github.com/repos/laminas/laminas-code/zipball/ad8b36073f9ac792716478befadca0798cc15635", "reference": "ad8b36073f9ac792716478befadca0798cc15635", "shasum": "" }, @@ -1379,12 +1379,12 @@ "version": "3.8.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-config.git", "reference": "46baad58d0b12cf98539e04334eff40a1fdfb9a0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/46baad58d0b12cf98539e04334eff40a1fdfb9a0", + "url": "https://api.github.com/repos/laminas/laminas-config/zipball/46baad58d0b12cf98539e04334eff40a1fdfb9a0", "reference": "46baad58d0b12cf98539e04334eff40a1fdfb9a0", "shasum": "" }, @@ -1447,12 +1447,12 @@ "version": "3.10.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-crypt.git", "reference": "588375caf4d505fee90d1449e9714c912ceb5051" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/588375caf4d505fee90d1449e9714c912ceb5051", + "url": "https://api.github.com/repos/laminas/laminas-crypt/zipball/588375caf4d505fee90d1449e9714c912ceb5051", "reference": "588375caf4d505fee90d1449e9714c912ceb5051", "shasum": "" }, @@ -1511,12 +1511,12 @@ "version": "2.17.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-db.git", "reference": "9020ba27ffa4966c03cac743144bfd6716fdab60" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/9020ba27ffa4966c03cac743144bfd6716fdab60", + "url": "https://api.github.com/repos/laminas/laminas-db/zipball/9020ba27ffa4966c03cac743144bfd6716fdab60", "reference": "9020ba27ffa4966c03cac743144bfd6716fdab60", "shasum": "" }, @@ -1582,12 +1582,12 @@ "version": "2.12.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-escaper.git", "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", + "url": "https://api.github.com/repos/laminas/laminas-escaper/zipball/ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "reference": "ee7a4c37bf3d0e8c03635d5bddb5bb3184ead490", "shasum": "" }, @@ -1644,12 +1644,12 @@ "version": "3.10.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-eventmanager.git", "reference": "5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", + "url": "https://api.github.com/repos/laminas/laminas-eventmanager/zipball/5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", "reference": "5a5114ab2d3fa4424faa46a2fb0a4e49a61f6eba", "shasum": "" }, @@ -1712,12 +1712,12 @@ "version": "2.12.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-file.git", "reference": "9e8ff3a6d7ccaad0865581ef672a7c48260b65d9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", + "url": "https://api.github.com/repos/laminas/laminas-file/zipball/9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", "reference": "9e8ff3a6d7ccaad0865581ef672a7c48260b65d9", "shasum": "" }, @@ -1780,12 +1780,12 @@ "version": "2.31.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-filter.git", "reference": "548a6597d357b0b0b139cc7bffea4dfbc50eb5a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", + "url": "https://api.github.com/repos/laminas/laminas-filter/zipball/548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", "reference": "548a6597d357b0b0b139cc7bffea4dfbc50eb5a8", "shasum": "" }, @@ -1858,12 +1858,12 @@ "version": "2.18.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-http.git", "reference": "76de9008f889bc7088f85a41d0d2b06c2b59c53d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/76de9008f889bc7088f85a41d0d2b06c2b59c53d", + "url": "https://api.github.com/repos/laminas/laminas-http/zipball/76de9008f889bc7088f85a41d0d2b06c2b59c53d", "reference": "76de9008f889bc7088f85a41d0d2b06c2b59c53d", "shasum": "" }, @@ -1920,16 +1920,16 @@ }, { "name": "laminas/laminas-i18n", - "version": "2.22.0", + "version": "2.22.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "fc13d1314941bd9acda3861883cd9139d747f98f" + "url": "https://github.com/laminas/laminas-i18n.git", + "reference": "075bec49f777698c6fc229eecefbe7a2364cd18e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/fc13d1314941bd9acda3861883cd9139d747f98f", - "reference": "fc13d1314941bd9acda3861883cd9139d747f98f", + "url": "https://api.github.com/repos/laminas/laminas-i18n/zipball/075bec49f777698c6fc229eecefbe7a2364cd18e", + "reference": "075bec49f777698c6fc229eecefbe7a2364cd18e", "shasum": "" }, "require": { @@ -2002,19 +2002,19 @@ "type": "community_bridge" } ], - "time": "2023-03-12T01:03:50+00:00" + "time": "2023-03-31T12:31:38+00:00" }, { "name": "laminas/laminas-loader", "version": "2.9.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-loader.git", "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/51ed9c3fa42d1098a9997571730c0cbf42d078d3", + "url": "https://api.github.com/repos/laminas/laminas-loader/zipball/51ed9c3fa42d1098a9997571730c0cbf42d078d3", "reference": "51ed9c3fa42d1098a9997571730c0cbf42d078d3", "shasum": "" }, @@ -2065,12 +2065,12 @@ "version": "2.22.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-mail.git", "reference": "1d307ff65328c00117c6d90ba0084fdd0fc2bd5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", + "url": "https://api.github.com/repos/laminas/laminas-mail/zipball/1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", "reference": "1d307ff65328c00117c6d90ba0084fdd0fc2bd5c", "shasum": "" }, @@ -2142,12 +2142,12 @@ "version": "3.6.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-math.git", "reference": "5770fc632a3614f5526632a8b70f41b65130460e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/5770fc632a3614f5526632a8b70f41b65130460e", + "url": "https://api.github.com/repos/laminas/laminas-math/zipball/5770fc632a3614f5526632a8b70f41b65130460e", "reference": "5770fc632a3614f5526632a8b70f41b65130460e", "shasum": "" }, @@ -2209,12 +2209,12 @@ "version": "2.11.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-mime.git", "reference": "60ec04b755821c79c1987ce291b44e69f2c0831f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/60ec04b755821c79c1987ce291b44e69f2c0831f", + "url": "https://api.github.com/repos/laminas/laminas-mime/zipball/60ec04b755821c79c1987ce291b44e69f2c0831f", "reference": "60ec04b755821c79c1987ce291b44e69f2c0831f", "shasum": "" }, @@ -2270,12 +2270,12 @@ "version": "2.5.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-oauth.git", "reference": "882daa922f3d4f3c1a4282d5c0afeddabefaadb9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/882daa922f3d4f3c1a4282d5c0afeddabefaadb9", + "url": "https://api.github.com/repos/laminas/laminas-oauth/zipball/882daa922f3d4f3c1a4282d5c0afeddabefaadb9", "reference": "882daa922f3d4f3c1a4282d5c0afeddabefaadb9", "shasum": "" }, @@ -2332,12 +2332,12 @@ "version": "2.14.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-permissions-acl.git", "reference": "86cecb540cf8f2e088d70d8acef1fc9203ed5023" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/86cecb540cf8f2e088d70d8acef1fc9203ed5023", + "url": "https://api.github.com/repos/laminas/laminas-permissions-acl/zipball/86cecb540cf8f2e088d70d8acef1fc9203ed5023", "reference": "86cecb540cf8f2e088d70d8acef1fc9203ed5023", "shasum": "" }, @@ -2396,12 +2396,12 @@ "version": "3.6.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-recaptcha.git", "reference": "ead14136a0ded44d1a72f4885df0f3333065d919" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ead14136a0ded44d1a72f4885df0f3333065d919", + "url": "https://api.github.com/repos/laminas/laminas-recaptcha/zipball/ead14136a0ded44d1a72f4885df0f3333065d919", "reference": "ead14136a0ded44d1a72f4885df0f3333065d919", "shasum": "" }, @@ -2462,12 +2462,12 @@ "version": "3.20.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-servicemanager.git", "reference": "bc2c2cbe2dd90db8b9d16b0618f542692b76ab59" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", + "url": "https://api.github.com/repos/laminas/laminas-servicemanager/zipball/bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", "reference": "bc2c2cbe2dd90db8b9d16b0618f542692b76ab59", "shasum": "" }, @@ -2552,12 +2552,12 @@ "version": "2.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-session.git", "reference": "9c845a0361625d5775cad6f043716196201ad41f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/9c845a0361625d5775cad6f043716196201ad41f", + "url": "https://api.github.com/repos/laminas/laminas-session/zipball/9c845a0361625d5775cad6f043716196201ad41f", "reference": "9c845a0361625d5775cad6f043716196201ad41f", "shasum": "" }, @@ -2633,12 +2633,12 @@ "version": "3.17.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-stdlib.git", "reference": "dd35c868075bad80b6718959740913e178eb4274" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/dd35c868075bad80b6718959740913e178eb4274", + "url": "https://api.github.com/repos/laminas/laminas-stdlib/zipball/dd35c868075bad80b6718959740913e178eb4274", "reference": "dd35c868075bad80b6718959740913e178eb4274", "shasum": "" }, @@ -2692,12 +2692,12 @@ "version": "2.10.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-text.git", "reference": "40f7acdb284d41553d32db811e704d6e15e415b4" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/40f7acdb284d41553d32db811e704d6e15e415b4", + "url": "https://api.github.com/repos/laminas/laminas-text/zipball/40f7acdb284d41553d32db811e704d6e15e415b4", "reference": "40f7acdb284d41553d32db811e704d6e15e415b4", "shasum": "" }, @@ -2752,12 +2752,12 @@ "version": "2.10.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-uri.git", "reference": "663b050294945c7345cc3a61f3ca661d5f9e1f80" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/663b050294945c7345cc3a61f3ca661d5f9e1f80", + "url": "https://api.github.com/repos/laminas/laminas-uri/zipball/663b050294945c7345cc3a61f3ca661d5f9e1f80", "reference": "663b050294945c7345cc3a61f3ca661d5f9e1f80", "shasum": "" }, @@ -2810,12 +2810,12 @@ "version": "2.30.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/laminas/laminas-validator.git", "reference": "b7d217b5e4951955fda9a3a5ada91b717b5c8d5c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", + "url": "https://api.github.com/repos/laminas/laminas-validator/zipball/b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", "reference": "b7d217b5e4951955fda9a3a5ada91b717b5c8d5c", "shasum": "" }, @@ -2893,16 +2893,10 @@ { "name": "magento/composer-dependency-version-audit-plugin", "version": "0.1.4", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f" - }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/459f2781e1a08d52ee56b0b1444086e038561e3f", - "reference": "459f2781e1a08d52ee56b0b1444086e038561e3f", - "shasum": "" + "url": "https://mirror.mage-os.org/packages/magento/composer-dependency-version-audit-plugin-0.1.4.zip", + "shasum": "e74426113ab655c48027ceefd83b6c3446c7ec6d" }, "require": { "composer-plugin-api": "^1.0 || ^2.0", @@ -2933,16 +2927,10 @@ { "name": "magento/framework", "version": "103.0.6", - "source": { - "type": "git", - "url": "https://github.com/Seldaek/phar-utils.git", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" - }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", - "shasum": "" + "url": "https://mirror.mage-os.org/packages/magento/framework-103.0.6.zip", + "shasum": "37a015261ee926dedf991c4bf0082deb6d702a63" }, "require": { "colinmollenhour/php-redis-session-abstract": "^1.5", @@ -3016,16 +3004,10 @@ { "name": "magento/framework-amqp", "version": "100.4.4", - "source": { - "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" - }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", - "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", - "shasum": "" + "url": "https://mirror.mage-os.org/packages/magento/framework-amqp-100.4.4.zip", + "shasum": "d15c58ab854fe353a8d346fc311df51a5eea1f42" }, "require": { "magento/framework": "103.0.*", @@ -3050,16 +3032,10 @@ { "name": "magento/framework-bulk", "version": "101.0.2", - "source": { - "type": "git", - "url": "https://github.com/symfony/polyfill-mbstring.git", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" - }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", - "shasum": "" + "url": "https://mirror.mage-os.org/packages/magento/framework-bulk-101.0.2.zip", + "shasum": "256156fb10285922673c4a1cc8463a47d4233047" }, "require": { "magento/framework": "103.0.*", @@ -3083,16 +3059,10 @@ { "name": "magento/framework-message-queue", "version": "100.4.6", - "source": { - "type": "git", - "url": "https://github.com/tedious/JShrink.git", - "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a" - }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/tedious/JShrink/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", - "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a", - "shasum": "" + "url": "https://mirror.mage-os.org/packages/magento/framework-message-queue-100.4.6.zip", + "shasum": "86a0a03b7af9d7b24ecf2ddac770a60aba1ceebc" }, "require": { "magento/framework": "103.0.*", @@ -3465,7 +3435,8 @@ "OSL-3.0", "AFL-3.0" ], - "description": "N/A" + "description": "N/A", + "abandoned": "magento/inventory-metapackage" }, { "name": "magento/module-catalog-rule", @@ -3806,8 +3777,7 @@ "OSL-3.0", "AFL-3.0" ], - "description": "N/A", - "abandoned": "magento/inventory-composer-metapackage" + "description": "N/A" }, { "name": "magento/module-deploy", @@ -5207,12 +5177,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-cache.git", "reference": "75e6a43f198b17ea4b0c3f46b700b7a757eba84d" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/75e6a43f198b17ea4b0c3f46b700b7a757eba84d", + "url": "https://api.github.com/repos/magento/magento-zend-cache/zipball/75e6a43f198b17ea4b0c3f46b700b7a757eba84d", "reference": "75e6a43f198b17ea4b0c3f46b700b7a757eba84d", "shasum": "" }, @@ -5259,12 +5229,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-db.git", "reference": "def36bc00e49cf0056a59192e52f2e83077b933c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/def36bc00e49cf0056a59192e52f2e83077b933c", + "url": "https://api.github.com/repos/magento/magento-zend-db/zipball/def36bc00e49cf0056a59192e52f2e83077b933c", "reference": "def36bc00e49cf0056a59192e52f2e83077b933c", "shasum": "" }, @@ -5311,12 +5281,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-exception.git", "reference": "5219ba961e36dc1a713da3ad4f1594a87c71f758" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/5219ba961e36dc1a713da3ad4f1594a87c71f758", + "url": "https://api.github.com/repos/magento/magento-zend-exception/zipball/5219ba961e36dc1a713da3ad4f1594a87c71f758", "reference": "5219ba961e36dc1a713da3ad4f1594a87c71f758", "shasum": "" }, @@ -5361,12 +5331,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-loader.git", "reference": "200786c8009d668917a42250ed72ebf8c4c958d2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/200786c8009d668917a42250ed72ebf8c4c958d2", + "url": "https://api.github.com/repos/magento/magento-zend-loader/zipball/200786c8009d668917a42250ed72ebf8c4c958d2", "reference": "200786c8009d668917a42250ed72ebf8c4c958d2", "shasum": "" }, @@ -5412,12 +5382,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-log.git", "reference": "c03b9febe92c501288cf441d41b49cd01f1e8a50" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/c03b9febe92c501288cf441d41b49cd01f1e8a50", + "url": "https://api.github.com/repos/magento/magento-zend-log/zipball/c03b9febe92c501288cf441d41b49cd01f1e8a50", "reference": "c03b9febe92c501288cf441d41b49cd01f1e8a50", "shasum": "" }, @@ -5463,12 +5433,12 @@ "version": "1.16.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-memory.git", "reference": "0d48804c6718cc9f15e5c356e6192fd6fff8932b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0d48804c6718cc9f15e5c356e6192fd6fff8932b", + "url": "https://api.github.com/repos/magento/magento-zend-memory/zipball/0d48804c6718cc9f15e5c356e6192fd6fff8932b", "reference": "0d48804c6718cc9f15e5c356e6192fd6fff8932b", "shasum": "" }, @@ -5515,12 +5485,12 @@ "version": "1.16.2", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/magento/magento-zend-pdf.git", "reference": "120ad9e854231431e3a5837f00158a91885b3fbe" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/120ad9e854231431e3a5837f00158a91885b3fbe", + "url": "https://api.github.com/repos/magento/magento-zend-pdf/zipball/120ad9e854231431e3a5837f00158a91885b3fbe", "reference": "120ad9e854231431e3a5837f00158a91885b3fbe", "shasum": "" }, @@ -5572,12 +5542,12 @@ "version": "2.9.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/Seldaek/monolog.git", "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", + "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "reference": "f259e2b15fb95494c83f52d3caad003bbf5ffaa1", "shasum": "" }, @@ -5674,12 +5644,12 @@ "version": "v2.6.3", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/paragonie/constant_time_encoding.git", "reference": "58c3f47f650c94ec05a151692652a868995d2938" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/58c3f47f650c94ec05a151692652a868995d2938", + "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", "reference": "58c3f47f650c94ec05a151692652a868995d2938", "shasum": "" }, @@ -5741,12 +5711,12 @@ "version": "v9.99.100", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/paragonie/random_compat.git", "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", + "url": "https://api.github.com/repos/paragonie/random_compat/zipball/996434e5492cb4c3edcb9168db6fbb1359ef965a", "reference": "996434e5492cb4c3edcb9168db6fbb1359ef965a", "shasum": "" }, @@ -5791,12 +5761,12 @@ "version": "v3.2.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-amqplib/php-amqplib.git", "reference": "0bec5b392428e0ac3b3f34fbc4e02d706995833e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0bec5b392428e0ac3b3f34fbc4e02d706995833e", + "url": "https://api.github.com/repos/php-amqplib/php-amqplib/zipball/0bec5b392428e0ac3b3f34fbc4e02d706995833e", "reference": "0bec5b392428e0ac3b3f34fbc4e02d706995833e", "shasum": "" }, @@ -5861,6 +5831,10 @@ "queue", "rabbitmq" ], + "support": { + "issues": "https://github.com/php-amqplib/php-amqplib/issues", + "source": "https://github.com/php-amqplib/php-amqplib/tree/v3.2.0" + }, "time": "2022-03-10T19:16:00+00:00" }, { @@ -5868,12 +5842,12 @@ "version": "3.0.19", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/phpseclib/phpseclib.git", "reference": "cc181005cf548bfd8a4896383bb825d859259f95" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/cc181005cf548bfd8a4896383bb825d859259f95", + "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/cc181005cf548bfd8a4896383bb825d859259f95", "reference": "cc181005cf548bfd8a4896383bb825d859259f95", "shasum": "" }, @@ -5978,12 +5952,12 @@ "version": "1.1.2", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-fig/container.git", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", + "url": "https://api.github.com/repos/php-fig/container/zipball/513e0666f7216c7459170d56df27dfcefe1689ea", "reference": "513e0666f7216c7459170d56df27dfcefe1689ea", "shasum": "" }, @@ -6026,12 +6000,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-fig/http-client.git", "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", + "url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "shasum": "" }, @@ -6078,12 +6052,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-fig/http-factory.git", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", + "url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "shasum": "" }, @@ -6133,12 +6107,12 @@ "version": "1.0.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-fig/http-message.git", "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", + "url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", "reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "shasum": "" }, @@ -6186,12 +6160,12 @@ "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/php-fig/log.git", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", + "url": "https://api.github.com/repos/php-fig/log/zipball/ef29f6d262798707a9edd554e2b82517ef3a9376", "reference": "ef29f6d262798707a9edd554e2b82517ef3a9376", "shasum": "" }, @@ -6236,12 +6210,12 @@ "version": "3.0.3", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/ralouphie/getallheaders.git", "reference": "120b605dfeb996808c31b6477290a714d356e822" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/120b605dfeb996808c31b6477290a714d356e822", + "url": "https://api.github.com/repos/ralouphie/getallheaders/zipball/120b605dfeb996808c31b6477290a714d356e822", "reference": "120b605dfeb996808c31b6477290a714d356e822", "shasum": "" }, @@ -6280,12 +6254,12 @@ "version": "2.0.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/ramsey/collection.git", "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", + "url": "https://api.github.com/repos/ramsey/collection/zipball/a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "reference": "a4b48764bfbb8f3a6a4d1aeb1a35bb5e9ecac4a5", "shasum": "" }, @@ -6369,12 +6343,12 @@ "version": "4.7.3", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/ramsey/uuid.git", "reference": "433b2014e3979047db08a17a205f410ba3869cf2" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/433b2014e3979047db08a17a205f410ba3869cf2", + "url": "https://api.github.com/repos/ramsey/uuid/zipball/433b2014e3979047db08a17a205f410ba3869cf2", "reference": "433b2014e3979047db08a17a205f410ba3869cf2", "shasum": "" }, @@ -6461,12 +6435,12 @@ "version": "v2.9.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/reactphp/promise.git", "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", + "url": "https://api.github.com/repos/reactphp/promise/zipball/234f8fd1023c9158e2314fa9d7d0e6a83db42910", "reference": "234f8fd1023c9158e2314fa9d7d0e6a83db42910", "shasum": "" }, @@ -6537,12 +6511,12 @@ "version": "1.9.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/Seldaek/jsonlint.git", "reference": "4211420d25eba80712bff236a98960ef68b866b7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/4211420d25eba80712bff236a98960ef68b866b7", + "url": "https://api.github.com/repos/Seldaek/jsonlint/zipball/4211420d25eba80712bff236a98960ef68b866b7", "reference": "4211420d25eba80712bff236a98960ef68b866b7", "shasum": "" }, @@ -6601,12 +6575,12 @@ "version": "1.2.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/Seldaek/phar-utils.git", "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", + "url": "https://api.github.com/repos/Seldaek/phar-utils/zipball/ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "reference": "ea2f4014f163c1be4c601b9b7bd6af81ba8d701c", "shasum": "" }, @@ -6649,12 +6623,12 @@ "version": "2.0.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/Seldaek/signal-handler.git", "reference": "f69d119511dc0360440cdbdaa71829c149b7be75" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", + "url": "https://api.github.com/repos/Seldaek/signal-handler/zipball/f69d119511dc0360440cdbdaa71829c149b7be75", "reference": "f69d119511dc0360440cdbdaa71829c149b7be75", "shasum": "" }, @@ -6707,16 +6681,16 @@ }, { "name": "symfony/console", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9" + "url": "https://github.com/symfony/console.git", + "reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/c77433ddc6cdc689caf48065d9ea22ca0853fbd9", - "reference": "c77433ddc6cdc689caf48065d9ea22ca0853fbd9", + "url": "https://api.github.com/repos/symfony/console/zipball/3cd51fd2e6c461ca678f84d419461281bd87a0a8", + "reference": "3cd51fd2e6c461ca678f84d419461281bd87a0a8", "shasum": "" }, "require": { @@ -6781,12 +6755,12 @@ "homepage": "https://symfony.com", "keywords": [ "cli", - "command line", + "command-line", "console", "terminal" ], "support": { - "source": "https://github.com/symfony/console/tree/v5.4.21" + "source": "https://github.com/symfony/console/tree/v5.4.22" }, "funding": [ { @@ -6802,19 +6776,19 @@ "type": "tidelift" } ], - "time": "2023-02-25T16:59:41+00:00" + "time": "2023-03-25T09:27:28+00:00" }, { "name": "symfony/deprecation-contracts", "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/deprecation-contracts.git", "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", + "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "reference": "e2d1534420bd723d0ef5aec58a22c5fe60ce6f5e", "shasum": "" }, @@ -6876,12 +6850,12 @@ "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/filesystem.git", "reference": "82b6c62b959f642d000456f08c6d219d749215b3" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/82b6c62b959f642d000456f08c6d219d749215b3", + "url": "https://api.github.com/repos/symfony/filesystem/zipball/82b6c62b959f642d000456f08c6d219d749215b3", "reference": "82b6c62b959f642d000456f08c6d219d749215b3", "shasum": "" }, @@ -6939,12 +6913,12 @@ "version": "v6.2.7", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/finder.git", "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", + "url": "https://api.github.com/repos/symfony/finder/zipball/20808dc6631aecafbe67c186af5dcb370be3a0eb", "reference": "20808dc6631aecafbe67c186af5dcb370be3a0eb", "shasum": "" }, @@ -7000,16 +6974,16 @@ }, { "name": "symfony/intl", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "32c2d958b88f5c7f0b080774d7d15d4c87769bc8" + "url": "https://github.com/symfony/intl.git", + "reference": "8afe56b8472888d749ef8955acdc9d38578775d7" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/32c2d958b88f5c7f0b080774d7d15d4c87769bc8", - "reference": "32c2d958b88f5c7f0b080774d7d15d4c87769bc8", + "url": "https://api.github.com/repos/symfony/intl/zipball/8afe56b8472888d749ef8955acdc9d38578775d7", + "reference": "8afe56b8472888d749ef8955acdc9d38578775d7", "shasum": "" }, "require": { @@ -7068,7 +7042,7 @@ "localization" ], "support": { - "source": "https://github.com/symfony/intl/tree/v5.4.21" + "source": "https://github.com/symfony/intl/tree/v5.4.22" }, "funding": [ { @@ -7084,19 +7058,19 @@ "type": "tidelift" } ], - "time": "2023-02-17T21:35:35+00:00" + "time": "2023-03-10T09:58:14+00:00" }, { "name": "symfony/polyfill-ctype", "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-ctype.git", "reference": "5bbc823adecdae860bb64756d639ecfec17b050a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", + "url": "https://api.github.com/repos/symfony/polyfill-ctype/zipball/5bbc823adecdae860bb64756d639ecfec17b050a", "reference": "5bbc823adecdae860bb64756d639ecfec17b050a", "shasum": "" }, @@ -7173,12 +7147,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-intl-grapheme.git", "reference": "511a08c03c1960e08a883f4cffcacd219b758354" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/511a08c03c1960e08a883f4cffcacd219b758354", + "url": "https://api.github.com/repos/symfony/polyfill-intl-grapheme/zipball/511a08c03c1960e08a883f4cffcacd219b758354", "reference": "511a08c03c1960e08a883f4cffcacd219b758354", "shasum": "" }, @@ -7254,12 +7228,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-intl-idn.git", "reference": "639084e360537a19f9ee352433b84ce831f3d2da" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/639084e360537a19f9ee352433b84ce831f3d2da", + "url": "https://api.github.com/repos/symfony/polyfill-intl-idn/zipball/639084e360537a19f9ee352433b84ce831f3d2da", "reference": "639084e360537a19f9ee352433b84ce831f3d2da", "shasum": "" }, @@ -7341,12 +7315,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-intl-normalizer.git", "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", + "url": "https://api.github.com/repos/symfony/polyfill-intl-normalizer/zipball/19bd1e4fcd5b91116f14d8533c57831ed00571b6", "reference": "19bd1e4fcd5b91116f14d8533c57831ed00571b6", "shasum": "" }, @@ -7425,12 +7399,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-mbstring.git", "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", + "url": "https://api.github.com/repos/symfony/polyfill-mbstring/zipball/8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "reference": "8ad114f6b39e2c98a8b0e3bd907732c207c2b534", "shasum": "" }, @@ -7508,12 +7482,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-php72.git", "reference": "869329b1e9894268a8a61dabb69153029b7a8c97" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", + "url": "https://api.github.com/repos/symfony/polyfill-php72/zipball/869329b1e9894268a8a61dabb69153029b7a8c97", "reference": "869329b1e9894268a8a61dabb69153029b7a8c97", "shasum": "" }, @@ -7584,12 +7558,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-php73.git", "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", + "url": "https://api.github.com/repos/symfony/polyfill-php73/zipball/9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "reference": "9e8ecb5f92152187c4799efd3c96b78ccab18ff9", "shasum": "" }, @@ -7663,12 +7637,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-php80.git", "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", + "url": "https://api.github.com/repos/symfony/polyfill-php80/zipball/7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "reference": "7a6ff3f1959bb01aefccb463a0f2cd3d3d2fd936", "shasum": "" }, @@ -7746,12 +7720,12 @@ "version": "v1.27.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/polyfill-php81.git", "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", + "url": "https://api.github.com/repos/symfony/polyfill-php81/zipball/707403074c8ea6e2edaf8794b0157a0bfa52157a", "reference": "707403074c8ea6e2edaf8794b0157a0bfa52157a", "shasum": "" }, @@ -7822,16 +7796,16 @@ }, { "name": "symfony/process", - "version": "v5.4.21", + "version": "v5.4.22", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd" + "url": "https://github.com/symfony/process.git", + "reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", - "reference": "d4ce417ebcb0b7d090b4c178ed6d3accc518e8bd", + "url": "https://api.github.com/repos/symfony/process/zipball/4b850da0cc3a2a9181c1ed407adbca4733dc839b", + "reference": "4b850da0cc3a2a9181c1ed407adbca4733dc839b", "shasum": "" }, "require": { @@ -7864,7 +7838,7 @@ "description": "Executes commands in sub-processes", "homepage": "https://symfony.com", "support": { - "source": "https://github.com/symfony/process/tree/v5.4.21" + "source": "https://github.com/symfony/process/tree/v5.4.22" }, "funding": [ { @@ -7880,19 +7854,19 @@ "type": "tidelift" } ], - "time": "2023-02-21T19:46:44+00:00" + "time": "2023-03-06T21:29:33+00:00" }, { "name": "symfony/service-contracts", "version": "v2.5.2", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/symfony/service-contracts.git", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", + "url": "https://api.github.com/repos/symfony/service-contracts/zipball/4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "reference": "4b426aac47d6427cc1a1d0f7e2ac724627f5966c", "shasum": "" }, @@ -7967,16 +7941,16 @@ }, { "name": "symfony/string", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", - "url": "https://github.com/brick/math.git", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d" + "url": "https://github.com/symfony/string.git", + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/67b8c1eec78296b85dc1c7d9743830160218993d", - "reference": "67b8c1eec78296b85dc1c7d9743830160218993d", + "url": "https://api.github.com/repos/symfony/string/zipball/193e83bbd6617d6b2151c37fff10fa7168ebddef", + "reference": "193e83bbd6617d6b2151c37fff10fa7168ebddef", "shasum": "" }, "require": { @@ -8033,7 +8007,7 @@ "utf8" ], "support": { - "source": "https://github.com/symfony/string/tree/v6.2.7" + "source": "https://github.com/symfony/string/tree/v6.2.8" }, "funding": [ { @@ -8049,19 +8023,19 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-20T16:06:02+00:00" }, { "name": "tedivm/jshrink", "version": "v1.6.5", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/tedious/JShrink.git", "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", + "url": "https://api.github.com/repos/tedious/JShrink/zipball/aa786b10f012fc0e15b5147c22bdb8c765fac76a", "reference": "aa786b10f012fc0e15b5147c22bdb8c765fac76a", "shasum": "" }, @@ -8116,12 +8090,12 @@ "version": "1.11.0", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/webmozarts/assert.git", "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", + "url": "https://api.github.com/repos/webmozarts/assert/zipball/11cb2199493b2f8a3b53e7f19068fc6aac760991", "reference": "11cb2199493b2f8a3b53e7f19068fc6aac760991", "shasum": "" }, @@ -8174,12 +8148,12 @@ "version": "v15.2.4", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/webonyx/graphql-php.git", "reference": "ac27a8692622ac13e72a6fe354027cc81ef31a6e" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/ac27a8692622ac13e72a6fe354027cc81ef31a6e", + "url": "https://api.github.com/repos/webonyx/graphql-php/zipball/ac27a8692622ac13e72a6fe354027cc81ef31a6e", "reference": "ac27a8692622ac13e72a6fe354027cc81ef31a6e", "shasum": "" }, @@ -8247,12 +8221,12 @@ "version": "v3.2.1", "source": { "type": "git", - "url": "https://github.com/brick/math.git", + "url": "https://github.com/wikimedia/less.php.git", "reference": "0d5b30ba792bdbf8991a646fc9c30561b38a5559" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/brick/math/zipball/0d5b30ba792bdbf8991a646fc9c30561b38a5559", + "url": "https://api.github.com/repos/wikimedia/less.php/zipball/0d5b30ba792bdbf8991a646fc9c30561b38a5559", "reference": "0d5b30ba792bdbf8991a646fc9c30561b38a5559", "shasum": "" }, @@ -8461,6 +8435,10 @@ "stylecheck", "tests" ], + "support": { + "issues": "https://github.com/PHPCSStandards/composer-installer/issues", + "source": "https://github.com/PHPCSStandards/composer-installer" + }, "time": "2023-01-05T11:28:13+00:00" }, { @@ -8513,6 +8491,10 @@ "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", @@ -8571,6 +8553,10 @@ "AFL-3.0" ], "description": "A set of Magento specific PHP CodeSniffer rules.", + "support": { + "issues": "https://github.com/magento/magento-coding-standard/issues", + "source": "https://github.com/magento/magento-coding-standard/tree/v31" + }, "time": "2023-02-01T15:38:47+00:00" }, { @@ -8733,6 +8719,10 @@ "BSD-3-Clause" ], "description": "Official version of pdepend to be handled with Composer", + "support": { + "issues": "https://github.com/pdepend/pdepend/issues", + "source": "https://github.com/pdepend/pdepend/tree/2.13.0" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/pdepend/pdepend", @@ -8908,6 +8898,10 @@ "phpcs", "standards" ], + "support": { + "issues": "https://github.com/PHPCompatibility/PHPCompatibility/issues", + "source": "https://github.com/PHPCompatibility/PHPCompatibility" + }, "time": "2019-12-27T09:44:58+00:00" }, { @@ -8980,6 +8974,11 @@ "phpmd", "pmd" ], + "support": { + "irc": "irc://irc.freenode.org/phpmd", + "issues": "https://github.com/phpmd/phpmd/issues", + "source": "https://github.com/phpmd/phpmd/tree/2.13.0" + }, "funding": [ { "url": "https://tidelift.com/funding/github/packagist/phpmd/phpmd", @@ -9027,6 +9026,10 @@ "MIT" ], "description": "PHPDoc parser with support for nullable, intersection and generic types", + "support": { + "issues": "https://github.com/phpstan/phpdoc-parser/issues", + "source": "https://github.com/phpstan/phpdoc-parser/tree/1.16.1" + }, "time": "2023-02-07T18:11:17+00:00" }, { @@ -9068,6 +9071,13 @@ "dev", "static analysis" ], + "support": { + "docs": "https://phpstan.org/user-guide/getting-started", + "forum": "https://github.com/phpstan/phpstan/discussions", + "issues": "https://github.com/phpstan/phpstan/issues", + "security": "https://github.com/phpstan/phpstan/security/policy", + "source": "https://github.com/phpstan/phpstan-src" + }, "funding": [ { "url": "https://github.com/ondrejmirtes", @@ -9149,6 +9159,10 @@ "testing", "xunit" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-code-coverage/issues", + "source": "https://github.com/sebastianbergmann/php-code-coverage/tree/9.2.26" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9205,6 +9219,10 @@ "filesystem", "iterator" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-file-iterator/issues", + "source": "https://github.com/sebastianbergmann/php-file-iterator/tree/3.0.6" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9264,6 +9282,10 @@ "keywords": [ "process" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-invoker/issues", + "source": "https://github.com/sebastianbergmann/php-invoker/tree/3.1.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9319,6 +9341,10 @@ "keywords": [ "template" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-text-template/issues", + "source": "https://github.com/sebastianbergmann/php-text-template/tree/2.0.4" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9374,6 +9400,10 @@ "keywords": [ "timer" ], + "support": { + "issues": "https://github.com/sebastianbergmann/php-timer/issues", + "source": "https://github.com/sebastianbergmann/php-timer/tree/5.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9464,6 +9494,10 @@ "testing", "xunit" ], + "support": { + "issues": "https://github.com/sebastianbergmann/phpunit/issues", + "source": "https://github.com/sebastianbergmann/phpunit/tree/9.5.28" + }, "funding": [ { "url": "https://phpunit.de/sponsors.html", @@ -9529,6 +9563,10 @@ "migration", "refactoring" ], + "support": { + "issues": "https://github.com/rectorphp/rector/issues", + "source": "https://github.com/rectorphp/rector/tree/0.15.23" + }, "funding": [ { "url": "https://github.com/tomasvotruba", @@ -9581,6 +9619,10 @@ ], "description": "Library for parsing CLI options", "homepage": "https://github.com/sebastianbergmann/cli-parser", + "support": { + "issues": "https://github.com/sebastianbergmann/cli-parser/issues", + "source": "https://github.com/sebastianbergmann/cli-parser/tree/1.0.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9633,6 +9675,10 @@ ], "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://github.com/sebastianbergmann", @@ -9684,6 +9730,10 @@ ], "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", @@ -9754,6 +9804,10 @@ "compare", "equality" ], + "support": { + "issues": "https://github.com/sebastianbergmann/comparator/issues", + "source": "https://github.com/sebastianbergmann/comparator/tree/4.0.8" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9807,6 +9861,10 @@ ], "description": "Library for calculating the complexity of PHP code units", "homepage": "https://github.com/sebastianbergmann/complexity", + "support": { + "issues": "https://github.com/sebastianbergmann/complexity/issues", + "source": "https://github.com/sebastianbergmann/complexity/tree/2.0.2" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9869,6 +9927,10 @@ "unidiff", "unified diff" ], + "support": { + "issues": "https://github.com/sebastianbergmann/diff/issues", + "source": "https://github.com/sebastianbergmann/diff/tree/4.0.4" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -9928,6 +9990,10 @@ "environment", "hhvm" ], + "support": { + "issues": "https://github.com/sebastianbergmann/environment/issues", + "source": "https://github.com/sebastianbergmann/environment/tree/5.1.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10001,6 +10067,10 @@ "export", "exporter" ], + "support": { + "issues": "https://github.com/sebastianbergmann/exporter/issues", + "source": "https://github.com/sebastianbergmann/exporter/tree/4.0.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10061,6 +10131,10 @@ "keywords": [ "global state" ], + "support": { + "issues": "https://github.com/sebastianbergmann/global-state/issues", + "source": "https://github.com/sebastianbergmann/global-state/tree/5.0.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10114,6 +10188,10 @@ ], "description": "Library for counting the lines of code in PHP source code", "homepage": "https://github.com/sebastianbergmann/lines-of-code", + "support": { + "issues": "https://github.com/sebastianbergmann/lines-of-code/issues", + "source": "https://github.com/sebastianbergmann/lines-of-code/tree/1.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10167,6 +10245,10 @@ ], "description": "Traverses array structures and object graphs to enumerate all referenced objects", "homepage": "https://github.com/sebastianbergmann/object-enumerator/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-enumerator/issues", + "source": "https://github.com/sebastianbergmann/object-enumerator/tree/4.0.4" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10218,6 +10300,10 @@ ], "description": "Allows reflection of object attributes, including inherited and non-public ones", "homepage": "https://github.com/sebastianbergmann/object-reflector/", + "support": { + "issues": "https://github.com/sebastianbergmann/object-reflector/issues", + "source": "https://github.com/sebastianbergmann/object-reflector/tree/2.0.4" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10275,6 +10361,10 @@ ], "description": "Copy/Paste Detector (CPD) for PHP code.", "homepage": "https://github.com/sebastianbergmann/phpcpd", + "support": { + "issues": "https://github.com/sebastianbergmann/phpcpd/issues", + "source": "https://github.com/sebastianbergmann/phpcpd/tree/6.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10335,6 +10425,10 @@ ], "description": "Provides functionality to recursively process PHP variables", "homepage": "https://github.com/sebastianbergmann/recursion-context", + "support": { + "issues": "https://github.com/sebastianbergmann/recursion-context/issues", + "source": "https://github.com/sebastianbergmann/recursion-context/tree/4.0.5" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10386,6 +10480,10 @@ ], "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/resource-operations/issues", + "source": "https://github.com/sebastianbergmann/resource-operations/tree/3.0.3" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10438,6 +10536,10 @@ ], "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/type/issues", + "source": "https://github.com/sebastianbergmann/type/tree/3.2.1" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10487,6 +10589,10 @@ ], "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/sebastianbergmann/version/issues", + "source": "https://github.com/sebastianbergmann/version/tree/3.0.2" + }, "funding": [ { "url": "https://github.com/sebastianbergmann", @@ -10544,6 +10650,10 @@ "dev", "phpcs" ], + "support": { + "issues": "https://github.com/slevomat/coding-standard/issues", + "source": "https://github.com/slevomat/coding-standard/tree/8.9.1" + }, "funding": [ { "url": "https://github.com/kukulich", @@ -10606,6 +10716,11 @@ "standards", "static analysis" ], + "support": { + "issues": "https://github.com/squizlabs/PHP_CodeSniffer/issues", + "source": "https://github.com/squizlabs/PHP_CodeSniffer", + "wiki": "https://github.com/squizlabs/PHP_CodeSniffer/wiki" + }, "time": "2023-02-22T23:07:41+00:00" }, { @@ -10666,6 +10781,9 @@ ], "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/config/tree/v6.2.7" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10684,16 +10802,16 @@ }, { "name": "symfony/dependency-injection", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/dependency-injection.git", - "reference": "83369dd4ec84bba9673524d25b79dfbde9e6e84c" + "reference": "b6195feacceb88fc58a02b69522b569e4c6188ac" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/83369dd4ec84bba9673524d25b79dfbde9e6e84c", - "reference": "83369dd4ec84bba9673524d25b79dfbde9e6e84c", + "url": "https://api.github.com/repos/symfony/dependency-injection/zipball/b6195feacceb88fc58a02b69522b569e4c6188ac", + "reference": "b6195feacceb88fc58a02b69522b569e4c6188ac", "shasum": "" }, "require": { @@ -10750,6 +10868,9 @@ ], "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https://symfony.com", + "support": { + "source": "https://github.com/symfony/dependency-injection/tree/v6.2.8" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10764,20 +10885,20 @@ "type": "tidelift" } ], - "time": "2023-02-16T14:11:02+00:00" + "time": "2023-03-30T13:35:57+00:00" }, { "name": "symfony/var-exporter", - "version": "v6.2.7", + "version": "v6.2.8", "source": { "type": "git", "url": "https://github.com/symfony/var-exporter.git", - "reference": "86062dd0103530e151588c8f60f5b85a139f1442" + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/symfony/var-exporter/zipball/86062dd0103530e151588c8f60f5b85a139f1442", - "reference": "86062dd0103530e151588c8f60f5b85a139f1442", + "url": "https://api.github.com/repos/symfony/var-exporter/zipball/8302bb670204500d492c6b8c595ee9a27da62cd6", + "reference": "8302bb670204500d492c6b8c595ee9a27da62cd6", "shasum": "" }, "require": { @@ -10817,10 +10938,13 @@ "export", "hydrate", "instantiate", - "lazy loading", + "lazy-loading", "proxy", "serialize" ], + "support": { + "source": "https://github.com/symfony/var-exporter/tree/v6.2.8" + }, "funding": [ { "url": "https://symfony.com/sponsor", @@ -10835,7 +10959,7 @@ "type": "tidelift" } ], - "time": "2023-02-24T10:42:00+00:00" + "time": "2023-03-14T15:48:45+00:00" }, { "name": "theseer/tokenizer", @@ -10897,5 +11021,5 @@ "php": "^8.1" }, "platform-dev": [], - "plugin-api-version": "2.2.0" + "plugin-api-version": "2.3.0" } From 9fafa1942cdb3d105e6b807136c4cb34ed0c60d2 Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Fri, 31 Mar 2023 10:11:45 -0300 Subject: [PATCH 4/7] Static tests changes --- src/Controller/Adminhtml/Index/Index.php | 7 +++---- src/Test/Unit/Controller/Adminhtml/Index/IndexTest.php | 3 ++- .../Unit/Controller/Adminhtml/Message/MassDeleteTest.php | 6 +++--- .../Unit/Controller/Adminhtml/Message/MassRequeueTest.php | 8 +++----- 4 files changed, 11 insertions(+), 13 deletions(-) diff --git a/src/Controller/Adminhtml/Index/Index.php b/src/Controller/Adminhtml/Index/Index.php index a0692d4..daac323 100644 --- a/src/Controller/Adminhtml/Index/Index.php +++ b/src/Controller/Adminhtml/Index/Index.php @@ -6,7 +6,6 @@ use Magento\Backend\App\Action; use Magento\Backend\App\Action\Context; -use Magento\Backend\Model\View\Result\Page as BackendResultPage; use Magento\Framework\View\Result\Page; use Magento\Framework\View\Result\PageFactory; @@ -23,11 +22,11 @@ public function __construct( public function execute(): Page { + /** @var \Magento\Backend\Model\View\Result\Page $resultPage */ $resultPage = $this->resultPageFactory->create(); $resultPage->getConfig()->getTitle()->prepend(__('Messages')->render()); - if ($resultPage instanceof BackendResultPage) { - $resultPage->setActiveMenu(self::ADMIN_RESOURCE); - } + $resultPage->setActiveMenu('RunAsRoot_MessageQueueRetry::message_queue_retry'); + return $resultPage; } } diff --git a/src/Test/Unit/Controller/Adminhtml/Index/IndexTest.php b/src/Test/Unit/Controller/Adminhtml/Index/IndexTest.php index 54493fb..e23ab7c 100644 --- a/src/Test/Unit/Controller/Adminhtml/Index/IndexTest.php +++ b/src/Test/Unit/Controller/Adminhtml/Index/IndexTest.php @@ -40,7 +40,8 @@ public function testExecute(): void $pageTitleMock = $this->createMock(Title::class); $pageConfigMock->expects($this->once())->method('getTitle')->willReturn($pageTitleMock); $pageTitleMock->expects($this->once())->method('prepend')->with(__('Messages')); - $pageMock->expects($this->once())->method('setActiveMenu')->with('RunAsRoot_MessageQueueRetry::listing'); + $pageMock->expects($this->once())->method('setActiveMenu') + ->with('RunAsRoot_MessageQueueRetry::message_queue_retry'); $result = $this->sut->execute(); diff --git a/src/Test/Unit/Controller/Adminhtml/Message/MassDeleteTest.php b/src/Test/Unit/Controller/Adminhtml/Message/MassDeleteTest.php index 8e6f06e..97be75f 100644 --- a/src/Test/Unit/Controller/Adminhtml/Message/MassDeleteTest.php +++ b/src/Test/Unit/Controller/Adminhtml/Message/MassDeleteTest.php @@ -14,7 +14,7 @@ use RunAsRoot\MessageQueueRetry\Controller\Adminhtml\Message\MassDelete; use RunAsRoot\MessageQueueRetry\Model\Message; use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollection; -use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; +use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollectionFactory; use RunAsRoot\MessageQueueRetry\Repository\MessageRepository; final class MassDeleteTest extends TestCase @@ -22,7 +22,7 @@ final class MassDeleteTest extends TestCase private MassDelete $sut; private RedirectFactory|MockObject $redirectFactoryMock; private MessageRepository|MockObject $messageRepositoryMock; - private CollectionFactory|MockObject $collectionFactoryMock; + private MessageCollectionFactory|MockObject $collectionFactoryMock; private Filter|MockObject $filterMock; private MessageManagerInterface|MockObject $messageManagerMock; @@ -33,7 +33,7 @@ protected function setUp(): void $contextMock->expects($this->once())->method('getMessageManager')->willReturn($this->messageManagerMock); $this->redirectFactoryMock = $this->createMock(RedirectFactory::class); $this->messageRepositoryMock = $this->createMock(MessageRepository::class); - $this->collectionFactoryMock = $this->createMock(CollectionFactory::class); + $this->collectionFactoryMock = $this->createMock(MessageCollectionFactory::class); $this->filterMock = $this->createMock(Filter::class); $this->sut = new MassDelete( diff --git a/src/Test/Unit/Controller/Adminhtml/Message/MassRequeueTest.php b/src/Test/Unit/Controller/Adminhtml/Message/MassRequeueTest.php index 8e21de7..1d4f5d0 100644 --- a/src/Test/Unit/Controller/Adminhtml/Message/MassRequeueTest.php +++ b/src/Test/Unit/Controller/Adminhtml/Message/MassRequeueTest.php @@ -11,12 +11,10 @@ use Magento\Ui\Component\MassAction\Filter; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; -use RunAsRoot\MessageQueueRetry\Controller\Adminhtml\Message\MassDelete; use RunAsRoot\MessageQueueRetry\Controller\Adminhtml\Message\MassRequeue; use RunAsRoot\MessageQueueRetry\Model\Message; use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollection; -use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\CollectionFactory; -use RunAsRoot\MessageQueueRetry\Repository\MessageRepository; +use RunAsRoot\MessageQueueRetry\Model\ResourceModel\Message\MessageCollectionFactory; use RunAsRoot\MessageQueueRetry\Service\PublishMessageToQueueService; final class MassRequeueTest extends TestCase @@ -24,7 +22,7 @@ final class MassRequeueTest extends TestCase private MassRequeue $sut; private RedirectFactory|MockObject $redirectFactoryMock; private PublishMessageToQueueService|MockObject $publishMessageToQueueServiceMock; - private CollectionFactory|MockObject $collectionFactoryMock; + private MessageCollectionFactory|MockObject $collectionFactoryMock; private Filter|MockObject $filterMock; private MessageManagerInterface|MockObject $messageManagerMock; @@ -35,7 +33,7 @@ protected function setUp(): void $contextMock->expects($this->once())->method('getMessageManager')->willReturn($this->messageManagerMock); $this->redirectFactoryMock = $this->createMock(RedirectFactory::class); $this->publishMessageToQueueServiceMock = $this->createMock(PublishMessageToQueueService::class); - $this->collectionFactoryMock = $this->createMock(CollectionFactory::class); + $this->collectionFactoryMock = $this->createMock(MessageCollectionFactory::class); $this->filterMock = $this->createMock(Filter::class); $this->sut = new MassRequeue( From 0645d07055542618725669eb238342132f5afc70 Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Fri, 31 Mar 2023 10:15:04 -0300 Subject: [PATCH 5/7] Code sniffer --- phpcs-ruleset.xml | 1 + src/Controller/Adminhtml/Message/Download.php | 4 ++-- src/Controller/Adminhtml/Message/MassDelete.php | 1 + src/Controller/Adminhtml/Message/MassRequeue.php | 3 ++- src/Model/Config/Backend/QueuesConfig.php | 2 +- src/Model/Message.php | 12 ++++++------ src/Repository/Query/FindMessageByIdQuery.php | 4 ++-- src/Service/HandleQueueFailureService.php | 4 ++-- 8 files changed, 17 insertions(+), 14 deletions(-) diff --git a/phpcs-ruleset.xml b/phpcs-ruleset.xml index f51a79a..b450c63 100644 --- a/phpcs-ruleset.xml +++ b/phpcs-ruleset.xml @@ -4,6 +4,7 @@ */Test/* */Tests/* + src/Queue/Consumer.php diff --git a/src/Controller/Adminhtml/Message/Download.php b/src/Controller/Adminhtml/Message/Download.php index 6199635..24d2941 100644 --- a/src/Controller/Adminhtml/Message/Download.php +++ b/src/Controller/Adminhtml/Message/Download.php @@ -20,7 +20,7 @@ class Download extends Action public function __construct( Context $context, private MessageRepository $messageRepository, - private RawFactory $rawFactory, + private RawFactory $rawFactory, private MessageToRawResponseMapper $messageToRawResponseMapper ) { parent::__construct($context); @@ -34,7 +34,7 @@ public function execute(): RawResponse { $messageId = (int)$this->getRequest()->getParam('message_id'); $message = $this->messageRepository->findById($messageId); - $rawResponse = $this->rawFactory->create(); + $rawResponse = $this->rawFactory->create(); $this->messageToRawResponseMapper->map($message, $rawResponse); return $rawResponse; diff --git a/src/Controller/Adminhtml/Message/MassDelete.php b/src/Controller/Adminhtml/Message/MassDelete.php index 008e0f1..6428f9a 100644 --- a/src/Controller/Adminhtml/Message/MassDelete.php +++ b/src/Controller/Adminhtml/Message/MassDelete.php @@ -38,6 +38,7 @@ public function execute(): Redirect if (!$message instanceof Message) { continue; } + $this->messageRepository->delete($message); } diff --git a/src/Controller/Adminhtml/Message/MassRequeue.php b/src/Controller/Adminhtml/Message/MassRequeue.php index e27e58e..fe47589 100644 --- a/src/Controller/Adminhtml/Message/MassRequeue.php +++ b/src/Controller/Adminhtml/Message/MassRequeue.php @@ -32,12 +32,13 @@ public function execute(): Redirect $redirect = $this->redirectFactory->create(); try { - $collection = $this->filter->getCollection($this->collectionFactory->create()); + $collection = $this->filter->getCollection($this->collectionFactory->create()); foreach ($collection->getItems() as $message) { if (!$message instanceof Message) { continue; } + $this->publishMessageToQueueService->executeByMessage($message); } diff --git a/src/Model/Config/Backend/QueuesConfig.php b/src/Model/Config/Backend/QueuesConfig.php index 223df22..f76b703 100644 --- a/src/Model/Config/Backend/QueuesConfig.php +++ b/src/Model/Config/Backend/QueuesConfig.php @@ -17,7 +17,7 @@ class QueuesConfig extends ArraySerialized { - public function __construct( + public function __construct( Context $context, Registry $registry, ScopeConfigInterface $config, diff --git a/src/Model/Message.php b/src/Model/Message.php index 9219f28..a5091b4 100644 --- a/src/Model/Message.php +++ b/src/Model/Message.php @@ -11,12 +11,6 @@ class Message extends AbstractModel implements MessageInterface { - protected function _construct(): void - { - $this->_init(MessageResource::class); - $this->_collectionName = MessageCollection::class; - } - public function getTopicName(): string { return $this->getData(self::TOPIC_NAME); @@ -76,4 +70,10 @@ public function setCreatedAt(string $value): void { $this->setData(self::CREATED_AT, $value); } + + protected function _construct(): void + { + $this->_init(MessageResource::class); + $this->_collectionName = MessageCollection::class; + } } diff --git a/src/Repository/Query/FindMessageByIdQuery.php b/src/Repository/Query/FindMessageByIdQuery.php index 4ed3cec..8469248 100644 --- a/src/Repository/Query/FindMessageByIdQuery.php +++ b/src/Repository/Query/FindMessageByIdQuery.php @@ -13,7 +13,7 @@ class FindMessageByIdQuery { public function __construct( private ResourceModel $resourceModel, - private ModelFactory $modelFactory + private ModelFactory $modelFactory ) { } @@ -22,7 +22,7 @@ public function __construct( */ public function execute(int $entityId): Message { - $model = $this->modelFactory->create(); + $model = $this->modelFactory->create(); $this->resourceModel->load($model, $entityId); if (!$model->getId()) { diff --git a/src/Service/HandleQueueFailureService.php b/src/Service/HandleQueueFailureService.php index ab66c24..802a2ac 100644 --- a/src/Service/HandleQueueFailureService.php +++ b/src/Service/HandleQueueFailureService.php @@ -19,7 +19,7 @@ class HandleQueueFailureService { public function __construct( private MessageQueueRetryConfig $messageQueueRetryConfig, - private MessageFactory $messageFactory, + private MessageFactory $messageFactory, private MessageRepository $messageRepository ) { } @@ -65,7 +65,7 @@ public function execute(QueueInterface $queue, EnvelopeInterface $message, Excep if ($totalRetries >= $retryLimit) { // If message reaches the retry limit, then it is moved to the run_as_root_message table - $messageModel = $this->messageFactory->create(); + $messageModel = $this->messageFactory->create(); $messageModel->setTopicName($topicName); $messageModel->setMessageBody($message->getBody()); $messageModel->setFailureDescription($exception->getMessage()); From 9727be978ca0ad1df002e1d59710980852f3a023 Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Fri, 31 Mar 2023 10:22:42 -0300 Subject: [PATCH 6/7] Mess detector --- composer.json | 2 +- ...xception.php => InvalidQueueConnectionTypeException.php} | 2 +- src/Queue/Publisher.php | 6 +++--- src/Service/PublishMessageToQueueService.php | 6 +++--- src/Test/Unit/Queue/PublisherTest.php | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) rename src/Exception/{InvalidMessageQueueConnectionTypeException.php => InvalidQueueConnectionTypeException.php} (64%) diff --git a/composer.json b/composer.json index 3aaa4e2..ceeb80e 100644 --- a/composer.json +++ b/composer.json @@ -63,6 +63,6 @@ "sniffer": "vendor/bin/phpcs --colors -p ./src --standard=phpcs-ruleset.xml", "fix-style": "vendor/bin/phpcbf --colors -p ./src --standard=phpcs-ruleset.xml", "sniffer:php8.1": "vendor/bin/phpcs -p ./src --standard=vendor/phpcompatibility/php-compatibility/PHPCompatibility --runtime-set testVersion 8.1", - "mess-detector": "vendor/bin/phpmd src html phpmd-ruleset.xml --exclude \"Test\" --strict --reportfile reports/phpmd/phpmd.html" + "mess-detector": "vendor/bin/phpmd src html phpmd-ruleset.xml --exclude \"Test,src/Queue/Consumer.php\" --strict --reportfile reports/phpmd/phpmd.html" } } diff --git a/src/Exception/InvalidMessageQueueConnectionTypeException.php b/src/Exception/InvalidQueueConnectionTypeException.php similarity index 64% rename from src/Exception/InvalidMessageQueueConnectionTypeException.php rename to src/Exception/InvalidQueueConnectionTypeException.php index f0954ed..c00649d 100644 --- a/src/Exception/InvalidMessageQueueConnectionTypeException.php +++ b/src/Exception/InvalidQueueConnectionTypeException.php @@ -6,6 +6,6 @@ use Magento\Framework\Exception\LocalizedException; -class InvalidMessageQueueConnectionTypeException extends LocalizedException +class InvalidQueueConnectionTypeException extends LocalizedException { } diff --git a/src/Queue/Publisher.php b/src/Queue/Publisher.php index eb2688a..2d42044 100644 --- a/src/Queue/Publisher.php +++ b/src/Queue/Publisher.php @@ -8,8 +8,8 @@ use Magento\Framework\MessageQueue\ExchangeRepository; use Magento\Framework\MessageQueue\Publisher\ConfigInterface as PublisherConfig; use Magento\Framework\Phrase; -use RunAsRoot\MessageQueueRetry\Exception\InvalidMessageQueueConnectionTypeException; use RunAsRoot\MessageQueueRetry\Exception\InvalidPublisherConfigurationException; +use RunAsRoot\MessageQueueRetry\Exception\InvalidQueueConnectionTypeException; class Publisher { @@ -22,7 +22,7 @@ public function __construct( /** * @throws InvalidPublisherConfigurationException - * @throws InvalidMessageQueueConnectionTypeException + * @throws InvalidQueueConnectionTypeException */ public function publish(string $topicName, string $data): void { @@ -37,7 +37,7 @@ public function publish(string $topicName, string $data): void } if ($connectionName !== 'amqp') { - throw new InvalidMessageQueueConnectionTypeException(__('Only AMQP connection is supported.')); + throw new InvalidQueueConnectionTypeException(__('Only AMQP connection is supported.')); } $exchange = $this->exchangeRepository->getByConnectionName($connectionName); diff --git a/src/Service/PublishMessageToQueueService.php b/src/Service/PublishMessageToQueueService.php index 57743e7..876947f 100644 --- a/src/Service/PublishMessageToQueueService.php +++ b/src/Service/PublishMessageToQueueService.php @@ -4,8 +4,8 @@ namespace RunAsRoot\MessageQueueRetry\Service; -use RunAsRoot\MessageQueueRetry\Exception\InvalidMessageQueueConnectionTypeException; use RunAsRoot\MessageQueueRetry\Exception\InvalidPublisherConfigurationException; +use RunAsRoot\MessageQueueRetry\Exception\InvalidQueueConnectionTypeException; use RunAsRoot\MessageQueueRetry\Exception\MessageCouldNotBeDeletedException; use RunAsRoot\MessageQueueRetry\Exception\MessageNotFoundException; use RunAsRoot\MessageQueueRetry\Model\Message; @@ -23,7 +23,7 @@ public function __construct( /** * @throws MessageCouldNotBeDeletedException * @throws MessageNotFoundException - * @throws InvalidMessageQueueConnectionTypeException + * @throws InvalidQueueConnectionTypeException * @throws InvalidPublisherConfigurationException */ public function executeById(int $messageId): void @@ -36,7 +36,7 @@ public function executeById(int $messageId): void /** * @throws MessageCouldNotBeDeletedException * @throws MessageNotFoundException - * @throws InvalidMessageQueueConnectionTypeException + * @throws InvalidQueueConnectionTypeException * @throws InvalidPublisherConfigurationException */ public function executeByMessage(Message $message): void diff --git a/src/Test/Unit/Queue/PublisherTest.php b/src/Test/Unit/Queue/PublisherTest.php index 2975c01..ba960db 100644 --- a/src/Test/Unit/Queue/PublisherTest.php +++ b/src/Test/Unit/Queue/PublisherTest.php @@ -13,7 +13,7 @@ use Magento\Framework\MessageQueue\Publisher\ConfigInterface as PublisherConfig; use PHPUnit\Framework\MockObject\MockObject; use PHPUnit\Framework\TestCase; -use RunAsRoot\MessageQueueRetry\Exception\InvalidMessageQueueConnectionTypeException; +use RunAsRoot\MessageQueueRetry\Exception\InvalidQueueConnectionTypeException; use RunAsRoot\MessageQueueRetry\Exception\InvalidPublisherConfigurationException; use RunAsRoot\MessageQueueRetry\Queue\Publisher; @@ -76,7 +76,7 @@ public function testPublishWithInvalidMessageQueueConnectionType(): void $topicName = 'topic.name'; $data = '{"foo": "bar"}'; - $this->expectException(InvalidMessageQueueConnectionTypeException::class); + $this->expectException(InvalidQueueConnectionTypeException::class); $publisherConfigItemMock = $this->createMock(PublisherConfigItemInterface::class); $this->publisherConfigMock->expects($this->once())->method('getPublisher')->willReturn($publisherConfigItemMock); From 71703a8f418fb9eb5cb074072ba96cb02691f979 Mon Sep 17 00:00:00 2001 From: Cristiano Pacheco Date: Wed, 5 Apr 2023 21:07:27 -0300 Subject: [PATCH 7/7] Adds github actions and updated the README.md file with the badges. --- .github/actions/composer-cache/action.yml | 11 +++ .github/workflows/test_extension.yml | 91 +++++++++++++++++++++++ README.md | 5 ++ 3 files changed, 107 insertions(+) create mode 100644 .github/actions/composer-cache/action.yml create mode 100644 .github/workflows/test_extension.yml diff --git a/.github/actions/composer-cache/action.yml b/.github/actions/composer-cache/action.yml new file mode 100644 index 0000000..df3be3f --- /dev/null +++ b/.github/actions/composer-cache/action.yml @@ -0,0 +1,11 @@ +name: 'Cache Composer packages' +runs: + using: 'composite' + steps: + - id: composer-cache + uses: actions/cache@v3 + with: + path: vendor + key: ${{ inputs.runner-os }}-php-${{ hashFiles('**/composer.lock') }} + restore-keys: | + ${{ inputs.runner-os }}-php- \ No newline at end of file diff --git a/.github/workflows/test_extension.yml b/.github/workflows/test_extension.yml new file mode 100644 index 0000000..3a97907 --- /dev/null +++ b/.github/workflows/test_extension.yml @@ -0,0 +1,91 @@ +name: Test Extension + +on: + push: + branches: [ "master", "develop" ] + pull_request: + branches: [ "master", "develop" ] + +permissions: + contents: read + +jobs: + validate-composer: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Validate composer.json and composer.lock + run: composer validate + + build: + + runs-on: ubuntu-latest + + needs: validate-composer + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/composer-cache + + - name: Install dependencies + run: composer install --prefer-dist --no-progress + + PHP-Compatibility: + runs-on: ubuntu-latest + + needs: build + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/composer-cache + + - name: PHP 8.1 compatibility + run: composer sniffer:php8.1 + + Static-tests: + runs-on: ubuntu-latest + + needs: build + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/composer-cache + + - name: phpstan + run: composer phpstan + + - name: sniffer + run: composer sniffer + + - name: mess-detector + run: composer mess-detector + + PHP-Unit: + runs-on: ubuntu-latest + + needs: build + + steps: + - uses: actions/checkout@v3 + - uses: ./.github/actions/composer-cache + + - name: Setup PHP with Xdebug + uses: shivammathur/setup-php@v2 + with: + php-version: '8.1' + coverage: xdebug + + - name: PHP Unit + run: composer test + + - name: phpunit-coverage-badge + uses: timkrase/phpunit-coverage-badge@v1.2.1 + with: + report: reports/test-reports/clover.xml + coverage_badge_path: output/coverage.svg + push_badge: true + commit_message: "Update coverage badge" + repo_token: ${{ secrets.GITHUB_TOKEN }} diff --git a/README.md b/README.md index 42a5afb..c31c092 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ +![Magento 2](https://img.shields.io/badge/Magento-2.5.*-orange) +![PHP](https://img.shields.io/badge/php-8.1-blue) +![packagist](https://img.shields.io/badge/packagist-f28d1a) +![build](https://github.com/run-as-root/magento2-message-queue-retry/actions/workflows/test_extension.yml/badge.svg) + # run-as-root/magento2-message-queue-retry It gives the possibility to process the same queue message more than once,