Skip to content

Update README with missing feature descriptions#90

Merged
ondrejmirtes merged 1 commit into2.0.xfrom
update-readme-features
Feb 19, 2026
Merged

Update README with missing feature descriptions#90
ondrejmirtes merged 1 commit into2.0.xfrom
update-readme-features

Conversation

@phpstan-bot
Copy link
Copy Markdown

Summary

  • Added Mockery::namedMock() to the list of methods returning intersection types
  • Documented alias: and overload: prefix support
  • Documented partial mock syntax (ClassName[methodName])
  • Documented multiple interface resolution (comma-separated and separate arguments)
  • Documented constructor argument array handling
  • Added makePartial() and shouldAllowMockingProtectedMethods() as returning static
  • Added shouldNotReceive(), shouldHaveReceived(), shouldNotHaveReceived() to the listed methods
  • Mentioned the mockery.convertUnionToIntersectionType config parameter

Test plan

  • Verified all listed features exist in src/ and are exercised in tests/
  • Visual review of README formatting

🤖 Generated with Claude Code

Add documentation for features that were implemented but not listed
in the README: namedMock() support, alias/overload prefixes, partial
mock syntax, multiple interface resolution, constructor args handling,
makePartial()/shouldAllowMockingProtectedMethods() return types,
shouldNotReceive/shouldHaveReceived/shouldNotHaveReceived methods,
and the convertUnionToIntersectionType config parameter.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 4b98018 into 2.0.x Feb 19, 2026
36 checks passed
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.

2 participants