Skip to content

Commit e307103

Browse files
committed
minor #16414 removed all @Covers annotations (fabpot)
This PR was merged into the 2.3 branch. Discussion ---------- removed all @Covers annotations | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | n/a | License | MIT | Doc PR | n/a Some unit tests have a `@covers` PHPUnit annotations. Most of them were added a very long time ago, but since then, we did not use them anymore and the existing ones are not maintained (see #16413). So, I propose to remove them all. Commits ------- 1e0af36 removed all @Covers annotations
2 parents c91db9f + f110787 commit e307103

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Tests/OptionsTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ public function testClearRemovesAllOptions()
392392
}
393393

394394
/**
395-
* @covers Symfony\Component\OptionsResolver\Options::replace
396395
* @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
397396
*/
398397
public function testCannotReplaceAfterOptionWasRead()
@@ -406,7 +405,6 @@ public function testCannotReplaceAfterOptionWasRead()
406405
}
407406

408407
/**
409-
* @covers Symfony\Component\OptionsResolver\Options::overload
410408
* @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
411409
*/
412410
public function testCannotOverloadAfterOptionWasRead()
@@ -418,7 +416,6 @@ public function testCannotOverloadAfterOptionWasRead()
418416
}
419417

420418
/**
421-
* @covers Symfony\Component\OptionsResolver\Options::clear
422419
* @expectedException \Symfony\Component\OptionsResolver\Exception\OptionDefinitionException
423420
*/
424421
public function testCannotClearAfterOptionWasRead()

0 commit comments

Comments
 (0)