Make trigger error visible
parent
615638c7c3
commit
125dc62fab
|
@ -67,6 +67,8 @@ class DefaultPolicy implements PolicyInterface
|
|||
*/
|
||||
public function selectPreferedPackages(Pool $pool, array $installedMap, array $literals, $requiredPackage = null)
|
||||
{
|
||||
trigger_error('Method selectPreferedPackages is deprecated and replaced by selectPreferredPackages, please update your usage', E_USER_DEPRECATED);
|
||||
|
||||
return $this->selectPreferredPackages($pool, $installedMap, $literals, $requiredPackage);
|
||||
}
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ 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);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\EmptyConstraint class is deprecated, use Composer\Semver\Constraint\EmptyConstraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\EmptyConstraint instead
|
||||
|
|
|
@ -14,7 +14,7 @@ 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);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\LinkConstraintInterface interface is deprecated, use Composer\Semver\Constraint\ConstraintInterface instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\ConstraintInterface instead
|
||||
|
|
|
@ -14,7 +14,7 @@ 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);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\MultiConstraint class is deprecated, use Composer\Semver\Constraint\MultiConstraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\MultiConstraint instead
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Composer\Package\LinkConstraint;
|
|||
|
||||
use Composer\Semver\Constraint\AbstractConstraint;
|
||||
|
||||
@trigger_error('The ' . __NAMESPACE__ . '\SpecificConstraint abstract class is deprecated, use Composer\Semver\Constraint\AbstractConstraint instead.', E_USER_DEPRECATED);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\SpecificConstraint abstract class is deprecated, use Composer\Semver\Constraint\AbstractConstraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\AbstractConstraint instead
|
||||
|
|
|
@ -14,7 +14,7 @@ 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);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\VersionConstraint class is deprecated, use Composer\Semver\Constraint\Constraint instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Semver\Constraint\Constraint instead
|
||||
|
|
|
@ -14,7 +14,7 @@ namespace Composer\Util;
|
|||
|
||||
use Composer\Spdx\SpdxLicenses;
|
||||
|
||||
@trigger_error('The ' . __NAMESPACE__ . '\SpdxLicense class is deprecated, use Composer\Spdx\SpdxLicenses instead.', E_USER_DEPRECATED);
|
||||
trigger_error('The ' . __NAMESPACE__ . '\SpdxLicense class is deprecated, use Composer\Spdx\SpdxLicenses instead.', E_USER_DEPRECATED);
|
||||
|
||||
/**
|
||||
* @deprecated use Composer\Spdx\SpdxLicenses instead
|
||||
|
|
Loading…
Reference in New Issue