Skip to content

BackgroundTasks: Fix PHP 8.5 Contains Calls - #12393

Merged
thojou merged 1 commit into
ILIAS-eLearning:release_12from
thojou:bugfix/12/48699
Nov 9, 2026
Merged

thojou merged 1 commit into
ILIAS-eLearning:release_12from
thojou:bugfix/12/48699

Conversation

@thojou

@thojou thojou commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=48699

SplObjectStorage::contains() is deprecated since PHP 8.5 and is reported as an exception while the background-task popover resolves stored buckets. Lookups of buckets, tasks, and values now use offsetExists(), which keeps the same object-identity check.

See: https://mantis.ilias.de/view.php?id=48699

`SplObjectStorage::contains()` is deprecated since PHP 8.5 and is
reported as an exception while the background-task popover resolves
stored buckets. Lookups of buckets, tasks, and values now use
`offsetExists()`, which keeps the same object-identity check.
@thojou thojou self-assigned this Nov 9, 2026
@thojou thojou added bugfix php Pull requests that update Php code labels Nov 9, 2026
@thojou
thojou merged commit ac00252 into ILIAS-eLearning:release_12 Nov 9, 2026
2 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants