hootlex / laravel-friendships

This package gives Eloquent models the ability to manage their friendships.
MIT License
703 stars 151 forks source link

Updated the package to support laravel 5.8 #123

Closed Advaith3600 closed 4 years ago

Advaith3600 commented 5 years ago

Laravel 5.8 no longer supports Event::fire() methods instead Events::dispatch() should be used

hootlex commented 5 years ago

Thanks a lot for the contribution. Any clues why the tests fail?

jhm-ciberman commented 5 years ago

Thanks a lot for the contribution. Any clues why the tests fail?

The minimum PHP requirement for Laravel 5.8 is PHP 7.1.3. Can you please update the travis config?

Advaith3600 commented 5 years ago

Updated the Travis file according to the request. Still, the issue remains. Tried further fixing it and now Mockery is giving an issue. Will degrade the version of laravel-dump-server to support lower versions of PHP.

Advaith3600 commented 4 years ago

Added support to the latest versions of Laravel. At least PHP 7.1 and Laravel 5.6 is required for the usage of this package.

tquiroga commented 4 years ago

@hootlex Merge please?