fix: deprecations

This commit is contained in:
Nuno Maduro
2023-03-17 20:39:29 +00:00
parent ef7d1527da
commit e7af5a4cf9
2 changed files with 7 additions and 4 deletions

View File

@ -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": {

View File

@ -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'