storage/logs/php-deprecation-warnings.log:84:[2022-10-16 14:53:13] local.WARNING: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/html/vendor/fruitcake/laravel-telescope-toolbar/src/Toolbar.php on line 93
on:
/**
* @param \Illuminate\Http\Request $request A Request instance
* @param \Symfony\Component\HttpFoundation\Response $response A Response instance
*/
public function modifyResponse($request, $response)
{
//
// Skip non-html requests
if (($response->headers->has('Content-Type') && strpos($response->headers->get('Content-Type'), 'html') === false)
|| $request->getRequestFormat() !== 'html'
|| stripos($response->headers->get('Content-Disposition'), 'attachment;') !== false
) {
return;
}
//
}
Laravel deprecation warning:
on: