Skip to content

Commit 310ff9e

Browse files
committed
chore: corrects the since tag silliness
1 parent 2ddfa0e commit 310ff9e

File tree

7 files changed

+9
-39
lines changed

7 files changed

+9
-39
lines changed

src/Providers/Http/Contracts/RequestAuthenticationInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@
99
/**
1010
* Interface for HTTP request authentication.
1111
*
12-
* @since 1.0.0
12+
* @since n.e.x.t
1313
*/
1414
interface RequestAuthenticationInterface
1515
{
1616
/**
1717
* Authenticates an HTTP request.
1818
*
19-
* @since 1.0.0
19+
* @since n.e.x.t
2020
*
2121
* @param Request $request The request to authenticate.
2222
* @return void
@@ -26,7 +26,7 @@ public function authenticate(Request $request): void;
2626
/**
2727
* Returns the JSON schema for this authentication.
2828
*
29-
* @since 1.0.0
29+
* @since n.e.x.t
3030
*
3131
* @return array<string, mixed> The JSON schema.
3232
*/

src/Providers/Http/Contracts/WithHttpTransporterInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
/**
88
* Interface for models that require HTTP transport capabilities.
99
*
10-
* @since 1.0.0
10+
* @since n.e.x.t
1111
*/
1212
interface WithHttpTransporterInterface
1313
{
1414
/**
1515
* Sets the HTTP transporter.
1616
*
17-
* @since 1.0.0
17+
* @since n.e.x.t
1818
*
1919
* @param HttpTransporterInterface $transporter The HTTP transporter instance.
2020
* @return void
@@ -24,7 +24,7 @@ public function setHttpTransporter(HttpTransporterInterface $transporter): void;
2424
/**
2525
* Returns the HTTP transporter.
2626
*
27-
* @since 1.0.0
27+
* @since n.e.x.t
2828
*
2929
* @return HttpTransporterInterface The HTTP transporter instance.
3030
*/

src/Providers/Http/Contracts/WithRequestAuthenticationInterface.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@
77
/**
88
* Interface for models that support request authentication.
99
*
10-
* @since 1.0.0
10+
* @since n.e.x.t
1111
*/
1212
interface WithRequestAuthenticationInterface
1313
{
1414
/**
1515
* Sets the request authentication.
1616
*
17-
* @since 1.0.0
17+
* @since n.e.x.t
1818
*
1919
* @param RequestAuthenticationInterface $authentication The authentication instance.
2020
* @return void
@@ -24,7 +24,7 @@ public function setRequestAuthentication(RequestAuthenticationInterface $authent
2424
/**
2525
* Returns the request authentication.
2626
*
27-
* @since 1.0.0
27+
* @since n.e.x.t
2828
*
2929
* @return RequestAuthenticationInterface The authentication instance.
3030
*/

tests/traits/ArrayTransformationTestTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
* Trait for testing array transformation functionality.
99
*
1010
* Provides common assertions for DTOs that implement WithArrayTransformationInterface.
11-
*
12-
* @since 1.0.0
1311
*/
1412
trait ArrayTransformationTestTrait
1513
{

tests/unit/Providers/Http/Enums/HttpMethodEnumTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@
1111
/**
1212
* Tests for the HttpMethodEnum class.
1313
*
14-
* @since n.e.x.t
15-
*
1614
* @covers \WordPress\AiClient\Providers\Http\Enums\HttpMethodEnum
1715
*/
1816
class HttpMethodEnumTest extends TestCase
@@ -21,8 +19,6 @@ class HttpMethodEnumTest extends TestCase
2119

2220
/**
2321
* {@inheritDoc}
24-
*
25-
* @since n.e.x.t
2622
*/
2723
protected function getEnumClass(): string
2824
{
@@ -31,8 +27,6 @@ protected function getEnumClass(): string
3127

3228
/**
3329
* {@inheritDoc}
34-
*
35-
* @since n.e.x.t
3630
*/
3731
protected function getExpectedValues(): array
3832
{
@@ -52,8 +46,6 @@ protected function getExpectedValues(): array
5246
/**
5347
* Tests that safe methods are correctly identified.
5448
*
55-
* @since n.e.x.t
56-
*
5749
* @return void
5850
*/
5951
public function testIsSafe(): void
@@ -73,8 +65,6 @@ public function testIsSafe(): void
7365
/**
7466
* Tests that idempotent methods are correctly identified.
7567
*
76-
* @since n.e.x.t
77-
*
7868
* @return void
7969
*/
8070
public function testIsIdempotent(): void
@@ -94,8 +84,6 @@ public function testIsIdempotent(): void
9484
/**
9585
* Tests that methods with bodies are correctly identified.
9686
*
97-
* @since n.e.x.t
98-
*
9987
* @return void
10088
*/
10189
public function testHasBody(): void

tests/unit/Providers/Http/HttpTransporterFactoryTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,13 @@
1111
/**
1212
* Tests for HttpTransporterFactory class.
1313
*
14-
* @since n.e.x.t
15-
*
1614
* @covers \WordPress\AiClient\Providers\Http\HttpTransporterFactory
1715
*/
1816
class HttpTransporterFactoryTest extends TestCase
1917
{
2018
/**
2119
* Tests creating an HTTP transporter.
2220
*
23-
* @since n.e.x.t
24-
*
2521
* @covers ::createTransporter
2622
*
2723
* @return void

tests/unit/Providers/Http/HttpTransporterTest.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@
1616
/**
1717
* Tests for HttpTransporter class.
1818
*
19-
* @since n.e.x.t
20-
*
2119
* @covers \WordPress\AiClient\Providers\Http\HttpTransporter
2220
*/
2321
class HttpTransporterTest extends TestCase
@@ -40,8 +38,6 @@ class HttpTransporterTest extends TestCase
4038
/**
4139
* Sets up the test fixture.
4240
*
43-
* @since n.e.x.t
44-
*
4541
* @return void
4642
*/
4743
protected function setUp(): void
@@ -60,8 +56,6 @@ protected function setUp(): void
6056
/**
6157
* Tests sending a simple GET request.
6258
*
63-
* @since n.e.x.t
64-
*
6559
* @covers ::send
6660
* @covers ::convertToPsr7Request
6761
* @covers ::convertFromPsr7Response
@@ -92,8 +86,6 @@ public function testSendGetRequest(): void
9286
/**
9387
* Tests sending a POST request with body.
9488
*
95-
* @since n.e.x.t
96-
*
9789
* @covers ::send
9890
* @covers ::convertToPsr7Request
9991
* @covers ::convertFromPsr7Response
@@ -131,8 +123,6 @@ public function testSendPostRequestWithBody(): void
131123
/**
132124
* Tests handling headers with multiple values.
133125
*
134-
* @since n.e.x.t
135-
*
136126
* @covers ::send
137127
* @covers ::convertToPsr7Request
138128
* @covers ::convertFromPsr7Response
@@ -170,8 +160,6 @@ public function testMultipleHeaderValues(): void
170160
/**
171161
* Tests using discovery when no dependencies provided.
172162
*
173-
* @since n.e.x.t
174-
*
175163
* @covers ::__construct
176164
*
177165
* @return void

0 commit comments

Comments
 (0)