summaryrefslogtreecommitdiff
path: root/tests/app/Elements/FamilyCensusTest.php
diff options
context:
space:
mode:
authorGreg Roach <greg@subaqua.co.uk>2024-03-26 11:38:51 +0000
committerGreg Roach <greg@subaqua.co.uk>2024-03-31 17:33:17 +0100
commit202c018b592d5a516e4a465dc6dc515f3be37399 (patch)
tree06e060fc19a494f1e5dcf89fc7ce04a8011e8176 /tests/app/Elements/FamilyCensusTest.php
parent1ff45046fabc22237b5d0d8e489c96f031fc598d (diff)
downloadwebtrees-202c018b592d5a516e4a465dc6dc515f3be37399.tar.gz
webtrees-202c018b592d5a516e4a465dc6dc515f3be37399.tar.bz2
webtrees-202c018b592d5a516e4a465dc6dc515f3be37399.zip
PHPUnit 11 deprecates docblocks, use annotations instead
Diffstat (limited to 'tests/app/Elements/FamilyCensusTest.php')
-rw-r--r--tests/app/Elements/FamilyCensusTest.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/app/Elements/FamilyCensusTest.php b/tests/app/Elements/FamilyCensusTest.php
index 20c4a58a81..49a8e9cf61 100644
--- a/tests/app/Elements/FamilyCensusTest.php
+++ b/tests/app/Elements/FamilyCensusTest.php
@@ -20,16 +20,14 @@ declare(strict_types=1);
namespace Fisharebest\Webtrees\Elements;
use Fisharebest\Webtrees\TestCase;
+use PHPUnit\Framework\Attributes\CoversClass;
-/**
- * Test harness for the class FamilyCensus
- *
- * @covers \Fisharebest\Webtrees\Elements\FamilyCensus
- */
+
+#[CoversClass(FamilyCensus::class)]
class FamilyCensusTest extends TestCase
{
public function testClass(): void
{
- $this->assertTrue(class_exists(\Fisharebest\Webtrees\Elements\FamilyCensus::class));
+ $this->assertTrue(class_exists(FamilyCensus::class));
}
}