11

When I tried to create a new laravel project from scratch the following error occurred. What could be the reason and will it have any impact on the project? I am using Laravel 7

2 Answers 2

9

Citing Sebastian Bergmann

phpunit/php-token-stream has been abandoned. PHPUnit 8.5, which still receives bug fixes until February, uses phpunit/php-token-stream. Just ignore this message from Composer.

You have to update to PHPUnit 9 to get rid of the warning.

Source: https://web.archive.org/web/20200917163338/https://github.com/laravel/ui/issues/134

6

I have changed this package in composer.json and it worked just fine :

        "phpunit/phpunit": "^9.0"

this is compatible with laravel ^7.4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.