1
0
Fork 0
composer/tests/Composer/Test/Repository
David Zülke 008c8ed11a
Fix lib-curl-openssl parsing for SecureTransport (#11534)
On macOS, if libcurl is built against SecureTransport, the platform repository will contain an invalid package name:

    % composer show --platform | grep curl
    ext-curl                           8.2.7    The curl PHP extension
    lib-curl                           8.1.2    The curl library
    lib-curl-(securetransport) openssl 3.1.1    curl (securetransport) openss...
    lib-curl-libssh2                   1.11.0   curl libssh2 version
    lib-curl-zlib                      1.2.11   curl zlib version

This change fixes it:

    % bin/composer show --platform | grep curl
    lib-curl                 8.1.2              The curl library
    lib-curl-libssh2         1.11.0             curl libssh2 version
    lib-curl-securetransport 3.1.1              curl (securetransport) openssl ...
    lib-curl-zlib            1.2.11             curl zlib version

(second column width difference comes from the Composer dev version number)
2023-09-28 16:04:05 +02:00
..
Fixtures Fix handling of metapackages with null paths, and handling of paths which do not have a shortest-path and require an absolute path to be addressed 2021-05-21 14:33:10 +02:00
Vcs Fix tests from #10985 2022-08-16 11:25:15 +02:00
ArrayRepositoryTest.php Add back abandoned key in repository search results (#10259) 2021-11-08 10:27:45 +01:00
ArtifactRepositoryTest.php CS fixes 2020-11-22 14:52:39 +01:00
ComposerRepositoryTest.php Fix package search not urlencoding the input (#10500) 2022-02-04 10:23:10 +01:00
CompositeRepositoryTest.php Add types to `Repository` tests (#10227) 2021-10-27 15:29:52 +02:00
FilesystemRepositoryTest.php Fix phpstan error 2021-10-27 16:51:16 +02:00
FilterRepositoryTest.php Add types to `Repository` tests (#10227) 2021-10-27 15:29:52 +02:00
InstalledRepositoryTest.php Use more BasePackage instead of PackageInterface 2021-10-17 14:43:34 +02:00
PathRepositoryTest.php Fix test when on feature branch 2021-02-17 23:43:35 +01:00
PlatformRepositoryTest.php Fix lib-curl-openssl parsing for SecureTransport (#11534) 2023-09-28 16:04:05 +02:00
RepositoryFactoryTest.php Removed HgBitbucketDriver support (#10248) 2021-11-10 21:58:03 +01:00
RepositoryManagerTest.php Add types to `Repository` tests (#10227) 2021-10-27 15:29:52 +02:00
VcsRepositoryTest.php Add types to `Repository` tests (#10227) 2021-10-27 15:29:52 +02:00