Closed bogdan-soroka-monsoonconsulting closed 7 months ago
We've also noticed this issue since we would get inconsistent CI builds due to this.
It took a while to figure out that this bug was the reason for this.
We will be downgrading to 5.1.1 until this is fixed.
Just wanted to confirm that I also started running into this with a project with PHP 8.1, composer 2.6.6, after I upgraded vaimo/composer-patches to 5.1.2. The problem disappeared after reverting to 5.1.2
After updating to version 5.1.2, the following error occurs from time to time:
Pre-requisites PHP: 8.2 composer: 2.2
To Reproduce Please use the files below:
composer.json
patches.json
patch.patch
Sometimes it doesn't reproduce the first time you execute
composer install
, so execute the following command until it does:Expected The patch must be applied.
Actual From time to time, a RuntimeException appears e.g.
Notes The previous version (5.1.1) works properly, so we're using it for now.