Skip to content

Commit ab5a127

Browse files
committed
run tests with PHPUnit 12.3
1 parent cefb2f2 commit ab5a127

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Tests/Attribute/AsListenerTest.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ public function testTransitionThrowException(string $class)
6868

6969
public static function provideTransitionThrowException(): iterable
7070
{
71-
yield [Attribute\AsAnnounceListener::class, 'workflow.announce'];
72-
yield [Attribute\AsCompletedListener::class, 'workflow.completed'];
73-
yield [Attribute\AsGuardListener::class, 'workflow.guard'];
74-
yield [Attribute\AsTransitionListener::class, 'workflow.transition'];
71+
yield [Attribute\AsAnnounceListener::class];
72+
yield [Attribute\AsCompletedListener::class];
73+
yield [Attribute\AsGuardListener::class];
74+
yield [Attribute\AsTransitionListener::class];
7575
}
7676

7777
#[DataProvider('providePlaceThrowException')]
@@ -85,8 +85,8 @@ public function testPlaceThrowException(string $class)
8585

8686
public static function providePlaceThrowException(): iterable
8787
{
88-
yield [Attribute\AsEnteredListener::class, 'workflow.entered'];
89-
yield [Attribute\AsEnterListener::class, 'workflow.enter'];
90-
yield [Attribute\AsLeaveListener::class, 'workflow.leave'];
88+
yield [Attribute\AsEnteredListener::class];
89+
yield [Attribute\AsEnterListener::class];
90+
yield [Attribute\AsLeaveListener::class];
9191
}
9292
}

0 commit comments

Comments
 (0)