-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Refactor codebase, increase PHPStan level to 6 #184
Conversation
@hotmeteor @jarrodparkes : As this PR is quite large, I requested reviews from both of you. Feel free to make comments |
@bastien-phi taking a look now, thx! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM @hotmeteor how about you?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is stdClass
the way to go over object
? I didn't realize that.
It looks like it : https://phpstan.org/r/2c329201-22fb-4786-bc59-e12f4258771e
|
@hotmeteor Is it ok for you ? |
This PR also simplifies Middleware::validate as a parameter was not used anymore and makes usage of openapi version in RequestValidator::validate