Skip to content

chore: the Pollora harness checks the package - #29

Merged
ogorzalka merged 3 commits into
mainfrom
chore/harness
Oct 28, 2026
Merged

ogorzalka merged 3 commits into
mainfrom
chore/harness

Conversation

@ogorzalka

Copy link
Copy Markdown
Member

Applies pollora/harness (profile integration, enforce, workflow pinned @v0.1.11). Every gate passes locally (composer qa).

  • PHPStan crashed: Composer loaded tests/Helpers/wordpress-stubs.php (autoload-dev.files), then PHPStan loaded WordPress's stubs, and both declare get_plugins() and others. The stubs load from tests/Pest.php now.
  • laravel/mcp and pollora/discovery are declared: the code uses them (dependency analysis, ARCH-07). laravel/mcp is ^1.0: Boost also accepts 0.x, which Nectar no longer does.
  • pint.json requires declare_strict_types (ARCH-09); two Rector changes (typed constant, arrow function return type); symplify/rule-doc-generator-contracts is allowed as abandoned (pulled by Rector, same as the framework).
  • Records api-surface.json (10 entries).

Declares laravel/mcp and pollora/discovery, which the code uses; loads the test stubs from Pest
only (PHPStan loaded them with WordPress's stubs and crashed on the redeclared functions);
requires strict types in pint.json; records the public surface.
@ogorzalka
ogorzalka merged commit a3e191f into main Oct 28, 2026
13 checks passed
@ogorzalka
ogorzalka deleted the chore/harness branch October 29, 2026 09:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant