* [CodeQuality] Register MoveOutMethodCallInsideIfConditionRector to config code-quality set
* rename use string parameter
* phpstan
* fix false positive string param to be var === variable name
* fix false positive
* phpstan
* ensure not same variable
* phpstan
* add ucfirst after var
* add fixture failing test for variable exists to be skipped
* add fixture failing test for variable exists in previuos statement
* phpstan space
* add handling variable exists in previous statement and in ClassMethod/Functions args
* handle exists but inside if
* reduce complexity
* clean up
* clean up
* cs fix
* phpstan
* remove - in variable
* use fallback when first character is numeric
* using regex to check string start alpha for variable
* cs fix
* use ClassConstFetch name to set variable name
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* [ci-review] Rector Rectify
* clean up
* fix
* [ci-review] Rector Rectify
* Update rules/code-quality/src/Rector/If_/MoveOutMethodCallInsideIfConditionRector.php
* Update rules/code-quality/src/Rector/If_/MoveOutMethodCallInsideIfConditionRector.php
Co-authored-by: rector-bot <tomas@getrector.org>
Co-authored-by: Tomas Votruba <tomas.vot@gmail.com>
* [CakePHP] Promote AppUsesStaticCallToUseStatementRector to File
* [CakePHP] Change ImplicitShortClassNameUseStatementRector to FileWithoutNamespace approach
* [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [rector] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
* [cs] [Renaming] Update PseudoNamespaceToNamespaceRector to use FileWithnoutNamespace
Co-authored-by: rector-bot <tomas@getrector.org>
* [Naming] Use factory to create PropertyRename
* Ignore new phpstan issues
* Move fixture to FixtureBasic to solve CI issue
* fix setUp vs dataProvider race condition
* fix autoload
Co-authored-by: TomasVotruba <tomas.vot@gmail.com>
* Extracted rule into abstract class for reuse
* Implemented rule
* Added rule to downgrade set
* Fixed rector-ci errors
* Fixed cs
* Preserve return type
* Direct assignment of parameters
* Use interface instead of abstract methods
* Moved abstract class under Php72
* Added test for params with type
* Return `null` to signify no change to the node
* Implemented rector
* Added new rule to downgrade set
* Test requires PHP 7.4
* Wrapped code inside class
* [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>
* drop MessageAsArrayRector, as only rule in guzzle
* [Transform] Move StaticCallToMethodCallRector to Transform
* merge FacadeStaticCallToConstructorInjectionRector to StaticCallToMethodCallRector
* add ArrayArgumentToDataProvider
* [Transform] Move PropertyAssignToMethodCallRector to Transform
* drop elasticsearch-dsl50, used for single change, unmaintained
* [CodingStyleAdvanced] Move UseMessageVariableForSprintfInSymfonyStyleRector from single-rule set Decomplex to CodingStyleAdvanced
* merge FrameworkMigration with 1 class to NetteToSymfony
* [Transform] Move ServiceGetterToConstructorInjectionRector to Transform set
* [Transform] Move ReplaceParentCallByPropertyCallRector to Transform package
* [Transform] Move StaticCallToFunctionRector to Transform
* update docs
* [Transform] Move NewToStaticCallRector to Transform