Skip to content

Address deprecations#2199

Merged
ostrolucky merged 2 commits intodoctrine:2.19.xfrom
greg0ire:addr-phpunit-depr
Feb 11, 2026
Merged

Address deprecations#2199
ostrolucky merged 2 commits intodoctrine:2.19.xfrom
greg0ire:addr-phpunit-depr

Conversation

@greg0ire
Copy link
Copy Markdown
Member

No description provided.

Using with() on a stub is deprecated. We don't want to check that we
call this object with 'doctrine', we just want to only return
$mockDoctrine when it is called with 'doctrine' and nothing else.
Not having a version constraint for this package causes deprecations
because it expects the framework bundle to define its extension by
extending a non deprecated class, and that is not the case with v7 of
that bundle.
@ostrolucky ostrolucky merged commit a4d7884 into doctrine:2.19.x Feb 11, 2026
14 checks passed
@greg0ire greg0ire deleted the addr-phpunit-depr branch February 11, 2026 21:23
@greg0ire
Copy link
Copy Markdown
Member Author

Argh, I should have targeted 2.18

@greg0ire greg0ire restored the addr-phpunit-depr branch February 11, 2026 21:24
@greg0ire greg0ire mentioned this pull request Feb 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants