Skip to content

[Transform] Use ContextAnalyzer->isLeftPartOfAssign() on ArrayDimFetchToMethodCallRector#7702

Closed
samsonasik wants to merge 1 commit into
mainfrom
use-context-service
Closed

[Transform] Use ContextAnalyzer->isLeftPartOfAssign() on ArrayDimFetchToMethodCallRector#7702
samsonasik wants to merge 1 commit into
mainfrom
use-context-service

Conversation

@samsonasik
Copy link
Copy Markdown
Member

Ref #7697 (review)

There is already service that handle it: ContextAnalyzer->isLeftPartOfAssign()

@samsonasik
Copy link
Copy Markdown
Member Author

@TomasVotruba ready 👍

@TomasVotruba
Copy link
Copy Markdown
Member

I prefer direct attribute use over 5-line service.

@samsonasik
Copy link
Copy Markdown
Member Author

The service handle attribute other assign usage: by ref, not only assign by and op

@TomasVotruba TomasVotruba deleted the use-context-service branch December 2, 2025 12:12
@TomasVotruba
Copy link
Copy Markdown
Member

I'd take a PR with an attribute + test case to verify.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 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 May 3, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants