fix(linter/no-invalid-fetch-options): ignore non static method#14806
Conversation
How to use the Graphite Merge QueueAdd either label to this PR to merge it via the merge queue:
You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
There was a problem hiding this comment.
Pull Request Overview
This PR fixes issue #13010 by improving the handling of non-static method properties in the no-invalid-fetch-options linter rule. When a method name cannot be resolved (e.g., when it references an external variable), the rule now marks it as unknown rather than continuing with potentially incorrect analysis.
Key Changes:
- Added fallback behavior to set
method_nametoUNKNOWN_METHOD_NAMEwhen a symbol cannot be resolved - Added test case covering the scenario where method options are passed as variables
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Merge activity
|
7faaf8e to
dc03c3a
Compare
CodSpeed Performance ReportMerging #14806 will not alter performanceComparing Summary
Footnotes
|

fixes #13010