clarkeash/doorman

Laravel 5.7 Compatibility

Closed this issue · 9 comments

Laravel 5.7 Compatibility

Updated laravel and test bench

First problem (mockery no longer installed by default)

screenshot 2018-10-06 at 20 16 53

2nd issue (looks like some timing precision has changed):

screenshot 2018-10-06 at 20 31 40

Okay, this is now working:

I am not overly found of the solution: $date = Carbon::now( 'UTC')->endOfDay()->startOfSecond(); add this startOfSecond() call feels a bit weird.

But tests are green:

screenshot 2018-10-06 at 20 57 21

New issue: startOfSecond() doesnt exist in whatever version of Carbon ships with laravel 5.6

screenshot 2018-10-06 at 21 02 49

Solved:

screenshot 2018-10-06 at 21 12 08

will tag v2.1.0

Thanks a lot for your time. Really appreciate it.

No problem 😄