Skip to content

Make use of PHPStan static reflection#3630

Merged
TomasVotruba merged 2 commits intomasterfrom
reflection-over-broker
Jul 1, 2020
Merged

Make use of PHPStan static reflection#3630
TomasVotruba merged 2 commits intomasterfrom
reflection-over-broker

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Jul 1, 2020

Closes #3490

  1. Use ReflectionProvider interface instead of Broker class in places where you're obtaining class/function/constant reflections. They have the same API.

There is no Broker in current Rector code 👍

@TomasVotruba TomasVotruba changed the title Make use of PHPStan static Make use of PHPStan static reflection Jul 1, 2020
@TomasVotruba TomasVotruba merged commit a922d77 into master Jul 1, 2020
@TomasVotruba TomasVotruba deleted the reflection-over-broker branch July 1, 2020 22:00
TomasVotruba added a commit that referenced this pull request Apr 19, 2023
rectorphp/rector-src@e3e5146 [CodingStyle] Handle inner closure on FuncGetArgsToVariadicParamRector (#3630)
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.

Taking advantage of static reflection

1 participant