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:
parent
36da81bec2
commit
7e50f37b87
13 changed files with 38 additions and 206 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue