From e7af5a4cf91c7d9a796f4fe8b7c7f6d864a1d18b Mon Sep 17 00:00:00 2001 From: Nuno Maduro Date: Fri, 17 Mar 2023 20:39:29 +0000 Subject: [PATCH] fix: deprecations --- composer.json | 5 ++++- tests/.snapshots/success.txt | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 2b937bb8..ceebf09c 100644 --- a/composer.json +++ b/composer.json @@ -19,12 +19,15 @@ "require": { "php": "^8.1.0", "brianium/paratest": "^7.1.1", - "nunomaduro/collision": "^7.1.2", + "nunomaduro/collision": "v7.x-dev", "nunomaduro/termwind": "^1.15.1", "pestphp/pest-plugin": "^2.0.0", "pestphp/pest-plugin-arch": "^2.0.0", "phpunit/phpunit": "^10.0.16" }, + "conflict": { + "webmozart/assert": "<1.11.0" + }, "version": "2.x-dev", "autoload": { "psr-4": { diff --git a/tests/.snapshots/success.txt b/tests/.snapshots/success.txt index fe848aef..7dbe9326 100644 --- a/tests/.snapshots/success.txt +++ b/tests/.snapshots/success.txt @@ -149,8 +149,8 @@ ✓ it uses correct parent class DEPR Tests\Features\Deprecated - ! deprecated → str_contains(): Passing null to parameter #2 ($needle) of type string is deprecated - ! user deprecated → Since foo 1.0: This is a deprecation description + ! deprecated → str_contains(): Passing null to parameter #2 ($needle) of type string is deprecated // tests/Features/Deprecated.php:6 + ! user deprecated → Since foo 1.0: This is a deprecation description // vendor/symfony/deprecation-contracts/function.php:25 PASS Tests\Features\Exceptions ✓ it gives access the the underlying expectException @@ -694,7 +694,7 @@ ✓ it is a higher order message test NOTI Tests\Features\Notices - ! notice → This is a notice description + ! notice → This is a notice description // tests/Features/Notices.php:4 PASS Tests\Features\PendingHigherOrderTests ✓ get 'foo'