Issue #3351079 by Spokje: Fix PHPStan L1 errors "You should use assertFoo() instead of assertSame(foo, $actual)."