tehwave/laravel-achievements

testCommandMakesFile test fails only on PHP 7.4 / Laravel 5.8 / prefer-lowest

Closed this issue · 1 comments

I haven't been able to figure out why it doesn't work or how to fix this.

  1. tehwave\Achievements\Tests\Console\Commands\MakeAchievementTest::testCommandMakesFile
    ErrorException: Trying to access array offset on value of type int

Difficult to say, but according the following StackOverflow post, it seems to be a known incompability in Laravel 5.8 and PHP 7.4

https://stackoverflow.com/questions/60412946/laravel-trying-to-access-array-offset-of-value-of-type-int

I've changed the tests to exclude prefer-lowest on this particular set.