dingo / api

A RESTful API package for the Laravel and Lumen frameworks.
BSD 3-Clause "New" or "Revised" License
9.32k stars 1.25k forks source link

[3.x] PHPUnit 8.5 #1716

Closed harlan-zw closed 4 years ago

harlan-zw commented 4 years ago

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.

StringKe commented 4 years ago

How to use your modified package temporarily?

lloricode commented 4 years ago

clone, add this to composer.json

  "repositories": [
    {
      "type": "vcs",
      "url": "<ssh|http>.git"
    }
  ],

then push on your own repo, then use it

specialtactics commented 4 years ago

Great work !