diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 1b77f50..1bc5713 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.7.0" + ".": "0.7.1" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index b617f28..5ec92ed 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 27 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/moderation-api%2Fmoderation-api-67a3fe4439c3aa74fb2c18b207b43c790d42bab7bfd7e5e16f3e1046765ec959.yml openapi_spec_hash: c87b33c2c72a172da02ed75d4e79eb70 -config_hash: 6a52f6ae7d55cf3b4e91538cc7752aeb +config_hash: 6b825a08e19dfb747c5dc1766502b789 diff --git a/CHANGELOG.md b/CHANGELOG.md index c0b238b..f28466c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.7.1 (2026-02-20) + +Full Changelog: [v0.7.0...v0.7.1](https://github.com/moderation-api/sdk-php/compare/v0.7.0...v0.7.1) + +### Chores + +* update mock server docs ([497f083](https://github.com/moderation-api/sdk-php/commit/497f0832fa69f666332f9e533304ecef044de57b)) + ## 0.7.0 (2026-02-20) Full Changelog: [v0.6.0...v0.7.0](https://github.com/moderation-api/sdk-php/compare/v0.6.0...v0.7.0) diff --git a/README.md b/README.md index f3d60bf..984a638 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ The REST API documentation can be found on [docs.moderationapi.com](https://docs ``` -composer require "moderation-api/sdk-php 0.7.0" +composer require "moderation-api/sdk-php 0.7.1" ``` diff --git a/src/Version.php b/src/Version.php index 747e799..c920800 100644 --- a/src/Version.php +++ b/src/Version.php @@ -5,5 +5,5 @@ namespace ModerationAPI; // x-release-please-start-version -const VERSION = '0.7.0'; +const VERSION = '0.7.1'; // x-release-please-end diff --git a/tests/Services/AccountTest.php b/tests/Services/AccountTest.php index d222cd5..92d0582 100644 --- a/tests/Services/AccountTest.php +++ b/tests/Services/AccountTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->account->list(); diff --git a/tests/Services/Actions/ExecuteTest.php b/tests/Services/Actions/ExecuteTest.php index d4edbaa..737249f 100644 --- a/tests/Services/Actions/ExecuteTest.php +++ b/tests/Services/Actions/ExecuteTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testExecute(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->execute->execute(actionKey: 'actionKey'); @@ -46,7 +46,7 @@ public function testExecute(): void public function testExecuteWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->execute->execute( @@ -66,7 +66,7 @@ public function testExecuteWithOptionalParams(): void public function testExecuteByID(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->execute->executeByID('actionId'); diff --git a/tests/Services/ActionsTest.php b/tests/Services/ActionsTest.php index 4762618..932cb76 100644 --- a/tests/Services/ActionsTest.php +++ b/tests/Services/ActionsTest.php @@ -35,7 +35,7 @@ protected function setUp(): void public function testCreate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->create(name: 'name'); @@ -48,7 +48,7 @@ public function testCreate(): void public function testCreateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->create( @@ -81,7 +81,7 @@ public function testCreateWithOptionalParams(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->retrieve('id'); @@ -94,7 +94,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->update('id'); @@ -107,7 +107,7 @@ public function testUpdate(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->list(); @@ -120,7 +120,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->actions->delete('id'); diff --git a/tests/Services/AuthTest.php b/tests/Services/AuthTest.php index ab849f7..89cee22 100644 --- a/tests/Services/AuthTest.php +++ b/tests/Services/AuthTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testCreate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auth->create(); @@ -46,7 +46,7 @@ public function testCreate(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->auth->retrieve(); diff --git a/tests/Services/AuthorsTest.php b/tests/Services/AuthorsTest.php index bcaa3a5..4876824 100644 --- a/tests/Services/AuthorsTest.php +++ b/tests/Services/AuthorsTest.php @@ -36,7 +36,7 @@ protected function setUp(): void public function testCreate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->create(externalID: 'external_id'); @@ -49,7 +49,7 @@ public function testCreate(): void public function testCreateWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->create( @@ -77,7 +77,7 @@ public function testCreateWithOptionalParams(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->retrieve('id'); @@ -90,7 +90,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->update('id'); @@ -103,7 +103,7 @@ public function testUpdate(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->list(); @@ -116,7 +116,7 @@ public function testList(): void public function testDelete(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->authors->delete('id'); diff --git a/tests/Services/ContentTest.php b/tests/Services/ContentTest.php index 5c1d6c1..59e6bfb 100644 --- a/tests/Services/ContentTest.php +++ b/tests/Services/ContentTest.php @@ -32,7 +32,7 @@ protected function setUp(): void public function testSubmit(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->content->submit( @@ -47,7 +47,7 @@ public function testSubmit(): void public function testSubmitWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->content->submit( diff --git a/tests/Services/Queue/ItemsTest.php b/tests/Services/Queue/ItemsTest.php index 1270e1a..84fb794 100644 --- a/tests/Services/Queue/ItemsTest.php +++ b/tests/Services/Queue/ItemsTest.php @@ -34,7 +34,7 @@ protected function setUp(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->items->list('id'); @@ -47,7 +47,7 @@ public function testList(): void public function testResolve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->items->resolve('itemId', id: 'id'); @@ -60,7 +60,7 @@ public function testResolve(): void public function testResolveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->items->resolve( @@ -77,7 +77,7 @@ public function testResolveWithOptionalParams(): void public function testUnresolve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->items->unresolve('itemId', id: 'id'); @@ -90,7 +90,7 @@ public function testUnresolve(): void public function testUnresolveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->items->unresolve( diff --git a/tests/Services/QueueTest.php b/tests/Services/QueueTest.php index 46c6bcd..21a5578 100644 --- a/tests/Services/QueueTest.php +++ b/tests/Services/QueueTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->retrieve('id'); @@ -46,7 +46,7 @@ public function testRetrieve(): void public function testGetStats(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->queue->getStats('id'); diff --git a/tests/Services/Wordlist/WordsTest.php b/tests/Services/Wordlist/WordsTest.php index 6d478f6..480be08 100644 --- a/tests/Services/Wordlist/WordsTest.php +++ b/tests/Services/Wordlist/WordsTest.php @@ -33,7 +33,7 @@ protected function setUp(): void public function testAdd(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->words->add('id', words: ['string']); @@ -46,7 +46,7 @@ public function testAdd(): void public function testAddWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->words->add('id', words: ['string']); @@ -59,7 +59,7 @@ public function testAddWithOptionalParams(): void public function testRemove(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->words->remove('id', words: ['string']); @@ -72,7 +72,7 @@ public function testRemove(): void public function testRemoveWithOptionalParams(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->words->remove('id', words: ['string']); diff --git a/tests/Services/WordlistTest.php b/tests/Services/WordlistTest.php index 9da9f2a..cad4d82 100644 --- a/tests/Services/WordlistTest.php +++ b/tests/Services/WordlistTest.php @@ -34,7 +34,7 @@ protected function setUp(): void public function testRetrieve(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->retrieve('id'); @@ -47,7 +47,7 @@ public function testRetrieve(): void public function testUpdate(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->update('id'); @@ -60,7 +60,7 @@ public function testUpdate(): void public function testList(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->list(); @@ -73,7 +73,7 @@ public function testList(): void public function testGetEmbeddingStatus(): void { if (UnsupportedMockTests::$skip) { - $this->markTestSkipped('Prism tests are disabled'); + $this->markTestSkipped('Mock server tests are disabled'); } $result = $this->client->wordlist->getEmbeddingStatus('id');