php-version-audit
php-version-audit copied to clipboard
Bump rector/rector from 1.2.4 to 1.2.8
Bumps rector/rector from 1.2.4 to 1.2.8.
Release notes
Sourced from rector/rector's releases.
Released Rector 1.2.8
Bugfixes :bug:
- [UnusedImport] Fix removing multiple uses (#6376), Thanks
@jorgsowa!- [PostRector] Clean up variables and conditional usage on UnusedImportRemovingPostRector (#6378)
- [PostRector] Reduce repetitive toString() on loop on UnusedImportRemovingPostRector (#6379)
- [CodeQuality] Skip no @ property doc on DynamicDocBlockPropertyToNativePropertyRector (#6380)
- [CodeQuality] Handle with other attributes on DynamicDocBlockPropertyToNativePropertyRector (#6381)
- [CodeQuality] Use existing PhpAttributeAnalyzer service instead of AttributeFinder from Doctrine package on DynamicDocBlockPropertyToNativePropertyRector (#6382)
- Fix duplicated register ContinueToBreakInSwitchRector in php52.php and php73.php (#6385)
- [AutoImport] Fix missing @ in deep annotation auto import (#6386)
- [DeadCode] Skip non FullyQualified property type on RemoveTypedPropertyNonMockDocblockRector (#6383)
New Features :partying_face:
- [CodeQuality] Add DynamicDocBlockPropertyToNativePropertyRector (#5691)
- [DX] [Experimental] Add withPhpLevel() to raise PHP level one rule at a time (#6261)
Released Rector 1.2.7
New Features :partying_face:
- Apply AddOverrideAttributeToOverriddenMethodsRector to traits (#6367), Thanks
@jrjohnson!- [Transform] MethodCall to New (#6352), Thanks
@peterfox!- Add RemoveTypedPropertyNonMockDocblockRector (#6306)
- [DX] Add links to open the editor to the names of processed files and the names of rules applied (#6272), Thanks
@carlos-granados!Bugfixes :bug:
- Fixed --memory-limit=-1 option handling when used in parallel (#6349), Thanks
@ddegasperi!- [Php70] Fix delimiter in the middle on EregToPregMatchRector (#6356)
- [Php70] More delimiter case in the middle fix on EregToPregMatchRector (#6357)
- [Php80] Cast string/int for int vs string condition and case condition on ChangeSwitchToMatchRector (#6359)
- [DeadCode] Skip from call with return docblock on ReduceAlwaysFalseIfOrRector (#6361)
- [TypeDeclaration] Closure Param Types from Iterator Source (#6345), Thanks
@peterfox!- [Privatization] Allow privatize protected promoted property on PrivatizeFinalClassPropertyRector (#6360)
- [DeadCode] Skip with Else and ElseIf on SimplifyIfNotNullReturnRector (#6365)
- [Php70] Handle empty branch crash on unprintable char \x0C on EregToPregMatchRector (#6368)
- [UnusedImport] Different letter case for classes + optimization (#6362), Thanks
@jorgsowa!- [CodeQuality] Skip else indirect return on SimplifyIfReturnBoolRector (#6371)
- [CodeQuality] Clean up else check on SimplifyIfReturnBoolRector (#6372)
- [TypeDeclaration] Fix deep nested array docblock with \ prefix on ReturnTypeFromStrictNewArrayRector (#6373)
- [EarlyReturn] Skip nested with OR in root if statement condition on ChangeNestedForeachIfsToEarlyContinueRector (#6375)
- [DeadCode] Skip RemoveUnusedPrivatePropertyRector in middle assign (#6363)
... (truncated)
Commits
05755bfRector 1.2.8ca3b59bUpdated Rector to commit 3ca9d0d7c27b9c538cba410f11c1f084c47de59c5864fb0Updated Rector to commit cdeea08b786337dc6f537c9cac0ac9dc80a2da8d82270e5Updated Rector to commit 7be438b5fc0f91a9dc9b70a0b6a38a6bf1e906b2adf15bbUpdated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa1a957f8Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa80d5259Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057254c38fUpdated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee8388edbUpdated Rector to commit 684f23d165407e0461a48d2c1fd289834a4928768defa24Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c- 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Quality Gate passed
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Superseded by #201.