Page MenuHomePhabricator

PHP tests fail in CI
Closed, ResolvedPublic

Description

All PRs have PHP tests failing on CI with the folllowing error

Fatal error: During inheritance of ArrayAccess: Uncaught ErrorException: Return type of Illuminate\Support\Collection::offsetExists($key) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /github/workspace/vendor/laravel/framework/src/Illuminate/Collections/Collection.php:1459
Stack trace:
#0 /github/workspace/vendor/laravel/framework/src/Illuminate/Collections/Collection.php(13): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(8192, 'Return type of ...', '/github/workspa...', 1459)