* 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>
* service entity repo combo
* apply cs, add tests, fixes
* update doc parser
* [Generic] Add RemoveAnnotationRector
* add nullsafe nodes to docs
* drop AddEmptyLineBetweenCallsInPhpConfigRector, not that useful
* namespace and phpstan fix
* [ci] merge PHPStan compat to one job, no gain split attention
* [rector] [ci] merge PHPStan compat to one job, no gain split attention
* [cs] [ci] merge PHPStan compat to one job, no gain split attention
Co-authored-by: Marek Šimeček <marek.simecek@footshop.cz>
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>
* [Order] Make OrderPrivateMethodsByUseRector process file in one run using while loop
* [Order] Enable rule in CI
* [rector] [Order] Enable rule in CI
* [cs] [Order] Enable rule in CI
* [Order] Use constant for number of max attempts and throw exception when exceeded.
* [rector] [Order] Use constant for number of max attempts and throw exception when exceeded.
* [cs] [Order] Use constant for number of max attempts and throw exception when exceeded.
Co-authored-by: rector-bot <tomas@getrector.org>
* Check that Recipe node types are imported
* [rector] Check that Recipe node types are imported
* [cs] Check that Recipe node types are imported
* Update packages/rector-generator/src/ValueObject/Configuration.php
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
* Use `is_a` instead of `class_exists` in order to also check whether node type implements \PhpParser\Node interface
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
* [Naming] Allow uuid to have name id
* add REPOSITORY_AS_SERVICE set
* [rector] add REPOSITORY_AS_SERVICE set
Co-authored-by: rector-bot <tomas@getrector.org>
* [MagicDisclosure] Add MethodCallOnSetterMethodCallToStandaloneAssignRector
* merge ChainMethodCallManipulator to ChainMethodCallNodeAnalyzer for better DX
* [MagicDisclosure] Add in arg defluent
* rebase
* remove dead-else branch
* add defluent set
* fix type to match
* use constants over strings
* fixup! use constants over strings
* Add fluent as arg support to DefluentMethodCallRector
Co-authored-by: rector-bot <tomas@getrector.org>