1
0
Fork 0
composer/tests/Composer/Test/Repository
David Zülke 8f49166ec6
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-07-21 11:06:03 +02:00
..
Fixtures Update phpstan, fix InstalledVersions key ordering to be more logical/consistent 2022-04-29 10:30:04 +02:00
Vcs Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
ArrayRepositoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ArtifactRepositoryTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
ComposerRepositoryTest.php Add test covering edge case of composer repo format, closes #11206 2022-12-17 23:15:40 +01:00
CompositeRepositoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
FilesystemRepositoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
FilterRepositoryTest.php tests for empty or absent repository filters (#11476) 2023-05-28 15:02:12 +02:00
InstalledRepositoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
PathRepositoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
PlatformRepositoryTest.php Fix lib-curl-openssl parsing for SecureTransport (#11534) 2023-07-21 11:06:03 +02:00
RepositoryFactoryTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
RepositoryManagerTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
RepositoryUtilsTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
VcsRepositoryTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00