nunomaduro / pest

This repository contains an old version of PEST. A new and better version is being coded in private and will be out soon: https://github.com/pestphp/pest.
343 stars 3 forks source link

Conflict between packages/functions #29

Closed avfigueredo closed 4 years ago

avfigueredo commented 4 years ago

Hi, I am trying to install, but I getting this conflict between packages:

PHP Fatal error: Cannot redeclare once() (previously declared in vendor/spatie/once/src/functions.php:6) in /vendor/phpunit/phpunit/src/Framework/Assert/Functions.php on line 2529

Any idea of how I can resolve this issue?

nunomaduro commented 4 years ago

I have no idea, sorry! Seems that a package you have installed already contains a global method we are using from phpunit.

olivernybroe commented 4 years ago

@avfigueredo You can try fiddling with excluding the file from the autoloader. However I cannot promise that stuff won't break my doing it.