shyim / store-plugin-installer

Install store.shopware.com Plugins automatically in your Shopware Composer Setup
36 stars 7 forks source link

Constructor args required #19

Closed Forestsoft-de closed 5 years ago

Forestsoft-de commented 5 years ago

https://github.com/shyim/store-plugin-installer/blob/d147fc9f48c3d344ba8215c751961c208a8d6a33/src/Shyim/PluginInstaller.php#L27

Fatal error: Uncaught ArgumentCountError: Too few arguments to function Shyim\PluginInstaller::__construct(), 0 passed in phar:///www/casamia.local/releases/43/src/bin/composer.phar/src/Composer/Plugin/PluginManager.php on line 2 04 and exactly 2 expected in /www/casamia.local/releases/43/src/vendor/shyim/store-plugin-installer/src/Shyim/PluginInstaller.php:27 Stack trace:

0 phar:///www/casamia.local/releases/43/src/bin/composer.phar/src/Composer/Plugin/PluginManager.php(204): Shyim\PluginInstaller->__construct()

on composer update with a fresh composer installation.

shyim commented 5 years ago

weird. Did you use the master branch?

Forestsoft-de commented 5 years ago

yep switched now to the tag 0.2.2 and its great again.

Am Fr., 22. März 2019 um 19:43 Uhr schrieb Shyim notifications@github.com:

weird. Did you use the master branch?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shyim/store-plugin-installer/issues/19#issuecomment-475736933, or mute the thread https://github.com/notifications/unsubscribe-auth/AAIF4id5S0xoc2o0vW5l-pOl56nb2joXks5vZSRigaJpZM4cEMdm .

-- Mit freundlichem Gruss Sebastian Förster

Schloss-Dyck-Str. 88b 41238 Mönchengladbach Tel.: 02166/6782970 - Fax: 02166/6479472 - Web.: www.forestsoft.de

shyim commented 5 years ago

Maybe its cache from Composer? Cause i renamed classes in master

Forestsoft-de commented 5 years ago

cleared everything which i could. see the stacktrace: https://github.com/composer/composer/blob/4441be1a0536789b28bea20c3a86cbcac852a0d2/src/Composer/Plugin/PluginManager.php#L204

there are no arguments defined.

shyim commented 5 years ago

Ahhh fixed thanks :)