Skip to content

chore: solve some phpstan issues #7249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VincentLanglet
Copy link
Contributor

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

Follow up of #7239

I'll do small PR for easier review.
Here the main fix are the return.unusedType reporting return type which can be remove from return type ONLY ON FINAL CLASS, so it's a backward compatible change which give a more precise return type for users.

Do you have an ETA for 4.2 @soyuka ? I'll try to fix as many as possible phpstan issues before.

@soyuka
Copy link
Member

soyuka commented Jun 27, 2025

Around the API Platform con date for a release. I'm targeting a 4.2 alpha release in the coming weeks (it'll be a slower pace in july/august).

@VincentLanglet VincentLanglet changed the title Solve some phpstan issues chore: solve some phpstan issues Jun 27, 2025
@VincentLanglet
Copy link
Contributor Author

Around the API Platform con date for a release. I'm targeting a 4.2 alpha release in the coming weeks (it'll be a slower pace in july/august).

Ok, if you have time to review and if you're interested I'll have the time to fix the phpstan issues (and then bump to the level 6 by adding type everywhere). I'll already have this PR and another one #7250

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