Magento applies a custom patch with a command line, composer -v install
throws an error,
[TypeError] Composer\Util\RemoteFilesystem::copy(): Argument #1 ($originUrl) must be of type string, null given, called in /var/www/ht ml/vendor/cweagans/composer-patches/src/Patches.php on line 388 "Patch Call to a member function getCustomer() on null fix": "patches/vendor/rbj/module-customer-feature/Model/Rule/Condition/Customer.patch" IN the class name typo issue.
Here you can’t able to apply the patch and throw an error as mentioned above. Continue reading “How to fix Magento custom patch throws an error while patch applied?”