diff --git a/Block/System/Config/Form/Field/Precision.php b/Block/System/Config/Form/Field/Precision.php index 925c807..bd2e6a8 100644 --- a/Block/System/Config/Form/Field/Precision.php +++ b/Block/System/Config/Form/Field/Precision.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Block\System\Config\Form\Field; diff --git a/Model/Config.php b/Model/Config.php index 0d457f2..d45befd 100644 --- a/Model/Config.php +++ b/Model/Config.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model; diff --git a/Model/ConfigInterface.php b/Model/ConfigInterface.php index c18495f..83a4b62 100644 --- a/Model/ConfigInterface.php +++ b/Model/ConfigInterface.php @@ -1,11 +1,6 @@ - */ +declare(strict_types=1); namespace Lillik\PriceDecimal\Model; diff --git a/Model/Currency.php b/Model/Currency.php index 9556047..e98ac31 100644 --- a/Model/Currency.php +++ b/Model/Currency.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model; diff --git a/Model/Plugin/Currency.php b/Model/Plugin/Currency.php index 02127df..be9cb03 100644 --- a/Model/Plugin/Currency.php +++ b/Model/Plugin/Currency.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model\Plugin; diff --git a/Model/Plugin/Local/Format.php b/Model/Plugin/Local/Format.php index d957d09..4eef5de 100644 --- a/Model/Plugin/Local/Format.php +++ b/Model/Plugin/Local/Format.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model\Plugin\Local; diff --git a/Model/Plugin/OrderPlugin.php b/Model/Plugin/OrderPlugin.php index e686ed8..c443a4a 100644 --- a/Model/Plugin/OrderPlugin.php +++ b/Model/Plugin/OrderPlugin.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model\Plugin; diff --git a/Model/Plugin/PriceCurrency.php b/Model/Plugin/PriceCurrency.php index b3508cb..96814aa 100644 --- a/Model/Plugin/PriceCurrency.php +++ b/Model/Plugin/PriceCurrency.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model\Plugin; diff --git a/Model/Plugin/PriceFormatPluginAbstract.php b/Model/Plugin/PriceFormatPluginAbstract.php index bb107f7..2948d1b 100644 --- a/Model/Plugin/PriceFormatPluginAbstract.php +++ b/Model/Plugin/PriceFormatPluginAbstract.php @@ -1,11 +1,6 @@ - */ +declare(strict_types=1); namespace Lillik\PriceDecimal\Model\Plugin; diff --git a/Model/PricePrecisionConfigTrait.php b/Model/PricePrecisionConfigTrait.php index c009240..0555cee 100644 --- a/Model/PricePrecisionConfigTrait.php +++ b/Model/PricePrecisionConfigTrait.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Model; diff --git a/README.md b/README.md index 2cb1547..be7c18c 100644 --- a/README.md +++ b/README.md @@ -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) \ No newline at end of file diff --git a/Test/Unit/Plugin/Model/PriceCurrencyTest.php b/Test/Unit/Plugin/Model/PriceCurrencyTest.php index 96e67a5..82efc40 100644 --- a/Test/Unit/Plugin/Model/PriceCurrencyTest.php +++ b/Test/Unit/Plugin/Model/PriceCurrencyTest.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); namespace Lillik\PriceDecimal\Test\Unit\Plugin\Model; diff --git a/Ui/DataProvider/Product/Modifier/Price.php b/Ui/DataProvider/Product/Modifier/Price.php index 41f7621..58e3655 100644 --- a/Ui/DataProvider/Product/Modifier/Price.php +++ b/Ui/DataProvider/Product/Modifier/Price.php @@ -1,11 +1,6 @@ - */ +declare(strict_types=1); namespace Lillik\PriceDecimal\Ui\DataProvider\Product\Modifier; diff --git a/composer.json b/composer.json index 2207d10..cf13a41 100644 --- a/composer.json +++ b/composer.json @@ -9,8 +9,8 @@ "version": "1.0.6", "authors": [ { - "name": "Lilian Codreanu", - "email": "lilian.codreanu@gmail.com", + "name": "LillikPro", + "email": "support@lillik.pro", "role": "Developer" } ], @@ -18,7 +18,7 @@ "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": { diff --git a/qr-donate.png b/qr-donate.png new file mode 100644 index 0000000..516e358 Binary files /dev/null and b/qr-donate.png differ diff --git a/registration.php b/registration.php index e9aefc2..0ab6ba3 100644 --- a/registration.php +++ b/registration.php @@ -1,10 +1,6 @@ - */ + +declare(strict_types=1); \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, diff --git a/view/frontend/web/js/price-utils.js b/view/frontend/web/js/price-utils.js index 7f32849..f0cc4d4 100644 --- a/view/frontend/web/js/price-utils.js +++ b/view/frontend/web/js/price-utils.js @@ -1,7 +1,3 @@ -/** - * Copyright © Magento, Inc. All rights reserved. - * See COPYING.txt for license details. - */ /** * @api