Skip to content

Conversation

staabm
Copy link
Contributor

@staabm staabm commented Dec 13, 2022

@staabm staabm force-pushed the unnecessary-getType branch from fe523bd to d27aa06 Compare December 13, 2022 10:01
@staabm staabm force-pushed the unnecessary-getType branch from 8a9c1c9 to 27eefa8 Compare December 13, 2022 10:51
@ondrejmirtes
Copy link
Member

FYI this could have been a single PR ;)

It doesn't make much sense to open a bunch of related PRs at the same time:

  1. You're risking conflicts.
  2. It'd be tedious to apply learnings from the first PR in all the other PRs.

Instead, open a single PR and wait for it to be merged. That way both of these problems are solved.

And these are pretty simple PRs only with a few lines changed...

@ondrejmirtes ondrejmirtes merged commit 93a741e into phpstan:1.9.x Dec 13, 2022
@ondrejmirtes
Copy link
Member

Thank you.

@staabm staabm deleted the unnecessary-getType branch December 13, 2022 15:41
@staabm
Copy link
Contributor Author

staabm commented Dec 13, 2022

And these are pretty simple PRs only with a few lines changed...

I thought it would be easier to review in smaller PRs.. but I am fine with a big one.

fwiw, 1.9.3 vs. 1.9.x-dev has ~10.000 less getType() calls after these PRs :)

bin/phpstan --debug -vvv

grafik

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