Skip to content

Commit 7d8cbce

Browse files
committed
temp CI
1 parent edea4b9 commit 7d8cbce

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

tests/Sniffs/TypeHints/DNFTypeHintFormatSniffTest.php

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,7 @@ public function testShortNullableDisallowedNoErrors(): void
241241
'shortNullable' => 'no',
242242
], [DNFTypeHintFormatSniff::CODE_DISALLOWED_SHORT_NULLABLE]);
243243

244-
if (PHP_VERSION_ID < 80000) {
245-
self::assertNoSniffErrorInFile($report);
246-
} else {
247-
self::assertSame(3, $report->getErrorCount());
248-
self::assertSniffError($report, 6, DNFTypeHintFormatSniff::CODE_REQUIRED_SHORT_NULLABLE);
249-
self::assertSniffError($report, 8, DNFTypeHintFormatSniff::CODE_REQUIRED_SHORT_NULLABLE);
250-
}
244+
self::assertNoSniffErrorInFile($report);
251245
}
252246

253247
public function testShortNullableDisallowedErrors(): void

0 commit comments

Comments
 (0)