Skip to content

[TypeDeclarationDocblocks] Skip mixed[] from empty array on ClassMethodArrayDocblockParamFromLocalCallsRector#7349

Merged
samsonasik merged 3 commits intomainfrom
skip-mixed-empty
Sep 27, 2025
Merged

[TypeDeclarationDocblocks] Skip mixed[] from empty array on ClassMethodArrayDocblockParamFromLocalCallsRector#7349
samsonasik merged 3 commits intomainfrom
skip-mixed-empty

Conversation

@samsonasik
Copy link
Member

It currently cause:

+    /**
+     * @param mixed[] $data
+     */

which should be skipped.

Ref https://getrector.com/demo/2f69f875-854a-484d-95ad-1447ef2c2de3

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @TomasVotruba

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it to have faster feedback to test ;)

@samsonasik samsonasik enabled auto-merge (squash) September 27, 2025 14:27
@samsonasik samsonasik disabled auto-merge September 27, 2025 14:28
@samsonasik samsonasik enabled auto-merge (squash) September 27, 2025 14:32
@samsonasik samsonasik merged commit 9e917bd into main Sep 27, 2025
50 checks passed
@samsonasik samsonasik deleted the skip-mixed-empty branch September 27, 2025 14:34
@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant