mirror of
https://github.com/pestphp/pest.git
synced 2026-03-06 07:47:22 +01:00
fix: deprecations
This commit is contained in:
@ -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": {
|
||||
|
||||
@ -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'
|
||||
|
||||
Reference in New Issue
Block a user