Skip to content

Commit

Permalink
Rename ShellHelper to BaseShellHelper to avoid potential naming confl…
Browse files Browse the repository at this point in the history
…icts with existing apps
  • Loading branch information
Gareth Ellis committed Dec 14, 2015
1 parent 7ba19c7 commit 75cabfe
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Console/Helper/ProgressShellHelper.php
Expand Up @@ -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.
Expand Down
4 changes: 2 additions & 2 deletions lib/Cake/Console/Helper/TableShellHelper.php
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion lib/Cake/Console/Shell.php
Expand Up @@ -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) {
Expand Down

0 comments on commit 75cabfe

Please sign in to comment.