Problem/Motivation

Upgrade to PHP 8.5.

Deprecated function: Method SplObjectStorage::contains() is deprecated since 8.5, use method SplObjectStorage::offsetExists() instead in Drupal\universal_device_detection\Detector\DefaultDetector->detect() (line 49 of src/Detector/DefaultDetector.php)

Steps to reproduce

Upgrade to PHP 8.5.

Proposed resolution

Change used method from contains() to offsetExists() in line 49 of src/Detector/DefaultDetector.php.

Remaining tasks

User interface changes

API changes

Data model changes

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

jakub.wozniak created an issue. See original summary.

jakub.wozniak’s picture

Status: Active » Needs review
jakub.wozniak’s picture

Assigned: jakub.wozniak » Unassigned