Skip to content

Packagist release (v0.0.2) and Docker image predate the #235 vendor-dir fix (#797) — README's documented install still crashes #862

Description

@Eilodon

Bug report

Link to repository

The bug is the exact one reported in #235 and fixed by #797 (merged 2026-03-28) — but that fix has apparently never reached a distributable artifact:

What did you expect to see?

Following the README's own "Manual" install instructions:

composer require --dev davidrjenni/scip-php
vendor/bin/scip-php

...to work, since #235 (the exact RuntimeException: Invalid scip-php vendor directory crash this produces) was already fixed by #797.

What did you see instead?

The exact #235 crash, reproduced today via both documented install paths:

  • composer require --dev davidrjenni/scip-php (project-local) → vendor/bin/scip-php crashes.
  • composer global require davidrjenni/scip-php → same crash via the global bin.
  • Pulling davidrjenni/scip-php:latest from Docker Hub and running it also crashes the same way (confirms the image is built from pre-src/Composer: fix $scipPhpVendorDir in case scip-php is installed as … #797 source, not current main).

The only install shape that actually works today is cloning main directly and running composer install inside that standalone checkout (so __DIR__-relative resolution — the original, pre-#797 code path — happens to succeed because the checkout is self-contained). That's not what the README documents, and isn't obvious to a new user hitting #235's crash on the "official" path.

Given #235 already has three separate users confirming the same crash on the Packagist-installed version, I'd guess this affects everyone following the README today, not just an edge case.

Would it be possible to cut a new Packagist release (or at least a Git tag) and rebuild the Docker image from current main, so #797's fix actually reaches users installing via the documented methods? Happy to help verify if useful — found this while wiring scip-php up as an optional SCIP indexer in an open-source code-intelligence MCP server (github.com/Eilodon/CALM) and wanted to report accurately rather than assume it was already covered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions