1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Remove some dead code and deprecate JsonFormatter, JsonFile::JSON_* constants, and TlsHelper

This commit is contained in:
Jordi Boggiano 2022-01-04 11:15:06 +01:00
parent 36da81bec2
commit 7e50f37b87
No known key found for this signature in database
GPG key ID: 7BBD42C429EC80BC
13 changed files with 38 additions and 206 deletions

View file

@ -87,21 +87,18 @@ class ClassMapGeneratorTest extends TestCase
array(__DIR__ . '/Fixtures/template', array()),
);
if (PHP_VERSION_ID >= 50400) {
$data[] = array(__DIR__ . '/Fixtures/php5.4', array(
'TFoo' => __DIR__ . '/Fixtures/php5.4/traits.php',
'CFoo' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\TBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\IBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\TFooBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\CBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
));
}
if (PHP_VERSION_ID >= 70000) {
$data[] = array(__DIR__ . '/Fixtures/php7.0', array(
'Dummy\Test\AnonClassHolder' => __DIR__ . '/Fixtures/php7.0/anonclass.php',
));
}
$data[] = array(__DIR__ . '/Fixtures/php5.4', array(
'TFoo' => __DIR__ . '/Fixtures/php5.4/traits.php',
'CFoo' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\TBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\IBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\TFooBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
'Foo\\CBar' => __DIR__ . '/Fixtures/php5.4/traits.php',
));
$data[] = array(__DIR__ . '/Fixtures/php7.0', array(
'Dummy\Test\AnonClassHolder' => __DIR__ . '/Fixtures/php7.0/anonclass.php',
));
if (PHP_VERSION_ID >= 80100) {
$data[] = array(__DIR__ . '/Fixtures/php8.1', array(