easyengine
easyengine copied to clipboard
Add support for deprecated-alias annotation
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"