mirror of
https://github.com/pestphp/pest.git
synced 2026-03-12 02:37:22 +01:00
fix: deprecations
This commit is contained in:
@ -19,12 +19,15 @@
|
|||||||
"require": {
|
"require": {
|
||||||
"php": "^8.1.0",
|
"php": "^8.1.0",
|
||||||
"brianium/paratest": "^7.1.1",
|
"brianium/paratest": "^7.1.1",
|
||||||
"nunomaduro/collision": "^7.1.2",
|
"nunomaduro/collision": "v7.x-dev",
|
||||||
"nunomaduro/termwind": "^1.15.1",
|
"nunomaduro/termwind": "^1.15.1",
|
||||||
"pestphp/pest-plugin": "^2.0.0",
|
"pestphp/pest-plugin": "^2.0.0",
|
||||||
"pestphp/pest-plugin-arch": "^2.0.0",
|
"pestphp/pest-plugin-arch": "^2.0.0",
|
||||||
"phpunit/phpunit": "^10.0.16"
|
"phpunit/phpunit": "^10.0.16"
|
||||||
},
|
},
|
||||||
|
"conflict": {
|
||||||
|
"webmozart/assert": "<1.11.0"
|
||||||
|
},
|
||||||
"version": "2.x-dev",
|
"version": "2.x-dev",
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"psr-4": {
|
"psr-4": {
|
||||||
|
|||||||
@ -149,8 +149,8 @@
|
|||||||
✓ it uses correct parent class
|
✓ it uses correct parent class
|
||||||
|
|
||||||
DEPR Tests\Features\Deprecated
|
DEPR Tests\Features\Deprecated
|
||||||
! deprecated → str_contains(): Passing null to parameter #2 ($needle) of type string is deprecated
|
! 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
|
! user deprecated → Since foo 1.0: This is a deprecation description // vendor/symfony/deprecation-contracts/function.php:25
|
||||||
|
|
||||||
PASS Tests\Features\Exceptions
|
PASS Tests\Features\Exceptions
|
||||||
✓ it gives access the the underlying expectException
|
✓ it gives access the the underlying expectException
|
||||||
@ -694,7 +694,7 @@
|
|||||||
✓ it is a higher order message test
|
✓ it is a higher order message test
|
||||||
|
|
||||||
NOTI Tests\Features\Notices
|
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
|
PASS Tests\Features\PendingHigherOrderTests
|
||||||
✓ get 'foo'
|
✓ get 'foo'
|
||||||
|
|||||||
Reference in New Issue
Block a user