@@ -9,7 +9,9 @@ class ClientTest extends TestCase
99{
1010 use TestHelper;
1111
12- #[DataProvider('requestExceptionTestProvider ' )]
12+ /**
13+ * @dataProvider requestExceptionTestProvider
14+ */
1315 public function testClientThrowsRequestExceptions ($ statusCode , $ exceptionClass )
1416 {
1517 $ this ->withApiKeyAndClientId ();
@@ -31,7 +33,9 @@ public function testClientThrowsRequestExceptions($statusCode, $exceptionClass)
3133 Client::request (Client::METHOD_GET , $ path );
3234 }
3335
34- #[DataProvider('requestExceptionTestProvider ' )]
36+ /**
37+ * @dataProvider requestExceptionTestProvider
38+ */
3539 public function testClientThrowsRequestExceptionsIncludeRequestId ($ statusCode , $ exceptionClass )
3640 {
3741 $ this ->withApiKeyAndClientId ();
@@ -60,7 +64,9 @@ public function testClientThrowsRequestExceptionsIncludeRequestId($statusCode, $
6064 $ this ->fail ("Expected exception of type " . $ exceptionClass . " not thrown. " );
6165 }
6266
63- #[DataProvider('requestExceptionTestProvider ' )]
67+ /**
68+ * @dataProvider requestExceptionTestProvider
69+ */
6470 public function testClientThrowsRequestExceptionsWithBadMessage ($ statusCode , $ exceptionClass )
6571 {
6672 $ this ->withApiKeyAndClientId ();
@@ -87,7 +93,9 @@ public function testClientThrowsRequestExceptionsWithBadMessage($statusCode, $ex
8793 }
8894 }
8995
90- #[DataProvider('requestExceptionTestProvider ' )]
96+ /**
97+ * @dataProvider requestExceptionTestProvider
98+ */
9199 public function testClientThrowsRequestExceptionsWithMessageAndCode ($ statusCode , $ exceptionClass )
92100 {
93101 $ this ->withApiKeyAndClientId ();
@@ -116,7 +124,9 @@ public function testClientThrowsRequestExceptionsWithMessageAndCode($statusCode,
116124 }
117125 }
118126
119- #[DataProvider('requestExceptionTestProvider ' )]
127+ /**
128+ * @dataProvider requestExceptionTestProvider
129+ */
120130 public function testClientThrowsRequestExceptionsWithErrorAndErrorDescription ($ statusCode , $ exceptionClass )
121131 {
122132 $ this ->withApiKeyAndClientId ();
@@ -145,7 +155,9 @@ public function testClientThrowsRequestExceptionsWithErrorAndErrorDescription($s
145155 }
146156 }
147157
148- #[DataProvider('requestExceptionTestProvider ' )]
158+ /**
159+ * @dataProvider requestExceptionTestProvider
160+ */
149161 public function testClientThrowsRequestExceptionsWithErrors ($ statusCode , $ exceptionClass )
150162 {
151163 $ this ->withApiKeyAndClientId ();
0 commit comments