Bump rector/rector from 0.12.19 to 0.12.20
Created by: dependabot[bot]
Bumps rector/rector from 0.12.19 to 0.12.20.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.12.20
- Bump min to PHP 7.2 (#1955) - following PHPStan 1.5 bump, PHP 7.1 usage of Rector is only ~0.2 %
New Features
🎉
- [DX] Remove different php version rector reporting to make run more clean (#1959)
- Re-use NeighbourClassLikePrinter (#1957)
- [Php74] Add GetCalledClassToSelfClassRector (#1971), Thanks
@samsonasik
!- [Php55] Move GetCalledClassToSelfClassRector + GetCalledClassToStaticClassRector from php 7.4 to 5.5 SetList (#1972), Thanks
@samsonasik
!- [DowngradePhp81] Add DowngradeArrayIsListRector (#1996), Thanks
@samsonasik
!- [DowngradePhp54] Add DowngradeThisInClosureRector (#1995), Thanks
@samsonasik
!- [Removing] Add RemoveNamespaceRector (#2013), #7093, Thanks
@samsonasik
!Bugfixes
🐛
- Fix bug with handling bad symlinks (#1938), Thanks
@inderpreet99
!- Fix stub PHPUnit\Framework\TestCase (#1960), Thanks
@samsonasik
!- [TypeDeclaration] Skip ArrayShapeFromConstantArrayReturnRector on key has colon (#1962), Thanks
@samsonasik
!- [TypeDeclaration] Skip key has bracket {}[] on ArrayShapeFromConstantArrayReturnRector (#1968), Thanks
@samsonasik
!- [CodeQuality] Handle not identical return false then true on SimplifyIfReturnBoolRector (#1969), Thanks
@samsonasik
!- [Php81] Skip anonymous class on FinalizePublicClassConstantRector (#1970), Thanks
@samsonasik
!- Handle annotation import with enable AUTO_IMPORT_NAMES not changed (for non-namespaced file) (#1973), Thanks
@samsonasik
!- [CodeQuality] Handle Param by reference in target method on CallableThisArrayToAnonymousFunctionRector (#1974), Thanks
@samsonasik
!- [TypeDeclaration] Skip return inside array_map on ArrayShapeFromConstantArrayReturnRector (#1977), #7079, Thanks
@samsonasik
!- [Privatization] Skip parent static property used by parent method on PrivatizeFinalClassPropertyRector (#1978), Thanks
@samsonasik
!- [Php80] Skip empty default on ChangeSwitchToMatchRector (#1980), Thanks
@samsonasik
!- [TypeDeclaration] Fix AddMethodCallBasedStrictParamTypeRector for offset type (#1982)
- Fix AddClosureReturnTypeRector for union types of mutually related classes (#1984), Thanks
@samsonasik
!- [CodingStyle] Skip AddFalseDefaultToBoolPropertyRector on assigned in __construct (#1998), Thanks
@samsonasik
!- [TypeDeclaration] Handle default value on not inlined assignment in __construct on TypedPropertyFromStrictConstructorRector (#2008), Thanks
@samsonasik
!- [TypeDeclaration] Handle multiple methods define __construct later on TypedPropertyFromStrictConstructorRector (#2009), Thanks
@samsonasik
!- [TypeDeclaration] Skip __construct in inner class on TypedPropertyFromStrictConstructorRector (#2010), Thanks
@samsonasik
!- [PHPStan] Fix PHPStan notice on ParallelFileProcessor (#2011), Thanks
@samsonasik
!
Commits
-
cfa8d3e
Rector 0.12.20 -
1c3a355
Updated Rector to commit be530c5e2f56190f5fe1813ae4344cdaf3f75d7f -
740c303
Updated Rector to commit 08a3243799015710300af460a313654bedee5cd2 -
6ce4af0
Updated Rector to commit a0ad4275d7a38a326494e4ffce83e1c7774d1f84 -
abf379e
Updated Rector to commit e470787eec3368dfe195cc7091fba4b909c4d98d -
5f44698
Updated Rector to commit 85ff4163b006fd19406655fd86a50733cf32f7af -
8318817
Updated Rector to commit 26d471eeafeb6c9db42df26b1fa1ebf5a7330f3a -
7fde662
Updated Rector to commit 258f2d031e5b7f1fc98707e889d47e3e54d232ed -
3630df4
Updated Rector to commit 38add405358c8452704a89b92f82c9d80f03f590 -
5e5d6d4
Updated Rector to commit 38add405358c8452704a89b92f82c9d80f03f590 - 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 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)