Skip to content

test: fix phpunit 13 and ApiTestCase deprecation reds on 5.0 - #8610

Open
soyuka wants to merge 2 commits into
api-platform:5.0from
soyuka:fix/ci-5.0
Open

soyuka wants to merge 2 commits into
api-platform:5.0from
soyuka:fix/ci-5.0

Conversation

@soyuka

@soyuka soyuka commented Sep 30, 2026

Copy link
Copy Markdown
Member
Q A
Branch? 5.0
Tickets ∅
License MIT
Doc PR ∅
  • PHPStan: InvocationStubber::with() undefined in OpenApiFactoryTest and PurgeHttpCacheListenerTest, now use expects($this->atLeastOnce()) (works on PHPUnit 12 and 13)
  • PHPStan: DefinitionNameFactory no longer takes constructor args on 5.0, tests instantiate it without them
  • PHPUnit (no deprecations) / (Symfony dev): five functional tests switched from the deprecated ApiPlatform\Symfony\Bundle\Test\ApiTestCase to ApiPlatform\Test\ApiTestCase

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant