Skip to content

LegalDocuments: Fix UnitTest deprecations#11631

Merged
mjansenDatabay merged 1 commit into
ILIAS-eLearning:trunkfrom
lscharmer:ldoc/fix-unitest-deprecations
Jun 2, 2026
Merged

LegalDocuments: Fix UnitTest deprecations#11631
mjansenDatabay merged 1 commit into
ILIAS-eLearning:trunkfrom
lscharmer:ldoc/fix-unitest-deprecations

Conversation

@lscharmer
Copy link
Copy Markdown
Contributor

@lscharmer lscharmer commented Jun 1, 2026

This PR fixes the PHPUnit deprecation:

Using with*() without expects() is deprecated and will no longer be possible in PHPUnit 14.

and replaces static calls to non-static ones for once, never & exactly

in the components LegalDocuments, TermsOfService and DataProtection.

@lscharmer lscharmer requested a review from mjansenDatabay June 1, 2026 11:41
@lscharmer lscharmer added improvement php Pull requests that update Php code labels Jun 1, 2026
Comment thread components/ILIAS/DataProtection/tests/ConsumerTest.php Outdated
@lscharmer lscharmer force-pushed the ldoc/fix-unitest-deprecations branch from 508c6d5 to e8edcc7 Compare June 2, 2026 10:12
@lscharmer lscharmer requested a review from mjansenDatabay June 2, 2026 10:14
@mjansenDatabay mjansenDatabay merged commit 394c173 into ILIAS-eLearning:trunk Jun 2, 2026
5 checks passed
@mjansenDatabay
Copy link
Copy Markdown
Contributor

Thx Lukas

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants