Bump rector/rector from 0.12.5 to 0.12.8
Created by: dependabot[bot]
Bumps rector/rector from 0.12.5 to 0.12.8.
Release notes
Sourced from rector/rector's releases.
Released Rector 0.12.8
New Features
🎉
- [PHP 8.2] make AddAllowDynamicPropertiesAttributeRector configurable (#1391), Thanks
@mallardduck
!- [PHP 8.2] Add a RemoveAllowDynamicPropertyAttribute rule (#1445), Thanks
@samsonasik
!- Composer > Define allowed plugins (#1464), Thanks
@ruudk
!- [DowngradePhp80] Add ArrowFunction support on DowngradeMixedTypeDeclarationRector (#1477), Thanks
@samsonasik
!Changes
➡
- [Downgrade Php 7.2] Add opt-out parameter for unsafe types to avoid piling list of safe types (#1448)
- [Downgrade] Drop SAFE_TYPES and SAFE_TYPES_TO_METHODS constants, use UNSAFE_TYPES_TO_METHODS instead (#1451), Thanks
@samsonasik
!- [DX] Warn about deprecated constant configuration (#1444)
- warn only about deprecated constants (https://github.com/rectorphp/rector-src/commit/fae3f77647f40495b6a9e53bbb004a6711e73863)
- drepcate more configure constants (#1446)
- rector-generator should be a normal requirement (#1453), Thanks
@wernerkrauss
!Bugfixes
🐛
- Fix phpstan configured parser to treat project with its code version (#1480)
- [TypeDeclaration] Add mixed support for AddParamTypeDeclarationRector (#1476)
- [TypeDeclaration] Add void upper inner function has return on ReturnTypeDeclarationRector (#1447), Thanks
@samsonasik
!- [Php80] Handle param with default value on AddParamBasedOnParentClassMethodRector (#1452), Thanks
@samsonasik
!- [Php80] Add null default value when child more params no default value AddParamBasedOnParentClassMethodRector (#1454), Thanks
@samsonasik
!- [CodeQuality] Handle inner function return exactly DateTime on DateTimeToDateTimeInterfaceRector (#1463), Thanks
@samsonasik
!- [Php80] Handle parent with typed param on AddParamBasedOnParentClassMethodRector (#1455), Thanks
@samsonasik
!- Correct link in docs (#1465), Thanks
@PhilETaylor
!- [TypeDeclaration] Handle inner Closure on ReturnTypeFromReturnNewRector (#1467), Thanks
@samsonasik
!- [Php74] Do not remove Array Shape docblock on TypedPropertyRector (#1466), Thanks
@samsonasik
!- [TypeDeclaration] Handle inner ClassMethod on ReturnTypeFromStrictTypedPropertyRector (#1470), #6845, Thanks
@samsonasik
!- [Core] Fix undefined constant ReflectionClassConstant::IS_PUBLIC in php 7.x (#1474), Thanks
@samsonasik
!- [DowngradePhp73] Handle (array) cast on DowngradeArrayKeyFirstLastRector (#1478), Thanks
@samsonasik
!Released Rector 0.12.7
New Features
🎉
- [DeadCode] Add RemoveUnusedParamInRequiredAutowireRector (#1225), Thanks
@mallardduck
!- [PHP 8.2] Add rule for AllowDynamicProperties attribute (#1225), Thanks
@mallardduck
!- [CodeQuality] Add ReplaceMultipleBooleanNotRector (#1319), Thanks
@villfa
!- [Renaming] Handle rename template tag of class on RenameClassRector (#1318), Thanks
@samsonasik
!- [TypeDeclaration] Add AddPropertyTypeDeclaration rule (#1317)
- [DeadCode] Add support remove unused in between private method parameter for RemoveUnusedPrivateMethodParameterRector (#1321), Thanks
@samsonasik
!- [DeadCode] Add RemoveDeadContinueRector (#1323), Thanks
@villfa
!- [Renaming] Add generic rename annotation to RenameAnnotationRector (#1341)
- [DX] make all configure() methods accept direct value object configuration (#1322)
- [DX] Make use of configure() method (#1344)
- [DX] Re-use configure() in docs + remove prefixing of ValueObjectInliner (#1410)
- Array merge to unpacking (#1345), Thanks
@Bl00D4NGEL
!
... (truncated)
Commits
-
dd40e9e
Rector 0.12.8 -
033a469
Updated Rector to commit 528d6dd6986c529246832f686e482c3f7bc46a40 -
a312469
Updated Rector to commit 6c75d565e4ca896e70a38f075e80cd037cd0845f -
db95226
Updated Rector to commit 363908f47774ef1f9d003d0946ea5f3439c8b44b -
27fd5c3
Updated Rector to commit 2d4ac921207f17e26fd8524abb1936b7dd8a0371 -
dbb41a4
Updated Rector to commit 4dbfce13a1dcfcc34b58951ba3b5dcbbe1353526 -
5d630fd
require rector locally -
532362b
add e2e parse match on PHP 7.4 -
4b35465
Updated Rector to commit 42148012636a21d43d86ded247f9c94c772e9f4e -
56d505f
Updated Rector to commit 41caea7156b1b431ab4b260006b67da7825f5d02 - 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)