From f36fa8218b2e8056ccb8b754b068767b430ed0d4 Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Fri, 13 Nov 2026 00:55:57 +0100 Subject: [PATCH 1/2] [TASK] Disable composer.lock The extension is a library, so a composer.lock is not committed. With "lock": false composer neither creates nor uses a local composer.lock, which can pin outdated dependencies. The same setting is used on the main branches. Co-Authored-By: Claude Opus 5.5 --- composer.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 4d24ce7..c55537f 100644 --- a/composer.json +++ b/composer.json @@ -39,7 +39,8 @@ "sbuerk/typo3-cmscomposerinstallers-testingframework-bridge": true }, "vendor-dir": ".Build/vendor", - "bin-dir": ".Build/bin" + "bin-dir": ".Build/bin", + "lock": false }, "extra": { "typo3/cms": { From 7547bdff0d64a38c7560b5df4bb6e0a479fed750 Mon Sep 17 00:00:00 2001 From: Daniel Gohlke Date: Fri, 13 Nov 2026 01:05:29 +0100 Subject: [PATCH 2/2] [TASK] Do not install dependencies before running tests The project-test-* commands in shell.nix ran project-install first. Without a composer.lock every install resolves the latest versions, so two test runs could test different dependencies, and every run needed network access and took longer. Dependencies are installed explicitly with project-install now, like for the composer scripts. Co-Authored-By: Claude Opus 5.5 --- shell.nix | 8 -------- 1 file changed, 8 deletions(-) diff --git a/shell.nix b/shell.nix index 372f01b..d2b9e05 100644 --- a/shell.nix +++ b/shell.nix @@ -134,10 +134,8 @@ let name = "project-test-unit"; runtimeInputs = [ php - projectInstall ]; text = '' - project-install "$PROJECT_ROOT/Build/Scripts/phpunit.sh" unit ''; }; @@ -146,10 +144,8 @@ let name = "project-test-functional"; runtimeInputs = [ php - projectInstall ]; text = '' - project-install "$PROJECT_ROOT/Build/Scripts/phpunit.sh" functional ''; }; @@ -158,10 +154,8 @@ let name = "project-test-with-coverage"; runtimeInputs = [ php - projectInstall ]; text = '' - project-install XDEBUG_MODE=coverage ./.Build/bin/phpunit -c Build/phpunit.xml.dist --coverage-html=coverage_result ''; }; @@ -169,7 +163,6 @@ let projectTestAcceptance = pkgs.writeShellApplication { name = "project-test-acceptance"; runtimeInputs = [ - projectInstall pkgs.sqlite pkgs.firefox pkgs.geckodriver @@ -177,7 +170,6 @@ let php ]; text = '' - project-install "$PROJECT_ROOT/Build/Scripts/acceptance.sh" "$@" ''; };