With Composer 2.1 default download method changed to zip/dist (changelog entry, PR), even for dev-* versions. This means .gitattributes of dependencies are no longer ignored, specifically vimeo/psalm:dev-master no longer brings along vendor/vimeo/psalm/tests folder.
This causes issues when dependencies are installed in a freshly built container, as vendor/vimeo/psalm/tests/Internal/Provider/FakeFileProvider.php (required in src/OnlineChecker.php) is not available when installed this way.
With Composer 2.1 default download method changed to zip/dist (changelog entry, PR), even for
dev-*
versions. This means.gitattributes
of dependencies are no longer ignored, specificallyvimeo/psalm:dev-master
no longer brings alongvendor/vimeo/psalm/tests
folder.This causes issues when dependencies are installed in a freshly built container, as
vendor/vimeo/psalm/tests/Internal/Provider/FakeFileProvider.php
(required insrc/OnlineChecker.php
) is not available when installed this way.