sp-api-sdk
sp-api-sdk copied to clipboard
Bump rector/rector from 1.0.3 to 1.0.5 in /tools
Bumps rector/rector from 1.0.3 to 1.0.5.
Release notes
Sourced from rector/rector's releases.
Released Rector 1.0.5
New Features :partying_face:
- [TypeDeclarations] Add IncreaseDeclareStrictTypesRector to raise level of declare() coverage (#5849)
Bugfixes :bug:
- ExplicitReturnNullRector should skip never return (#5802), Thanks
@staabm!- Make Compatible with phpstan 1.11.x code (#5804)
- [CodeQuality] Skip Always return in try catch with finally on ExplicitReturnNullRector (#5807)
- [CodeQuality] Skip never type on default switch on ExplicitReturnNullRector (#5808)
- [CodeQuality] Skip while(true) always returned on ExplicitReturnNullRector (#5810)
- [TypeDeclaration] Skip maybe not returned on while on ReturnUnionTypeRector (#5812)
- [Php81] Skip on property and class const on FirstClassCallableRector (#5813)
- [Php81] Skip __invoke() usage from non-class code on FirstClassCallableRector (#5816)
- [Php81] Skip always string if else DomElement on NullToStrictStringFuncCallArgRector (#5822)
- [TypeDeclaration] Handle crash on
@mixinusage on ReturnTypeFromStrictTypedCallRector (#5823)- [Php81] Skip mixed type on ArrayDimFetch on NullToStrictStringFuncCallArgRector (#5826)
- Fix original quotes in PregReplaceEModifierRector (#5827)
- [CodeQuality] Skip $counter variable exists on ForRepeatedCountToOwnVariableRector (#5828)
- [Php81] Use PHPStan ParametersAcceptor to detect allowed argument types on NullToStrictStringFuncCallArgRector (#5829)
- [Renaming] Skip func call name on RenameClassRector (#5833)
- Support NullSafeMethod calls in unused-code analysis (#5838), Thanks
@staabm!- Support NullSafeProperty fetches in unused-code analysis (#5839), Thanks
@staabm!- Ignore phpdoc type in RecastingRemovalRector (#5841), Thanks
@staabm!- [Naming] Skip DateTime as individual in name resolver (#5842)
- [Experiment] Rework child classes detection on DynamicSourceLocatorProvider (#5735)
- [Printer] Handle Strip left spaces from opening tags on namespaced PHP + HTML content (#5851)
- [CodeQuality] Fix tautology transformation on identical check on SimplifyTautologyTernaryRector (#5854)
- [CodeQuality] Skip dynamic second arg or has uppercase second arg on SimplifyStrposLowerRector (#5855)
- [NodeTypeResolver] Use existing DefaultReflector::reflectAllClasses() method on DynamicSourceLocatorProvider (#5856)
- [EarlyReturn] Skip with AssignOp on PreparedValueToEarlyReturnRector (#5857)
- [TypeDeclaration] Handle array with index assigned on TypedPropertyFromAssignsRector (#5861)
- [TypeDeclaration] Handle return by array shape type on AddArrowFunctionReturnTypeRector (#5815)
- [CodeQuality] Add Function_ and FuncCall support on OptionalParametersAfterRequiredRector (#5835)
- [Php83] Handle default native constant on AddTypeToConstRector (#5843)
- [PHP 7.2] Add error suppres support to each() rule (#5844)
- [TypeDeclaration] Skip more detailed type on AddMethodCallBasedStrictParamTypeRector (#5866)
- [DeadCode] Skip $this instanceof in Trait on RemoveAlwaysTrueIfConditionRector (#5817)
- [DeadCode] Skip $this in trait on RemoveDeadInstanceOfRector (#5818)
Released Rector 1.0.4
New Features and Changes :partying_face:
- [Php84] Add ExplicitNullableParamTypeRector (#5724)
- [Transform] Adds ArrayDimFetchToMethodCallRector rule (#5723), Thanks
@peterfox!- Add support for getOneOrNullResult() method in ChildDoctrineRepositoryClassTypeRector (#5747)
- Add boolean and support to RemoveDeadInstanceOfRector (#5748)
... (truncated)
Commits
73eb63eRector 1.0.5322f3adUpdated Rector to commit 48fc55d89350f24521a197c04b5512452a3b50fcfe89136Updated Rector to commit 558f44d5939be4314d76f4850a34be3590e65bfdf7723edUpdated Rector to commit ef84a1a722c39839de1bcd79e0d3558b3e7d935ded1310bUpdated Rector to commit acb0b5d3ad760e7253fb6f49b4047ec6226384d49da012cUpdated Rector to commit bb90e0bbafee5e47720d9fda8f7e46fad5bd90a2dcdff77Updated Rector to commit 8371040f72445fda4e96f29783b5de5351524c8a582a864Updated Rector to commit 650dcc6394c6df206772350e525311f8080e50772dc9d28Updated Rector to commit 6649713eb98b016d5503163cd8cbea534ae61f2e5c55f54Updated Rector to commit 4789b516d98b619f2e04900ab0ae442eb94a5348- 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)