diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 5e1b7c4..af84cc7 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -1,7 +1,6 @@ on: push: branches: - - master - '*.*' pull_request: null @@ -13,7 +12,5 @@ jobs: with: os: >- ['ubuntu-latest'] - php: >- - ['8.1', '8.2'] stability: >- ['prefer-stable'] diff --git a/.github/workflows/psalm.yml b/.github/workflows/psalm.yml index bdb570c..adf59f0 100644 --- a/.github/workflows/psalm.yml +++ b/.github/workflows/psalm.yml @@ -1,7 +1,6 @@ on: push: branches: - - master - '*.*' pull_request: null @@ -13,5 +12,3 @@ jobs: with: os: >- ['ubuntu-latest'] - php: >- - ['8.1'] diff --git a/README.md b/README.md index ce8c3ca..fa220f5 100644 --- a/README.md +++ b/README.md @@ -13,7 +13,7 @@ [![psalm](https://github.com/spiral/roadrunner-services/actions/workflows/psalm.yml/badge.svg)](https://github.com/spiral/roadrunner-services/actions) [![Total Downloads](https://poser.pugx.org/spiral/roadrunner-services/downloads)](https://packagist.org/packages/spiral/roadrunner-services) -This package will help you to manage [Roadrunner services](https://roadrunner.dev/docs/plugins-service) +This package will help you to manage [Roadrunner services](https://docs.roadrunner.dev/plugins/service) ## Requirements diff --git a/composer.json b/composer.json index 81c1163..45f773e 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ ], "homepage": "https://roadrunner.dev/", "support": { - "docs": "https://roadrunner.dev/docs", + "docs": "https://docs.roadrunner.dev", "issues": "https://github.com/roadrunner-server/roadrunner/issues", "forum": "https://forum.roadrunner.dev/", "chat": "https://discord.gg/V6EK4he" @@ -36,7 +36,7 @@ ], "require": { "php": ">=8.1", - "roadrunner-php/roadrunner-api-dto": "^1.1", + "roadrunner-php/roadrunner-api-dto": "^1.4", "spiral/roadrunner": "^2023.2", "spiral/goridge": "^4.0", "google/protobuf": "^3.7" diff --git a/src/Manager.php b/src/Manager.php index d26d911..91fed1a 100644 --- a/src/Manager.php +++ b/src/Manager.php @@ -64,7 +64,7 @@ public function list(): array * @param bool $serviceNameInLogs Show the name of the service in logs (e.g. service.some_service_1). * @param int<0, max> $stopTimeout Timeout for the process stop operation. * @throws Exception\ServiceException - * @see https://roadrunner.dev/docs/beep-beep-service + * @see https://docs.roadrunner.dev/plugins/service */ public function create( string $name, diff --git a/tests/ManagerTest.php b/tests/ManagerTest.php index 2c17b13..7799252 100644 --- a/tests/ManagerTest.php +++ b/tests/ManagerTest.php @@ -188,7 +188,7 @@ public function testServiceStatusesShouldBeReturned(): void 'pid' => 33, 'memory_usage' => 200, 'command' => 'foo/bar', - 'status' => new \RoadRunner\Shared\DTO\V1\Status([ + 'status' => new \RoadRunner\Common\DTO\V1\Status([ 'code' => 100, 'message' => 'Running', 'details' => [