Merge pull request #9232 from simonberger/removed-deprecated-code
Removed deprecated code from 1.xpull/9214/head
commit
cc1e91ba8c
|
@ -263,14 +263,6 @@ class Factory
|
|||
return new ConsoleOutput(ConsoleOutput::VERBOSITY_NORMAL, null, $formatter);
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use Composer\Repository\RepositoryFactory::defaultRepos instead
|
||||
*/
|
||||
public static function createDefaultRepositories(IOInterface $io = null, Config $config = null, RepositoryManager $rm = null)
|
||||
{
|
||||
return RepositoryFactory::defaultRepos($io, $config, $rm);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a Composer instance
|
||||
*
|
||||
|
|
|
@ -128,66 +128,4 @@ class ScriptEvents
|
|||
* @var string
|
||||
*/
|
||||
const POST_ARCHIVE_CMD = 'post-archive-cmd';
|
||||
|
||||
/** Deprecated constants below */
|
||||
|
||||
/**
|
||||
* The PRE_PACKAGE_INSTALL event occurs before a package is installed.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL instead.
|
||||
* @var string
|
||||
*/
|
||||
const PRE_PACKAGE_INSTALL = 'pre-package-install';
|
||||
|
||||
/**
|
||||
* The POST_PACKAGE_INSTALL event occurs after a package is installed.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL instead.
|
||||
* @var string
|
||||
*/
|
||||
const POST_PACKAGE_INSTALL = 'post-package-install';
|
||||
|
||||
/**
|
||||
* The PRE_PACKAGE_UPDATE event occurs before a package is updated.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE instead.
|
||||
* @var string
|
||||
*/
|
||||
const PRE_PACKAGE_UPDATE = 'pre-package-update';
|
||||
|
||||
/**
|
||||
* The POST_PACKAGE_UPDATE event occurs after a package is updated.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE instead.
|
||||
* @var string
|
||||
*/
|
||||
const POST_PACKAGE_UPDATE = 'post-package-update';
|
||||
|
||||
/**
|
||||
* The PRE_PACKAGE_UNINSTALL event occurs before a package has been uninstalled.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::PRE_PACKAGE_UNINSTALL instead.
|
||||
* @var string
|
||||
*/
|
||||
const PRE_PACKAGE_UNINSTALL = 'pre-package-uninstall';
|
||||
|
||||
/**
|
||||
* The POST_PACKAGE_UNINSTALL event occurs after a package has been uninstalled.
|
||||
*
|
||||
* The event listener method receives a Composer\Installer\PackageEvent instance.
|
||||
*
|
||||
* @deprecated Use Composer\Installer\PackageEvents::POST_PACKAGE_UNINSTALL instead.
|
||||
* @var string
|
||||
*/
|
||||
const POST_PACKAGE_UNINSTALL = 'post-package-uninstall';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue