You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TL;DR: Since #128 moved nextcloud/ocp:dev-master into vendor-bin/nextcloud-ocp/composer.json (bamarni composer-bin-plugin pattern), .github/workflows/psalm-matrix.yml still installs its OCP compat-matrix version into the root vendor tree, while the bamarni-managed dev-master install lives in vendor-bin/nextcloud-ocp/vendor. psalm.xml's extraFiles now lists both locations, so psalm scans two copies of nextcloud/ocp. Harmless today because the matrix currently resolves to a single entry (dev-master, since appinfo/info.xml pins one Nextcloud version), so both copies are identical — but once the matrix widens to more than one OCP version, which copy psalm actually analyzes becomes unspecified.
This installs the matrix version at root. The composer remove step is now a no-op (nextcloud/ocp is not required in your composer.json and has not been removed — confirmed non-fatal in CI logs), since root no longer requires it after chore: update psalm and fix config #128.
Meanwhile composer install (invoked via the bamarni plugin, or directly) installs dev-master under vendor-bin/nextcloud-ocp/vendor, and psalm.xml's extraFiles now includes both:
Suggested fix: switch the psalm-matrix install step to use the bamarni-aware command consistently, e.g. composer bin nextcloud-ocp require --dev 'nextcloud/ocp:${{ matrix.ocp-version }}' ..., and drop the now-dead composer remove nextcloud/ocp --dev --no-scripts lines in both psalm-matrix.yml and lint-php-cs.yml.
TL;DR: Since #128 moved
nextcloud/ocp:dev-masterintovendor-bin/nextcloud-ocp/composer.json(bamarni composer-bin-plugin pattern),.github/workflows/psalm-matrix.ymlstill installs its OCP compat-matrix version into the root vendor tree, while the bamarni-manageddev-masterinstall lives invendor-bin/nextcloud-ocp/vendor.psalm.xml'sextraFilesnow lists both locations, so psalm scans two copies ofnextcloud/ocp. Harmless today because the matrix currently resolves to a single entry (dev-master, sinceappinfo/info.xmlpins one Nextcloud version), so both copies are identical — but once the matrix widens to more than one OCP version, which copy psalm actually analyzes becomes unspecified.Detail
psalm-matrix.yml"Install dependencies" step:composer removestep is now a no-op (nextcloud/ocp is not required in your composer.json and has not been removed— confirmed non-fatal in CI logs), since root no longer requires it after chore: update psalm and fix config #128.composer install(invoked via the bamarni plugin, or directly) installsdev-masterundervendor-bin/nextcloud-ocp/vendor, andpsalm.xml'sextraFilesnow includes both:composer bin nextcloud-ocp require --dev 'nextcloud/ocp:${{ matrix.ocp-version }}' ..., and drop the now-deadcomposer remove nextcloud/ocp --dev --no-scriptslines in bothpsalm-matrix.ymlandlint-php-cs.yml.