easyengine icon indicating copy to clipboard operation
easyengine copied to clipboard

Add support for deprecated-alias annotation

Open kirtangajjar opened this issue 3 years ago • 0 comments

Right now, we have @alias annotation for addling alias. It's example usage can be seen here

Similarly, we need a @deprecated-alias specifically for commands which have been renamed and the old name is deprecated. It's example usage can be like:

/**
 * @deprecated-alias create
 */
public function add() {

}

It's functionality should be similar to alias, but it should also show an warning that:

Warning: "ee <command> create" has been deprecated and has been replaced by "ee <command> add"

kirtangajjar avatar Oct 22 '21 06:10 kirtangajjar