Skip to content

fix(runner): count packages installed outside vendor as present - #11

Merged
brianvarskonst merged 1 commit into
mainfrom
fix/installer-path-dependencies
Nov 14, 2026
Merged

brianvarskonst merged 1 commit into
mainfrom
fix/installer-path-dependencies

Conversation

@brianvarskonst

Copy link
Copy Markdown
Member

Summary

qa static-analysis and qa tests skip a package when a required sympress/* package has no vendor/sympress/<name> directory. WordPress projects install SymPress plugins and MU plugins (profiler, nginx-cache, wp-cli-console, …) through composer/installers paths under wp-content, so both gates were reported as SKIP locally and would fail in CI.

A required package now also counts as present when it is listed in vendor/composer/installed.json, which Composer writes for every installed package wherever it was placed.

Tests

  • New unit test: a package installed to an MU plugin path is not reported missing; one that is not installed still is.
  • phpunit, phpstan and qa cs --strict pass.

Release: patch, v0.1.5 (docs/releases/0.1.5.md).

WordPress projects install SymPress plugins and MU plugins through
composer/installers paths, so vendor/sympress/<name> does not exist and
static-analysis and tests were skipped. Read vendor/composer/installed.json
as well.
@brianvarskonst
brianvarskonst merged commit f4d4491 into main Nov 14, 2026
3 checks passed
@brianvarskonst
brianvarskonst deleted the fix/installer-path-dependencies branch November 14, 2026 16:39
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