diff --git a/src/Vendor/Composer/ComposerJsonNormalizer.php b/src/Vendor/Composer/ComposerJsonNormalizer.php index 7abfa57b..930409d6 100644 --- a/src/Vendor/Composer/ComposerJsonNormalizer.php +++ b/src/Vendor/Composer/ComposerJsonNormalizer.php @@ -73,7 +73,7 @@ public function __construct(string $schemaUri) * @see https://github.com/cweagans/composer-patches/blob/1.7.2/src/Patches.php#L315-L329 */ Pointer\Specification::closure(static function (Pointer\JsonPointer $jsonPointer): bool { - return 1 === \preg_match('{^\/extra\/patches\/([^/])+$}', $jsonPointer->toJsonString()); + return 1 === \preg_match('{^/extra/patches/([^/])+$}', $jsonPointer->toJsonString()); }), /** * Repositories need to be iterated in a specific order, but can be an array or an object.