We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4667996 commit b951005Copy full SHA for b951005
1 file changed
tests/Client/BranchAwareClientTest.php
@@ -30,7 +30,7 @@ public function testGetBranchIdWithEmptyBranchId(): void
30
new BranchAwareClient('', ['token' => 'token', 'url' => 'url']);
31
}
32
33
- public function endpointsProvider(): Generator
+ public static function endpointsProvider(): Generator
34
{
35
yield 'listJobs' => [
36
'methodCall' => ['listJobs'],
@@ -112,9 +112,7 @@ public function endpointsProvider(): Generator
112
];
113
114
115
- /**
116
- * @dataProvider endpointsProvider
117
- */
+ #[\PHPUnit\Framework\Attributes\DataProvider('endpointsProvider')]
118
public function testBranchedAwareEndpointsCall(
119
array $methodCall,
120
string $httpMethod,
0 commit comments