You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
message:"#^Creating new PHPStan\\\\Php8StubsMap is not covered by backward compatibility promise\\. The class might change in a minor PHPStan version\\.$#"
340
350
count:1
@@ -403,6 +413,16 @@ parameters:
403
413
count:1
404
414
path:src/Testing/PHPStanTestCase.php
405
415
416
+
-
417
+
message:"#^PHPDoc tag @var with type float\\|int is not subtype of native type int\\.$#"
$this->assertSame('Generator expects value type T of DateTimeInterface, DateTime|DateTimeImmutable|T of DateTimeInterface given.', $errors[0]->getMessage());
596
-
$this->assertSame(28, $errors[0]->getLine());
596
+
$this->assertCount(3, $errors);
597
+
$this->assertSame('PHPDoc tag @var with type Iterator<mixed, T of DateTimeInterface> is not subtype of native type DatePeriod.', $errors[0]->getMessage());
598
+
$this->assertSame(22, $errors[0]->getLine());
599
+
600
+
$this->assertSame('Generator expects value type T of DateTimeInterface, DateTime|DateTimeImmutable|T of DateTimeInterface given.', $errors[1]->getMessage());
601
+
$this->assertSame(28, $errors[1]->getLine());
602
+
603
+
$this->assertSame('Generator expects value type T of DateTimeInterface, DateTime|DateTimeImmutable|T of DateTimeInterface given.', $errors[2]->getMessage());
0 commit comments