lint/phpunit/no-float-delta-parameter
In the code-quality set. Safe fix. Runs when phpunit is installed.
What it does
Change assertEquals()/assertSame() method using float on expected argument to new specific alternatives.
Configuration
[lint.rules]
"phpunit/no-float-delta-parameter" = "error"
To skip it in some files or lines, add an override or an ignore comment.
Replaces
AssertEqualsOrAssertSameFloatParameterToSpecificMethodsType(rector-phpunit)