mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 05:48:21 +01:00
4909e63a1d
* break test without autoload * PHPStanServiceFactory - add tests directory as analysed paths * use ReflectionProvider instead of class_exists * use native reflections for annotation reader * use native class and method reflections * add RectorBetterReflectionSourceLocatorFactory * add DynamicSourceLocator that is shared by PHPStan and Rector * use ReflectoinProvider instead of class_exists() * resolve native ClassMethodReflection * make AnonymousFunctionFactory use reflection * [DowngradePHP74] Improve DowngradeCovariantReturnTypeRector * phsptan: avoid ClassReflection * ProcessCommand: add file infos to source locator * [DeadCode] Skip RemoveUnusedPublicMethodRector for test * remove autolaod from tests * misc * remove is_a() * [CI] enable only few dirs to avoid fails * misc * [ci-review] Rector Rectify * [ci-review] Rector Rectify Co-authored-by: kaizen-ci <info@kaizen-ci.org>
13 lines
426 B
YAML
13 lines
426 B
YAML
# this config has extensions, that helps PHPStan inside Rector to resolve more precise types
|
|
parameters:
|
|
inferPrivatePropertyTypeFromConstructor: true
|
|
|
|
scanDirectories:
|
|
- stubs
|
|
|
|
includes:
|
|
- utils/phpstan-extensions/config/phpstan-extensions.neon
|
|
- vendor/phpstan/phpstan-nette/extension.neon
|
|
- vendor/symplify/astral/config/services.neon
|
|
- vendor/symplify/phpstan-extensions/config/config.neon
|