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

Add phpstan and fix up types #633

Closed
wants to merge 3 commits into from
Closed

Add phpstan and fix up types #633

wants to merge 3 commits into from

Conversation

xPaw
Copy link
Contributor

@xPaw xPaw commented Nov 18, 2021

There were plenty of incorrect types, I've fixed up most of them.

phpstan still reports various errors which should be fixed, but I'll leave that. If you're not really interested in phpstan, type fixes can be merged without it.

@imjoehaines
Copy link
Contributor

Hey @xPaw, thanks for the PR!

This is something I'll be working on soon, so I'm happy to take over and get it merged 🙂

@xPaw
Copy link
Contributor Author

xPaw commented Nov 22, 2021

That's fine by me. I didn't fix the other phpstan issues because they require some actual code changes, which I don't know how Bugsnag wants to handle.

@imjoehaines
Copy link
Contributor

I'm going to merge this in #637, thanks a lot for the starting point in this PR!

I decided to only go as far as level 6 at the moment, as I'd like to enable checkMissingIterableValueType before going any higher

@imjoehaines imjoehaines mentioned this pull request Feb 4, 2022
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