Visitar URL original
Add sorge-it/phpunit-pest-html-assertions to 3rd party rules by sorge-it · Pull Request #15413 · phpstan/phpstan · GitHub
Skip to content

Add sorge-it/phpunit-pest-html-assertions to 3rd party rules - #15413

Open
sorge-it wants to merge 1 commit into
phpstan:2.3.xfrom
sorge-it:extension-library-html-assertions
Open

sorge-it wants to merge 1 commit into
phpstan:2.3.xfrom
sorge-it:extension-library-html-assertions

Conversation

@sorge-it

@sorge-it sorge-it commented Oct 6, 2026

Copy link
Copy Markdown

Adds sorge-it/phpunit-pest-html-assertions to the 3rd party rules.

It ships two rules for test code: html.markupAsString and html.classAsString report a check of rendered HTML or of a CSS class as a string, such as assertSee('<div') or toContain('lg:flex'), and name the check by CSS selector to use instead.

I maintain the package.

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