[PHPStanRules] use ReflectionProvider where possible (#2791)
[PHPStanRules] use ReflectionProvider where possible (#2791)

* use ReflectionProvider where possible

* [CI] fix closing PR

Symplify/CodingStandard