From 600846e583fe39c8e9ecb4414ec33bd53ed84d8a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 6 Apr 2021 09:38:40 +0200 Subject: update to 1.1.7 drop patch merged upstream --- composer.json | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) (limited to 'composer.json') diff --git a/composer.json b/composer.json index 4d27306..bde0b54 100644 --- a/composer.json +++ b/composer.json @@ -31,8 +31,7 @@ "php": ">=5.3.9" }, "require-dev": { - "phpunit/phpunit": "~4.8", - "cweagans/composer-patches": "^1.6" + "phpunit/phpunit": "~4.8" }, "suggest": { "ext-phpiredis": "Allows faster serialization and deserialization of the Redis protocol", @@ -43,16 +42,7 @@ "Predis\\": "src/" } }, - "extra": { - "composer-exit-on-patch-failure": true, - "patches": { - "phpunit/phpunit-mock-objects": { - "Fix PHP 7 and 8 compatibility": "./tests/phpunit_mock_objects.patch" - }, - "phpunit/phpunit": { - "Fix PHP 7 compatibility": "./tests/phpunit_php7.patch", - "Fix PHP 8 compatibility": "./tests/phpunit_php8.patch" - } - } - } + "scripts": { + "post-update-cmd": "@php -f tests/apply-patches.php" + } } -- cgit