Download the PHP package elgentos/magento2-composer-quality-patches without Composer
On this page you can find all versions of the php package elgentos/magento2-composer-quality-patches. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download elgentos/magento2-composer-quality-patches
More information about elgentos/magento2-composer-quality-patches
Files in elgentos/magento2-composer-quality-patches
Package magento2-composer-quality-patches
Short Description Converts Magento's Quality Patches to a JSON format to be used with vaimo/composer-patches
License
Informations about the package magento2-composer-quality-patches
elgentos/magento2-composer-quality-patches
This extension adds one command: bin/magento elgentos:quality-patches:convert
It generates a composer.quality-patches.json
file to use with the vaimo/composer-patches
package. It will also add that file to composer.json
when it hasn't been set yet, and add a post-update-cmd hook to automatically update the patches file.
This depends on magento/quality-patches
and vaimo/composer-patches
.
Some patches will give a "Hmm... Ignoring the trailing garbage." warnings, causing the patch to fail. There are two ways to handle this;
-
Add this to your
composer.json
to let patches fail without stopping the patching: - Add this to your post-install-cmd to fix the double new lines and run the patcher again:
We prefer option 2 because when using option 1, other patches that fail for other reasons will not stop our deployment.
Install & Usage
Alternative method of automatically applying patches
composer require magento/quality-patches
- Add this to your
composer.json
;
All versions of magento2-composer-quality-patches with dependencies
magento/quality-patches Version ^1.1.14
vaimo/composer-patches Version *