Repository navigation
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fa688450Bump thedev-scripts/libsubmodule to thev1tag (3112c0c, was 34ec71a).a7d06941Opt 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 honoursTS_TYPES_AUTOLOAD(old path as fallback).Local vs shared tools
Shared tool environments require PHP >= 8.4.1. The
tests.ymlphpunit job runs on PHP 8.3/8.4/8.5, so the app keeps its ownvendor-bin/phpunitandvendor-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 -nof phpcs/phpmd/unit-tests/ts-types-files/phpunit;make shared-vendor-bininstalled 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 phpcsfails on a missingzebra-north/phpcs-short-typesbootstrap file — pre-existing, unrelated.