lint/phpunit/no-assert-is-type
Not in any preset. In Rector’s rector-phpunit/composer-based set. Needs the phpunit extension. Safe fix.
What it does
Replaces Assert::isType() calls with type-specific Assert::is*() calls
Configuration
[lint.rules]
"phpunit/no-assert-is-type" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AssertIsTypeMethodCall(rector-phpunit)