mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Rename ShellHelper to BaseShellHelper to avoid potential naming conflicts with existing apps
This commit is contained in:
parent
7ba19c717e
commit
75cabfe78b
4 changed files with 6 additions and 6 deletions
|
@ -13,7 +13,7 @@
|
|||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
|
||||
abstract class ShellHelper {
|
||||
abstract class BaseShellHelper {
|
||||
|
||||
/**
|
||||
* Default config for this helper.
|
|
@ -12,12 +12,12 @@
|
|||
* @since 2.8
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
App::uses("ShellHelper", "Console/Helper");
|
||||
App::uses("BaseShellHelper", "Console/Helper");
|
||||
|
||||
/**
|
||||
* Create a progress bar using a supplied callback.
|
||||
*/
|
||||
class ProgressShellHelper extends ShellHelper {
|
||||
class ProgressShellHelper extends BaseShellHelper {
|
||||
|
||||
/**
|
||||
* The current progress.
|
||||
|
|
|
@ -12,13 +12,13 @@
|
|||
* @since 2.8
|
||||
* @license http://www.opensource.org/licenses/mit-license.php MIT License
|
||||
*/
|
||||
App::uses("ShellHelper", "Console/Helper");
|
||||
App::uses("BaseShellHelper", "Console/Helper");
|
||||
|
||||
/**
|
||||
* Create a visually pleasing ASCII art table
|
||||
* from 2 dimensional array data.
|
||||
*/
|
||||
class TableShellHelper extends ShellHelper {
|
||||
class TableShellHelper extends BaseShellHelper {
|
||||
|
||||
/**
|
||||
* Default config for this helper.
|
||||
|
|
|
@ -789,7 +789,7 @@ class Shell extends Object {
|
|||
* Load given shell helper class
|
||||
*
|
||||
* @param string $name Name of the helper class. Supports plugin syntax.
|
||||
* @return ShellHelper Instance of helper class
|
||||
* @return BaseShellHelper Instance of helper class
|
||||
* @throws RuntimeException If invalid class name is provided
|
||||
*/
|
||||
public function helper($name) {
|
||||
|
|
Loading…
Reference in a new issue