Skip to content

Commit

Permalink
Update composer PHP version.
Browse files Browse the repository at this point in the history
  • Loading branch information
lillik committed Mar 6, 2021
1 parent 17adc5b commit 2858fc6
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 85 deletions.
8 changes: 2 additions & 6 deletions Block/System/Config/Form/Field/Precision.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
* @category Evozon
* @package Magento_Evozon
* @copyright Copyright (c) 2018 Evozon (http://www.evozon.com)
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Block\System\Config\Form\Field;

Expand Down
8 changes: 2 additions & 6 deletions Model/Config.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal\Model
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model;

Expand Down
7 changes: 1 addition & 6 deletions Model/ConfigInterface.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal\Model
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model;

Expand Down
8 changes: 2 additions & 6 deletions Model/Currency.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package package Lillik\PriceDecimal
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model;

Expand Down
8 changes: 2 additions & 6 deletions Model/Plugin/Currency.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package package Lillik\PriceDecimal\Model\Plugin\Local
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model\Plugin;

Expand Down
8 changes: 2 additions & 6 deletions Model/Plugin/Local/Format.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package package Lillik\PriceDecimal\Model\Plugin\Local
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model\Plugin\Local;

Expand Down
8 changes: 2 additions & 6 deletions Model/Plugin/OrderPlugin.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal\Model\Plugin
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model\Plugin;

Expand Down
8 changes: 2 additions & 6 deletions Model/Plugin/PriceCurrency.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal\Model\Plugin
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model\Plugin;

Expand Down
7 changes: 1 addition & 6 deletions Model/Plugin/PriceFormatPluginAbstract.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal\Model\Plugin
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model\Plugin;

Expand Down
8 changes: 2 additions & 6 deletions Model/PricePrecisionConfigTrait.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Model;

Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,8 @@ The code is licensed under [Apache-2.0 License](https://www.apache.org/licenses/
### TODO
- Remove decimals in cart and checkout
- Remove only zero decimal option ([description](https://github.com/lillik/magento2-price-decimal/issues/35))

### Donation
If this project help you reduce time to develop, you can give me a cup of coffee :)[![paypal](https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif)](https://www.paypal.com/donate?hosted_button_id=LKAG7L4HWMVSL)

![img](./qr-donate.png)
8 changes: 2 additions & 6 deletions Test/Unit/Plugin/Model/PriceCurrencyTest.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
* @category Magento Module
* @package Magento_Lillik
* @copyright Copyright (c) 2017 Lilian Codreanu
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

namespace Lillik\PriceDecimal\Test\Unit\Plugin\Model;

Expand Down
7 changes: 1 addition & 6 deletions Ui/DataProvider/Product/Modifier/Price.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
<?php

/**
*
* @package package Lillik\PriceDecimal\Ui\DataProvider\Product\Modifier
*
* @author Lilian Codreanu <[email protected]>
*/
declare(strict_types=1);

namespace Lillik\PriceDecimal\Ui\DataProvider\Product\Modifier;

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@
"version": "1.0.6",
"authors": [
{
"name": "Lilian Codreanu",
"email": "[email protected]",
"name": "LillikPro",
"email": "[email protected]",
"role": "Developer"
}
],
"support": {
"source": ""
},
"require": {
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1",
"php": "~5.6.0|7.0.2|7.0.4|~7.0.6|~7.1|~7.3|~7.4",
"magento/framework": "*"
},
"autoload": {
Expand Down
Binary file added qr-donate.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 2 additions & 6 deletions registration.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
<?php
/**
*
* @package Lillik\PriceDecimal
*
* @author Lilian Codreanu <[email protected]>
*/

declare(strict_types=1);

\Magento\Framework\Component\ComponentRegistrar::register(
\Magento\Framework\Component\ComponentRegistrar::MODULE,
Expand Down
4 changes: 0 additions & 4 deletions view/frontend/web/js/price-utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/

/**
* @api
Expand Down

0 comments on commit 2858fc6

Please sign in to comment.