Remove BC event and constraint classes
parent
f11c357325
commit
5a56bb6971
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Package\LinkConstraint;
|
||||
|
||||
use Composer\Semver\Constraint\EmptyConstraint as SemverEmptyConstraint;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\EmptyConstraint class is deprecated, use Composer\Semver\Constraint\EmptyConstraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\EmptyConstraint instead
|
||||
*/
|
||||
class EmptyConstraint extends SemverEmptyConstraint implements LinkConstraintInterface
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Package\LinkConstraint;
|
||||
|
||||
use Composer\Semver\Constraint\ConstraintInterface;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\ConstraintInterface instead
|
||||
*/
|
||||
interface LinkConstraintInterface extends ConstraintInterface
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Package\LinkConstraint;
|
||||
|
||||
use Composer\Semver\Constraint\MultiConstraint as SemverMultiConstraint;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\MultiConstraint instead
|
||||
*/
|
||||
class MultiConstraint extends SemverMultiConstraint implements LinkConstraintInterface
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Package\LinkConstraint;
|
||||
|
||||
use Composer\Semver\Constraint\AbstractConstraint;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\SpecificConstraint abstract class is deprecated, there is no replacement for it.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\AbstractConstraint instead
|
||||
*/
|
||||
abstract class SpecificConstraint extends AbstractConstraint implements LinkConstraintInterface
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Package\LinkConstraint;
|
||||
|
||||
use Composer\Semver\Constraint\Constraint;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\VersionConstraint class is deprecated, use Composer\Semver\Constraint\Constraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\Constraint instead
|
||||
*/
|
||||
class VersionConstraint extends Constraint implements LinkConstraintInterface
|
||||
{
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Script;
|
||||
|
||||
/**
|
||||
* The Command Event.
|
||||
*
|
||||
* @deprecated use Composer\Script\Event instead
|
||||
*/
|
||||
class CommandEvent extends Event
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Script;
|
||||
|
||||
use Composer\Installer\PackageEvent as BasePackageEvent;
|
||||
|
||||
/**
|
||||
* The Package Event.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvent instead
|
||||
*/
|
||||
class PackageEvent extends BasePackageEvent
|
||||
{
|
||||
}
|
@ -1,24 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer\Util;
|
||||
|
||||
use Composer\Spdx\SpdxLicenses;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\SpdxLicense class is deprecated, use Composer\Spdx\SpdxLicenses instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Spdx\SpdxLicenses instead
|
||||
*/
|
||||
class SpdxLicense extends SpdxLicenses
|
||||
{
|
||||
}
|
@ -1,31 +0,0 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of Composer.
|
||||
*
|
||||
* (c) Nils Adermann <naderman@naderman.de>
|
||||
* Jordi Boggiano <j.boggiano@seld.be>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Composer;
|
||||
|
||||
use Symfony\Component\Console\Output\OutputInterface;
|
||||
|
||||
trigger_error('The ' . __NAMESPACE__ . '\XdebugHandler class is deprecated, use Composer\XdebugHandler\XdebugHandler instead,', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\XdebugHandler\XdebugHandler instead
|
||||
*/
|
||||
class XdebugHandler extends XdebugHandler\XdebugHandler
|
||||
{
|
||||
const ENV_ALLOW = 'COMPOSER_ALLOW_XDEBUG';
|
||||
const ENV_VERSION = 'COMPOSER_XDEBUG_VERSION';
|
||||
|
||||
public function __construct(OutputInterface $output)
|
||||
{
|
||||
parent::__construct('composer', '--ansi');
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue