* [PHP 8.0] Improve NullsafeOperatorRector : Check against !== null
* [ci-review] Apply coding standards
* [ci-review] Rector Rectify
* phpstan
* try process next only
* not identical process only direct if after assign
* phpstan
* [ci-review] Rector Rectify
* not identical with non-null check
* not identical with non-null check
* add yoda condition
* phpstan
* [ci-review] Apply coding standards
* move check if cond using assign identical/not identical to IfManipulator service
* cs fix
* [ci-review] Rector Rectify
* [ci-review] Apply coding standards
* move NullSafe process to NullsafeManipulator service
* phpstan
* [ci-review] Apply coding standards
* use instanceof check
Co-authored-by: rector-bot <tomas@getrector.org>
* [PHP 8.0] Improve NullsafeOperatorRector : No need ?-> on very first call
* use bool check is start if
* phpstan
* phpstan and code example update
* [ci-review] Generate Rector & Nodes documentation
* [ci-review] Apply coding standards
* using $isStartIf = true default
* clean up
Co-authored-by: rector-bot <tomas@getrector.org>
* [PHP 8.0] Improve NullsafeOperatorRector : Skip no direct usage after if
* [ci-review] Apply coding standards
Co-authored-by: rector-bot <tomas@getrector.org>
* Move duplicated getAttributableItems() method to abstract parent
* Add removeItem() method to AbstractTagValueNode class
* Add RemoveRedundantDefaultAnnotationValuesRector rule with tests
* Link second test case of RemoveRedundantDefaultAnnotationValuesRector
* Add to set and docs
* Rename variable in DoctrineClassAnalyzer::matchDoctrineEntityTagValueNode()
* Remove redundant docblocks in RemoveRedundantDefaultAnnotationValuesRector
* Extract hasItemWithDefaultValue method in RemoveRedundantDefaultAnnotationValuesRector
* Optimize RemoveRedundantDefaultAnnotationValuesRector
* Split rule into two separate: one for Property and one for Class_
* PHP CS Fixer
* PHPStan
* Change file system approach of MultipleClassFileToPsr4ClassesRector to file without namespace node
* update DecoupleClassMethodToOwnClassRector
* [ci] add rebase jobp
* disable fail fast for unit tests
* misc
* embed skip fixture of same before/after
* [Testing] Add exception on identical second half of the fixture, that should not change
* [ci] use composer 2 for code_analysis
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
* Create test cases
* Create rector
* Add closure to possible parent scopes
* Register in SOLID set
* Document the feature
* fix adding variable in closure
* move MoveVariableDeclarationNearReferenceRector to Assign category, based on getNodeTypes()
* ci: drop phpunit matcher, not much helpful
* ignore for now, many cases to cover
* prepare release
Co-authored-by: Anna Filina <afilina@gmail.com>
* nette-30 config cleanup
* [TypeDeclaratoin] Move AddReturnTypeDeclarationRector from generic
* add Type support to AddReturnTypeDeclaration
* make AddParamTypeDeclarationRector use PHPStan type objects over strings
* [SymfonyPhpConfig] Add support for nested types
* drop StringTypeToPhpParserNodeMapper
* [ci-review] Rector Rectify
Co-authored-by: rector-bot <tomas@getrector.org>
* skip rename
* add method call and variable name for MoveOutMethodCallInsideIfConditionRector
* decouple MethodCallToVariableNameResolver
* use trick with Scope if variable is already defined
* fixup! use trick with Scope if variable is already defined
* cover case with variable name and method call
* add decopule note future
* [ci-review] Rector Rectify
* [ci] try re-trigger ci-review after push automatically
Co-authored-by: rector-bot <tomas@getrector.org>
* [set] decouple new code-quality-strict
* decopule early-return set [closes#4464]
* [docker] drop prestissimo, as composer v2 does not need it
* [ci] move coding standard to ci_review
* [ci] try to run rector-ci on contributors