Skip to content
Esc
↑↓navigate↵open⌘Jpreview
On this page

lint/phpunit/no-any-matcher

Not in any set. Safe fix. Runs when phpunit is installed. Planned: not in Pun yet. Enabling it is a config error.

What it does

Change deprecated $this->any() matcher assign to direct new AnyInvokedCount()

Replaces

More lint/phpunit rules · Edit this page

Last updated on

Was this page helpful?