From e2be18cc66c0aff6fd12fea4f5b36510ad4a936b Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Wed, 7 Feb 2024 20:13:04 +0200 Subject: [PATCH 1/2] Fix documentation links --- .github/workflows/phpunit.yml | 3 --- .github/workflows/psalm.yml | 3 --- README.md | 2 +- composer.json | 2 +- src/Manager.php | 2 +- 5 files changed, 3 insertions(+), 9 deletions(-) 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 035233f..3374a5b 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,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..1b01fda 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" 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, From 13bb24cd8b5a6014727f06c83fd8c81e76ff11ba Mon Sep 17 00:00:00 2001 From: Maxim Smakouz Date: Mon, 19 Feb 2024 16:30:22 +0200 Subject: [PATCH 2/2] Up roadrunner-php/roadrunner-api-dto version, fix test --- composer.json | 2 +- tests/ManagerTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 1b01fda..45f773e 100644 --- a/composer.json +++ b/composer.json @@ -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/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' => [