guides
guides copied to clipboard
composer(deps-dev): bump rector/rector from 1.1.0 to 1.2.6
Bumps rector/rector from 1.1.0 to 1.2.6.
Release notes
Sourced from rector/rector's releases.
Released Rector 1.2.6
New Features :partying_face:
- [TypeDeclaration] Add isset(), empty(), and negation support on BoolReturnTypeFromBooleanStrictReturnsRector (#6339)
- [TypeDeclaration] Add NativeMethodReflection support on ReturnStrictTypeAnalyzer (#6344)
- [DX] Show paths not match any file/directory on ProcessCommand when given path not exists (#6307)
Bugfixes :bug:
- [TypeDeclaration] Convert inline
@var
tag to assert() (#6300), Thanks@carlos-granados
!- Fix incorrect result after using RemoveByType in PhpDocInfo (#6301), Thanks
@carlos-granados
!- [TypeDeclaration] Skip nullable callable on TypedPropertyFromAssignsRector (#6308)
- Fix LocallyCalledStaticMethodToNonStaticRector when static function is called using the class name (#6310), Thanks
@carlos-granados
!- [Php81] Handle crash on ArrowFunction attribute on FirstClassCallableRector (#6313)
- [Performance] Reduce double traverse on StrictNativeFunctionReturnTypeAnalyzer (#6320)
- [PhpParser] Alternative PR for findInstancesOfScoped() to keep existing performance (#6324)
- [CodingStyle] Use double quote to escape quotes in EncapsedStringsToSprintfRector (#6326)
- [TypeDeclaration] Handle crash on func call not found on BoolReturnTypeFromBooleanStrictReturnsRector (#6327)
- Fix first class callable to use combineAcceptors() to avoid assert Arg instance error (#6330)
- [Php81] Allow used as assign expr on ReadOnlyPropertyRector (#6331)
- Skip arrow function in scoped search (#6333)
- [TypeDeclaration] Better approach for native type check on ReturnStrictTypeAnalyzer (#6343)
- [DeadCode] Skip extension load append variable on RemoveAlwaysTrueIfConditionRector (#6332)
- [TypeDeclaration] Remove only void type on ReturnedNodesReturnTypeInfererTypeInferer (#6340)
- [DeadCode] Skip indirect next line definition of
@var
on RemoveNonExistingVarAnnotationRector (#6348)rectorphp/rector-symfony :musical_note:
rectorphp/rector-phpunit :green_circle:
- [CodeQuality] Add NarrowSingleWillReturnCallbackRector (#374)
- [CodeQuality] Add SingleWithConsecutiveToWithRector (#370)
- [CodeQuality] Add NarrowIdenticalWithConsecutiveRector (#369)
- [CodeQuality] Add AddParentSetupCallOnSetupRector (#364)
- Include match() to invoke counting in WithConsecutiveRector (#362)
- Move WithConsecutiveRector to its PHPUnit100 namespace, CreateMockToAnonymousClassRector + PreferPHPUnitSelfCallRector to CodeQuality (#360)
- Add existing willReturnCallback() support to WithConsecutiveRector (#358)
Released Rector 1.2.5
... (truncated)
Commits
6ca85da
Rector 1.2.6c154424
Updated Rector to commit c0c7502f55a3884f67a5885ed05ae2443ff5380268c7b4d
Updated Rector to commit b88e910957a85adafd6fb75fbe50991b9ec871d1a3f6293
Updated Rector to commit 0c9edebe4e1ca753d5bbe99e5109378155e87ddeb555bd2
Updated Rector to commit d17d3e814eada2fa3ada3601034407df01d84568cdbdb1b
Updated Rector to commit 697b37b340c3b4c73ad6f8e4cea26b7bf60ddf62b86f338
Updated Rector to commit a11fc615d18396cef284c18de269711114630676a5a5200
Updated Rector to commit 54a66206986e685787d7e038929618a66e98ec4232c2df7
Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f930073df699e
Updated Rector to commit 6b065efef08c34f6e3f69ebd24e24f2418f93007- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase
.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebase
will rebase this PR -
@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it -
@dependabot merge
will merge this PR after your CI passes on it -
@dependabot squash and merge
will squash and merge this PR after your CI passes on it -
@dependabot cancel merge
will cancel a previously requested merge and block automerging -
@dependabot reopen
will reopen this PR if it is closed -
@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency -
@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)