mirror of
https://github.com/composer/composer
synced 2025-05-09 08:32:56 +00:00
add php-debug virtual platform package
This commit is contained in:
parent
00c1b601c8
commit
0f68c01094
1 changed files with 6 additions and 0 deletions
|
@ -81,6 +81,12 @@ class PlatformRepository extends ArrayRepository
|
|||
$php->setDescription('The PHP interpreter');
|
||||
$this->addPackage($php);
|
||||
|
||||
if (PHP_DEBUG) {
|
||||
$phpdebug = new CompletePackage('php-debug', $version, $prettyVersion);
|
||||
$phpdebug->setDescription('The PHP interpreter, with debugging symbols');
|
||||
$this->addPackage($phpdebug);
|
||||
}
|
||||
|
||||
if (PHP_INT_SIZE === 8) {
|
||||
$php64 = new CompletePackage('php-64bit', $version, $prettyVersion);
|
||||
$php64->setDescription('The PHP interpreter, 64bit');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue