diff options
Diffstat (limited to 'composer.json')
-rw-r--r-- | composer.json | 18 |
1 files changed, 4 insertions, 14 deletions
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" + } } |