1
0
Fork 0
composer/tests/Composer/Test
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
..
Advisory [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Autoload Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
Command Add support for phpunit 10 (#11532) 2023-07-21 10:39:20 +02:00
Config [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Console Fix CS (#11003) 2022-08-17 14:20:07 +02:00
DependencyResolver Optimize PoolBuilder to not load replaced targets if not required 2023-05-02 22:10:18 +02:00
Downloader Upgrade to react/promise 3.0.0 (#10429) 2023-07-20 12:52:28 +02:00
EventDispatcher Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
Filter/PlatformRequirementFilter [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Fixtures Fix problem output of exact constraints to state more clearly that only those versions are matched (#11521) 2023-06-23 13:13:20 +02:00
IO Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
Installer Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
Json Preserve indentation when writing JSON files (#11390) 2023-07-19 14:13:06 +02:00
Mock Fix null check 2023-06-07 16:34:58 +02:00
Package Add support for phpunit 10 (#11532) 2023-07-21 10:39:20 +02:00
Platform [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Plugin [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Question [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
Repository Fix lib-curl-openssl parsing for SecureTransport (#11534) 2023-07-21 11:06:03 +02:00
Script Fix CS (#11003) 2022-08-17 14:20:07 +02:00
Util Fix broken junctions leading to installation failure on Windows (#11550) 2023-07-21 10:59:59 +02:00
AllFunctionalTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ApplicationTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
CacheTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
CompletionFunctionalTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
ComposerTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
ConfigTest.php Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00
DefaultConfigTest.php Enable strict types on all files 2022-02-24 13:24:34 +01:00
DocumentationTest.php [Tests] Use static data providers (#11197) 2022-11-24 14:39:08 +01:00
FactoryTest.php Enable strict types on all files 2022-02-24 13:24:34 +01:00
InstalledVersionsTest.php Fix CS (#11003) 2022-08-17 14:20:07 +02:00
InstallerTest.php Update deps, fix phpstan issues, update baseline (1711, 49) 2023-03-21 10:36:42 +01:00
TestCase.php Add IOMock and get rid of all withConsecutive calls in tests (#11497) 2023-06-07 14:35:16 +02:00