Skip to content
Permalink
Browse files

Rename ShellHelper to BaseShellHelper to avoid potential naming confl…

…icts with existing apps
  • Loading branch information...
Gareth Ellis
Gareth Ellis committed Dec 14, 2015
1 parent 7ba19c7 commit 75cabfe78bba2138dd31abf9b38705635da1eb9b
@@ -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 @@ public function createFile($path, $contents) {
* 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) {

0 comments on commit 75cabfe

Please sign in to comment.
You can’t perform that action at this time.