lint/phpunit/prefer-direct-assert
Not in any preset. Needs the phpunit extension. Safe fix.
What it does
Change $this->assertThat($value, $this->()) to direct $this->assert() method
Configuration
[lint.rules]
"phpunit/prefer-direct-assert" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AssertThatToDirectAssert(rector-phpunit)