Deprecated use of strstr

Created on 20 March 2023, over 1 year ago
Updated 7 June 2024, 6 months ago

Problem/Motivation

After updating a site to php 8 I get the following deprecation notice.

Deprecated function: strstr(): Passing null to parameter #1 ($haystack) of type string is deprecated in Drupal\services_api_key_auth\Authentication\Provider\ApiKeyAuth->getKey() (line 113 of modules/contrib/services_api_key_auth/src/Authentication/Provider/ApiKeyAuth.php).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Fixed

Version

3.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nicxvan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024