Just follow the documentation, you must have installed php7.2.5
Update your laravel/framework dependency to ^7.0 in your composer.json file.
In addition, update your nunomaduro/collision dependency to ^4.1,
phpunit/phpunit dependency to ^8.5,
facade/ignition to> `^2.0
After that as next step.
The report and render methods of your application’s App\Exceptions\Handler
class should accept instances of the Throwable interface instead of Exception instances:
use Throwable; // add this line
public function report(Throwable $exception); // replace Exception with Throwable
public function render($request, Throwable $exception); // replace Exception with Throwable
after that run
composer update