Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused Output class, update php version dependency in composer.json #57

Merged
merged 2 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
}
],
"require": {
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0|~7.3.10|~7.4.0|~8.1.0",
"php": "7.0.2|7.0.4|~7.0.6|~7.1.0|~7.2.0|~7.3.10|~7.4.0|~8.1.0|~8.3.0",
"magento/product-community-edition": "^2.1.0"
},
"autoload": {
Expand Down
45 changes: 0 additions & 45 deletions src/Model/Output.php

This file was deleted.

8 changes: 0 additions & 8 deletions src/Model/Stores.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ class Stores extends AbstractExtensibleModel implements StockistInterface, Routa
*/
public $uploaderPool;

/**
* @var \Limesharp\Stockists\Model\Output
*/
public $outputProcessor;

/**
* @var AbstractSource[]
*/
Expand All @@ -105,7 +100,6 @@ class Stores extends AbstractExtensibleModel implements StockistInterface, Routa
* @param Registry $registry
* @param ExtensionAttributesFactory $extensionFactory
* @param AttributeValueFactory $customAttributeFactory
* @param Output $outputProcessor
* @param UploaderPool $uploaderPool
* @param FilterManager $filter
* @param Url $urlModel
Expand All @@ -119,7 +113,6 @@ public function __construct(
Registry $registry,
ExtensionAttributesFactory $extensionFactory,
AttributeValueFactory $customAttributeFactory,
Output $outputProcessor,
UploaderPool $uploaderPool,
FilterManager $filter,
Url $urlModel,
Expand All @@ -128,7 +121,6 @@ public function __construct(
AbstractResource $resource = null,
AbstractDb $resourceCollection = null
) {
$this->outputProcessor = $outputProcessor;
$this->uploaderPool = $uploaderPool;
$this->filter = $filter;
$this->urlModel = $urlModel;
Expand Down
5 changes: 0 additions & 5 deletions src/etc/di.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,6 @@
<argument name="imageModel" xsi:type="object">LimesharpStockistsStoresImageUploader</argument>
</arguments>
</type>
<type name="Limesharp\Stockists\Model\Output">
<arguments>
<argument name="templateProcessor" xsi:type="object">Magento\Widget\Model\Template\Filter</argument>
</arguments>
</type>
<virtualType name="LimesharpStockistsModelStoresSourceStatus" type="Limesharp\Stockists\Model\Source\Options">
<arguments>
<argument name="options" xsi:type="array">
Expand Down