Closed dabich closed 5 years ago
I'm not sure if this is what's causing it to fail, but the deprecated array_first()
helper method is being use here:
https://github.com/davejamesmiller/laravel-breadcrumbs/blob/8e2ddef22bc0451f7b1df714c0de3c8ec20ec843/src/BreadcrumbsManager.php#L282
It should probably be updated to Arr::first()
According to the Laravel docs this helper method is deprecated:
All array* and str* global helpers have been deprecated. You should use the Illuminate\Support\Arr and Illuminate\Support\Str methods directly.
It should probably be updated to
Arr::first()
Good idea.
phpunit setUp()
and tearDown()
need to add return type :void
I think it isn't enough to just rollback the version of phpunit to 7 while leaving the void return type intact in the setup methods. I feel like you need to modify that as well. I would do it myself but I don't have the write privileges.
Good catch on the .travis.yml
file. I'm just running some local tests then will merge & release it. Thanks!
All done.
Tests seem to be failing so I can't merge it - but not just in the latest version, so I'm not sure why - but I don't have time to investigate right now.