1
0
Fork 0

implement old linkconstraintinterface for BC

pull/4446/head
Rob Bast 2015-09-25 10:59:56 +02:00
parent 0adcab7a19
commit 89717fa593
4 changed files with 6 additions and 6 deletions

View File

@ -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
{ {
} }

View File

@ -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
{ {
} }

View File

@ -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
{ {
} }

View File

@ -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
{ {
} }