view vendor/drush/drush/src/Commands/LegacyCommands.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents a9cd425dd02b
children
line wrap: on
line source
<?php
namespace Drush\Commands;

class LegacyCommands extends DrushCommands
{

    /**
     * Drupal 8 does not support disabling modules. See pm:uninstall command.
     *
     * @command pm:disable
     * @aliases dis,pm-disable
     * @hidden
     * @obsolete
     */
    public function disable()
    {
    }

    /**
     * The pm-info command was deprecated. Please see `drush pm:list` and `composer show`
     *
     * @command pm:info
     * @aliases pmi,pm-info
     * @hidden
     * @obsolete
     */
    public function info()
    {
    }

    /**
     * The pm-projectinfo command was deprecated. Please see `drush pm:list` and `composer show`
     *
     * @command pm:projectinfo
     * @allow-additional-options
     * @aliases pm-projectinfo
     * @hidden
     * @obsolete
     */
    public function projectInfo()
    {
    }

    /**
     * The pm-refresh command was deprecated. It is no longer useful.
     *
     * @command pm:refresh
     * @aliases rf,pm-refresh
     * @hidden
     * @obsolete
     */
    public function refresh()
    {
    }

    /**
     * The pm-updatestatus command was deprecated. Please see `composer show`
     * and `composer update --dry-run`. For security release notification,
     * see `drush pm:security`.
     *
     * @command pm:updatestatus
     * @aliases ups,pm-updatestatus
     * @hidden
     * @obsolete
     */
    public function updatestatus()
    {
    }

    /**
     * The pm-updatecode command was deprecated. Please see
     * `composer update --dry-run` and `composer update`.
     * For security release notification, see `drush pm:security`.
     *
     * @command pm:updatecode
     * @aliases upc,pm-update,pm-updatecode
     * @hidden
     * @obsolete
     */
    public function updatecode()
    {
    }

    /**
     * The pm-releasenotes command was deprecated. No replacement available.
     *
     * @command pm:releasenotes
     * @aliases rln,pm-releasenotes
     * @hidden
     * @obsolete
     */
    public function releaseNotes()
    {
    }

    /**
     * The pm-releases command was deprecated. Please see `composer show <packagename>`
     *
     * @command pm:releases
     * @aliases rl,pm-releases
     * @hidden
     * @obsolete
     */
    public function releases()
    {
    }

    /**
     * Make has been removed, in favor of Composer. Use the make-convert command in Drush 8 to quickly upgrade your build to Composer.
     *
     * @command make
     * @aliases make-convert,make-generate,make-lock,make-update
     * @hidden
     * @obsolete
     */
    public function make()
    {
    }

    /**
     * dl has been deprecated. Please build your site using Composer. Add new projects with composer require drupal/[project-name]. Use https://www.drupal.org/project/composer_generate to build a composer.json which represents the enabled modules on your site.
     *
     * @command pm:download
     * @aliases dl,pm-download
     * @hidden
     * @obsolete
     */
    public function download()
    {
    }

    /**
     * field-create has been deprecated. Please try `generate field` command.
     *
     * @command field:create
     * @aliases field-create
     * @hidden
     * @obsolete
     */
    public function field()
    {
    }

    /**
     * core:execute has been deprecated. Please try `site:ssh` command.
     *
     * @command core:execute
     * @aliases core-execute
     * @hidden
     * @obsolete
     */
    public function execute()
    {
    }
}