From ae2366464dabdf5115c6247b9bc5fac47373f3b2 Mon Sep 17 00:00:00 2001 From: Olivier Gorzalka Date: Mon, 26 Oct 2026 16:59:04 +0100 Subject: [PATCH] chore: enforce the harness gates that pass, observe the others Harness v0.1.3. Reported only: Code style, Dependency analysis. --- .github/workflows/harness.yml | 2 +- .harness.json | 8 ++++++-- composer.json | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index 784ecf5..0b8fba7 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.0 + uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.3 permissions: contents: read diff --git a/.harness.json b/.harness.json index 9c6d333..6a72293 100644 --- a/.harness.json +++ b/.harness.json @@ -1,11 +1,15 @@ { "profile": "core", - "mode": "observe", + "mode": "enforce", "downstream": [ "framework" ], "ratchet": { "phpstan_level": 5, "phpstan_baseline": 0 - } + }, + "observed": [ + "Code style", + "Dependency analysis" + ] } diff --git a/composer.json b/composer.json index 5a786c4..04b5cd0 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "laravel/pint": "^1.22.1", "pestphp/pest": "^3.8.2", "phpstan/phpstan": "^2.1.16", - "pollora/harness": "^0.1", + "pollora/harness": "^0.1.3", "szepeviktor/phpstan-wordpress": "^2.0" }, "autoload": {