add patch

This commit is contained in:
Daniel Seifert 2022-08-25 12:05:48 +02:00
commit 97f112f3a2
Getekend door: DanielS
GPG sleutel-ID: 8A7C4C6ED1915C6F
2 gewijzigde bestanden met toevoegingen van 52 en 0 verwijderingen

Bestand weergeven

@ -0,0 +1,26 @@
From 5b1d95de5bc7f6ca096da5513273eca8933b4375 Mon Sep 17 00:00:00 2001
From: Daniel Seifert <ds@shopmodule.com>
Date: Thu, 25 Aug 2022 11:51:41 +0200
Subject: [PATCH 1/1] remove unnecessary Unzer SDK dependency
see https://bugs.oxid-esales.com/view.php?id=7349
---
composer.json | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/composer.json b/composer.json
index 7f0e73c..7875a53 100644
--- a/composer.json
+++ b/composer.json
@@ -21,7 +21,6 @@
"psr/http-client": "1.0.1",
"psr/http-factory": "1.0.1",
"psr/http-message": "1.0.1",
- "ralouphie/getallheaders": "3.0.3",
- "unzerdev/php-sdk": "1.2.0.0"
+ "ralouphie/getallheaders": "3.0.3"
}
}
--
2.26.1.windows.1

26
README.md Normal file
Bestand weergeven

@ -0,0 +1,26 @@
# Patch to install the D3 Unzer plugin in OXID EE 6.5
Due to an error in the Enterprise Metapackage (https://bugs.oxid-esales.com/view.php?id=7349), the D3 Unzer plugin may not be installed. Composer then reports a version conflict with the `unzerdev/php-sdk` package.
## first add this to your main composer file
```composer require cweagans/composer-patches```
## add this to your main composer file
```
"extra": {
"patches": {
"oxid-esales/oxideshop-metapackage-ee": {
"Fixes dependencies bug for D3 Unzer plugin in OXID Metapackage EE 6.5":
"https://git.d3data.de/D3Public/Unzer/raw/branch/Patch_EE65/0007349_Unzer_dependency.patch"
}
},
"enable-patching": true
},
```
## run this command
```composer install```
Run the D3 Unzer installation steps again.