Skip to content

Add analyzer to prefer AutoMocker.With over Use(CreateInstance) - #538

Merged
Keboo merged 1 commit into
masterfrom
kepler/add-automocker-use-analyzer
Oct 17, 2026
Merged

Keboo merged 1 commit into
masterfrom
kepler/add-automocker-use-analyzer

Conversation

@Keboo

@Keboo Keboo commented Oct 17, 2026

Copy link
Copy Markdown
Collaborator

Adds AMA0002 analyzer reporting mocker.Use(mocker.CreateInstance()) with a code fix to mocker.With(). Includes tests.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Keboo
Keboo enabled auto-merge (squash) October 17, 2026 17:06
@Keboo
Keboo merged commit 3359815 into master Oct 17, 2026
2 checks passed
@Keboo
Keboo deleted the kepler/add-automocker-use-analyzer branch October 17, 2026 17:08
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