Skip to content

Commit f2cd590

Browse files
committed
Skip test properly in prefer-lowest
1 parent 9185651 commit f2cd590

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

phpstan-baseline.neon

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,11 @@ parameters:
240240
count: 1
241241
path: test/End2End/End2EndTest.php
242242

243+
-
244+
message: "#^Comparison operation \"\\<\" between 50102 and 40300 is always false\\.$#"
245+
count: 1
246+
path: test/End2End/End2EndTest.php
247+
243248
-
244249
message: "#^Method Sentry\\\\SentryBundle\\\\Test\\\\ErrorTypesParserTest\\:\\:testParse\\(\\) has parameter \\$value with no typehint specified\\.$#"
245250
count: 1

test/End2End/End2EndTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public function testGet500(): void
119119

120120
public function testMessengerCaptureHardFailure(): void
121121
{
122-
if (! interface_exists(MessageBusInterface::class)) {
122+
if (! interface_exists(MessageBusInterface::class) || Kernel::VERSION_ID < 40300) {
123123
$this->markTestSkipped('Messenger missing');
124124
}
125125

0 commit comments

Comments
 (0)