From da73e495f835ad30af0b9b77edb0e6a07c75b77c Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Wed, 4 Nov 2026 14:20:52 +0100 Subject: [PATCH] chore: harness 0.1.19 and exempt the commands that keep their name --- .github/workflows/harness.yml | 2 +- .harness.json | 5 +++++ composer.json | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index 980030d..5555e77 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -14,6 +14,6 @@ permissions: {} jobs: harness: - uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.17 + uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.19 permissions: contents: read diff --git a/.harness.json b/.harness.json index 594de40..209b201 100644 --- a/.harness.json +++ b/.harness.json @@ -4,6 +4,11 @@ "allow_laravel": [ "laravel/prompts" ], + "allow_commands": [ + { "command": "new", "reason": "the installer is named for the tool, like laravel new; renaming it would change the public API of the CLI" }, + { "command": "self-update", "reason": "the command is named for the tool, like composer self-update; renaming it would change the public API of the CLI" }, + { "command": "version", "reason": "the command is named for the tool; renaming it would change the public API of the CLI" } + ], "ratchet": { "phpstan_level": 8, "phpstan_baseline": 0, diff --git a/composer.json b/composer.json index 80b11c0..98d0356 100644 --- a/composer.json +++ b/composer.json @@ -23,7 +23,7 @@ "pestphp/pest": "^3.8", "pestphp/pest-plugin-type-coverage": "^3.5", "phpstan/phpstan": "^2.1", - "pollora/harness": "^0.1.17", + "pollora/harness": "^0.1.19", "rector/rector": "^2.0" }, "bin": [