diff --git a/CHANGELOG.md b/CHANGELOG.md index 6c5708c..9845fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,22 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.4.0 - 2022-04-13 +### Added +- A project resolver to decide which project is installed. Also added a config to overwrite the type used. +- Composer requirement which should have already been there. + +### Changed +- Make patches independent on project type. +- Files mapping to make clear which platforms the files are used for. + +### Fixed +- Issue where magento 2 IDE files are installed in different projects like `Alumio` or `Laravel`. + ## 2.3.0 - 2021-03-10 ### Added - Copyright. - Declare strict type. ### Changed -- Vendor name from Mediact to Youwe \ No newline at end of file +- Vendor name from Mediact to Youwe diff --git a/composer.json b/composer.json index 788237c..7aa1150 100644 --- a/composer.json +++ b/composer.json @@ -16,9 +16,11 @@ "composer-plugin-api": "^1.0 || ^2.0" }, "require-dev": { + "composer/composer": "@stable", "ext-simplexml": "*", "kint-php/kint": "@stable", - "mikey179/vfsstream": "^1.6" + "mikey179/vfsstream": "^1.6", + "phpunit/phpunit": "@stable" }, "autoload": { "psr-4": { diff --git a/files/codeStyleSettings.xml b/files/default/codeStyleSettings.xml similarity index 100% rename from files/codeStyleSettings.xml rename to files/default/codeStyleSettings.xml diff --git a/files/emptyConfig.xml b/files/default/emptyConfig.xml similarity index 100% rename from files/emptyConfig.xml rename to files/default/emptyConfig.xml diff --git a/files/fileTemplates/code/PHP Constructor.php b/files/default/fileTemplates/code/PHP Constructor.php similarity index 100% rename from files/fileTemplates/code/PHP Constructor.php rename to files/default/fileTemplates/code/PHP Constructor.php diff --git a/files/fileTemplates/code/PHP Fluent Setter Method.php b/files/default/fileTemplates/code/PHP Fluent Setter Method.php similarity index 100% rename from files/fileTemplates/code/PHP Fluent Setter Method.php rename to files/default/fileTemplates/code/PHP Fluent Setter Method.php diff --git a/files/fileTemplates/code/PHP Getter Method.php b/files/default/fileTemplates/code/PHP Getter Method.php similarity index 100% rename from files/fileTemplates/code/PHP Getter Method.php rename to files/default/fileTemplates/code/PHP Getter Method.php diff --git a/files/fileTemplates/code/PHP Implemented Method Body.php b/files/default/fileTemplates/code/PHP Implemented Method Body.php similarity index 100% rename from files/fileTemplates/code/PHP Implemented Method Body.php rename to files/default/fileTemplates/code/PHP Implemented Method Body.php diff --git a/files/fileTemplates/code/PHP Overridden Method Body.php b/files/default/fileTemplates/code/PHP Overridden Method Body.php similarity index 100% rename from files/fileTemplates/code/PHP Overridden Method Body.php rename to files/default/fileTemplates/code/PHP Overridden Method Body.php diff --git a/files/fileTemplates/code/PHP Setter Method.php b/files/default/fileTemplates/code/PHP Setter Method.php similarity index 100% rename from files/fileTemplates/code/PHP Setter Method.php rename to files/default/fileTemplates/code/PHP Setter Method.php diff --git a/files/fileTemplates/code/PHPUnit Test Method.php b/files/default/fileTemplates/code/PHPUnit Test Method.php similarity index 100% rename from files/fileTemplates/code/PHPUnit Test Method.php rename to files/default/fileTemplates/code/PHPUnit Test Method.php diff --git a/files/fileTemplates/includes/Company Settings.php b/files/default/fileTemplates/includes/Company Settings.php similarity index 100% rename from files/fileTemplates/includes/Company Settings.php rename to files/default/fileTemplates/includes/Company Settings.php diff --git a/files/fileTemplates/includes/PHP Class Doc Comment.php b/files/default/fileTemplates/includes/PHP Class Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Class Doc Comment.php rename to files/default/fileTemplates/includes/PHP Class Doc Comment.php diff --git a/files/fileTemplates/includes/PHP Field Doc Comment.php b/files/default/fileTemplates/includes/PHP Field Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Field Doc Comment.php rename to files/default/fileTemplates/includes/PHP Field Doc Comment.php diff --git a/files/fileTemplates/includes/PHP File Header.php b/files/default/fileTemplates/includes/PHP File Header.php similarity index 100% rename from files/fileTemplates/includes/PHP File Header.php rename to files/default/fileTemplates/includes/PHP File Header.php diff --git a/files/fileTemplates/includes/PHP Function Doc Comment.php b/files/default/fileTemplates/includes/PHP Function Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Function Doc Comment.php rename to files/default/fileTemplates/includes/PHP Function Doc Comment.php diff --git a/files/fileTemplates/includes/PHP Interface Doc Comment.php b/files/default/fileTemplates/includes/PHP Interface Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Interface Doc Comment.php rename to files/default/fileTemplates/includes/PHP Interface Doc Comment.php diff --git a/files/fileTemplates/includes/PHP Property Doc Comment.php b/files/default/fileTemplates/includes/PHP Property Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Property Doc Comment.php rename to files/default/fileTemplates/includes/PHP Property Doc Comment.php diff --git a/files/fileTemplates/includes/PHP Trait Doc Comment.php b/files/default/fileTemplates/includes/PHP Trait Doc Comment.php similarity index 100% rename from files/fileTemplates/includes/PHP Trait Doc Comment.php rename to files/default/fileTemplates/includes/PHP Trait Doc Comment.php diff --git a/files/fileTemplates/internal/JavaScript File.js b/files/default/fileTemplates/internal/JavaScript File.js similarity index 100% rename from files/fileTemplates/internal/JavaScript File.js rename to files/default/fileTemplates/internal/JavaScript File.js diff --git a/files/fileTemplates/internal/PHP Class.php b/files/default/fileTemplates/internal/PHP Class.php similarity index 100% rename from files/fileTemplates/internal/PHP Class.php rename to files/default/fileTemplates/internal/PHP Class.php diff --git a/files/fileTemplates/internal/PHP File.php b/files/default/fileTemplates/internal/PHP File.php similarity index 100% rename from files/fileTemplates/internal/PHP File.php rename to files/default/fileTemplates/internal/PHP File.php diff --git a/files/fileTemplates/internal/PHP Interface.php b/files/default/fileTemplates/internal/PHP Interface.php similarity index 100% rename from files/fileTemplates/internal/PHP Interface.php rename to files/default/fileTemplates/internal/PHP Interface.php diff --git a/files/fileTemplates/internal/PHP Trait.php b/files/default/fileTemplates/internal/PHP Trait.php similarity index 100% rename from files/fileTemplates/internal/PHP Trait.php rename to files/default/fileTemplates/internal/PHP Trait.php diff --git a/files/fileTemplates/internal/PHPUnit 6 Test.php b/files/default/fileTemplates/internal/PHPUnit 6 Test.php similarity index 100% rename from files/fileTemplates/internal/PHPUnit 6 Test.php rename to files/default/fileTemplates/internal/PHPUnit 6 Test.php diff --git a/files/fileTemplates/internal/PHPUnit Test.php b/files/default/fileTemplates/internal/PHPUnit Test.php similarity index 100% rename from files/fileTemplates/internal/PHPUnit Test.php rename to files/default/fileTemplates/internal/PHPUnit Test.php diff --git a/files/inspectionProfiles/MediaCT.xml b/files/default/inspectionProfiles/Global.xml similarity index 99% rename from files/inspectionProfiles/MediaCT.xml rename to files/default/inspectionProfiles/Global.xml index a0c773c..2a38f9f 100644 --- a/files/inspectionProfiles/MediaCT.xml +++ b/files/default/inspectionProfiles/Global.xml @@ -1,6 +1,6 @@ -