* test: commit the composer.lock files of the PHP test dependencies
The PHP dependencies of the acceptance tests were installed without lock
files: .gitignore excluded them, and the Makefile deleted a lock file
whenever its composer.json changed. So every run resolved the newest
versions allowed by the composer.json files, and the tests depended on
whatever was released upstream that day.
Commit the lock files of the root, vendor-bin/behat and
vendor-bin/opencloud-codestyle, and install exactly what they pin.
Before installing, `composer validate` fails if a composer.json was
changed without updating its lock file.
The vendor-bin namespaces don't inherit config.platform of the root
composer.json, so they now set it themselves, to PHP 8.4.1 like the CI
images (PHPUnit 13.3 needs at least 8.4.1). The lock files no longer
depend on the PHP version of whoever updates them.
Dependabot now updates the lock files weekly.
Fixes#4190
Assisted-by: Claude Code:claude-opus-5-5
* test: don't chmod the composer.lock files after the docker test run
The lock files are committed now and the container no longer creates
them, so there is no need to make them writable for everyone. The
chmod 777 set their executable bit, which git reports as a mode change
of the committed files.
Assisted-by: Claude Code:claude-opus-5-5