From 1b26da12f62f76806edd8273ce264a94a70d06ee Mon Sep 17 00:00:00 2001 From: Oliver Klee Date: Sat, 25 Jan 2025 11:08:55 +0100 Subject: [PATCH] [BUGFIX] Drop `@covers` annotation referencing inexistent method --- config/phpstan-baseline.neon | 6 ------ tests/ParserTest.php | 4 ---- 2 files changed, 10 deletions(-) diff --git a/config/phpstan-baseline.neon b/config/phpstan-baseline.neon index a01c9a6c..43b9c063 100644 --- a/config/phpstan-baseline.neon +++ b/config/phpstan-baseline.neon @@ -12,9 +12,3 @@ parameters: count: 2 path: ../src/RuleSet/DeclarationBlock.php - - - message: '#^@covers value \\Sabberworm\\CSS\\Value\\Value\:\:parseValue\(\) references an invalid method\.$#' - identifier: phpunit.coversMethod - count: 2 - path: ../tests/ParserTest.php - diff --git a/tests/ParserTest.php b/tests/ParserTest.php index e57511ff..f32e5e87 100644 --- a/tests/ParserTest.php +++ b/tests/ParserTest.php @@ -971,8 +971,6 @@ public function unopenedClosingBracketFailure(): void /** * Ensure that a missing property value raises an exception. * - * @covers \Sabberworm\CSS\Value\Value::parseValue() - * * @test */ public function missingPropertyValueStrict(): void @@ -985,8 +983,6 @@ public function missingPropertyValueStrict(): void /** * Ensure that a missing property value is ignored when in lenient parsing mode. * - * @covers \Sabberworm\CSS\Value\Value::parseValue() - * * @test */ public function missingPropertyValueLenient(): void