Skip to content

Sync build-system to v1 and use shared vendor-bin - #119

Open
rotdrop wants to merge 4 commits into
masterfrom
rotdrop-sync-build-system-v1
Open

rotdrop wants to merge 4 commits into
masterfrom
rotdrop-sync-build-system-v1

Conversation

@rotdrop

@rotdrop rotdrop commented Nov 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • fa688450 Bump the dev-scripts/lib submodule to the v1 tag (3112c0c, was 34ec71a).
  • a7d06941 Opt in to the shared vendor-bin tools (SHARED_VENDOR_BIN = 1): removed the app-local manifests of phpcs, phpmd, php-scoper and php-to-typescript; the TypeScript launcher honours TS_TYPES_AUTOLOAD (old path as fallback).

Local vs shared tools

Shared tool environments require PHP >= 8.4.1. The tests.yml phpunit job runs on PHP 8.3/8.4/8.5, so the app keeps its own vendor-bin/phpunit and vendor-bin/phing (pinned in the Makefile). All other tools run from the shared environments (CI build jobs use PHP 8.5).

Validation

make help, make -n of phpcs/phpmd/unit-tests/ts-types-files/phpunit; make shared-vendor-bin installed all shared tools locally.

Not verified

No CI run locally (PHP 8.3 phpunit job, full TS type generation, phpunit needs a Nextcloud tree). make phpcs fails on a missing zebra-north/phpcs-short-types bootstrap file — pre-existing, unrelated.

rotdrop and others added 4 commits November 28, 2026 21:04
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Set SHARED_VENDOR_BIN=1, drop the app-local vendor-bin composer manifests
of the tool-only environments (phpcs, phpmd, php-scoper, php-to-typescript)
and let the TypeScript launcher honour TS_TYPES_AUTOLOAD. Keep the app-local
phpunit and phing environments, the unit tests run on PHP 8.3 while the
shared environments need PHP >= 8.4.1.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

This branch has not been deployed

No deployments
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