diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 56348f7..903243c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,8 +12,9 @@ repos: - id: pretty-format-json args: ["--indent=4", "--autofix", "--no-sort-keys"] - repo: https://github.com/eriocnemis/git.MagentoPreCommitHooks - rev: 1.0.8 + rev: 1.0.10 hooks: + - id: magento-xml - id: magento-phpcs args: ["--autofix"] - id: magento-phpmd diff --git a/README.md b/README.md index 5b03afd..25d9399 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Version | 2.0.* | 2.1.* | 2.2.* | 2.3.* | 2.4.* Magento Community | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Enterprise | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: Magento Cloud | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: -Extension version | [2.0.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.2.zip) | [2.1.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.2.zip) | [2.2.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.2.zip) | [2.3.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.1.zip) |[2.4.2](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.2.zip) +Extension version | [2.0.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.0.3.zip) | [2.1.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.1.3.zip) | [2.2.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.2.3.zip) | [2.3.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.3.3.zip) |[2.4.3](https://github.com/eriocnemis/m2.ExchangeEcb/archive/2.4.3.zip) ## Install diff --git a/composer.json b/composer.json index 96530f4..340b343 100644 --- a/composer.json +++ b/composer.json @@ -2,7 +2,7 @@ "name": "eriocnemis/module-exchange-ecb", "description": "The extension retrieves currency exchange rates from the European Central Bank.", "type": "magento2-module", - "version": "2.1.2", + "version": "2.1.3", "authors": [ { "name": "Eriocnemis Team", @@ -19,10 +19,10 @@ }, "autoload": { "files": [ - "registration.php" + "src/registration.php" ], "psr-4": { - "Eriocnemis\\ExchangeEcb\\": "" + "Eriocnemis\\ExchangeEcb\\": "src" } } } diff --git a/Model/Currency/Gateway.php b/src/Model/Currency/Gateway.php similarity index 100% rename from Model/Currency/Gateway.php rename to src/Model/Currency/Gateway.php diff --git a/Model/Currency/Import.php b/src/Model/Currency/Import.php similarity index 100% rename from Model/Currency/Import.php rename to src/Model/Currency/Import.php diff --git a/Model/Currency/Rate.php b/src/Model/Currency/Rate.php similarity index 100% rename from Model/Currency/Rate.php rename to src/Model/Currency/Rate.php diff --git a/etc/adminhtml/system.xml b/src/etc/adminhtml/system.xml similarity index 100% rename from etc/adminhtml/system.xml rename to src/etc/adminhtml/system.xml diff --git a/etc/config.xml b/src/etc/config.xml similarity index 100% rename from etc/config.xml rename to src/etc/config.xml diff --git a/etc/di.xml b/src/etc/di.xml similarity index 100% rename from etc/di.xml rename to src/etc/di.xml diff --git a/etc/module.xml b/src/etc/module.xml similarity index 87% rename from etc/module.xml rename to src/etc/module.xml index 2905a74..c4551c3 100644 --- a/etc/module.xml +++ b/src/etc/module.xml @@ -7,7 +7,7 @@ --> - + diff --git a/i18n/en_US.csv b/src/i18n/en_US.csv similarity index 100% rename from i18n/en_US.csv rename to src/i18n/en_US.csv diff --git a/registration.php b/src/registration.php similarity index 100% rename from registration.php rename to src/registration.php