Skip to content

Add supported assertions list to README#204

Merged
ondrejmirtes merged 1 commit into2.0.xfrom
readme-supported-assertions
Feb 19, 2026
Merged

Add supported assertions list to README#204
ondrejmirtes merged 1 commit into2.0.xfrom
readme-supported-assertions

Conversation

@phpstan-bot
Copy link

Summary

  • Added a comprehensive "Supported assertions" section to the README listing all assertion methods the extension supports, derived from AssertTypeSpecifyingExtension::getExpressionResolvers() and the allNot* handlers in the source code.
  • Assertions are grouped into categories: type checks, instance/class checks, comparisons, string assertions, count assertions, object/array, and negative all* assertions.
  • Documents the nullOr*(), all*(), and allNullOr*() prefix support.

Test plan

  • Verified the listed methods match the source code in AssertTypeSpecifyingExtension.php
  • Visual review of README rendering

🤖 Generated with Claude Code

The README only showed a single example but did not document which
Assert methods the extension actually supports. Add a concise
categorized list of all supported assertions derived from the source
code, including the nullOr*, all*, allNullOr*, and allNot* prefixes.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 5d1fe16 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