implement old linkconstraintinterface for BC
parent
0adcab7a19
commit
89717fa593
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
namespace Composer\Package\LinkConstraint;
|
namespace Composer\Package\LinkConstraint;
|
||||||
|
|
||||||
use Composer\Semver\Constraint\EmptyConstraint as BaseEmptyConstraint;
|
use Composer\Semver\Constraint\EmptyConstraint as SemverEmptyConstraint;
|
||||||
|
|
||||||
@trigger_error('The ' . __NAMESPACE__ . '\EmptyConstraint class is deprecated, use Composer\Semver\Constraint\EmptyConstraint instead.', E_USER_DEPRECATED);
|
@trigger_error('The ' . __NAMESPACE__ . '\EmptyConstraint class is deprecated, use Composer\Semver\Constraint\EmptyConstraint instead.', E_USER_DEPRECATED);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use Composer\Semver\Constraint\EmptyConstraint instead
|
* @deprecated use Composer\Semver\Constraint\EmptyConstraint instead
|
||||||
*/
|
*/
|
||||||
class EmptyConstraint extends BaseEmptyConstraint
|
class EmptyConstraint extends SemverEmptyConstraint implements LinkConstraintInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -12,13 +12,13 @@
|
||||||
|
|
||||||
namespace Composer\Package\LinkConstraint;
|
namespace Composer\Package\LinkConstraint;
|
||||||
|
|
||||||
use Composer\Semver\Constraint\MultiConstraint as BaseMultiConstraint;
|
use Composer\Semver\Constraint\MultiConstraint as SemverMultiConstraint;
|
||||||
|
|
||||||
@trigger_error('The ' . __NAMESPACE__ . '\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead.', E_USER_DEPRECATED);
|
@trigger_error('The ' . __NAMESPACE__ . '\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead.', E_USER_DEPRECATED);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use Composer\Semver\Constraint\MultiConstraint instead
|
* @deprecated use Composer\Semver\Constraint\MultiConstraint instead
|
||||||
*/
|
*/
|
||||||
class MultiConstraint extends BaseMultiConstraint
|
class MultiConstraint extends SemverMultiConstraint implements LinkConstraintInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@ use Composer\Semver\Constraint\AbstractConstraint;
|
||||||
/**
|
/**
|
||||||
* @deprecated use Composer\Semver\Constraint\AbstractConstraint instead
|
* @deprecated use Composer\Semver\Constraint\AbstractConstraint instead
|
||||||
*/
|
*/
|
||||||
abstract class SpecificConstraint extends AbstractConstraint
|
abstract class SpecificConstraint extends AbstractConstraint implements LinkConstraintInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
|
@ -19,6 +19,6 @@ use Composer\Semver\Constraint\Constraint;
|
||||||
/**
|
/**
|
||||||
* @deprecated use Composer\Semver\Constraint\Constraint instead
|
* @deprecated use Composer\Semver\Constraint\Constraint instead
|
||||||
*/
|
*/
|
||||||
class VersionConstraint extends Constraint
|
class VersionConstraint extends Constraint implements LinkConstraintInterface
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue