* [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>
* Improve GHA build process to provide scoped Docker images for PHP 7.3-8.0
* Push cached build layers to Docker Hub instead of ghcr.io
* Build "-secured" Docker image
* Run Docker publish workflow for the "experimental-scoped" branch
* Use "plain" progress output from buildx
* Build only one image named "secured", based on PHP 8.0
* Add failing test fixture for ChangeAndIfToEarlyReturnRector
# Failing Test for ChangeAndIfToEarlyReturnRector
Based on https://getrector.org/demo/aef6b329-49b5-4f27-b23e-9e879a0e2e0b
* Closes#5707
* phpstan
* move find boolean and conditions to NodeRepository
* final touch
Co-authored-by: Markus Staab <maggus.staab@googlemail.com>
* fixture #5697
* [CodeQuality] Fixes#5697 handle Named Argument in ThrowWithPreviousExceptionRector
* clean up
* ensure named "previous"
* final touch
* 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>
* [Renaming] Remove support for wildcards in method rename, to keep consistency and use of PHPStan ObjectType
* [DX] Use ObjectType instead of strings
* make isObjectTypes() require ObjectType
* decoupled SelfContainerFactory
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
Co-authored-by: kaizen-ci <info@kaizen-ci.org>