This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| rector/rector (source) | 2.8.4 → 2.8.5 |
WARNING
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
rectorphp/rector (rector/rector)
v2.8.5: Released Rector 2.8.5
Bugfixes and safer reprints :bug:
This release is mostly about bugfixes - an infinite loop fix in docblock return types, kept ternary parentheses on null coalescing, more precise changed_files in JSON output, and several new skips for dead code and PHP 8.4 rules. On the extension side, PHPUnit AddDoesNotPerformAssertionToNonAssertingTestRector is now faster and more precise.
Bugfixes :bug:
- [TypeDeclarationDocblocks] Skip invalid
@returntag to fix infinite loop inDocblockReturnArrayFromDirectArrayInstanceRector(#8918) - [ChangesReporting] List only changed files in JSON
changed_files(#8917) Thanks @gvieira18 - [Core] Drop file positions on reprinted nodes copied from another file (#8928)
- Preserve ternary fallback parentheses in new coalesces (#8927) Thanks @smotim
- [Php70] Keep inner ternary parentheses on
TernaryToNullCoalescingRector(#8921) - [Php55] Handle variable interpolated in pattern on
PregReplaceEModifierRector(#8922) - [Php84] Skip variable modified in condition on
ForeachToArrayAllRector,ForeachToArrayAnyRector,ForeachToArrayFindRectorandForeachToArrayFindKeyRector(#8925) - [DeadCode] Skip conditional return type on
RemoveUselessReturnTagRector(#8924) Thanks @APX403 - [DeadCode] Skip private methods used as callables on
RemoveUnusedPrivateMethodParameterRector(#8923) Thanks @phinor - [CodingStyle] Skip closure with rebound
$thisonArrowFunctionDelegatingCallToFirstClassCallableRectorandClosureDelegatingCallToFirstClassCallableRector(#8931)
Performance Improvements :rocket:
- Remove usage of
CloningVisitoronAstResolver(#8861)
Internals :gear:
- [Printer] Remove unneeded
BetterStandardPrinter::pStmt_FileNode()(#8904) - [CodingStyle] Cover Doctrine/Symfony aliased names on import names with real stubs (#8932, #8933)
rector-symfony :musical_note:
- [Symfony61] Do not add
#[AsCommand]without a name inCommandConfigureToAttributeRector(#1102) Thanks @kix - Skip first-class callable in
CommandConfigureToAttributeRector(#1104)
rector-phpunit :green_circle:
- [PHPUnit90] Handle named and unpacked
preg_match()args and skip non-literal expected value inAssertRegExpRector(#820, #819) Thanks @alies-dev - [PHPUnit100] Add
willReturnOnConsecutiveCalls()variables to closureuse()inWithConsecutiveRector(#821) - [PHPUnit120] Skip mocks configured through an alias in
ExpressionCreateMockToCreateStubRector(#823) Thanks @bbrala - [PHPUnit60] Follow
parent::test()calls inAddDoesNotPerformAssertionToNonAssertingTestRector(#826) Thanks @bbrala - [PHPUnit60] Count
expectUserDeprecationMessage()as assert, skip test methods in abstract classes and skip tests in classes with own asserting lifecycle methods inAddDoesNotPerformAssertionToNonAssertingTestRector(#825, #828, #831) - [PHPUnit60] Speed up
AddDoesNotPerformAssertionToNonAssertingTestRector- change node toClass_, cachecontainsAssertCall()per node and never parse PHPUnit and Symfony base test case methods (#830, #829, #833, #824)
rector-downgrade-php :arrow_down:
- Fix class constant spread from other class crash on
DowngradeArraySpreadRector(#423)
Configuration
📅 Schedule: (UTC)
- Branch creation
- At any time (no schedule defined)
- Automerge
- At any time (no schedule defined)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, 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.
Summary by cubic
Updates rector/rector from 2.8.4 to 2.8.5 in composer.lock. This patch release includes bugfixes for reprints and dead code handling, and speeds up PHPUnit rule processing.
Written for commit 3df37c417696a8bb6450f7484a01ac05afa726a1. Summary will update on new commits.
Activity
8PR author is in the excluded authors list.
IMPORTANT
Review skipped
Bot user detected.
To trigger a single review, invoke the
@coderabbitai reviewcommand.
Run configuration
- Source mode: Auto
- Repository: ashcoft/nextcloud-pdf-editor
- Branch: main
- File: .coderabbit.yaml
- Commit: ded12d3
- Layers: Repository YAML
- Review profile: CHILL
- Plan: Advanced
- Run ID:
4e1dca07-b463-4d56-ba27-f437a2490e9aYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
- Trigger review
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
Share
-
- (https://twitter.com/intent/tweet?text=I%20just%20used%20%40coderabbitai%20for%20my%20code%20review%2C%20and%20it%27s%20fantastic%21%20It%27s%20free%20for%20OSS%20and%20offers%20a%20free%20trial%20for%20the%20proprietary%20code.%20Check%20it%20out%3A&url=https%3A//coderabbit.ai)
- Mastodon
:white_check_mark: Snyk checks have passed. No issues have been found so far.
| Status | Scan Engine | Critical | High | Medium | Low | Total (0) |
|---|---|---|---|---|---|---|
| :white_check_mark: | Open Source Security | 0 | 0 | 0 | 0 | 0 issues |
:computer: Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.
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
Tick the box to add this pull request to the merge queue (same as @mergifyio queue). If it does not match the queue conditions yet, it enters the queue once it does.
- Queue this pull request once it meets the queue conditions
Up to standards :white_check_mark:
🟢 Issues 0 issues
Results:
0new issues
🟢 Metrics 0 complexity · 0 duplication
Metric Results Complexity 0 Duplication 0
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Current Aviator status
This pull request is currently open (not queued).
How to merge
To merge this PR, comment
/aviator mergeor add themergequeuelabel.