Skip to content
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

fix: better generics support for State\ProcessorInterface #6103

Merged
merged 4 commits into from
Jan 15, 2024

Conversation

dunglas
Copy link
Member

@dunglas dunglas commented Jan 11, 2024

Q A
Branch? main
Tickets n/a
License MIT
Doc PR todo

In a next PR, the maker command could also be improved to take the name of the provided entity class as an optional parameter.

@dunglas dunglas changed the base branch from main to 3.2 January 11, 2024 16:29
@dunglas dunglas changed the title fix(openapi): compatibility with OpenAPI 3.0 (#6065) fix: better generics support for State\ProcessorInterface Jan 11, 2024
@bendavies
Copy link
Contributor

bendavies commented Jan 15, 2024

Sort of related: I think bumping the phpstan level to at least 6 (8 ideally) would be a good idea.
From my own experience, anything below level 6 hides a lot of bugs.

@soyuka soyuka merged commit 1c1023a into api-platform:3.2 Jan 15, 2024
52 of 53 checks passed
@soyuka
Copy link
Member

soyuka commented Jan 15, 2024

Thanks I'll patch the new cs fixes in another commit

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.

3 participants