Closed harlan-zw closed 4 years ago
How to use your modified package temporarily?
clone, add this to composer.json
"repositories": [
{
"type": "vcs",
"url": "<ssh|http>.git"
}
],
then push on your own repo, then use it
Great work !
See this PR first: https://github.com/dingo/api/pull/1715
Laravel 7 has a min requirement of phpunit 8.5, so makes sense to update this to 8.5 as well.
While fixing the PHPUnit deprecations i've cleaned up the test files. Goal was to get the tests running but also to fix the issues stopping the IDE intellisense to work.
Mockery::close
and response resetting. The new phpunit uses typed void functions which required going through and updated all of thetearDown()
andsetUp()
::class
invocations of classes which didn't exist for the namespaces.@throwsException deprecation