Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2026

This PR contains the following updates:

Package Change Age Confidence
rector/rector (source) 2.3.02.3.1 age confidence

Release Notes

rectorphp/rector (rector/rector)

v2.3.1: Released Rector 2.3.1

Compare Source

New Features and Changes 🥳

  • [tdd] Add AddReturnDocblockForDimFetchArrayFromAssignsRector (#​7792)
  • [tdd] Add AddReturnDocblockFromMethodCallDocblockRector (#​7796)
  • [tdd] Add AddVarArrayDocblockFromDimFetchAssignRector (#​7801)
  • [DeadCode] Add RemoveDeadIfBlocksRector (#​7528), Thanks @​john-shaffer!
  • [dead-code] Add RemoveVoidDocblockFromMagicMethodRector (#​7822) - Thanks @​parijke!
  • [experiment] Remove leaveNode() method on AbstractRector and CallableNodeVisitor (#​7767)

Bugfixes 🐛

  • Skip Doctrine Connection calls in AddReturnDocblockFromMethodCallDocblockRector (#​7797)
  • add static all support to AddReturnDocblockFromMethodCallDocblockRector (#​7798)
  • add object support to DocblockReturnArrayFromDirectArrayInstanceRector (#​7795)
  • [TypeDeclarationDocblocks] Use FQCN return docblock for array of object types on AddReturnDocblockFromMethodCallDocblockRector (#​7800), Thanks @​guanguans!
  • [php 8.3] cover private abstract constants in AddTypeToConstRector (#​7804)
  • Add check for append in foreach items assignment (#​7815), Thanks @​solverat!
  • Static closure rule ignores arguments with $this binding (#​7721), Thanks @​peterfox!
  • fix: skip non-native methods (#​7747), Thanks @​calebdw!
  • [Php74] Fix indentation space on ClosureToArrowFunctionRector with comment inner closure (#​7779)
  • [DeadCode] Handle crash when parent does not has default param and child has (#​7782)
  • fix mixed[] override with empty array in DocblockReturnArrayFromDirectArrayInstanceRector (#​7793)
  • [ChangesReporting] Fix total changed result on JsonOutputFormatter (#​7807)
  • Manage named arguments when replacing a value (#​7784), Thanks @​carlos-granados!
  • [DeadCode] Register RemoveNextSameValueConditionRector in dead-code set (#​7790)
  • [DeadCode] Skip final and non-public __construct() on RemoveParentDelegatingConstructorRector (#​7806)
  • [DeadCode][Php80] Handle crash on mix ClassPropertyAssignToConstructorPromotionRector+RemoveParentDelegatingConstructorRector (#​7799)
  • [DeadCode] Skip with elseif/else on RemoveNextSameValueConditionRector (#​7809)
  • [DeadCode] Merge comment on RemoveNextSameValueConditionRector (#​7810)
  • skip marker attribute in RemoveEmptyClassMethodRector (#​7813)
  • [DeadCode] Skip private promoted property on RemoveParentDelegatingConstructorRector (#​7817)
  • Remove rector from rule definition title (#​7820), Thanks @​simonschaufi!
  • [experiment-next] Remove leaveNode() calls on AbstractImmutableNodeTraverser (#​7778)
  • [DeadCode] Handle multi vars on RemoveNonExistingVarAnnotationRector (#​7780)
  • [Php71] Try to handle no variants on RemoveExtraParametersRector (#​7803)

Configuration

📅 Schedule: Branch creation - Only on Sunday and Saturday ( * * * * 0,6 ) (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/rector-rector-2.x branch 2 times, most recently from c41f1da to 7c6acfd Compare January 17, 2026 16:40
@renovate renovate bot force-pushed the renovate/rector-rector-2.x branch from 7c6acfd to 55a6a62 Compare January 17, 2026 21:32
@github-actions
Copy link

Code Coverage

Package Line Rate Complexity Health
Command/AliasAddCommand.php 93% 12
Command/DKIMDisableCommand.php 96% 6
Command/DKIMSetupCommand.php 95% 16
Command/DomainAddCommand.php 94% 6
Command/FetchmailAccountAddCommand.php 93% 9
Command/InitSetupCommand.php 100% 13
Command/RedisSyncCommand.php 90% 4
Command/SystemCheckCommand.php 94% 24
Command/Trait/ConnectionCheckTrait.php 73% 3
Command/UserAddCommand.php 80% 11
Command/VersionCheckCommand.php 100% 13
Controller/Admin/AliasCrudController.php 76% 11
Controller/Admin/DKIMCrudController.php 98% 6
Controller/Admin/DashboardController.php 97% 10
Controller/Admin/DnsWizardAction.php 94% 7
Controller/Admin/DomainCrudController.php 96% 5
Controller/Admin/Observability/DovecotStatsController.php 100% 22
Controller/Admin/Observability/RspamdStatsController.php 98% 11
Controller/Admin/UserCrudController.php 79% 18
Controller/Autoconfig/AutoconfigAction.php 100% 4
Controller/Autoconfig/AutodiscoverAction.php 100% 4
Controller/Security/LoginAction.php 100% 3
Controller/Security/LogoutAction.php 100% 1
Controller/User/ChangePasswordAction.php 96% 6
Controller/User/FetchmailAccountController.php 69% 16
Controller/User/MobileConfigAction.php 67% 4
DependencyInjection/Compiler/AppSecretGeneratorCompilerPass.php 100% 7
Entity/Alias.php 100% 9
Entity/DkimInfoTrait.php 100% 6
Entity/Domain.php 100% 13
Entity/FetchmailAccount.php 100% 17
Entity/User.php 88% 30
Exception/DKIM/DomainKeyNotFoundException.php 0% 0
Exception/DomainNotFoundException.php 100% 1
Exception/Dovecot/DoveadmAuthenticationException.php 0% 0
Exception/Dovecot/DoveadmConnectionException.php 0% 0
Exception/Dovecot/DoveadmException.php 0% 0
Exception/Dovecot/DoveadmResponseException.php 0% 0
Factory/UserFactory.php 100% 5
Form/Type/ChangePasswordType.php 100% 2
Form/Type/OAuthRegisterType.php 100% 2
Kernel.php 0% 1
Repository/AliasRepository.php 100% 1
Repository/DomainRepository.php 100% 1
Repository/FetchmailAccountRepository.php 100% 1
Repository/UserRepository.php 85% 4
Service/ApplicationVersionService.php 100% 8
Service/ConnectionCheckService.php 100% 28
Service/DKIM/Config/Manager.php 100% 2
Service/DKIM/Config/MapGenerator.php 100% 7
Service/DKIM/DKIMStatus.php 100% 5
Service/DKIM/DKIMStatusService.php 100% 7
Service/DKIM/DomainKeyReaderService.php 100% 4
Service/DKIM/FormatterService.php 100% 1
Service/DKIM/KeyGenerationService.php 100% 3
Service/DKIM/KeyPair.php 100% 3
Service/DKIM/RuntimeDataLoader.php 100% 3
Service/DnsWizard/Check/ARecordCheck.php 100% 10
Service/DnsWizard/Check/AaaaRecordCheck.php 100% 10
Service/DnsWizard/Check/AutodiscoveryRecordCheck.php 100% 28
Service/DnsWizard/Check/DkimRecordCheck.php 100% 8
Service/DnsWizard/Check/DmarcRecordCheck.php 100% 10
Service/DnsWizard/Check/DnsCheckInterface.php 0% 0
Service/DnsWizard/Check/MxRecordCheck.php 100% 10
Service/DnsWizard/Check/PtrRecordCheck.php 100% 8
Service/DnsWizard/Check/SpfRecordCheck.php 100% 10
Service/DnsWizard/DnsLookupInterface.php 0% 0
Service/DnsWizard/DnsWizardRow.php 100% 1
Service/DnsWizard/DnsWizardStatus.php 0% 0
Service/DnsWizard/DnsWizardValidator.php 100% 6
Service/DnsWizard/ExpectedHostIps.php 100% 2
Service/DnsWizard/HostIpResolver.php 98% 17
Service/DnsWizard/NativeDnsLookup.php 70% 44
Service/DnsWizard/Scopes.php 0% 1
Service/Dovecot/DTO/DoveadmHealthDto.php 100% 7
Service/Dovecot/DTO/HealthStatus.php 0% 0
Service/Dovecot/DTO/RateSeriesDto.php 100% 9
Service/Dovecot/DTO/StatsDumpDto.php 67% 9
Service/Dovecot/DoveadmHttpClient.php 81% 76
Service/Dovecot/DovecotChartFactory.php 99% 9
Service/Dovecot/DovecotRateCalculator.php 100% 21
Service/Dovecot/DovecotStatsSampler.php 97% 17
Service/FetchmailAccount/AccountData.php 100% 1
Service/FetchmailAccount/AccountWriter.php 75% 4
Service/FetchmailAccount/RedisKeys.php 75% 4
Service/FetchmailAccount/RuntimeData.php 0% 0
Service/FetchmailAccount/RuntimeDataLoader.php 100% 4
Service/GitHubTagService.php 100% 8
Service/MobileConfig/MobileConfigService.php 89% 14
Service/Rspamd/DTO/ActionDistributionDto.php 91% 9
Service/Rspamd/DTO/ActionThresholdDto.php 100% 1
Service/Rspamd/DTO/HealthDto.php 100% 7
Service/Rspamd/DTO/HistoryRowDto.php 100% 1
Service/Rspamd/DTO/KpiValueDto.php 14% 7
Service/Rspamd/DTO/RspamdSummaryDto.php 100% 1
Service/Rspamd/DTO/SymbolCounterDto.php 100% 1
Service/Rspamd/DTO/TimeSeriesDto.php 100% 5
Service/Rspamd/RspamdChartFactory.php 96% 24
Service/Rspamd/RspamdClientException.php 100% 5
Service/Rspamd/RspamdConstants.php 0% 1
Service/Rspamd/RspamdControllerClient.php 94% 33
Service/Rspamd/RspamdStatsService.php 87% 117
Service/Security/Roles.php 0% 1
Service/Security/User/OAuth/AccountConnector.php 100% 3
Service/Security/User/OAuth/DenyRegistrationSubscriber.php 100% 5
Service/Security/User/OAuth/RegistrationFormHandler.php 100% 6
Service/Security/User/OAuth/UserProvider.php 100% 18
Service/Security/Voter/DomainAdminVoter.php 100% 10
Service/Security/Voter/FetchmailAccountVoter.php 100% 8
Service/UserChangeListener.php 100% 5
Subscriber/DKIM/ConfigSyncSubscriber.php 100% 5
Subscriber/DKIM/CreatePrivateKeyOnActivationSubscriber.php 92% 8
Twig/VersionExtension.php 100% 9
Validator/DomainName.php 100% 1
Validator/DomainNameValidator.php 74% 12
Summary 92% (2837 / 3078) 1067

Minimum allowed line rate is 60%

@renovate renovate bot merged commit 847f8fb into main Jan 18, 2026
4 checks passed
@renovate renovate bot deleted the renovate/rector-rector-2.x branch January 18, 2026 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant