From 08cd5ea43cdf1ba7cfabc01e3ad25920fe730799 Mon Sep 17 00:00:00 2001 From: Vladimir Kerkhoff Date: Tue, 29 Dec 2015 10:11:10 +0100 Subject: [PATCH] Added registration.php to autoload and removed mapping to prevent copying file from vendor to app/code --- composer.json | 51 ++++++++++++++++++++++----------------------------- 1 file changed, 22 insertions(+), 29 deletions(-) diff --git a/composer.json b/composer.json index 44e46cdd..abfa09ea 100644 --- a/composer.json +++ b/composer.json @@ -1,32 +1,25 @@ { - "name": "paynl/magento2-plugin", - "description": "Pay.nl Magento2 Payment methods", - "type": "magento2-module", - "require": { - "php": "~5.5.0|~5.6.0", - "magento/magento-composer-installer": "*", - "magento/module-sales": "*", - "magento/module-payment": "*", - "magento/module-quote": "*", - "paynl/sdk": "^1.0" - }, - "authors": [ - { - "name": "Andy Pieters", - "email": "andy@pay.nl" - } - ], - "autoload": { - "psr-4": { - "Paynl\\Payment\\": "" - } - }, - "extra": { - "map": [ - [ - "*", - "Paynl/Payment" - ] - ] + "name": "paynl/magento2-plugin", + "description": "Pay.nl Magento2 Payment methods", + "type": "magento2-module", + "require": { + "php": "~5.5.0|~5.6.0", + "magento/magento-composer-installer": "*", + "magento/module-sales": "*", + "magento/module-payment": "*", + "magento/module-quote": "*", + "paynl/sdk": "^1.0" + }, + "authors": [ + { + "name": "Andy Pieters", + "email": "andy@pay.nl" } + ], + "autoload": { + "files": [ "registration.php" ], + "psr-4": { + "Paynl\\Payment\\": "" + } + } }