getformwork / formwork

🏗 A flat file-based Content Management System (CMS) to build and manage sites with simplicity
MIT License
52 stars 12 forks source link

Bump rector/rector from 1.2.5 to 1.2.8 #599

Closed dependabot[bot] closed 1 week ago

dependabot[bot] commented 1 week ago

Bumps rector/rector from 1.2.5 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
  • 05755bf Rector 1.2.8
  • ca3b59b Updated Rector to commit 3ca9d0d7c27b9c538cba410f11c1f084c47de59c
  • 5864fb0 Updated Rector to commit cdeea08b786337dc6f537c9cac0ac9dc80a2da8d
  • 82270e5 Updated Rector to commit 7be438b5fc0f91a9dc9b70a0b6a38a6bf1e906b2
  • adf15bb Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
  • 1a957f8 Updated Rector to commit 61016bf5307b804df5babb81db27cacbccb12efa
  • 80d5259 Updated Rector to commit 385d423d4f2b5577bfb5d70f6e41e09f3460a057
  • 254c38f Updated Rector to commit d180b8d7363f508a4e9c6931c327c65aed5ff6ee
  • 8388edb Updated Rector to commit 684f23d165407e0461a48d2c1fd289834a492876
  • 8defa24 Updated Rector to commit d7bfc24bedc11374868f5a7ff3066eb847e80a8c
  • Additional commits viewable in compare view


Dependabot compatibility score

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 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)