Skip to content

Static analysis - #68

Merged
erikaheidi merged 3 commits into
mainfrom
static-analysis
May 9, 2023
Merged

Static analysis#68
erikaheidi merged 3 commits into
mainfrom
static-analysis

Conversation

@JustSteveKing

Copy link
Copy Markdown
Collaborator

This branch ups the PHPStan level to level 9 🔥

I had to use two @phpstan-ignore-next-line on the fopen functions, as I cannot cast or guarantee anything is a resource without changing functionality too much. This is a compromise I am happy to make for now, until more reactors are planned.

@JustSteveKing JustSteveKing self-assigned this May 8, 2023
@JustSteveKing
JustSteveKing requested a review from erikaheidi May 8, 2023 17:44
@JustSteveKing JustSteveKing added the enhancement New feature or request label May 8, 2023
@JustSteveKing

Copy link
Copy Markdown
Collaborator Author

@WendellAdriel here we go 🔥

@WendellAdriel

Copy link
Copy Markdown
Member

@WendellAdriel here we go 🔥

That's what I'm talking about!!!
I had created this one #67, but this beats mine hahahahaha
Way to go, man!!! 🔥 💪

@JustSteveKing JustSteveKing mentioned this pull request May 8, 2023
@WendellAdriel

Copy link
Copy Markdown
Member

@JustSteveKing In my PR I worked on the checkMissingIterableValueType rule
After you merge this PR, can I create a new PR with only these changes so we can remove this from the PHPStan config file to check for this rule as well?

@JustSteveKing

Copy link
Copy Markdown
Collaborator Author

@JustSteveKing In my PR I worked on the checkMissingIterableValueType rule
After you merge this PR, can I create a new PR with only these changes so we can remove this from the PHPStan config file to check for this rule as well?

That sounds like a great idea!

@WendellAdriel

Copy link
Copy Markdown
Member

That sounds like a great idea!

I'll do that, then.
Thanks man! 💪

@erikaheidi

Copy link
Copy Markdown
Member

Great work, thank you! 👏🏼 👏🏼 👏🏼

@erikaheidi
erikaheidi merged commit f80e97f into main May 9, 2023
@WendellAdriel WendellAdriel mentioned this pull request May 9, 2023
@JustSteveKing
JustSteveKing deleted the static-analysis branch May 10, 2023 08:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

3 participants