Skip to content

Conversation

VincentLanglet
Copy link
Contributor

@VincentLanglet VincentLanglet commented Jul 21, 2025

Q A
Branch? main
Tickets Closes #...
License MIT
Doc PR api-platform/docs#...

cc @soyuka

I target main since:

  • I think the 4.2 release will be soon
  • I did so much change for static analysis on main, that I think it's easier/better to keep doing it on main.

@@ -104,11 +105,17 @@ public function withShortName(string $shortName): static
return $self;
}

/**
* @return class-string|null
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the main change, everything else is changing 'foo' by \stdClass::class in tests to avoid PHPStan failure.

@VincentLanglet VincentLanglet force-pushed the classString branch 2 times, most recently from 66cefee to 92df6bf Compare July 21, 2025 10:14
Copy link
Member

@soyuka soyuka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is awesome

@soyuka soyuka marked this pull request as ready for review July 25, 2025 09:36
@soyuka soyuka merged commit 77b292b into api-platform:main Jul 25, 2025
111 of 114 checks passed
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.

2 participants