* [CI] run rules dir by dir to identify static reflection weak sposts
* [ci-review] Rector Rectify
* consistency
* remove unused property
* add data provider test fixture
* add InvertedIfFactory to lower complexity
* [DeadCode] Skip unused public method if data provider
* misc
* [DeadCode] Do not remove class method if required by parent ocntract
* make use of ContextAnalyzer to find the loop
* narrow dirs one level
* narrow packages
* narrow
* use directly
* narrow
* correct constant name to keep BC
* bump deps
* add version_compare to removed extra params, just to be sure
* do not return function node on unchanged name
* narrow
* add support for multiple variants
* widen
* remove double check [skip ci]
Co-authored-by: kaizen-ci <info@kaizen-ci.org>
* 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>
* [CI] Add type-declaration set
* [rector] [CI] Add type-declaration set
* [cs] [CI] Add type-declaration set
* skip nullable void
* add anonymous parent/interface support
* refactor MultiExceptionCatchRector to use Catch_ over integers
* type fixes
* fix unoin array type override
* remove unused test cases
* drop overcomplicated InlineValidationRulesToArrayDefinitionRector
* skip assign on var
* [rector] skip assign on var
* [cs] skip assign on var
* [rector] [cs] skip assign on var
* skip assign on var
* fixes
* [rector] fixes
* [cs] fixes
Co-authored-by: rector-bot <tomas@getrector.org>
* moving parameter typehint to objects
* rename constnats
* add support for nested configs
* switch to param type value object
* [rector] switch to param type value object
Co-authored-by: rector-bot <tomas@getrector.org>
* [phpstan] Add ForbiddenComplexArrayConfigInSetRule
* add MethodCallRename value object
* [SymfonyPhpConfig] Add array to value object configuration rule
* apply first MethodCallRename value object
* do not use internal rectors
* report invalid set
* remove dashes before number in set name
* [rector] remove dashes before number in set name
Co-authored-by: rector-bot <tomas@getrector.org>
* preven incorrect package configuration
* update create-recipe to rector-recipe, with prefix and better discoverability
* [rector] update create-recipe to rector-recipe, with prefix and better discoverability
* [cs] update create-recipe to rector-recipe, with prefix and better discoverability
Co-authored-by: rector-bot <tomas@getrector.org>
* phpstan: require iterable types
* add link on relative path and line
* fix missing class type
* typed array in Rector code + add data provide support resolver
* remove duplicated set
* drop unused yaml ecs config
* add out-of-the-box directory for 3rd party packages
* static fixes
* [rector] static fixes
* [cs] static fixes
* [rector] [cs] static fixes
* generic types
Co-authored-by: rector-bot <tomas@getrector.org>