diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index d9bebc8..4ca7d48 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.43 + uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.44 permissions: contents: read diff --git a/composer.json b/composer.json index d77ef3f..8a846f6 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "mockery/mockery": "^1.6.12", "pestphp/pest": "^3.8.2", "phpstan/phpstan": "^2.1.16", - "pollora/harness": "^0.1.43", + "pollora/harness": "^0.1.44", "szepeviktor/phpstan-wordpress": "^2.0", "wp-cli/wp-cli": "^2.12" }, diff --git a/src/Infrastructure/Services/WpCliDiscovery.php b/src/Infrastructure/Services/WpCliDiscovery.php index 17e7416..6ef95d1 100644 --- a/src/Infrastructure/Services/WpCliDiscovery.php +++ b/src/Infrastructure/Services/WpCliDiscovery.php @@ -308,7 +308,7 @@ private function extractMethodDescription(string $docComment): array } // After short description, collect long description - if ($description['short'] !== '' && $description['short'] !== '0') { + if ($description['short'] !== '') { $inLongDesc = true; if ($line !== '' && $line !== '0' || $longDescLines !== []) { $longDescLines[] = $line;