diff --git a/.hidev/commits.md b/.hidev/commits.md index c6d4017..802443f 100644 --- a/.hidev/commits.md +++ b/.hidev/commits.md @@ -1,75 +1,14 @@ hiqdev/composer-config-plugin commits history --------------------------------------------- -## 0.1.1 2016-05-11 - -- Fixed: process root package in the last - - 09a97bf 2016-05-11 process root package in the last (sol@hiqdev.com) - -## 0.1.0 2016-04-30 - -- Added creating `vendor/hiqddev/aliases.php` with all found aliases - - 7797466 2016-04-30 csfixed (sol@hiqdev.com) - - e8b5ec4 2016-04-30 renamed `require` to `plugins` (sol@hiqdev.com) - - ee4a3bc 2016-04-30 + creating `vendor/hiqddev/aliases.php` with all aliases (sol@hiqdev.com) - -## 0.0.9 2016-04-15 - -- Removed writing common config - - 4d1db04 2016-04-15 removed writing common-config (sol@hiqdev.com) - - e7072d3 2016-04-15 changed to `common-config` <- `common` (sol@hiqdev.com) - -## 0.0.8 2016-04-15 - - - c1ca12b 2016-04-15 changed package processing condition (sol@hiqdev.com) - -## 0.0.7 2016-04-15 - -- Changed to not touch yii2-composer - - 7fd7dac 2016-04-15 don't touch yii2-composer (sol@hiqdev.com) - -## 0.0.6 2016-04-13 - -- Changed to create separate manageable configs - - 3722bb3 2016-04-13 improved package description (sol@hiqdev.com) - - 9209cbb 2016-04-13 aliases put to `common.php` file (sol@hiqdev.com) - - 5e93ea3 2016-04-13 REDONE to create separate manageable configs (sol@hiqdev.com) - -## 0.0.5 2016-03-30 - -- Changed `yii2-extraconfig` to `extension-config` - - c47dc8f 2016-03-30 + mergeConfig (sol@hiqdev.com) - - 2f03857 2016-03-30 redoing `yii2-extraconfig` to `extension-config` (sol@hiqdev.com) - - a935f20 2016-03-21 trying empty original yii2 `extensions.php` file (sol@hiqdev.com) - -## 0.0.4 2016-03-11 - -- Added processing packages that have extraconfig option - - 006c65f 2016-03-11 rehideved (sol@hiqdev.com) - - 1a949c3 2016-03-11 + process packages that have extraconfig option (sol@hiqdev.com) - - de3f3fa 2016-01-15 fixed tests (sol@hiqdev.com) - -## 0.0.3 2016-01-15 - -- Fixed bug - - 75c9cbf 2016-01-14 fixed stupid typo (sol@hiqdev.com) - -## 0.0.2 2016-01-14 - -- Fixed PHP 5.5 compatibility - - 2b22620 2016-01-14 fixed for PHP 5.5 compatibility (sol@hiqdev.com) - -## 0.0.1 2016-01-14 +## Under development - Added basics - - 71100f2 2016-01-06 fixed (sol@hiqdev.com) - - 8ef495a 2016-01-06 dropped old bootstrap support (sol@hiqdev.com) - - ed7d8b7 2016-01-06 fixes (sol@hiqdev.com) - - c1490d8 2016-01-06 + root package processing and `BASE_DIR_ALIAS` (sol@hiqdev.com) - - 0a48dee 2016-01-06 looks working (sol@hiqdev.com) - - 96e736f 2016-01-06 adding extraconfig (sol@hiqdev.com) - - 03dc968 2016-01-05 fixed (sol@hiqdev.com) - - e38ce2a 2016-01-05 inited (sol@hiqdev.com) + - 470dc87 2016-05-18 looks working (sol@hiqdev.com) + - 65d1a3e 2016-05-18 redoing (sol@hiqdev.com) + - 927a73f 2016-05-18 + replace composer-extension-plugin (sol@hiqdev.com) + - 6270475 2016-05-18 redoing (sol@hiqdev.com) + - 79b5c49 2016-05-18 inited (sol@hiqdev.com) -## Development started 2016-01-05 +## Development started 2016-05-18 diff --git a/.hidev/config.yml b/.hidev/config.yml index 09b65b5..18b1314 100644 --- a/.hidev/config.yml +++ b/.hidev/config.yml @@ -10,6 +10,7 @@ package: and thus providing extendable plugin system. - scans installed packages for extra `config-plugin` option in their `composer.json` + - requires all defines files - collects and writes params file - collects and writes config files diff --git a/CHANGELOG.md b/CHANGELOG.md index 5db906b..4d27ffc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,48 +1,9 @@ hiqdev/composer-config-plugin changelog --------------------------------------- -## 0.1.1 2016-05-11 - -- Fixed: process root package in the last - -## 0.1.0 2016-04-30 - -- Added creating `vendor/hiqddev/aliases.php` with all found aliases - -## 0.0.9 2016-04-15 - -- Removed writing common config - -## 0.0.8 2016-04-15 - - -## 0.0.7 2016-04-15 - -- Changed to not touch yii2-composer - -## 0.0.6 2016-04-13 - -- Changed to create separate manageable configs - -## 0.0.5 2016-03-30 - -- Changed `yii2-extraconfig` to `extension-config` - -## 0.0.4 2016-03-11 - -- Added processing packages that have extraconfig option - -## 0.0.3 2016-01-15 - -- Fixed bug - -## 0.0.2 2016-01-14 - -- Fixed PHP 5.5 compatibility - -## 0.0.1 2016-01-14 +## Under development - Added basics -## Development started 2016-01-05 +## Development started 2016-05-18 diff --git a/README.md b/README.md index 8effbf0..6f57dde 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,8 @@ This [Composer](https://getcomposer.org/) plugin that provides assembling of con and thus providing extendable plugin system. - scans installed packages for extra `config-plugin` option in their `composer.json` -- collects and writes params files +- requires all defines files +- collects and writes params file - collects and writes config files ## Installation diff --git a/composer.json b/composer.json index deb49d5..c6010a4 100644 --- a/composer.json +++ b/composer.json @@ -49,14 +49,14 @@ "require-dev": { "composer/composer": "~1.0@dev" }, - "replace": { - "hiqdev/composer-extension-plugin": "*" - }, "autoload": { "psr-4": { "hiqdev\\ComposerConfigPlugin\\": "src" } }, + "replace": { + "hiqdev/composer-extension-plugin": "*" + }, "extra": { "class": "hiqdev\\ComposerConfigPlugin\\Plugin" } diff --git a/src/Plugin.php b/src/Plugin.php index 4a2f233..ca4ca9b 100644 --- a/src/Plugin.php +++ b/src/Plugin.php @@ -169,7 +169,7 @@ public function processPackage(PackageInterface $package) 'package' => $package, 'extension' => $extension, 'aliases' => $aliases, - 'files' => (array)$files, + 'files' => (array) $files, ]; }