[!WARNING]
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rectorphp/rector (rector/rector)
### [`v1.2.10`](https://redirect.github.com/rectorphp/rector/releases/tag/1.2.10): Released Rector 1.2.10
[Compare Source](https://redirect.github.com/rectorphp/rector/compare/1.2.9...1.2.10)
#### New Features :partying_face:
- \[PHP8.3] add new rectors for get_class()/get_parent_class() without arguments ([#6405](https://redirect.github.com/rectorphp/rector-src/pull/6405)), Thanks [@cabbey](https://redirect.github.com/cabbey)!
#### Bugfixes :bug:
- Fix ClassDependencyManipulator to add dependency on right position ([#6413](https://redirect.github.com/rectorphp/rector-src/pull/6413))
- \[Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector ([#6411](https://redirect.github.com/rectorphp/rector-src/pull/6411))
- \[Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector ([#6412](https://redirect.github.com/rectorphp/rector-src/pull/6412))
#### Removed :skull:
- \[DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector ([#6409](https://redirect.github.com/rectorphp/rector-src/pull/6409))
***
#### rectorphp/rector-phpunit :green_circle:
- \[PHPUnit 10] Skip with Magic \__get() on AssertIssetToAssertObjectHasPropertyRector ([#403](https://redirect.github.com/rectorphp/rector-phpunit/pull/403))
- \[CodeQuality] Add `CreateMockToDirectNewRector` ([#402](https://redirect.github.com/rectorphp/rector-phpunit/pull/402))
- \[CodeQuality] Add `SingleMockPropertyTypeRector` ([#401](https://redirect.github.com/rectorphp/rector-phpunit/pull/401))
- \[CodeQuality] Skip used by trait and multiple props on NarrowUnusedSetUpDefinedPropertyRector ([#400](https://redirect.github.com/rectorphp/rector-phpunit/pull/400))
- Skip property with default value in NarrowUnusedSetUpDefinedPropertyRector ([#398](https://redirect.github.com/rectorphp/rector-phpunit/pull/398))
- \[CodeQuality] Add `FlipAssertRector` ([#397](https://redirect.github.com/rectorphp/rector-phpunit/pull/397))
- Add count() support to `AssertCompareOnCountableWithMethodToAssertCountRector` ([#395](https://redirect.github.com/rectorphp/rector-phpunit/pull/395))
- Add enum/const fetch support to AssertEqualsToSameRector ([#394](https://redirect.github.com/rectorphp/rector-phpunit/pull/394))
- skip static property in NarrowUnusedSetUpDefinedPropertyRector ([#393](https://redirect.github.com/rectorphp/rector-phpunit/pull/393))
### [`v1.2.9`](https://redirect.github.com/rectorphp/rector/releases/tag/1.2.9): Released Rector 1.2.9
[Compare Source](https://redirect.github.com/rectorphp/rector/compare/1.2.8...1.2.9)
#### Bugfixes :bug:
- \[Strict] Using in_array() on CallLike instead of double call on Strict Rules ([#6388](https://redirect.github.com/rectorphp/rector-src/pull/6388))
- \[CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector ([#6389](https://redirect.github.com/rectorphp/rector-src/pull/6389))
- \[CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector ([#6390](https://redirect.github.com/rectorphp/rector-src/pull/6390))
- \[Php80] Mirror return comment on ChangeSwitchToMatchRector ([#6394](https://redirect.github.com/rectorphp/rector-src/pull/6394))
- \[TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ ([#6395](https://redirect.github.com/rectorphp/rector-src/pull/6395))
- \[Php80] Skip [@template](https://redirect.github.com/template) T as mixed on MixedTypeRector ([#6399](https://redirect.github.com/rectorphp/rector-src/pull/6399))
- \[DeadCode] Check TemplateType instance check on Dead\*TagValueNodeAnalyzer ([#6400](https://redirect.github.com/rectorphp/rector-src/pull/6400))
- \[CodeQuality] Skip multiple lines on JoinStringConcatRector ([#6404](https://redirect.github.com/rectorphp/rector-src/pull/6404))
- \[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector ([#6406](https://redirect.github.com/rectorphp/rector-src/pull/6406))
#### Removed :skull:
- \[DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector ([#6392](https://redirect.github.com/rectorphp/rector-src/pull/6392))
- \[DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector ([#6393](https://redirect.github.com/rectorphp/rector-src/pull/6393))
- \[DeadCode] Skip [@template](https://redirect.github.com/template) tag on RemoveUselessVarTagRector ([#6396](https://redirect.github.com/rectorphp/rector-src/pull/6396))
- \[DeadCode] Support multiple templates in RemoveUselessVarTagRector ([#6402](https://redirect.github.com/rectorphp/rector-src/pull/6402)), Thanks [@dragosprotung](https://redirect.github.com/dragosprotung)!
***
#### rectorphp/rector-symfony :musical_note:
- \[CodeQuality] Skip Request param used by caller method on RemoveUnusedRequestParamRector ([#675](https://redirect.github.com/rectorphp/rector-symfony/pull/675))
- Better note highlighting ([#674](https://redirect.github.com/rectorphp/rector-symfony/pull/674)), Thanks [@OskarStark](https://redirect.github.com/OskarStark)
- remove extra character ([#673](https://redirect.github.com/rectorphp/rector-symfony/pull/673)), Thanks [@IndraGunawan](https://redirect.github.com/IndraGunawan)
#### rectorphp/rector-phpunit :green_circle:
- \[code-quality] Add NarrowUnusedSetUpDefinedPropertyRector ([#388](https://redirect.github.com/rectorphp/rector-phpunit/pull/388))
- Add enum/const fetch support to AssertEqualsToSameRector ([#394](https://redirect.github.com/rectorphp/rector-phpunit/pull/394))
- Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector ([#395](https://redirect.github.com/rectorphp/rector-phpunit/pull/395))
- \[AnnotationsToAttribute] Skip not in test on AnnotationWithValueToAttributeRector ([#387](https://redirect.github.com/rectorphp/rector-phpunit/pull/387))
- Add ReplaceTestFunctionPrefixWithAttributeRector ([#386](https://redirect.github.com/rectorphp/rector-phpunit/pull/386)), Thanks [@blackwolf12333](https://redirect.github.com/blackwolf12333)
Configuration
📅 Schedule: Branch creation - "before 5am on wednesday" in timezone Europe/Vienna, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^1.2.8
->^1.2.10
Release Notes
rectorphp/rector (rector/rector)
### [`v1.2.10`](https://redirect.github.com/rectorphp/rector/releases/tag/1.2.10): Released Rector 1.2.10 [Compare Source](https://redirect.github.com/rectorphp/rector/compare/1.2.9...1.2.10) #### New Features :partying_face: - \[PHP8.3] add new rectors for get_class()/get_parent_class() without arguments ([#6405](https://redirect.github.com/rectorphp/rector-src/pull/6405)), Thanks [@cabbey](https://redirect.github.com/cabbey)!#### Bugfixes :bug: - Fix ClassDependencyManipulator to add dependency on right position ([#6413](https://redirect.github.com/rectorphp/rector-src/pull/6413)) - \[Php81] Skip Doctrine Embeddable on ReadOnlyPropertyRector ([#6411](https://redirect.github.com/rectorphp/rector-src/pull/6411)) - \[Privatization] Skip with parameter on PrivatizeLocalGetterToPropertyRector ([#6412](https://redirect.github.com/rectorphp/rector-src/pull/6412))
#### Removed :skull: - \[DeadCode] Skip nullable @ template on RemoveUselessReturnTagRector ([#6409](https://redirect.github.com/rectorphp/rector-src/pull/6409))
***
#### rectorphp/rector-phpunit :green_circle: - \[PHPUnit 10] Skip with Magic \__get() on AssertIssetToAssertObjectHasPropertyRector ([#403](https://redirect.github.com/rectorphp/rector-phpunit/pull/403)) - \[CodeQuality] Add `CreateMockToDirectNewRector` ([#402](https://redirect.github.com/rectorphp/rector-phpunit/pull/402)) - \[CodeQuality] Add `SingleMockPropertyTypeRector` ([#401](https://redirect.github.com/rectorphp/rector-phpunit/pull/401)) - \[CodeQuality] Skip used by trait and multiple props on NarrowUnusedSetUpDefinedPropertyRector ([#400](https://redirect.github.com/rectorphp/rector-phpunit/pull/400)) - Skip property with default value in NarrowUnusedSetUpDefinedPropertyRector ([#398](https://redirect.github.com/rectorphp/rector-phpunit/pull/398)) - \[CodeQuality] Add `FlipAssertRector` ([#397](https://redirect.github.com/rectorphp/rector-phpunit/pull/397)) - Add count() support to `AssertCompareOnCountableWithMethodToAssertCountRector` ([#395](https://redirect.github.com/rectorphp/rector-phpunit/pull/395)) - Add enum/const fetch support to AssertEqualsToSameRector ([#394](https://redirect.github.com/rectorphp/rector-phpunit/pull/394)) - skip static property in NarrowUnusedSetUpDefinedPropertyRector ([#393](https://redirect.github.com/rectorphp/rector-phpunit/pull/393)) ### [`v1.2.9`](https://redirect.github.com/rectorphp/rector/releases/tag/1.2.9): Released Rector 1.2.9 [Compare Source](https://redirect.github.com/rectorphp/rector/compare/1.2.8...1.2.9) #### Bugfixes :bug: - \[Strict] Using in_array() on CallLike instead of double call on Strict Rules ([#6388](https://redirect.github.com/rectorphp/rector-src/pull/6388)) - \[CodeQuality] Handle If cond as assign on ExplicitBoolCompareRector ([#6389](https://redirect.github.com/rectorphp/rector-src/pull/6389)) - \[CodeQuality] Skip append non empty array on ForeachItemsAssignToEmptyArrayToAssignRector ([#6390](https://redirect.github.com/rectorphp/rector-src/pull/6390)) - \[Php80] Mirror return comment on ChangeSwitchToMatchRector ([#6394](https://redirect.github.com/rectorphp/rector-src/pull/6394)) - \[TypeDeclaration] Skip union intersection types on php 8.1, allow on php 8.2+ ([#6395](https://redirect.github.com/rectorphp/rector-src/pull/6395)) - \[Php80] Skip [@template](https://redirect.github.com/template) T as mixed on MixedTypeRector ([#6399](https://redirect.github.com/rectorphp/rector-src/pull/6399)) - \[DeadCode] Check TemplateType instance check on Dead\*TagValueNodeAnalyzer ([#6400](https://redirect.github.com/rectorphp/rector-src/pull/6400)) - \[CodeQuality] Skip multiple lines on JoinStringConcatRector ([#6404](https://redirect.github.com/rectorphp/rector-src/pull/6404)) - \[CodingStyle] Skip equal modifier on direct parent method compatible on MakeInheritedMethodVisibilitySameAsParentRector ([#6406](https://redirect.github.com/rectorphp/rector-src/pull/6406))
#### Removed :skull: - \[DeadCode] Handle consecutive equal case stmts on RemoveDuplicatedCaseInSwitchRector ([#6392](https://redirect.github.com/rectorphp/rector-src/pull/6392)) - \[DeadCode] Handle handle consecutive equal with jump different case on RemoveDuplicatedCaseInSwitchRector ([#6393](https://redirect.github.com/rectorphp/rector-src/pull/6393)) - \[DeadCode] Skip [@template](https://redirect.github.com/template) tag on RemoveUselessVarTagRector ([#6396](https://redirect.github.com/rectorphp/rector-src/pull/6396)) - \[DeadCode] Support multiple templates in RemoveUselessVarTagRector ([#6402](https://redirect.github.com/rectorphp/rector-src/pull/6402)), Thanks [@dragosprotung](https://redirect.github.com/dragosprotung)!
***
#### rectorphp/rector-symfony :musical_note: - \[CodeQuality] Skip Request param used by caller method on RemoveUnusedRequestParamRector ([#675](https://redirect.github.com/rectorphp/rector-symfony/pull/675)) - Better note highlighting ([#674](https://redirect.github.com/rectorphp/rector-symfony/pull/674)), Thanks [@OskarStark](https://redirect.github.com/OskarStark) - remove extra character ([#673](https://redirect.github.com/rectorphp/rector-symfony/pull/673)), Thanks [@IndraGunawan](https://redirect.github.com/IndraGunawan)
#### rectorphp/rector-phpunit :green_circle: - \[code-quality] Add NarrowUnusedSetUpDefinedPropertyRector ([#388](https://redirect.github.com/rectorphp/rector-phpunit/pull/388)) - Add enum/const fetch support to AssertEqualsToSameRector ([#394](https://redirect.github.com/rectorphp/rector-phpunit/pull/394)) - Add count() support to AssertCompareOnCountableWithMethodToAssertCountRector ([#395](https://redirect.github.com/rectorphp/rector-phpunit/pull/395)) - \[AnnotationsToAttribute] Skip not in test on AnnotationWithValueToAttributeRector ([#387](https://redirect.github.com/rectorphp/rector-phpunit/pull/387)) - Add ReplaceTestFunctionPrefixWithAttributeRector ([#386](https://redirect.github.com/rectorphp/rector-phpunit/pull/386)), Thanks [@blackwolf12333](https://redirect.github.com/blackwolf12333)
Configuration
📅 Schedule: Branch creation - "before 5am on wednesday" in timezone Europe/Vienna, Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.