-
Notifications
You must be signed in to change notification settings - Fork 14
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(php): add PHPStan for static code analysis #3655
Conversation
✔️ Code generated!
📊 Benchmark resultsBenchmarks performed on the method using a mock server, the results might not reflect the real-world performance.
|
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.
ooooh that's clean
nx is annoying |
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.
no one would've done it better
…kip ci] Co-authored-by: Pierre Millot <pierre.millot@algolia.com> Co-authored-by: shortcuts <vannicattec@gmail.com>
algolia/api-clients-automation#3655 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com> Co-authored-by: shortcuts <vannicattec@gmail.com>
algolia/api-clients-automation#3655 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Pierre Millot <pierre.millot@algolia.com> Co-authored-by: shortcuts <vannicattec@gmail.com>
🧭 What and Why
Closes algolia/algoliasearch-client-php#709
With PHPStan we could have detected this bug much earlier, and maybe other bugs.
For now its mostly types.
I left it disabled because there are too many errors still
🧪 Test