-
-
Notifications
You must be signed in to change notification settings - Fork 930
Open
Labels
Description
Feature request
repro: https://phpstan.org/r/9b3e8609-2d32-452c-aef3-79cca1a66569
Currently TestCase::assertTrue(true)
is reported as always true, but TestCase::assertSame('x', 'x')
is not.
assertions were introduced in phpstan/phpstan-src#1317 and this was already discussed in phpstan/phpstan-src#1317 (comment).
At least =
should be supported for strict type equality to make the assertion more consistent with psalm.