Skip to content

Commit 5ced148

Browse files
committed
Fix test suite using attributes
1 parent b2ae523 commit 5ced148

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/PeriodRelationTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,9 +1081,7 @@ public function testSubtractWithEqualPeriodObjec(): void
10811081
self::assertEquals($diff, $periodA->subtract($periodA));
10821082
}
10831083

1084-
/**
1085-
* @dataProvider meetsProvider
1086-
*/
1084+
#[DataProvider('meetsProvider')]
10871085
public function testMeets(Period $period1, Period $period2, bool $meets, bool $meetsOnStart, bool $meetsOnEnd): void
10881086
{
10891087
self::assertSame($meets, $period1->meets($period2));

0 commit comments

Comments
 (0)